Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oscilloscope acquisition modes #417

Open
rgetz opened this issue Apr 26, 2018 · 3 comments
Open

oscilloscope acquisition modes #417

rgetz opened this issue Apr 26, 2018 · 3 comments

Comments

@rgetz
Copy link

rgetz commented Apr 26, 2018

Most (all) digital oscilloscopes have a variety of different acquisition modes.

Acquisition modes are tuned sampling algorithms that give you unique insights into signals. By varying the sample rate of the scope’s analog-to-digital converter (ADC) and selectively plotting or combining sample points, different characteristics of a signal can be observed.

This is described in a variety of different places:

http://www.electronicdesign.com/test-measurement/why-you-should-care-about-oscilloscope-acquisition-modes

https://www.testandmeasurementtips.com/the-oscilloscope%E2%80%99s-acquisition-modes/

http://anlage.umd.edu/Microwave%20Measurements%20for%20Personal%20Web%20Site/55W-17443-2.pdf

https://www.youtube.com/watch?v=_ai7dk0W73A

https://www.youtube.com/watch?v=86mGezxRSms

The most important one for many purposes, is the average mode, which saves a sample point taken during a waveform interval. The final displayed waveform is produced by time aligning the signal, and then averaging the waveform points from consecutive acquisitions (assumes a repeating signal). This mode minimizes noise without compromising bandwidth, and is very important when looking at constant state power supplies, since current probes are typically very noisy.

Couple papers which might help:

Alignment of Noisy Signals
https://ws680.nist.gov/publication/get_pdf.cfm?pub_id=901379

Effects of Averaging to Reject Unwanted Signals in Digital Sampling Oscilloscopes
http://investor.teradyne.com/File%20Library/Defense-Aero/Technical%20Papers/2010/Bishop_Effects-of-Averaging-to-Reject-Unwanted-Signals_2010.pdf

This seems to be somewhat related to #243

@rgetz rgetz added this to the phase2 milestone Apr 26, 2018
@mhennerich
Copy link
Contributor

Identical algorithms are already present in the Spectrum Analyzer plugin.
Averaging by N, Min Hold, Max Hold. I think we can reuse them in the Osc plugin as well.

@rgetz
Copy link
Author

rgetz commented Apr 27, 2018

When displaying things in the time domain, alignment needs to happen (which isn't necessary in the frequency domain, since you aren't looking at phase).

Without alignment, jitter due to the digital trigger will cause incorrect results at high frequency (large slew rate) signals.

@damercer
Copy link

damercer commented Apr 27, 2018

Robin is right to point out the differences in averaging when using time waveform data and averaging in the frequency domain. In a spectrum analyzer the point by point averaging is done on multiple amplitude/phase vs frequency arrays from multiple acquisitions. Point by point averaging across multiple amplitude vs time arrays needs to have a common trigger point across acquisitions, ie each acquisition needs to be shifted in time to align with trigger point. This may happen automatically if triggering is done in the hardware ahead of the data being sent to the GUI.

There is also the possible issue of aligning on fractions of a sample period if you are looking at things that happen possibly between ADC samples. This is where equivalent time sampling techniques come into play.

Doug

@adisuciu adisuciu modified the milestones: phase2, backlog, R1.2 Aug 17, 2018
@adisuciu adisuciu removed this from the R1.2 milestone Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants