The Design of the Self-balancing Two Wheeled Car Based on LQR

Author
LiYang
Advisor
LiangYiWei
School
Taiyuan University of Technology
Major
Mechanical Manufacturing and Automation
Classification
TP242 Robot
Degree
Master's thesis
Year
2011
Downloads
509
Citations
1

Request the full text

Abstract

The aim of this paper is to design the two self-balancing wheeled car system. The car is a nonlinear, serious coupling, multivariable, natural unstable, specific, and complex but relatively inexpensive system with a great challenge to control, the typical model to test and verify all kinds of control priciples, the hotspots attached by scientists around the world and the challenging issues.The two self-balancing wheeled car is a new type electric vehicle systems with two wheels arranged in parallel and the angle detection sensors and gyroscopes, and the same time, can maintain their balance by the control principles.The simplified model of the car was built in this paper based on kinematics and Newtonian mechanics theory, verfied by the controllability and observability. Inder to compare and ansys the effects of the PID and LQR control priciples, the simulation using the Matlab-simulink softeware was conducted,and mean while,the paper have a collaborative simulation based on the dynamic software ADAMS and Matlab-simulink, and ultimately determine the choice of control priciple. Provided by theoretical simulation data, this paper carried out the design of hardware systems, including mechanical systems design and electrical system design. Finally, in the IAR software platform, the application of C language compiled the software system.Ultimately,the paper completes the two self-balancing car system and the Joint Commissioning between the hardware and software system, show that the system is reasonable and the desired effect of control requirements can be achieved.

Table of contents

Abstract 3-4 ABSTRACT 4-9 The first chapter 9-19 1.1 research background and significance 9-10 1.2 research status 10-17 1.2.1 two self-balancing trolley Foreign Research 10-15 1.2.2 two self-balancing trolley domestic research 15-17 1.3 literature analysis 17-18 1.4 The main contents of this thesis 18-19 Chapter LQR control theory with two self-balanced car mathematical model 19-31 2.1 Introduction and optimal control theory defines 19-21 2.1.1 Introduction 19 2.1.2 optimal control theory defines 19-21 2.2 two self-balanced car mathematical model 21-29 2.2.1 Introduction 21 2.2.2 coordinate system model and parameters 21-22 2.2.3 kinematics equations establish 22-24 2.2.4 system dynamics equations establish 24-27 2.2.5 Controllability 27-28 2.2.6 system observability 28-29 2.3 This chapter summarizes 29-31 Chapter two self-balancing vehicle system MATLAB and ADAMS dynamics simulation experiments 31-55 3.1 Introduction 31-32 3.2 Simulink simulation of PID control strategy 32-39 3.2.1 PID control strategy introduced 32-33 3.2.2 PD controller strategy simulation 33-39 3.3 Simulink in LQR Control Strategy Simulation 39-45 3.4 Simulink simulation conclusion 45-46 3.5 ADAMS and Matlab-Simulink co-simulation 46-48 3.6 Matlab-Simulink PID and LQR control module in the establishment 48-49 3.7 combined simulation experiments 49-53 3.8 This chapter summarizes 53-55 Chapter two self-balanced car overall design and hardware systems to achieve 55-71 4.1 two self-balancing the car 's overall design scheme 55-56 4.2 two self-balanced car hardware system 56 4.3 two self-balanced car mechanical system design 56 4.4 two self-balancing electric trolley system 56-68 4.4.1 MCU Selection and Introduction 57-59 4.4.2 Single-chip peripheral hardware circuit 59-61 4.4.3 acceleration sensor signal processing circuit 61 4.4.4 Accelerometer MMA6231 61-62 4.4.5 gyroscope 62-63 4.4.6 brushless DC motor 63-68 4.5 two self-balancing hardware experimental platform trolley 68 4.6 This chapter summarizes 68-71 Chapter two self-balanced car software system design 71-83 5.1 software system module classification 71-72 5.2 software development platform 72-73 5.3 overall structure of the software flowchart 73-74 5.4 system function modules 74-82 5.4.1 System Initialization 74-75 5.4.2 Key subroutine 75-76 5.4.3 AD sampling procedures 76-79 5.4.4 balance control algorithm 79-81 5.4.5 DA output 81-82 5.4.6 Watchdog program 82 5.5 This chapter summarizes 82-83 Chapter Summary and Outlook 83-85 6.1 Full Summary 83-84 6.2 herein gaps and prospects 84-85 References 85-89 Thanks 89-90 papers published during the master's degree 90

Related dissertations

  1. The Research and Development of Networked Laboratory Based on Invertedpendulum Control System
    QianMeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Three-DOF Helicopter Modeling and Control Method Research
  3. The Research on the Stability Control of Two-wheeled Self-balancing Robot Based on Genetic Algorithms
  4. Research of the Two-wheeled Self-balancing Robot Control Algorithm
  5. Friction Compensation and Adaptive Control for the Linear Single Inverted Pendulum
  6. Research on control algorithm of cricket system
    LiJianMin ·Wuyi University ·2013 ·Master's thesis
  7. Longitudinal Motion Modeling and Simulation of a Hydrofoil Craft
    ZhangChangZheng ·Harbin Engineering University ·2013 ·Master's thesis
  8. Flight Control Technology Research for Heavy Cargo Extraction of Supper Low Altitude Airdrop
  9. Research on Intelligent Control of Flight Attitude for the Tricopter
  10. The LQR Controller of Linear2-stage Inverted Pendulum System Designed Based on Ma Optimizing
    ZhangJing ·Shanxi University ·2012 ·Master's thesis
  11. Research on Course Motion Control of Underwater High Speed Vehicle
    WangYu ·Harbin Engineering University ·2012 ·Master's thesis
  12. Study on Control Method Based on3-DOF Experimental Helicopter System
    MaYunFei ·Northeastern University ·2009 ·Master's thesis
  13. Research and Implement Control Methods Based on3-DOF and Double-Rotor Experimental Helicopter System
    JuBinBin ·Northeastern University ·2010 ·Master's thesis
  14. Control Research and Simulation of Three-dof Helicopter Model System
    YuChunHai ·Jiangnan University ·2013 ·Master's thesis
  15. Inteligent Control of A Class of Nonholonomic Underactuated Mechanical Systems
    LaiXuZhi ·Central South University ·2001 ·Doctoral dissertation
  16. Research on Semi-active Control of Multi-DIM Vibration Absorber Based on MR Damper and Parallel Mechanism
    ZhuWei ·Jiangsu University ·2007 ·Doctoral dissertation
  17. Development of a Portable Engine Fault Detector without Engine Disassembly
    DuWeiHua ·Hefei University of Technology ·2007 ·Master's thesis
  18. Research of Intelligent Control for Inverted Pendulum
  19. Research and Design of Vector Network Analyzer’s Communication and Control System Based on MSP430
  20. Research on Balance Control and Internet Based Experiment of Inverted Pendulum
    QiuHong ·Yangzhou University ·2007 ·Master's thesis