{"title":"Self-balancing robot: modeling and comparative analysis between PID and linear quadratic regulator","authors":"Lu Bin Lau, N. S. Ahmad, P. Goh","doi":"10.11591/ijres.v12.i3.pp351-359","DOIUrl":null,"url":null,"abstract":"A two-wheeled self-balancing robot (TWSBR) is an underactuated system that is inherently nonlinear and unstable. While many control methods have been introduced to enhance the performance, there is no unique solution when it comes to hardware implementation as the robot’s stability is highly dependent on accuracy of sensors and robustness of the electronic control systems. In this study, a TWSBR that is controlled by an embedded NI myRIO-1900 board with LabVIEW-based control scheme is developed. We compare the performance between proportional-integral-derivative (PID) and linear quadratic regulator (LQR) schemes which are designed based on the TWSBR’s model that is constructed from Newtonian principles. A hybrid PID-LQR scheme is then proposed to compensate for the individual components’ limitations. Experimental results demonstrate the PID is more effective at regulating the tilt angle of the robot in the presence of external disturbances, but it necessitates a higher velocity to sustain its equilibrium. The LQR on the other hand outperforms PID in terms of maximum initial tilt angle. By combining both schemes, significant improvements can be observed, such as an increase in maximum initial tilt angle and a reduction in settling time.","PeriodicalId":158991,"journal":{"name":"International Journal of Reconfigurable and Embedded Systems (IJRES)","volume":"85 2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Reconfigurable and Embedded Systems (IJRES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11591/ijres.v12.i3.pp351-359","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
A two-wheeled self-balancing robot (TWSBR) is an underactuated system that is inherently nonlinear and unstable. While many control methods have been introduced to enhance the performance, there is no unique solution when it comes to hardware implementation as the robot’s stability is highly dependent on accuracy of sensors and robustness of the electronic control systems. In this study, a TWSBR that is controlled by an embedded NI myRIO-1900 board with LabVIEW-based control scheme is developed. We compare the performance between proportional-integral-derivative (PID) and linear quadratic regulator (LQR) schemes which are designed based on the TWSBR’s model that is constructed from Newtonian principles. A hybrid PID-LQR scheme is then proposed to compensate for the individual components’ limitations. Experimental results demonstrate the PID is more effective at regulating the tilt angle of the robot in the presence of external disturbances, but it necessitates a higher velocity to sustain its equilibrium. The LQR on the other hand outperforms PID in terms of maximum initial tilt angle. By combining both schemes, significant improvements can be observed, such as an increase in maximum initial tilt angle and a reduction in settling time.