Design of Two-Wheeled Self-Balancing Robot Control System

The main controller STM32F103VET6 was used as the core of the system. The change of angle and angular velocity was detected by accelerometer and gyroscope built-in six axis attitude sensor MPU6050. The double closed-loop control was used to regulate the speed of DC motor JGA25-371, so as to adjust the posture of the robot. Test shows that the whole system design is simple, good stability and anti-jamming.