Author Topic: EEVblog #878 - Oscilloscope High Res vs Average Modes  (Read 26211 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37734
  • Country: au
    • EEVblog
EEVblog #878 - Oscilloscope High Res vs Average Modes
« on: May 10, 2016, 09:32:52 am »
What's the difference between High Resolution (Boxcar Averaging) and traditional Average acquisition modes on a modern digital oscilloscope?
Dave explains this often misunderstood difference, traps for young players, and gives several demos to highlight the differences.

 
The following users thanked this post: xrunner, AF6LJ

Offline Ivan7enych

  • Regular Contributor
  • *
  • Posts: 158
  • Country: ru
    • My astronomy projects
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #1 on: May 10, 2016, 02:28:56 pm »
Artifical "noise" generated by DDS signal generator is not a good example.

To show benefits of HiRes mode, I would better connect dynamic microphone directly to oscilloscope and try to see the sound shape buried with much RF noise. HiRes can very efficiently clean in out.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37734
  • Country: au
    • EEVblog
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #2 on: May 10, 2016, 02:30:16 pm »
Artifical "noise" generated by DDS signal generator is not a good example.

It worked just fine.
 

Online wraper

  • Supporter
  • ****
  • Posts: 16853
  • Country: lv
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #3 on: May 10, 2016, 02:32:09 pm »
Artifical "noise" generated by DDS signal generator is not a good example.

To show benefits of HiRes mode, I would better connect dynamic microphone directly to oscilloscope and try to see the sound shape buried with much RF noise. HiRes can very efficiently clean in out.
For this case proper digital low pass filter is better.
 

Offline Blaffetuur

  • Regular Contributor
  • *
  • Posts: 65
  • Country: be
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #4 on: May 10, 2016, 02:59:25 pm »
I've used Average and High res mode on my scope but never new exactly what they did other than cleaning up my waveform :)
 

Offline jolshefsky

  • Regular Contributor
  • *
  • Posts: 227
  • Country: us
    • Jason DoesItAll
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #5 on: May 10, 2016, 03:37:19 pm »
So ... umm ... why not leave hi-res mode on all the time? When would "normal" mode be preferable, and is it really most of the time?
May your deeds return to you tenfold.
 

Offline integritetus

  • Newbie
  • Posts: 7
  • Country: us
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #6 on: May 10, 2016, 05:09:52 pm »
So ... umm ... why not leave hi-res mode on all the time? When would "normal" mode be preferable, and is it really most of the time?

High-resolution acquisition trades off scope bandwidth for an effective increase in vertical resolution.

Here is a Keysight application note, somewhat technical, that explains the tradeoff.
http://literature.cdn.keysight.com/litweb/pdf/5991-1617EN.pdf?id=2318232

Here is a useful summary from the application note:

Use acquisition averaging when:
– The maximum oscilloscope bandwidth is required
– The signal is repetitive
– Large memory depth is not required
– Control of the number of averages is desired

Use high-resolution acquisition when:
– The maximum oscilloscope bandwidth is not required, or the oscilloscope has
excess sample rate relative to its bandwidth
– The signal must be captured from a single trigger
– Deep memory to capture long time ranges is required
 

Offline GlowingGhoul

  • Regular Contributor
  • *
  • Posts: 236
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #7 on: May 10, 2016, 08:13:29 pm »
So ... umm ... why not leave hi-res mode on all the time? When would "normal" mode be preferable, and is it really most of the time?

High-resolution acquisition trades off scope bandwidth for an effective increase in vertical resolution.

Here is a Keysight application note, somewhat technical, that explains the tradeoff.
http://literature.cdn.keysight.com/litweb/pdf/5991-1617EN.pdf?id=2318232

Here is a useful summary from the application note:

Use acquisition averaging when:
– The maximum oscilloscope bandwidth is required
– The signal is repetitive
– Large memory depth is not required
– Control of the number of averages is desired

Use high-resolution acquisition when:
– The maximum oscilloscope bandwidth is not required, or the oscilloscope has
excess sample rate relative to its bandwidth
– The signal must be captured from a single trigger
– Deep memory to capture long time ranges is required

So a certain WünderSchnitzel that's been telling us the "excess" sampling rate of Keysight scopes is useless, USELESS I TELL YOU, failed to recognize the ability to use high res mode at higher useful bandwidth levels, lol!
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2573
  • Country: us
  • Not An Expert
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #8 on: May 11, 2016, 01:58:31 am »
Here is a neat trick I discovered recently.  I had a ULTRA noisy signal from a high current, high voltage PWM source (40A at 300V).  Probing anything on that circuit, you lose the signal in the noise no matter what intensity the display is set to.  With normal acquisition settings, even HighRes mode didn't help.

What I ended up doing was set the scope to HighRes mode.... and.. severely restricting the sample memory to like 16k points.  With so few points, the high res mode was able to pull the signal out of the noise to an amazing clarity.  Too high a sample memory and the HighRes averaging wasn't as effective.
 
