Smooth Noise Robust Differentiators for PLCs

Join Date
Apr 2002
Location
No income tax, no capital gains tax. Freedom!
Posts
8,389
I found this link on another site
http://www.holoborodko.com/pavel/?page_id=245

In the past I have posted examples of how to use the Savitzky-Golay filter to estimate velocities and accelerations. Apparently Pavel Holoborodko has found a better method for smoothing first derivatives or velocities and this method is simple enough to work on a PLC.

The main difference between what I showed and what Pavel has done is that I estimated the velocity at the current time whereas Paval's method has a delay but if the application is already using 10 points to compute a smoothed value then expanding it to 11 points and using 5 points on either side of a mid point is not that big of a change. If the sample time is 10 milliseconds that would be a constant 50 millisecond lag which is more than fast enough for HMI displays.

It is also interesting to see Pavel explain the central difference method and the Savitzky-Golay method and compare them. What I like about Pavel is that he searchs for a better way and can simulate the results for comparison.

We use the Savitsky-Golay smoothing when displaying graphical data. The ripples that Pavel talks about are sometime seen in the velocity profiles and are artifacts of the filtering.
 

Similar Topics

I am using an analog laser level detector to detect the rubber level in a 2 cylinder mill. The rubber is introduced on one side in softball sized...
Replies
18
Views
5,950
i try to make a car that move smoothly in HMI, i use propertie Vertical Position of car ( CarVp): CarVp=CarVp + 1 ( or + other number 2,3,... )...
Replies
6
Views
1,999
hy sirs, i need to smooth the speed setpoint on a simodrive (6SN1118–0NH00–0AA2). which parameter i should change? (preferably if there is one at...
Replies
0
Views
2,565
At first, my projects run on Simotion C (C230) with SimoDrive 611U and there was no problem all motions was dynamic. But i had to switch Simotion...
Replies
0
Views
2,448
I'm interested in opinions on which type of motor and drive would perform the best if your requirements are extremely smooth rotation at low rpm...
Replies
21
Views
6,611
Back
Top Bottom