Page 1 of 1

Filtering noise

Posted: Tue May 11, 2021 10:41 am
by marsheng
I have a noisy signal but underneath the data is a reasonable curve. I'm new to digital filtering and was hoping for a hand on which filter to use and what components I need to download.

The chart required is the rate of change of speed of a drum. Its a dynomometer. Speed goes roughly from 45-65 kph and it is sampled at 30 hz over a 3-4 second run. The problem is that the speed change between samples is small hence the "noise."

Attached is the plot of speed (top) and rate of change of speed (bottom)
Plot.jpg
Plot.jpg (106.86 KiB) Viewed 16271 times
Any suggestions on how to go forward.

Delphi 6.

Thanks Wallace.

Re: Filtering noise

Posted: Wed May 12, 2021 12:12 pm
by hlohning
Without knowing any details it's hard to give an advice. However, in order to get a smoothed first derivative of the speed I would try to use a Savitzky-Golay smoothed derivative. See the procedure FirstDeriv for Details. You have to experiment with the WindowSize parameter.

Regards,
Hans