Performance comparison between LQR and PID controllers for two-wheeled self-balancing vehicle
Abstract
The two-wheeled balancing vehicle is an energy-efficient and eco-friendly transportation tool used for short distances. Both motors of the vehicle are required both motors to be regulated to maintain stability, and modern control methods have been applied to the system. In this paper, the effectiveness of traditional PID control and modern LQR control in the context of a two-wheeled balancing vehicle is evaluated. The motion principle of the vehicle is analyzed, and a corresponding dynamic model is established. PID and LQR control schemes are designed according to the model and the performance of the angle and speed of the vehicle is compared in MATLAB simulation. The two kinds of control performance are evaluated, offering theoretical feasibility verification for the application of two-wheeled balancing vehicles. It has been found that the LQR controller has better performance than the PID controller. LQR has a shorter response time and smaller steady-state error in controlling speed, and there is still room for improvement for both controllers.
References
- Mao L W 2017 Design of control system for the two-wheeled self-balancing vehicle Zhejiang University
- Wei X 2014 Balance and motion tracking control method for a two-wheeled self-balancing electric vehicle Dalian University of Technology
- Yang S G 2020 Research on adaptive tracking control of two-wheel balanced mobile robot under various loads Chongqing University
- Sun C, Lu T and Yuan K 2013 Balance control of two-wheeled self-balancing robot based on Linear Quadratic Regulator and Neural Network Intelligent Control and Information Processing (ICICIP), 2013 Fourth International Conference on IEEE 862-867
- Ren T J, Chen T C and Chen C J 2007 Motion control for a two-wheeled vehicle using a self-tuning PID controller Control Engineering Practice 16 365-75
- Jian H U and Yan G F 2014 Analysis of two-wheeled self-balancing mobile robots based on ADRC Journal of Mechanical & Electrical Engineering 2 159-64
- Lin S C, Tsai C C and Huang H C 2011 Adaptive robust self-balancing and steering of a two-wheeled human transportation vehicle Journal of Intelligent and Robotic Systems 62 103-23
- Tsai C C, Huang H C and Lin S C 2010 Adaptive Neural Network Control of a self-balancing two-wheeled scooter IEEE Transactions on Industrial Electronics 57 1420-8
- Cao G 2004 Tuning of PID controller and its application Zhejiang University
- Xie S J, Chen S T and Lou S T 2004 Application of digital PID algorithms in brushless DC motor Modern Electronics Technology 2 59-61.
- Li C, Qi B, Miao H, Zou Y, Jiang B and Guo Z 2023 Cascade self-coupling PID attitude controller for quadrotor aircraft Automation and Instrumentation 280 103-6
- Gao Z W and Dai X W 2020 Design of LQR-PID optimal equilibrium and path tracking controller based on two-wheeled self-balancing vehicle Control Engineer of China 27 708-14