Benoni
@Benoni
Best posts made by Benoni
-
RE: Getting rid of jitter when measuring voltage
@Rhywden You have position and velocity. That's two dimensions, if you really need it. Filtering voltage is one of the simplest canonical cases for Kalman filters. This page has a reasonable explanation of how to do it with a single dimension: http://bilgin.esme.org/BitsAndBytes/KalmanFilterforDummies
-
RE: Getting rid of jitter when measuring voltage
@rhywden said in Getting rid of jitter when measuring voltage:
Anyway, I just tested the one-dimensional Kalman filter. It stabilizes the values nicely but takes quite some time to get there - we're talking about roughly ten to fifteen seconds (with one measurement every 10 ms).
1000 measurements? Ouch. Using a better estimate for the noise should improve that. Ideally it should be R=σ², which you can precompute from a number of samples.
Latest posts made by Benoni
-
RE: Getting rid of jitter when measuring voltage
@rhywden said in Getting rid of jitter when measuring voltage:
Anyway, I just tested the one-dimensional Kalman filter. It stabilizes the values nicely but takes quite some time to get there - we're talking about roughly ten to fifteen seconds (with one measurement every 10 ms).
1000 measurements? Ouch. Using a better estimate for the noise should improve that. Ideally it should be R=σ², which you can precompute from a number of samples.
-
RE: Getting rid of jitter when measuring voltage
@Rhywden You have position and velocity. That's two dimensions, if you really need it. Filtering voltage is one of the simplest canonical cases for Kalman filters. This page has a reasonable explanation of how to do it with a single dimension: http://bilgin.esme.org/BitsAndBytes/KalmanFilterforDummies