17

I would figure that if a scope has a sample rate of 200 MSa/s, it should be able to measure signals up to its Nyquist frequency, 100 MHz. But there are a lot of scopes whose max bandwidth do not match their Nyquist frequency. For instance, the Agilent 54621A lists a sample rate of 200 MSa/s, and a frequency of only 60 MHz. Why is this?

Best I can figure, there's some parasitic capacitance in there that filters your input signal, and "that's what you get for that pricepoint."

fpf3
  • 273
  • 1
  • 5
  • 2
    Why use oversampling in any application? – The Photon Jul 11 '23 at 16:10
  • Why do you think so? Has someone managed to build infinitely steep ideal brick-wall filters? – Justme Jul 11 '23 at 16:30
  • 1
    If you measure a signal with a frequency of 20 MHz, you may get 10 samples of a period. You may see if your signal is a sinus, a squarewave or a triangel and the high and low time at least approximately. If you measure two signals, you see a phase shift with a resolution of 5 ns. – Uwe Jul 11 '23 at 16:44
  • @Justme Yes, if you wanted to get right up to the nyquist frequency, you would need perfect step function filters, I agree. But there are definitely filters that can do much much better than 60% of nyquist, and I'm curious if it's a case of the manufacturer not removing parasitic capacitances, or if they intentionally install a filter to damp those higher observable frequencies. – fpf3 Jul 11 '23 at 17:09

6 Answers6

19

The frequency given is the cut frequency of the analog input (I suppose defined at -3dB, but to be confirmed). This means that there is still some analog signal at higher frequencies, just attenuated.

If you had the sampling frequency "just" twice the analog frequency, you would not get "clean" results, as you have still some higher frequency components in your analog signal after filtering.

The Nyquist frequency is only valid if you either have a pure sine wave, or a signal with no components above the limit (so in practice, you need to either filter at a far lower frequency, or at a somewhat lower frequency with a high order filter (to cut abruptly)).

So if you only care about perfect sines, then you could have a scope with 200MSa/s and 100MHz analog bandwidth. But as soon as you care about other signals (for example square signals), you want some margin.

