ILOWPASS(9) | HAL Component | ILOWPASS(9) |
ilowpass - Low-pass filter with integer inputs and outputs
loadrt ilowpass [count=N|names=name1[,name2...]]
While it may find other applications, this component was written to create smoother motion while jogging with an MPG.
In a machine with high acceleration, a short jog can behave almost like a step function. By putting the ilowpass component between the MPG encoder counts output and the axis jog-counts input, this can be smoothed.
Choose scale conservatively so that during a single session there will never be more than about 2e9/scale pulses seen on the MPG. Choose gain according to the smoothing level desired. Divide the axis.N.jog-scale values by scale.
Jeff Epler
GPL
2023-02-10 | LinuxCNC Documentation |