pecostm32 / FNIRSI_1013D_Firmware

New firmware for the FNIRSI-1013D osciloscope.
GNU General Public License v3.0
117 stars 21 forks source link

Better algorithm for RMS measurement #4

Closed ziutek closed 1 year ago

ziutek commented 1 year ago

I've implemented a better algorithm for RMS measurement. Tested with a sine and a sawtooth waveform.

It works well if the averaged waveform has a lot of periods but it's weakening as the number of periods decrease because of unavoidable head/tail incomplete periods.

The algorithm can be improved by adding some kind of averaging window.

I've changed the version number from 0.005 to 0.006 mainly to confirm the update on my scope was successful.

pecostm32 commented 1 year ago

Done

pecostm32 commented 1 year ago

I don't know what I did wrong or missed, but the changes don't show up. Not an experienced github user.

Does it require action from your part?

pecostm32 commented 1 year ago

Never mind finally found the button to get it done.

ziutek commented 1 year ago

:)