Author Topic: Long, slow project: Modular DSO (backplane)  (Read 9868 times)

0 Members and 1 Guest are viewing this topic.

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Long, slow project: Modular DSO (backplane)
« on: February 09, 2015, 08:06:30 pm »
I start too many long projects that I don't finish. The back-burner is full, so I'm emptying it - all previous projects are cancelled regardless of state of completion. (though I suppose that's not to say they'll never be raised from the dead)

Therefore, I decided I needed something modular, where I could work on a small module at a time, gradually moving toward completion in a less slogging way. I figured that an old idea I've been mulling over would be a good candidate for such a modular format: a DSO!

Yes, I'm going to attempt to design and construct a full DSO. This will be a long project probably spanning many months to even a couple years, given that I have to intertwine it with school. I'm just starting now. I plan to share full schematics, PCB and code as I go, so if you want any design ideas, have at them.

Initial specs, though these are set more in sand than stone (and the modular format will allow any of them to be upgraded at any time):
- 100 MHz analog bandwidth, switchable analog LPF for 20 MHz bandwidth
- 200 MHz real time sampling rate; will investigate the possibility of equ-time to extend this
- full proper frontend (down to 1mV/div at full bandwidth and up to 10V/div, switchable termination, probe detect)
- two or four channels (depending on how many frontend and acquisition boards are populated)
- the usual math capabilities
- serial decode?
- advanced, programmable digital trigger?
- segmented memory?

I have nearly completed the design of the backplane PCB, which contains seven card-edge slots to hold all the various components (will be CPU, video, 1 or 2 dual-channel acquisition, 1 or 2 dual-channel frontend) and has a 60W power supply to supply whatever power requirements I end up needing.

The slots are PCIe connectors but do not use actual PCIe. However, I have generally followed the PCIe pinout, replacing SMBUS by I2C, JTAG by SPI, and eight differential serial lanes by an 8-bit parallel BLVDS bus to handle bulk data transfers.

These are in the Git repository, https://github.com/cpavlina/os



Click for full size
« Last Edit: February 16, 2015, 04:03:35 pm by c4757p »
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline void_error

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: ro
  • I can transistor...
Re: Long, slow project: Modular DSO (backplane)
« Reply #1 on: February 10, 2015, 01:40:28 am »
I start too many long projects that I don't finish.
Same here.

I like the idea of a modular design. Looking forward to this :-+
Trust me, I'm NOT an engineer.
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #2 on: February 10, 2015, 02:08:09 am »
Couple other quick and random ideas. I have an old and fucked up DS1052E (determined BER quite some time ago) from which I could scavenge parts that I don't want to pay for (some of this shit's expensive, and it adds up fast!).
  • It actually uses the same ADCs I was considering using, and it's got five dual ADCs in it, so I could yank them and run them staggered the way Rigol did for a higher sampling rate.
  • No need for 1 GHz like they have, though I shouldn't rule it out; it would make the layout complicated as I can probably only afford to do a four-layer and each one is a separate 8-bit parallel interface.
  • 400 MHz would be plenty, as it puts the 100 MHz analog bandwidth fully below Nyquist at real time and removes the need for equivalent time.
  • Also, I might yank the Blackfin DSP that they're using as the main processor and use it as a dedicated "math processor" to run things like FFT. Maybe I'll never get around to writing code for it - who knows - but I'll put it on the CPU card anyway.
  • Main processor in mine will be an ARM; I just ordered a Freescale i.MX233 board to play with and I intend to try running Linux on that. Yes, it's a "multimedia" processor, yes, those features will go unused, and yes, I have a reason for choosing it.
  • Shoving the waveform to the display will likely be done by a dedicated FPGA, or at least dedicated hardware in the acquisition FPGA (depends on how much I can fit in!). This FPGA will process the samples into an analog-style display; this "intensity-graded" format will be used as the native format for storing waveforms as it provides a good way to accurately represent the total waveform data when jumping down to a lower sample rate to conserve memory in a long capture.
  • Along those lines, changing the sample rate to conserve memory will be done only this way as postprocessing on the samples; the ADCs will always run at full speed. This should eliminate the potential for aliasing as the time/div is changed.
  • Until I decide to pony up for the rather expensive parts to build another set of two channels (one more entire frontend board and one more entire acquisition board), I'll include two "digital" inputs on the acquisition board as well. These will be usable as external trigger ports, and also if I do serial decode, will be able to capture digital data.
  • The enclosure will be that of an 852D+ soldering station that shit itself something awful, rotated 90° to present the more oscilloscope-shaped side. It's about the right height and width, and it's deeper to accommodate the cardedge-based architecture.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #3 on: February 15, 2015, 05:25:01 pm »
