Teaching Sensor Fusion and Kalman Filtering using a Smartphone
2014 (English)In: Proceedings of the 19th World Congress of the International Federation of Automatic Control (IFAC), IFAC Papers Online, 2014Conference paper (Refereed)
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 tohave been successful in reaching the pedagogic goals and to engage the students.
Place, publisher, year, edition, pages
IFAC Papers Online, 2014.
, IFAC Proceedings series, ISSN 1474-6670
Kalman filtering; Teaching sensor fusion; Student lab; Smartphone; Orientation estimation
Control Engineering Signal Processing Pedagogical Work
IdentifiersURN: urn:nbn:se:liu:diva-109947DOI: 10.3182/20140824-6-ZA-1003.00967ISBN: 978-390282362-5OAI: oai:DiVA.org:liu-109947DiVA: diva2:741780
The 19th World Congress of the International Federation of Automatic Control (IFAC), Cape Town, South Africa, 24-29 August, 2014
FunderSwedish Foundation for Strategic Research