Answer the question
In order to leave comments, you need to log in
Kalman filter for crawler robot?
Good day
, I smoked literature on this issue for a long time (mostly bourgeois articles), but there are many questions left
(there will be many formulas written in text form, who don’t want to torture themselves - at the end of the text there will be a link to a screenshot of Matkadov’s sheet, there are formulas look clearer)
we have:
a caterpillar platform on which an accelerometer and a gyroscope are installed
received the following filter:
State vector X (6x1):
x | x-coordinate |
y | y-coordinate |
φ | robot rotation angle |
V | linear speed of the robot |
ω | robot angular velocity |
a | tangential acceleration of the robot |
ya | accelerometer readings |
yg | gyroscope readings |
x = x + cos(φ) * (V * t + a * t^2/2) |
y = y + sin(φ) * (V * t + a * t^2/2) |
φ = φ + ω * t |
V = V + a * t |
ω = ω |
a = a |
one | 0 | -sin(φ) * (a * t^2 / 2 + V * t) | t*cos(φ) | 0 | t^2 * cos(φ) / 2 |
0 | one | cos(φ) * (a * t^2 / 2 + V * t) | t*cos(φ) | 0 | t^2 * sin(φ) / 2 |
0 | 0 | one | 0 | t | 0 |
0 | 0 | 0 | one | 0 | t |
0 | 0 | 0 | 0 | t | 0 |
0 | 0 | 0 | 0 | 0 | t |
0 | 0 | 0 | 0 | 0 | one |
0 | 0 | 0 | 0 | one | 0 |
Answer the question
In order to leave comments, you need to log in
Where does speed come from? From the readings of the acceleration sensor, the speed cannot be calculated (too rough + an additive error accumulates).
The coordinates from the readings of the accelerometer and the angular sensor, all the more impossible to calculate - complete nonsense will turn out. And also imagine what the accuracy of determining the coordinates will be if, say, the angle sensor is 16-bit, and the robot traveled only a couple of kilometers (I suggest: 10cm for each km if the robot was driving in a straight line, and this is if the speed is calculated perfectly) ...
Of course, the noise depends on the capacity of the sensors: for example, if you have 128-bit sensors, then you won’t notice much error in the first hour or two of work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question