Two Wheel Electric Bicycle Self-balance Control Algorithm Research

Author
WangGuangLin
Advisor
LanFengChong , YeZhiGang
School
South China University of Technology
Major
Vehicle Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2011
Downloads
228
Citations
0

Request the full text

Abstract

The two self-balancing electric vehicle is a new type of transport, it is different from the electric bicycle and motorcycle wheel tandem, instead of using two fixed side by side, like a two parallel robot. The system is arranged in parallel, a two about the like traditional inverted pendulum itself is a natural instability body, must be applied to the the powerful control means in order to make it stable. Its small size, simple structure, flexible movement, suitable for working in cramped and dangerous space, have a wide range of civilian and military applications prospects. The purpose of this project is to self-balance control system developed a two-wheel electric vehicles, its working principle is the the system attitude sensors (gyroscopes, accelerometers) to monitor the status and state of the body in which the pitch rate of change, through high-speed microcontroller After the appropriate data and instructions, and the drive motor to generate a forward or backward acceleration to achieve the effect of the vehicle body front-back balance. Review and summarize the domestic and international two Self-Balancing Robot Research, the choice AtmeDgal16 microcontroller, Germany von Hubble Faulhaber gear motor with encoder hollow cup 2342L012 the MMA226D accelerometer sensor and EWTS82 of gyroscopes, drive wheels, designed production the motherboard and motor driver board assembly of two self-balancing electric vehicle model; prepared by the C language chosen to self-balance control program, the burning process, verify the real vehicle control algorithm feasibility. In the course of the study, the first through the establishment of a dynamic model, the use of Lagrange equations to verify the three degrees of freedom in the system the possibility of controllability, and four K values ??obtained control algorithm, based on the presence of gyro drift and accelerometer slow dynamic response testing, a gyroscope or accelerometer used alone, for the attitude of the system can not provide efficient and reliable information to reflect the real-time status of the vehicle body. Kalman filter optimization processing on the data collected by the sensor both the dynamic error compensation gyroscope drift errors and accelerometer to give a better approximation the inclination. Based in process control, PID controller has been the most widely used an automatic controller, PID control has been the most common control algorithm in many control methods, it solves the automatic control theory to solve the most fundamental problems both system stability, speed and accuracy, adjust the PID parameters can be achieved under the premise of stable system, taking into account the system with the capacity to immunity, at the same time, introduce integral term in the PID regulator, the system increases the a zero plot points, so that became the first-order or order over the system, so the system step response of the steady-state error is zero. This article PID algorithm derived using Kalman filtering better inclination approximation obtained the duty ratio of PWM-driven motor to achieve the two self-balancing electric vehicle posture balance control, Kalman filter is used to optimize the body posture, improve the accuracy of two self-balancing electric vehicle control.

Table of contents

Summary 5-6 ABSTRACT 6-10 first chapter 10-17 1.1 two self-balancing electric vehicle Introduction 10-11 1.2 topics, background 11-12 1.3 research status the 12-14 1.4 In this paper, the content and meaning 14-17 establish two self-balancing electric car dynamics model 17-25 2.1 Introduction 17 2.2 two self-balancing electric trolley the structure and dynamic balance principle 17-18 2.2.1 two self-balancing electric car's structure 2.2.2 two on the 17th of dynamic equilibrium principle of self-balancing electric car 17-18 2.3 establish two self-balancing electric car dynamics model 18-24 2.3.1 build coordinate system 18-19 2.3.2 System model parameters 19-20 2.3.3 system kinetic energy calculation 20-24 2.4 This chapter summarizes 24-25 third Chapter conventional PID and Kalman filter control algorithm 25-39 3.1 Introduction 25 3.2 of the introduction of the conventional PID control algorithm 25-26 <br / > the introduction of the 3.3 Kalman filter 26-28 3.4 program design ideas the first 28-38 3.4.1 External Interrupt initialization 29 3.4.2 conduct the AVR microcontroller output port initialization 29-30 3.4.3 the AVR timer initialization 30 3.4.4 on serial early initialized 30 3.4.5 INTO INT1 two terminals are defined. 30-31 3.4.6 AD sampling 31 3.4. Kalman filter 31-33 3.4.8 PWM motor control 33-38 3.5 This chapter summarizes 38-39 Chapter implementation verify 39-51 4.1 Introduction 39 4.2 two self-balancing electric car production 39-49 4.2.1 accessories produced 39-45 4.2.3 Sensor 45-49 4.3 the authentication data analysis 49-50 4.4 Chapter Summary 50 -51 Chapter V Conclusion and Outlook 51-53 Reference 53-55 Appendix 1, printed circuit board design 55-57 the Appendix 2 source 57-71 Acknowledgements 71-72 attachments 72

Related dissertations

  1. Design of Two-wheeled Self-balance Vehicles
    MaZhuoBiao ·Beijing Jiaotong University ·2014 ·Master's thesis
  2. Design of Vehicle Dead Reckoning Navigation System Based on STM32
    ZhaoYanFei ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Research on Key Technologies of MEMS gyroscope stabilized platform based on
  4. Estimating the Natural Real Interest Rate for China and Its Monetary Policy Implications
    YeBin ·Anhui University of Finance ·2013 ·Master's thesis
  5. The Estimation, Decomposition and Forecast of ChinesePotential GDP
    LuoWei ·Xiamen University ·2014 ·Master's thesis
  6. Empirical Study on the Yields of Treasury Bonds in the Shanghai Stock Exchange by a Three-Factor Affine Term Structure Model
    QinDaPeng ·Anhui University of Finance ·2013 ·Master's thesis
  7. The Estimation of China Moderate Foreign Exchang Reserve
  8. Pricing of the Cheapest Delivery Option of Bond Future Based on CIR Model
  9. The main industries in our country Armington elasticity estimation based on state space model
    WangLei ·Shanghai Academy of Social Sciences ·2013 ·Master's thesis
  10. Development and Application about Data Management System of PVC Glove Production Line
  11. Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
    ZhangChen ·Tianjin University ·2012 ·Master's thesis
  12. Design and Temperature Control of Adsorber in the Regeneartion Heating Stage of the Purifier
    CaiZuoQing ·Shanghai Jiaotong University ·2009 ·Master's thesis
  13. Application Research on Industrial Ethernet Based on EtherNet/Ip for the Production of Refined KCL
    GaoZhiGang ·Northeastern University ·2011 ·Master's thesis
  14. The Balance Control of Single Linear Inverted Pendulum Based on Dspace Simulation Platform
    RenLing ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Research of Self-adjusting Fuzzy PID for Automatic Analyzer Sampling Institution
    GuXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Study on Automatic Leveling Control System of Vehicle Platform Based on Neural Network
    WangBing ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. Research on Dedicared Multi-axis Motion Controler and the Control Method Built in
    DuWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Tracking Control System Design for Light Universal Optical-Electronic Tracking Platform
  19. Concrete Batching Plant Control System Design
  20. AC Speed System Based on Bio-inspired Optimization
    ShiXiaBo ·Ningbo University ·2013 ·Master's thesis