The following users thanked this post: alexwhittemore

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3180
  • Country: au
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #9 on: May 11, 2016, 03:42:49 am »
In HiRes mode, what is the relationship between memory depth, scan speed, and number of boxcars that are averaged per pixel. More to the point, what is the range of number of samples/boxcars per pixel?
 

Offline Galaxyrise

  • Frequent Contributor
  • **
  • Posts: 531
  • Country: us
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #10 on: May 11, 2016, 04:41:57 am »
If you do the same high res tests with your Rigol DS2000, you'll get very different results. 
I am but an egg
 

Offline rs20

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #11 on: May 11, 2016, 10:13:50 am »
So ... umm ... why not leave hi-res mode on all the time? When would "normal" mode be preferable, and is it really most of the time?

Because more often than not, the noise is the thing you're worried about. If High-Res mode destroys the little peaks of noise that, for example, causes your comparator to produce glitch pulses, that's a bad thing! An oscilloscope is a device to display truth, not a device for displaying beautifully thin lines with no respect for the truth. Leaving your scope in Hi-Res mode by default leaves you truly blind to a big part of the picture.

High-resolution acquisition trades off scope bandwidth for an effective increase in vertical resolution.

True, although keep in mind that the bandwidth that is lost does not manifest itself as the visible shape of the curve on the screen, but in the fuzziness of the curve itself.

What I ended up doing was set the scope to HighRes mode.... and.. severely restricting the sample memory to like 16k points.  With so few points, the high res mode was able to pull the signal out of the noise to an amazing clarity.  Too high a sample memory and the HighRes averaging wasn't as effective.

What kind of scope do you have? My Rigol has completely different behaviour: the ADC runs at the sampling rate as determined by the sample memory (so, exactly like normal), but at display time all the points that belong to the same column on the screen are averaged together. So if I do a single-shot capture, it looks noise-free, but as I horizontally zoom in (without doing any further captures, just zooming into the original waveform), the averaging is changed to the new size of the pixels, and more noise is revealed. I think this is rather nice, easy-to-use behaviour, because it's very explicitly de-fuzzing the signal in the way that is most appropriate to how you're currently looking at it.

In HiRes mode, what is the relationship between memory depth, scan speed, and number of boxcars that are averaged per pixel. More to the point, what is the range of number of samples/boxcars per pixel?

