scopy icon indicating copy to clipboard operation
scopy copied to clipboard

Oscilloscope: Trace averaging

Open amiclaus opened this issue 5 years ago • 5 comments

Add trace averaging feature in the oscilloscope, being able to manually configure the number of sweeps to average.

This feature is available in the ALICE app for M2K: https://wiki.analog.com/university/tools/m2k/scopy/oscilloscope#using_built-in_signal_measurement_features

This request comes after receiving feedback on StudentZone(Analog Dialogue) - EngineerZone.

amiclaus avatar Jul 15 '20 11:07 amiclaus

Before applying trace avg: image

After applying trace avg: image

amiclaus avatar Jul 15 '20 11:07 amiclaus

The amplitude went down because you don't have the triggering on. Each waveform buffer added to the average needs to be aligned in time to the same trigger point.

I don't have a working installation of libm2k bindings in Python right now or I'd show you what actually happens to the noise level when using trace averaging. It is most noticeable in the 1V/div and greater settings where the ADC lsb is 10X larger.

ALICE for M1k uses the same technique, obviously, so I'll show the effect with that. Without trace averaging:

image

With trace averaging (8 traces):

image

Doug

damercer avatar Jul 15 '20 13:07 damercer

Thanks for the explanation! By the way, the executable release for ALICE M2K from wiki does not contain the option to set the number of averages. Is a default value used? I'm just curious. image

amiclaus avatar Jul 15 '20 13:07 amiclaus

It’s been a very long time since I even opened the m2k code so I don’t even remember what state things were left in. The libm2k version never had a windows executable. You must be using the obsolete libiio code. If there was a default it would have been 8.

Doug

From: Antoniu Miclăuş [email protected] Sent: Wednesday, July 15, 2020 9:29 AM To: analogdevicesinc/scopy [email protected] Cc: Mercer, Doug [email protected]; Comment [email protected] Subject: Re: [analogdevicesinc/scopy] Oscilloscope: Trace averaging (#824)

[External]

Thanks for the explanation! By the way, the executable release for ALICE M2K from wiki does not contain the option to set the number of averages. Is a default value used? I'm just curious.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/analogdevicesinc/scopy/issues/824*issuecomment-658767829__;Iw!!A3Ni8CS0y2Y!pJdfvYxUQR9XYXNyCZQ4mFoiWd_QeHewbeNO1QFqRNpB-3-JXpuOL8Gpw8UiU4ghNg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ACZAX2T5OXPWWCFCCNHR4K3R3WVJRANCNFSM4O2NYGUQ__;!!A3Ni8CS0y2Y!pJdfvYxUQR9XYXNyCZQ4mFoiWd_QeHewbeNO1QFqRNpB-3-JXpuOL8Gpw8U55W7RZw$.

damercer avatar Jul 15 '20 17:07 damercer

looking forward to have this feature :+1: :handshake:

codenio avatar Aug 26 '21 15:08 codenio