Abstract
The Kalman filter has been the work horse in model based filtering for five decades, and basic knowledge and understanding of it is an important part of the curriculum in many Master of Science programs. It is therefore important to combine theoretical studies with practical experience to allow the students to deepen their understanding of the filter. We have developed a lab where the students implement a Kalman filter in a real-time Matlab framework, to which data are streamed from the smartphone over WiFi. The goal of the lab is to estimate the orientation of the smartphone, which can be nicely visualized graphically and also be compared to the built-in filters in the smartphone. The filter can accept any combination of sensor data from accelerometers, gyroscopes, and magnetometer, with different performance. Different tunings and tricks in the Kalman filter are easily evaluated on-line. The smartphone app is also a stand-alone tool to visualize the sensor data graphically. So far the lab seems to have been successful in reaching the pedagogic goals and to engage the students.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have