Sandro
  • 5,519
  • 6
  • 24
  • I agree with everything you write. I'm still confused as to what is actually meant by the manufacturer in this case, though. For instance, the scope I mentioned has a sister (Agilent 54622D), which has the same rate of 200 MSa/s, but lists a bandwidth of 100 MHz. So, are we intentionally filtering out the top of the observable sinusoids? I'm not sure why you would want to do that. If you're looking at a square wave @ nyquist for instance, there is no confusion as to why you are seeing a sine wave. – fpf3 Jul 11 '23 at 17:03
  • 2
    If the 5422D is 100MHz for 200MSa/s, then it is really on the edge, and will behave in strange ways if you approach the 100MHz with non sine signals. They probably kept the same circuit, just changing the cutting frequency of the analog circuit. If you want to observe high frequency sines, then it is slightly better than the 60 MHz version. But for other signals, you might get some more aliasing. Of course, from a marketing point of view, 100MHz sells better. But I'm not sure I would prefer the 100MHz version to the 60MHz one: more risk of artifacts, even worse if you don't know what to expect – Sandro Jul 11 '23 at 17:46
  • @fpf3 `why would you want to do that?` cheaper analog circuit for a cheaper product – slebetman Jul 12 '23 at 04:59
  • 2
    @slebetman in this case it's more like "I'm going to stick a capacitor in this one and call the other one premium to create an artificial value differential", though as others have pointed out, there are valid engineering reasons to do it. If I ran a biology lab or similar, I suppose I would go for the filtered ones too, just so I could be sure my researchers who aren't familiar with signal processing know what they're seeing. – fpf3 Jul 12 '23 at 13:54
  • @fpf3 Many newer scopes use a software filter to limit the maximum bandwidth for model differentiation. You can order a [bandwidth upgrade](https://www.keysight.com/us/en/product/D1200BW1A/bandwidth-upgrade-70-mhz-100-mhz-dsox1204a-g-models.html) that consists of a license key and a new sticker for the front panel. Same with enabling more channels and enabling digital inputs. You can even rent or get a free trial upgrade. While the idea might sound objectionable, businesses like this method due to accounting/funding reasons. – user71659 Jul 12 '23 at 19:28
  • 2
    @fpf3 The 54622 model's 100 MHz analog bandwidth is for repetitive signals. Later in the manual you'll find a mention that one-shot sampling bandwidth is up to samplerate/4. – jpa Jul 12 '23 at 20:09
6

I would figure that if a scope has a sample rate of 200 MSa/s, it should be able to measure signals up to its Nyquist frequency

This works in principle, but in practice it's not so easy. If you have a sinusoid sampled just at its Nyquist rate, you might get samples only at the 0 crossings and not actually see the signal at all. Even if you sample off of the 0 crossings you won't be able to estimate the signal amplitude if you don't know the phase of the samples relative to the original signal. To make it easier to reconstruct the signal, we use oversampling in oscilloscopes just as we do in other applications like audio.

That said, there are also scopes, called equivalent time scopes (often with trade names like "digital communication analyzer" or something) that use sampling rates far below the signal frequency, but by carefully keeping track of the sample delay relative to the trigger and assuming some repetitive features in the signal can give useful measurements of very fast signals with relatively low sample rates. For example measuring 50 GHz signals with 45 kSa/s.

The Photon
  • 126,425
  • 3
  • 159
  • 304
  • 4
    Pet peeve: The Nyquist rate is _above_ twice the bandwidth, a sinusoid at exactly half the sampling frequency breaks the limit - as you have demonstrated in this answer. – pipe Jul 11 '23 at 16:48
  • @pipe -- can you point to an accepted reference with that definition? My understanding is that the Nyquist frequency is defined in terms of aliasing of high frequencies to lower frequencies, not accurate representation of the signal. – Scott Seidman Jul 11 '23 at 17:08
  • 1
    @ScottSeidman That is the generally accepted definition, sampling rate must be **above twice** the bandwidth of the sampled signal, because exactly twice is not enough as then you can't know what you sampled and can't play it back. – Justme Jul 11 '23 at 17:34
  • 1
    @ScottSeidman, if the signal frequency is (strictly) less than the Nyquist frequency, then perfect reconstruction is in principle possible using a raised cosine filter. I don't know if it's a definition, but it's one of the properties of the Nyquist frequency. – The Photon Jul 11 '23 at 18:30
  • @ScottSeidman, sure but it's also "the frequency at or above which perfect reconstruction isn't possible". If it weren't that, then nobody would have bothered to give a special name to "half the sample rate". – The Photon Jul 11 '23 at 18:38
  • @The Photon -- that's defining the Nyquist frequency in terms of the signal acquired, which doesn't make sense to me. It's fair to say "The minimum Nyquist frequency necessary to sample and reconstruct this signal is X". Shorthand such as "The Nyquist frequency of this signal is Y" is where all the confusion comes from. In point of fact, discussing this in terms of modulation frequency makes more sense than discussing it in terms of sample rate, as the concept predates sampling. – Scott Seidman Jul 11 '23 at 19:30
  • 1
    @ScottSeidman, Wikipedia's statement of the Nyquist-Shannon theorem is "If a function x(t) contains no frequencies higher than B hertz, then it can be completely determined from its ordinates at a sequence of points spaced less than 1/2B seconds apart." So yes, it does seem that some people define the Nyquist sampling rate in terms of the signal frequency rather than the Nyquist frequency in terms of the sampling rate. – The Photon Jul 11 '23 at 23:37
  • Incidentally, even before the era of digital scopes, there were scopes which would pass the input filter through a sample-and-hold circuit, for purposes of allowing analysis of some kinds of signal in greater detail than would have been practical with a straight analog scope. For example, if one wanted to look at a 100.1MHz frequency-modulated signal with a modulation range of +/- 10kHz, sampling the signal at 1.0MHz would yield a 100kHz signal that had a modulation range of +/- 10kHz. Seeing and measuring a signal with a 10% modulation depth was much easier than a 0.01% modulation depth. – supercat Jul 12 '23 at 17:24
  • 2
    @ScottSeidman, BTW, notice I didn't say anything about the Nyquist frequency of a signal. I agree that's not correct. The signal has a Nyquist sampling *rate* (the minimum sampling rate to be able to reproduce it exactly), and a sampling system has a Nyquist frequency (the maximum signal frequency it can sample and reproduce exactly). – The Photon Jul 12 '23 at 17:28
  • @ThePhoton note by your definition of Nyquist rate for the signal, there is no unique answer. Even if you say "minimum", you can always add a decimal. If the maximum frequency content is 100 Hz, is the nyquist rate 200.000001 or 200.0000001? – Scott Seidman Jul 12 '23 at 18:04
  • 1
    @ScottSeidman, Yes, mathematically it should be an infimum rather than a minimum, but I've never heard an engineer use the word *infimum* in the real world. Or we could contort the definition to say "the maximum sampling rate that isn't sufficient to perfectly reconstruct the signal". – The Photon Jul 12 '23 at 23:25
6

As well as only allowing for sine waves at the maximum frequency, for that to work well you'd need an anti-aliasing filter with extremely sharp cutoff or signals that have much frequency content in excess of Nyquist would alias badly and produce misleading waveforms. Ideally you'd like to have a sample rate 10x or more, not 2x, which makes everything better.

There is also sometimes some tricky specsmanship with multi-channel scopes where the sample rate per channel is less if more than one channel is used, so read the user manual carefully and with a suitably jaundiced eye.

Spehro Pefhany
  • 376,485
  • 21
  • 320
  • 842
3

Sample rate and bandwidth are two different things. The bandwidth may be limited by the vertical input section to less than the ADC is capable of. It's not like the signal is going straight into the ADC, there are the attenuators and vertical amplifiers that take a signal ranging from generally 1 mV to several hundred volts and scale it to the range the ADC can accept, as well as position and trigger circuits, and these can limit the bandwidth. Up until the ADC it's still basically an analog scope. Here's a tech brief with some information on oscilloscope performance.

A manufacturer may make versions of a scope for different price points that use the same ADC, but different front ends. Some also make one basic scope and release it at different price points by limiting features for the lower priced ones in firmware, and then offering upgrades for a fee. For example, here's a software upgrade for a scope that takes it from 500 MHz to 1 GHz bandwidth.

GodJihyo
  • 17,628
  • 1
  • 16
  • 45
1

If a scope can sample at 200 MHz, and you want to measure signals up to 100 MHz, you need to pass signals below 100 MHz with 100% amplitude to ADC and you need to filter out signals above 100 MHz to zero amplitude so they don't get aliased by the ADC sampling.

This means you need to design a brick-wall filter with infinitely narrow transition band from 100% to 0%, and as with most infinities, it's just physically impossible to realize with components.

So, having a transition band from 60 MHz to 100 MHz to filter away only the required amount of frequencies to have only enough attenuation at 100 MHz and beyond is doable. The scope may show frequencies above 60 MHz but attenuated so it's beyond the measurements are not within manufacturer specs.

Some manufacturers may just artificially limit the specs even if it could perform higher, for example the scope can be manufactured and tested faster to lesser bandwidth and maybe even with cheaper parts with more tolerances. Or just that you have different models and can get a cheap model with low bandwidth or expensive model with high bandwidth, even of the scopes are essentially identical.

Justme
  • 127,425
  • 3
  • 97
  • 261
1

1. Nyquist frequency does not consider measurement accuracy

Nyquist frequency is the limit at which the frequency gets folded, so that you cannot distinguish signals at 0.4x samplerate from signals at 0.6x samplerate.

The measurement accuracy of amplitude and phase suffers long before that. For practical oscilloscope use, you would aim for 10x samplerate compared to signal frequency.


2. Repetitive signals can be sampled multiple times

Oscilloscope analog bandwidth can be higher than Nyquist frequency for repetitive signals. This is called equivalent-time sampling. The oscilloscope will interleave samples from multiple repetitions of the signal to achieve higher effective samplerate, while the analog system must be able to pass the frequency in question.


3. The 54621A is an entry-level model

The sister model 54622A boasts 100 MHz bandwidth at 200 MSa/s samplerate:

Screenshot from manual

But later in the manual you'll find a note that "single shot BW = sample rate/4 or bandwidth of scope, whichever is less", i.e. 50 MHz. The higher analog bandwidth is there for equivalent time sampling.


4. Oversampling provides graceful degradation of signal quality

In modern entry-level scopes, it is typical to have 1 GSps sampling with 100 MHz -3 dB analog bandwidth, and no equivalent time sampling functions. These scopes can usually display even 200 MHz signals with little distortion other than decreased amplitude.

Compared to this, the 54621A requires more care from its operator. The manual does warn that aliasing and distortion can occur as signals get near or exceed the Nyquist limit at the active samplerate. The analog bandwidth limit is not there to avoid aliasing, it is just the best bandwidth that the analog circuit in this scope is capable of.

jpa
  • 6,804
  • 17
  • 32
  • Equivalent-time sampling deserves more visibility than it's getting. Early digital 'scopes could and did display (for one example) 400 MHz signals with only 500 KHz sampling--as long as the signal was repetitive. – Jerry Coffin Jul 14 '23 at 16:39