A method and system for controlling the speed of a two-wheeled vehicle
A technology of speed control and two-wheeled vehicles, which is applied to two-wheeled bicycles, control drives, control devices, etc., can solve the problems of potential safety hazards, the vehicle shakes back and forth, and the pedals of the balance bike, etc., to reduce potential safety hazards, The effect of smooth motor speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 Corresponding to the implementation flowchart of the two-wheeled vehicle speed control method provided in Embodiment 1 of the present invention, the details are as follows:
[0027] In S101, the actual left motor speed, the actual right motor speed, the first left motor target speed and the first right motor target speed are obtained.
[0028] When acquiring the actual left motor speed and the actual right motor speed in S101, considering the reaction time of the speed sensor and the speed change that can be perceived by humans, the motor speed is generally collected every Xus time, where Xus corresponds to the motor control cycle of 16Khz If the multiple of the cycle time is doubled, Xus is 62.5us, and generally the maximum value is 5000us, that is, the value range of Xus is 62.5us-5000us, and the best value is 500-2000us.
[0029] In S102, the actual motor speed difference and the turning limit value are determined according to the actual left motor speed an...
Embodiment 2
[0123] based on figure 2 Correspondingly is the flow chart of Embodiment 2 in which the present invention is applied to a single-axis two-wheel balance vehicle for speed control, and is described in detail as follows:
[0124] In this embodiment, selected case 1, V Δspeed =V Δspeed1 =V L -V R , V Δspeedref =V Δspeedref1 =V Lref -V Rtef as V Δadjust with V Δadjustref Calculation method, and choose to perform V before obtaining the turn instruction Δadjust with V Δadjustref calculation, select the corresponding V Lref2 =V Lref -V Δspeed -V Δspeedref , V Rref2 =V Rref +V Δspeed +V Δspeedref as V Lref2 and V Rref2 The calculation method is set to obtain the actual left motor speed and the actual right motor speed every 500us, and the default value is 0, and the preset coefficient 1 and preset coefficient 2 are both 0.5.
[0125] In S201, the limit coefficient, the actual left motor speed, the actual right motor speed, the first left motor target speed and the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


