Re: [DUG] Chart Smoothing

2021-05-11 Thread Alistair Ward
Hi Wallace, What you have here is not a charting problem, but a signal processing problem. I've not done a lot of work in the signal processing field, but I would suggest you do some research into Kalman filters - these may be what you are looking for. I would feed the raw data through a

Re: [DUG] Chart Smoothing

2021-05-11 Thread Marshland Engineering
After much searching, I cannot find 3rd part components to use. Am I search for the wrong thing ? This is version 2 of my dyno. The old version was a bought package that used a Freq to voltage converter and then an A to D converter for the input to the PC but he resolution was very poor and I

Re: [DUG] Chart Smoothing

2021-05-09 Thread Jay Daley
Wikipedia has a page on smoothing algorithms https://en.wikipedia.org/wiki/Smoothing Picking one at random from that list, I find a nice Delphi component https://www.dewresearch.com/Help/Delphi/DSPMaster/AdaptiveFiltering_TKalmanFilter.html Good luck! Jay > On 10/05/2021, at 10:03 AM,

Re: [DUG] Chart Smoothing

2021-05-09 Thread David Moorhouse
: Re: [DUG] Chart Smoothing I'd get a better sensor ? I reading speed to 4 decimal places with an encoder and ATMEGA. The data is very accurate. The problem is that sampling at 30 hz means the rate of change of speed between samples is quite small, ie the noisy signal. I can improve

Re: [DUG] Chart Smoothing

2021-05-09 Thread Marshland Engineering
I'd get a better sensor ? I reading speed to 4 decimal places with an encoder and ATMEGA. The data is very accurate. The problem is that sampling at 30 hz means the rate of change of speed between samples is quite small, ie the noisy signal. I can improve the acceleration curve by taking fewer

Re: [DUG] Chart Smoothing

2021-05-09 Thread Jay Daley
Or a simple rolling average. -- Jay Daley > On 9/05/2021, at 1:56 PM, Todd Martin wrote: > > Maybe adapt a median filter to Delphi. > http://rosettacode.org/wiki/Median_filter > > On Sun, May 9, 2021 at 1:24 PM Marshland Engineering > wrote: > I'm reading a noisy signal and need to

Re: [DUG] Chart Smoothing

2021-05-09 Thread David Moorhouse
From: delphi-boun...@listserver.123.net.nz On Behalf Of Todd Martin Sent: Sunday, 9 May 2021 1:56 PM To: Marshland Engineering ; NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Chart Smoothing Maybe adapt a median filter to Delphi. http://rosettacode.org/wiki/Median_filter On Sun,

Re: [DUG] Chart Smoothing

2021-05-08 Thread Todd Martin
Maybe adapt a median filter to Delphi. http://rosettacode.org/wiki/Median_filter On Sun, May 9, 2021 at 1:24 PM Marshland Engineering < marshl...@marshland.co.nz> wrote: > I'm reading a noisy signal and need to filter the data. I've tried many > home > grown techniques but none are any good

[DUG] Chart Smoothing

2021-05-08 Thread Marshland Engineering
I'm reading a noisy signal and need to filter the data. I've tried many home grown techniques but none are any good enough. Here is a sample of the data. I'm working on acceleration which is the rate of change of speed. The change of speed between samples (30hz) is quite small so the result is