07-08-2020 08:07 PM
Hello, everyone,
i am working on a project where i use the speed signal of a Bosch servo motor to detect the direction of the motor's movement.
Here I use only the sign of this analog signal.
Unfortunately this signal is very noisy and therefore the sign changes often at low speeds.
Remedy has been found so far by using the derived position signal, but there are still strong fluctuations in some areas.
I read a little bit about the Kalman Filter and that it filters the signals based on a model. This seems very promising here.
From LabVIEW 2018 on, this filter will be available in a finished SubVI.
Does anyone have an example for using the filter to control a motor or to filter a velocity / position signal?
I am also open to other possible proposals for implementation.
If anyone is interested, I will share my progress here.
Thank you very much in advance.
With kind regards
helloitsme 😄
07-09-2020 02:11 AM
07-10-2020 09:22 AM
Thanks for this tipp with the examples.
I found the first one very helpful in understanding the basic concepts of the Kalman Filter.
(1D Kalman Filter Endoder and Accelerometer)
In this example and all the examples I find online the Use of this Filter is, to Estimate a Position.
In my case, I have a very reliable Position Measurement, that has almost no Noise.
How can I transform the Application to Estimate the velocity based on the position measurement. Or is this even possible?
Sorry for the CrossPost, I thought if more people saw it, there would be higher chances for a solution.
Here is the Link to the german Forum: https://www.labviewforum.de/Thread-Filtern-eines-Analogen-Geschwindigkeitssignals-mithilfe-eines-Kal...
Greetings