Hover mode using sensor fusion
Posted: Thu Dec 17, 2015 10:54 am
Hello everyone,
as part of a project course, three classmates and I designed our own hovering scheme for the Crazyflie. The algorithm uses an extended Kalman filter that combines barometer and accelerometer measurements to obtain estimates of the quadcopter's vertical velocity. There are actually more states being estimated by the EKF, but only the vertical velocity is used in the controller. We control the quad using an LQ controller with integral states, but it should be straightforward to include a simple PI controller in the original controller as well. Below are some videos of the hover mode in action:
https://www.youtube.com/watch?v=JoWU8qoAk84 - Static hovering/reference tracking
https://www.youtube.com/watch?v=0IYrcBMY4uM - Maneuvering
The velocity estimates provided by the EKF are free from drift, and are thus very suitable for control.
Let us know what you think!
as part of a project course, three classmates and I designed our own hovering scheme for the Crazyflie. The algorithm uses an extended Kalman filter that combines barometer and accelerometer measurements to obtain estimates of the quadcopter's vertical velocity. There are actually more states being estimated by the EKF, but only the vertical velocity is used in the controller. We control the quad using an LQ controller with integral states, but it should be straightforward to include a simple PI controller in the original controller as well. Below are some videos of the hover mode in action:
https://www.youtube.com/watch?v=JoWU8qoAk84 - Static hovering/reference tracking
https://www.youtube.com/watch?v=0IYrcBMY4uM - Maneuvering
The velocity estimates provided by the EKF are free from drift, and are thus very suitable for control.
Let us know what you think!