Applying a Kalman filter to control a servo motor : controlling a toy car with Raspberry Pi 4
Nguyen, Hao (2025)
Nguyen, Hao
2025
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2025121837827
https://urn.fi/URN:NBN:fi:amk-2025121837827
Tiivistelmä
Remote control systems have traditionally relied on radio technology, requiring the control device to be within a certain range to connect to the control station via radio signals. Modern approaches using network or internet connectivity overcome these limitations and enable high-bandwidth services such as camera streaming and remote data transfer via internet protocols. However, these methods introduce trade-offs, particularly increased latency, which can be critical for real-time applications such as self-driving cars.
This thesis aimed to research and implement a control system for a radio-controlled toy car with two brushed motors through an internet-based REST API with a Raspberry Pi 4 serving as the central controller. Incoming commands were processed using a Kalman filter to reduce noise before adjusting the servo motors in the steering and transmission systems, ensuring smooth and accurate movement.
Experimental results confirm that the servo motors maintain minimal response delay and high accuracy under remote control, demonstrating potential applications in real-world projects such as unmanned vehicles or boats, robotic systems, and self-driving cars.
This thesis aimed to research and implement a control system for a radio-controlled toy car with two brushed motors through an internet-based REST API with a Raspberry Pi 4 serving as the central controller. Incoming commands were processed using a Kalman filter to reduce noise before adjusting the servo motors in the steering and transmission systems, ensuring smooth and accurate movement.
Experimental results confirm that the servo motors maintain minimal response delay and high accuracy under remote control, demonstrating potential applications in real-world projects such as unmanned vehicles or boats, robotic systems, and self-driving cars.
