Control method of two-wheeled self-balance vehicle

A technology of self-balancing vehicles and control methods, which is applied to bicycles, attitude control, motor vehicles, etc., can solve the problems of high risk and long time for balance correction of drive motors, and achieve the effect of reducing risks and short time for balance correction

Inactive Publication Date: 2014-01-22
GUANGZHOU COLLEGE OF SOUTH CHINA UNIV OF TECH
View PDF5 Cites 111 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current balance bike allows the user to shake freely while riding, and the control system on it will automatically process the drive motor for balance correction; due to the al

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Control method of two-wheeled self-balance vehicle
  • Control method of two-wheeled self-balance vehicle
  • Control method of two-wheeled self-balance vehicle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The present invention will be further described below in conjunction with the accompanying drawings of the description.

[0016] Such as figure 1 As shown, a two-wheeled self-balancing vehicle control method includes the following steps:

[0017] (1) After the two-wheel self-balancing vehicle is powered on and running, the system first enters various initialization procedures, including phase-locked loop initialization, AD conversion initialization, timer initialization, PWM initialization and port initialization;

[0018] (2) Then wait for the system to stabilize after a delay of 1s, then read the initial values ​​of the gyroscope, accelerometer and angle sensor, and then wait for a parameter change with a delay of 1s;

[0019] (3) The program sets a 1ms interrupt function, and the upright control, direction control and speed control are all carried out simultaneously during the period; when the 1ms interrupt occurs, the values ​​​​of the gyroscope, accelerometer, and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A control method of a two-wheeled self-balance vehicle comprises the steps as follows: (1), performing initialization: (2), reading values of a gyroscope, an accelerometer and a rotation angle sensor as well as the pulse number of an encoder respectively; (3), obtaining a vehicle body inclination, a handlebar turning angle, motor speeds and a vehicle speed; (4), then calculating PWM (pulse width modulation) values of vertical control, direction control and speed control respectively through a PID (proportion integration differentiation) control algorithm; (5), superposing the three PWM values together and outputting the three PWM values to left and right motors; (6), then sending data of the gyroscope, the accelerometer, the vehicle body inclination, a battery voltage, motor currents and the vehicle speed to an upper computer so as to monitor the operating status of the whole vehicle; (7), when the battery voltage is monitored to be smaller than a preset value, and the motor currents or the vehicle speed is monitored to be larger than the preset value through monitoring, turning on corresponding LED warning lights; and (8), when the vehicle body inclination is larger than a preset angle through monitoring when the vehicle body inclination is monitored to be larger than a preset angle, determining that the vehicle body falls down, stopping the operation and returning to an initializer. According to the control method, a more accurate operational method is adopted.

Description

technical field [0001] The invention relates to a two-wheel self-balancing vehicle, in particular to a control method for a two-wheel self-balancing vehicle. Background technique [0002] The automatic balancing operation principle of self-balancing electric vehicles is mainly based on a basic principle called "Dynamic Stabilization", that is, the automatic balancing ability of the vehicle itself. The built-in precision solid-state gyroscope (Solid-State Gyroscopes) is used to judge the posture state of the car body, and the precise and high-speed central microprocessor calculates the appropriate command and drives the motor to achieve the balance effect. The current balance bike allows the user to shake freely while riding, and the control system on it will automatically process the drive motor for balance correction; due to the algorithmic defects of the existing control system, it takes a long time for the drive motor to process balance correction. This type of self-bala...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G05D1/08B62K11/00
Inventor 姜立标翟伟良姜思羽张可然赵誉洲梁启麟梁俊杨剑
Owner GUANGZHOU COLLEGE OF SOUTH CHINA UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products