I'll be writing most small updates here, though I will continue to post big news here.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #4 on: March 08, 2015, 10:54:48 pm »
Backplane came on Friday.

- 12V supply was ringing too much under load. Solved this by adding a damper (6.8 ohms + 1 nF) to the switching junction and some ceramic caps to the output.
- 3V3 fundemental-frequency ripple is too high. Going to replace the output capacitor with a higher capacitance, lower ESR device (probably a few in parallel). Don't have any sufficient on hand, so it'll wait until the next time I order parts.
- Forgot to get the damned Zener diode for the standby power supply. That'll wait too. I could probably cobble something together from other diodes or a TL431+resistors, but I'd rather just wait for the real part.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #5 on: March 08, 2015, 10:55:20 pm »
More pictures
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline ConKbot

  • Super Contributor
  • ***
  • Posts: 1400
Re: Long, slow project: Modular DSO (backplane)
« Reply #6 on: March 09, 2015, 07:16:51 am »
Modular designs are great for dividing a project down into bite sized chunks AKA "Ehh I dont really feel like nailing down all the details now"!  ;D  Working on a low phase noise 10 MHz reference at work, with phase noise being the primary design aspect.  I could add GPS disciplining, and a battery backup, and more outputs.  But its a side project, not a whole lot of time to dedicate, and I'd rather have it sooner than later, so gonna plonk down a few expansion headers with all the potentially relevant signals, power, and extra IO from the processor board to worry about that later  ;)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #7 on: May 12, 2015, 01:13:36 am »
Not quite complete...
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline charlespax

  • Regular Contributor
  • *
  • Posts: 191
  • Country: us
    • Pax Instruments
Re: Long, slow project: Modular DSO (backplane)
« Reply #8 on: May 12, 2015, 04:48:40 am »
Wow, this is awesome. I'm looking forward to seeing your progress.

Have you considered using a miniITX or similar format? You'd be able to use standard enclosures.
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #9 on: May 12, 2015, 11:20:22 am »
Thanks!

Nah, I already have an enclosure. Though, I'll have to keep that in mind for future projects.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline JJalling

  • Supporter
  • ****
  • Posts: 250
  • Country: dk
Re: Long, slow project: Modular DSO (backplane)
« Reply #10 on: August 14, 2015, 08:10:47 am »
Any exciting progress on this project?

/Jonas
 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Long, slow project: Modular DSO (backplane)
« Reply #11 on: August 14, 2015, 06:12:17 pm »
Too busy trolling irc to get any work done  :blah:








 :box:
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #12 on: August 14, 2015, 09:41:48 pm »
Any exciting progress on this project?

Nothing exciting, progress is moving about as slowly as I figured it would. Should have power supply PCBs in the mail in a couple days. I'll post an update soon-ish, I guess.

Too busy trolling irc to get any work done  :blah:

Pretty much. :-DD
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: Long, slow project: Modular DSO (backplane)
« Reply #13 on: August 20, 2015, 06:50:41 am »
Any news?

I suppose you already looked at some reverse engineering and new designs using FPGA. There's Hantek plus others such as that firmware replacement for a crappy DSO.
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Long, slow project: Modular DSO (backplane)
« Reply #14 on: August 20, 2015, 01:42:49 pm »
Hah, news? In five days? Nope, still waiting for the PCBs, they seem to have taken the long way around...

This is going to be a really slow project - it's an expensive one... :o
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: Long, slow project: Modular DSO (backplane)
« Reply #15 on: August 26, 2015, 03:29:22 am »
I found many projects that are a bit similar, but not so modular:

http://opencores.org/project,modular_oscilloscope

http://mhz100q.sourceforge.net

Here someone complained about why not more DIY Digital Oscilloscopes:

http://forums.hackaday.com/viewtopic.php?f=2&t=3112&p=13794
« Last Edit: August 26, 2015, 03:32:23 am by Circuiteromalaguito »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf