Re: Digital Osci and Logic Analyzer



On Fri, 7 Apr 2006 02:43:39 -0500, "Abstract Dissonance"
<Abstract.Dissonance@xxxxxxxxxxx> wrote:

How complicated is it to create a simple pc based oscilloscope and logic
analyzer(excluding the pc software)?

Does it just consist of getting a ADC and interface for sending the data to
the pc? I'm looking at trying to make one in a similar way to what is done
on this site:

http://www.fpga4fun.com/digitalscope.html

I figured that the main the parts are the ADC, the probe, and the method of
sending the information(which I think is the hardest part at high data
rates?)? I've seen some ADC's that have sample rates of over 100Msps which
should give me a 50Mhz bandwidth? Although these aren't cheep I've also
seen some upwards of 1Gsps that would give me a larger bandwidth if I needed
it.

As a rule of thumb, estimate the useable bandwidth as being limited by
one-tenth of the ADC sample rate, not one-half. That lets you recover
(more or less) the fifth harmonic of the signal of interest right at
Nyquist. For some commercial examples, there's the Fluke 199C: 2.5 Gsps,
overall bandwidth 200 MHz; and Tek TDS2012: 1 Gsps and 100 MHz. So for
your

Lets suppose I decide to buy a 1Gsps ADC(which isn't going to happen any
time soon) and I have a probe that works properly with the ADC. How would I
go about storing/streaming all those samples? This would require a memory
chip be able to work down at 1ns or so? I was thinking I could use several
gigs of pc memory in parallel to reduce the latency and increase total
sample size to a few seconds... is this possible? What about encoding for a
digital stream? do something like rle on the bit stream where 01 one would
store 2 bits as one and its number of repetitions? (need to use 2 bits
atleast so things like a clock signal are encoded efficiently)

You don't need to capture or store more samples than you need for one
display screen.

Assume that your display area is 500 pixels x 500 pixels at ten
divisions each for horizontal and vertical. No matter how fast you
sample, you've only that area to work with. For each time step (vertical
column) you have several choices.

You can decimate your sample rate down to where you grab just one
instantaneous sample at that tick and store/plot only that value. For
example, at 1 msec/div and 50 pixels/div that's just 500 samples at a
lazy 50 Ksps rate.

You could take, say, ten equally spaced samples within the column
interval and plot the mean or median value. For the 1 msec/div example,
that's acquiring 5000 samples at a 500 Ksps rate.

Or, sample at full rated speed for the entire sample interval and plot
the extremes. If that's handled at the front end, only two values per
column need to be sent or stored

I'm kinda curious to how high speed logic analyzers overcome some of these
problems?

By only needing to store a 1 or 0 for each sample point, and often by
not storing every sample, just the transition times.

Another thing I wanted to know is how digital logic signals are "sampled" in
logic analyzers? Surely one doesn't need anything more than a 1-bit ADC to
convert the line signal? (therefor one doens't even need an ADC since it
would act more like a buffer than an real ADC?)


I was thinking about buying a ADC that does about 40Msps and try it out just
to see if it was going to work but and make a homemade probe to play with
it. It doesn't seem like a terribly complex project but there seems to be a
lot of technical issues involved.

New gizmo that might be of interest (although at about 2 Msps)
http://www.quickfiltertech.com/html/qf4a512-dk.php

Mouser has the dev kits in stock. Related article at
http://www.circuitcellar.com/library/print/0306/Cantrell-188/index.htm

More targeted at data acquisition and analysis than as an o'scope core
but would give you a working platform to experiment with.

--
Rich Webb Norfolk, VA
.



Relevant Pages

  • Re: anti-aliasing
    ... The adc will take a bunch of samples, ... So maybe I can fuzz up the sample rate so that it can't alias against ... There's no filtering that can remove aliases once they're in the data. ... Fred keeps insulting me because I have ideas and design things. ...
    (sci.electronics.design)
  • Re: 96kHz, or 88.2 kHz for eventual CD audio
    ... is the oversampling ratio and F_s is the "baseband" sample rate). ... ADC in a delta-sigma data converter really does sample at M*F_s samples ... The problem is that delta sigma data converters are not simple; ... Key things to take away are that a) the quantization noise of an ADC ...
    (rec.audio.pro)
  • Re: anti-aliasing
    ... The adc will take a bunch of samples, ... So maybe I can fuzz up the sample rate so that it can't alias against ... offset, clipping, or distortion. ... There's no filtering that can remove aliases once they're in the data. ...
    (sci.electronics.design)
  • Re: anti-aliasing
    ... The adc will take a bunch of samples, ... So maybe I can fuzz up the sample rate so that it can't alias against ... offset, clipping, or distortion. ... There's no filtering that can remove aliases once they're in the data. ...
    (sci.electronics.design)
  • Re: Digital Osci and Logic Analyzer
    ... Does it just consist of getting a ADC and interface for sending the data ... seen some upwards of 1Gsps that would give me a larger bandwidth if I ... You can decimate your sample rate down to where you grab just one ... for 10 seconds for digital logic capture for a logic analyzer you would need ...
    (sci.electronics.design)