This is easy to figure out by playing with your scope, and you'd best do that because different scopes behave very differently (see the different between Smokey's scope and my Rigol above). Connect to the 1kHz square wave test signal on your scope, set your timebase to about 1 second per division, and mess with different memory depths, hi-res vs normal mode, and changing the horizontal timebase (both with live captures, and on stored single shot captures). You should be able to make a 5V 1kHz square wave turn in 2.5V DC, but exactly how you achieve that will depend on the scope (on Smokey's scope, changing the memory depth; on my Rigol, simply changing the timebase).

( Also, pedantically, the boxcar is the shape of the convoluting impulse. So you mean the number of ADC samples per boxcar, not the number of boxcars per pixel. )
 

Offline Dave Turner

  • Frequent Contributor
  • **
  • Posts: 447
  • Country: gb
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #12 on: May 11, 2016, 03:22:19 pm »
Hi all, I've been offline for a while and am trying to catch up.

Regarding Dave's video #878 I tried to replicate his observations on my DS1074Z-S with limited success. I really wanted to see the 'false' results as I had an idea that the 'wrong' display might be useful as a diagnostic tool if one properly understood the resulting waveform.

I used a 1MHz sinusoid with a 10Hz FM modulation, which I think is what Dave used, but couldn't get the same result that Dave did. Either my set-up is wrong or my scope does not use the same algorithms that the scope Dave used did.

Dave, you probably have more scopes immediately available to you than than most of your subscribers. Assuming that I've not screwed up my understanding somewhere perhaps it would be worthwhile seeing how your other scopes respond to the same input.

Note that I'm not contesting your warning but I am wondering how other scopes may show different 'erroneous' readings.

ciao

Dave
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14192
  • Country: de
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #13 on: May 11, 2016, 06:17:42 pm »
The false waveform depends on the way the signal is triggered. Triggering such a signal is difficult and different scopes can fail in a different way to trigger it good.

It can also make a difference if the signal is generated from the scope itself as there the internal clocks are likely locked to each other. A separate generator is more likely to have some real jitter on top and also the time to the next trigger can be different. So I would not wonder to see a different picture.
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #14 on: May 11, 2016, 06:50:59 pm »
Artifical "noise" generated by DDS signal generator is not a good example.

To show benefits of HiRes mode, I would better connect dynamic microphone directly to oscilloscope and try to see the sound shape buried with much RF noise. HiRes can very efficiently clean in out.
For this case proper digital low pass filter is better.

Erm, most 'high res' modes are exactly that, an FIR digital low pass filter.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2573
  • Country: us
  • Not An Expert
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #15 on: May 12, 2016, 02:07:44 am »
What I ended up doing was set the scope to HighRes mode.... and.. severely restricting the sample memory to like 16k points.  With so few points, the high res mode was able to pull the signal out of the noise to an amazing clarity.  Too high a sample memory and the HighRes averaging wasn't as effective.

What kind of scope do you have?

This actually was with a Rigol DS1054Z.  Next time I have more of those PWM units going through I'll take some screen shots of before and after memory restriction in highRes mode. 
 

Online vk6zgo

  • Super Contributor
  • ***
  • Posts: 7586
  • Country: au
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #16 on: May 12, 2016, 02:34:48 am »
Hi all, I've been offline for a while and am trying to catch up.

Regarding Dave's video #878 I tried to replicate his observations on my DS1074Z-S with limited success. I really wanted to see the 'false' results as I had an idea that the 'wrong' display might be useful as a diagnostic tool if one properly understood the resulting waveform.

I used a 1MHz sinusoid with a 10Hz FM modulation, which I think is what Dave used, but couldn't get the same result that Dave did. Either my set-up is wrong or my scope does not use the same algorithms that the scope Dave used did.

Dave, you probably have more scopes immediately available to you than than most of your subscribers. Assuming that I've not screwed up my understanding somewhere perhaps it would be worthwhile seeing how your other scopes respond to the same input.

Note that I'm not contesting your warning but I am wondering how other scopes may show different 'erroneous' readings.

ciao

Dave

I was thinking along those lines,too,Dave----if the crossovers,say, were uniquely spaced for a particular frequency deviation,it would be very useful.
I don't have a DSO,& am unlikely to get one,so couldn't check it myself.
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37734
  • Country: au
    • EEVblog
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #17 on: May 12, 2016, 03:03:07 am »
Regarding Dave's video #878 I tried to replicate his observations on my DS1074Z-S with limited success. I really wanted to see the 'false' results as I had an idea that the 'wrong' display might be useful as a diagnostic tool if one properly understood the resulting waveform.
I used a 1MHz sinusoid with a 10Hz FM modulation, which I think is what Dave used, but couldn't get the same result that Dave did. Either my set-up is wrong or my scope does not use the same algorithms that the scope Dave used did.

Here you go.
Result depends upon sample rate etc.
 

Offline AF6LJ

  • Supporter
  • ****
  • Posts: 2902
  • Country: us
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #18 on: May 12, 2016, 03:20:12 am »
This was a good video, one more complication I am missing with my Tek analogue scopes. :)
Good Stuff Dave   :-+ :-+
Sue AF6LJ
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 5985
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #19 on: May 12, 2016, 11:50:28 am »
Good video, Dave. Coincidentally this weekend I was playing with modulation on my func gens and today I captured this short clip on my Rigol DS4014. 
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2185
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #20 on: May 12, 2016, 12:08:33 pm »
Would it be fair to say that:

Average mode = averaging multiple waveform displays together (requires a steady properly triggered display or it goes badly)

High resolution mode = averaging multiple samples from the DAC into a single sample that will be used to make one waveform.

I like both modes, they are both very useful...
 

Offline Wuerstchenhund

  • Super Contributor
  • ***
  • Posts: 3088
  • Country: gb
  • Able to drop by occasionally only
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #21 on: May 12, 2016, 02:52:54 pm »
What's the difference between High Resolution (Boxcar Averaging) and traditional Average acquisition modes on a modern digital oscilloscope?
Dave explains this often misunderstood difference, traps for young players, and gives several demos to highlight the differences.

Nicely done, as always!  :-+  And I do agree, it's annoying when the current sample mode is not shown on the screen but hidden in the settings.

The only thing that I felt was missing was ERES (or maybe I just missed the part), especially now when Siglent uses it (or at least claims that they do). ERES works slightly different, and there are various advantages and disadvantages of each mode.

So a certain WünderSchnitzel that's been telling us the "excess" sampling rate of Keysight scopes is useless,

The only occasions where I said something like that was when comparing scopes, and what I was said was that Keysight can't turn it's slightly higher sample rate into an advantage.

Don't worry, I'm not expecting you to understand the context.
« Last Edit: May 12, 2016, 05:52:19 pm by Wuerstchenhund »
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9012
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #22 on: May 13, 2016, 03:04:31 am »
Why couldn't they check the difference between captures and display a warning if it's unusually large?
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline rs20

  • Super Contributor
  • ***
  • Posts: 2318
  • Country: au
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #23 on: May 13, 2016, 04:11:39 am »
Why couldn't they check the difference between captures and display a warning if it's unusually large?

Because depending on where they set the threshold on that heuristic, you'll either end up with a warning that appears all the time and therefore gets ignored, or you'll end up with a crutch that people would assume to be infallible, while giving false negatives. Or worse, the heuristic would end up doing both of the above things.

It'd be like the "Auto" button all over again.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #878 - Oscilloscope High Res vs Average Modes
« Reply #24 on: May 13, 2016, 04:15:44 pm »
Why couldn't they check the difference between captures and display a warning if it's unusually large?
That would be like a hammer with a finger avoidance system  :-DD
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf