The objective is to estimate the Velocity using a Linear Kalman Filter and to control a robot using a PID Controller.
Consider a robot on frictionless, straight lane. Initially, the robot is stationary at position 0. We measure the position of the robot every
We show here how we derive the model from which we create our Kalman filter.
Since
The position and velocity of the robot are described by the linear state space
We assume that a(k) is unknown and normally distributed with mean 0 and standard deviation
We suppose there is no control inputs
Then, a PID controller is used to generates the acceleration (
To try this example ...
1. Run the main.m file
2. A pop-up message will appear
3. Choose your tuning PID Controller parameter (by default Kp = 0.8 and Ki = 0.001)
4. That's it !