Design of Two-Wheeled Self-Balanced Robot Based on Kalman Filter
Using the chip MC9S12XS128, two-wheeled self-balancing robot control system is designed. Its posture information is detected by accelerometer MMA7260 and gyro NEC-03, multi inertial sensor data fusion is realized by Kalman filter, posture data optimal estimation is gotten, and the accuracy of posture sensing system is improved. Using integral separation PID control algorithm, controlling the left and right motors are accelerated or decelerated, self-balancing control of two-wheeled robot is achieved. The experimental results show that, using the hardware platform MC9S12XS128, Kalman filter algorithm has high efficiency and posture data fusion is accurate and reliable, requirements which are posture optimal estimation and inclination data real-time feedback are met, and the system is stable and can accurately and quickly realize self-balancing control of two-wheeled robot.