WO2021134769A1 - Vehicle speed control method, and motor vehicle with vehicle speed control function - Google Patents
Vehicle speed control method, and motor vehicle with vehicle speed control function Download PDFInfo
- Publication number
- WO2021134769A1 WO2021134769A1 PCT/CN2020/070196 CN2020070196W WO2021134769A1 WO 2021134769 A1 WO2021134769 A1 WO 2021134769A1 CN 2020070196 W CN2020070196 W CN 2020070196W WO 2021134769 A1 WO2021134769 A1 WO 2021134769A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- degree
- control
- speed
- vehicle
- motor vehicle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L15/00—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles
- B60L15/20—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed
- B60L15/2009—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed for braking
- B60L15/2018—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed for braking for braking on a slope
- B60L15/2027—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed for braking for braking on a slope whilst maintaining constant speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L15/00—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles
- B60L15/20—Methods, circuits, or devices for controlling the traction-motor speed of electrically-propelled vehicles for control of the vehicle or its driving motor to achieve a desired performance, e.g. speed, torque, programmed variation of speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L7/00—Electrodynamic brake systems for vehicles in general
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L2240/00—Control parameters of input or output; Target parameters
- B60L2240/10—Vehicle control parameters
- B60L2240/12—Speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L2240/00—Control parameters of input or output; Target parameters
- B60L2240/40—Drive Train control parameters
- B60L2240/42—Drive Train control parameters related to electric machines
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60L—PROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
- B60L2240/00—Control parameters of input or output; Target parameters
- B60L2240/60—Navigation input
- B60L2240/64—Road conditions
- B60L2240/642—Slope of road
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/72—Electric energy management in electromobility
Definitions
- the present invention relates to the control of functional motor vehicles used in a fixed site, and in particular to a speed control scheme of a functional motor vehicle used in such a fixed site.
- the functional motor vehicles used in fixed venues such as golf carts and tool carts on the market have to adapt to a variety of slopes and require certain control interventions on the speed of the vehicles.
- low-end cars do not have a motor speed measurement module, and their speed control relies on algorithms for fixed output, and their speed control effect is not good;
- mid-end cars have a motor speed measurement module (Hall or photoelectric coding), which can stabilize the speed.
- the vehicle speed control can be adjusted according to the vehicle speed feedback, and the vehicle speed control effect is relatively improved.
- flat ground is the optimal situation when the golf cart is walking, and its speed control scheme is also applicable.
- the present invention aims at the shortcomings of the vehicle speed control scheme of the functional vehicle used in the existing fixed field, and proposes a functional vehicle with a stable and good vehicle speed control scheme.
- the present invention first proposes a vehicle speed control method for stably controlling the walking of a motor vehicle, which specifically includes: (S1) a control process for the motor vehicle boost mode and (S2) a control process for the motor vehicle remote control mode, where The (S1) control process for the vehicle assist mode and (S2) the control process for the vehicle remote control mode are both based on the vehicle speed detection quantity and the slope detection quantity.
- the (S1) vehicle assistance mode The control process of the push mode and the control process of (S2) the remote control mode of the motor vehicle are both: speed monitoring and continuous speed control, and at the same time, according to the degree of the current gradient to determine whether or not the speeding behavior occurs. Carry out brake steady speed intervention.
- the degree of the gradient includes the first degree, the second degree, and the third degree.
- the first degree is the downhill gradient
- the third degree The degree is the uphill gradient
- the second degree is the gradient range between the gentle uphill and gentle downhill slopes.
- speed monitoring and continuous speed control are carried out, and overspeed during monitoring is carried out.
- the degree of the gradient includes a first degree, a second degree, and a third degree.
- the first degree is a downhill gradient
- the third degree It is the uphill gradient
- the second degree is the gradient range between the gentle uphill and gentle downhill slopes, where: in the first degree, speed monitoring and continuous speed control are carried out, and the overspeed behavior that occurs during the monitoring is carried out Carry out braking stabilization intervention; when in the second level, carry out speed monitoring and continuous stabilization control, and carry out braking stabilization intervention on overspeeding behaviors that occur in the monitoring; when in the third level, only carry out speed monitoring and continuous control Carry out steady-speed control, but do not make brake steady-speed intervention for overspeed behavior that occurs during monitoring.
- the first degree is a slope corresponding to a pitch angle of less than -4°
- the second degree is a slope corresponding to a pitch angle of between -4° and 4°
- the third The degree is the slope corresponding to a pitch angle greater than 4°.
- the speed stabilization control and brake stabilization intervention are realized by changing the PWM waveform corresponding to the power switch tube loaded on the driving circuit of the full-bridge driving DC motor based on the PID control algorithm.
- the PID control algorithm is an incremental PID algorithm, and when the control amount in the incremental PID algorithm is increased or decreased and becomes less than 0, it is determined whether a brake steady speed intervention is required, if not , The PWM waveform output is 0 and the motor is in the floating state. If it is, the negative control value is taken as an absolute value, and the absolute value control value is expressed as the corresponding PWM waveform, and the output is loaded to the corresponding The brake depth adjustment control is carried out on the power switch tube.
- it also includes (S3) the control process of the motor vehicle following mode, and the speed control mode of the vehicle is consistent with the control process of the (S2) remote control mode of the motor vehicle, which also includes walking and turning.
- the control process, the control process of walking and turning is to determine whether to increase or decrease the turning force according to the degree of the current slope.
- the degree of gradient in the control process of walking and turning in the control process of the vehicle following mode in (S3) includes a first degree, a second degree, a third degree, and a fourth degree, so
- the first degree is the downhill gradient
- the second degree is the gradient range between the gentle uphill and the gentle downhill
- the third degree is the ordinary uphill gradient
- the fourth degree is the steep uphill gradient.
- At the first level it will automatically follow the walking and control the turn by increasing the turning force when turning; at the second level, it will automatically follow the walking and control the turn according to the normal turning force when turning; at the third level , To automatically follow walking and control the turning by reducing the turning force when turning; when it is in the fourth degree, stop automatically following walking.
- the first degree is a slope corresponding to a pitch angle of less than -4°
- the second degree is a slope corresponding to a pitch angle of between -4° and 4°
- the third The degree is a slope corresponding to a pitch angle greater than 4° but less than or equal to 25°
- the fourth degree is a slope corresponding to a pitch greater than 25°.
- the present invention also provides a motor vehicle, including a vehicle body, a walking drive system, a speed measurement module, and a sensor module for detecting the pitch angle, the motor vehicle is controlled by the above-mentioned vehicle speed control method.
- the present invention adopts the above technical scheme, and adds the gradient of detecting the external environment as one of the reference quantities of vehicle speed adjustment in the vehicle speed control scheme, so that the vehicle of the present invention realizes the vehicle speed control scheme with gradient stabilization function.
- Fig. 1 is a schematic diagram of a golf cart according to an embodiment of the present invention
- FIG. 2 is a flowchart of a vehicle speed control scheme according to an embodiment of the present invention.
- Fig. 3 is a flowchart of a PID control method according to an embodiment of the present invention.
- Fig. 4 is a schematic circuit diagram of a motor drive system according to an embodiment of the present invention.
- the moving modes of golf carts in the golf course usually include: boost mode, remote control mode and follow mode.
- the boost mode refers to the way that manpower assists the golf cart to walk, and the speed of the cart is relatively consistent with the speed of the person.
- the ideal state of this mode should be that people are expected to not be hindered by the golf cart during operation so that they can have a better performance. Small thrust, but still have to ensure that no danger will occur due to overspeed and loss of control.
- the remote control mode means that the vehicle is controlled by people through the remote control, which is equivalent to the "external interference" is caused by the environment, without human interference, this mode only needs to ensure that no danger will occur due to speeding out of control.
- the follow mode is the way the car follows people to walk, which is equivalent to autonomous navigation. It requires the vehicle to detect the environment in real time and control itself. Therefore, this mode also needs to ensure that it will not cause danger due to overspeed or loss of control.
- the slope is very large, and the center of gravity of the car is very different on different slopes.
- the center of gravity is back.
- the whole vehicle cannot judge whether the external interference is caused by human control or caused by different loads when going up and down when people are in the boost mode. If the vehicle cannot be judged, in the boost mode, the vehicle will produce an action against manpower. For example, the speed of the vehicle is stabilized at 5Km/h during the boost, and the booster wants to go faster. Give the vehicle a forward force and manpower will come.
- the speed measurement module of the vehicle finds that the motor exceeds 5km/h, and the vehicle thinks it is downhill or other overspeed behavior, and will brake and slow down to stabilize the speed at 5km/h, so as to boost
- the user will obviously feel that the vehicle is resisting themselves.
- the greater the force used by the person the greater the resistance of the vehicle, which is obviously unfriendly to the user.
- the vehicle must brake to stabilize the speed when going downhill, otherwise the vehicle will go faster and faster, which will lead to overspeed and loss of control and danger.
- some existing vehicles with auto-following or auto-navigation functions have built-in flat turning control algorithms that are not applicable to different slopes.
- the built-in flat ground turning control algorithm will cause the center of gravity to be different due to the gradient in a gradient environment, which will cause the actual turning angle to be greatly deviated.
- the friction of the front wheels is small.
- a complete vehicle on a flat ground can turn 10 degrees with 1 gear, and on a 10 degree slope, it can turn 30 degrees with 1 gear. In this way, for auto-following and auto-navigating cars in the follow mode, it is possible that due to terrain problems, the direction deviation will be huge.
- the golf cart of the present invention is based on this, and the slope of the external environment is added to the vehicle speed control scheme as one of the reference quantities for vehicle speed adjustment, so that the golf cart of the present invention can well judge the "external interference source”. ", a vehicle speed control scheme with slope stabilization function is realized.
- the walking drive and vehicle speed control of the golf cart of the present invention are controlled by a single DC motor using a full-bridge drive mode.
- Figure 4 is a motor drive circuit of a preferred embodiment of the golf cart of the present invention, which includes a single-motor full-bridge drive circuit composed of 4 power switch tubes QA, QB, QC, and QD.
- the motor DC MOTOR rotates forward, and when the power switches QB and QC are turned on, the motor DC MOTOR reverses.
- the golf cart also has a motor speed measurement module, such as the use of Hall sensors or photoelectric coding for counting to achieve motor speed measurement, so that the current vehicle speed can be converted. This part can be achieved by conventional techniques in the field, and will not be described in detail here. .
- the golf cart of the present invention also has a sensing module for detecting the pitch angle.
- a sensing module for detecting the pitch angle is realized by the MPU6500 angular velocity and angular acceleration sensor.
- the detected pitch angle is the slope of the environment where the golf cart is located at this time.
- the detected pitch angle can be used as the control input variable to participate in the vehicle speed control adjustment.
- control sub-process of (S1) boost mode is as follows:
- the setting values (such as -4°, 4°) for determining the size of the pitch angle set in the three control schemes in the control sub-flow of the above (S1) boost mode are based on the structure of the golf cart according to a specific embodiment
- the parameters such as the center of gravity distribution and wheel friction are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be understood as limiting the cost. The scope of the invention.
- the setting values (e.g. -4°, 4°) for determining the size of the pitch angle set in the three control schemes in the control sub-flow of the above (S2) remote control mode are based on the structure of the golf cart according to a specific embodiment and The parameters such as the center of gravity distribution and wheel friction are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be understood as limiting the present invention. Range.
- both PID brake steady speed intervention and PID steady speed control It is based on the proportional-integral-derivative control strategy (PID) to adjust the PWM waveforms of the corresponding power switches QA, QB, QC, and QD to achieve brake steady speed control and vehicle speed steady speed control.
- PID proportional-integral-derivative control strategy
- the control of the brake steady speed is to adjust and change the PWM waveform loaded on the power switch tubes QB and QD to change the braking resistance of the motor, so as to realize the brake steady speed;
- the control of the vehicle speed and steady speed is to adjust and change the load on the power
- the PWM waveforms on the switching tubes QA, QD (forward rotation) and/or the power switching tubes QB, QC (reverse rotation) change the rotation speed of the motor, so as to achieve a stable vehicle speed.
- the change of the PWM waveform is realized based on the PID control strategy.
- the PID control strategy to achieve PWM waveform adjustment is a technology that can be mastered by those skilled in the art, and will not be described in detail here. It should be noted that, in addition to being implemented based on the PID control strategy, in the application of other embodiments, other control strategies, such as fuzzy control strategy, FPS control strategy, ADRC control strategy, etc., can also be used for adjustment control.
- S48 express the control value into the corresponding PWM waveform, and load the output to the corresponding power switch tube for vehicle speed adjustment control;
- S411 Take the absolute value of the negative control value, and express the absolute value of the control value (positive value) into the corresponding PWM waveform, and load the output to the corresponding power switch tube to adjust the brake depth control.
- the improvement of the PID control method in this embodiment is that the present invention takes into account that the PID speed control link has a control value less than 0. If brake speed control is to be performed, the negative value is taken as the absolute value, and the generated value is input To adjust in the brake mode, there will be a braking depth, which can brake more smoothly and stabilize the speed, instead of completely braking when the control amount is less than 0, or reversing, this will cause serious damage to the motor control system board and the motor mechanical mechanism. .
- control sub-process of (S3) following mode the speed control mode of the vehicle is consistent with the control sub-process of (S2) remote control mode, but it also involves the control of walking and turning.
- the specific process is as follows:
- the turning is controlled by increasing the turning strength when turning;
- the pitch angle is greater than 4° but less than or equal to 25°, the turning is controlled by reducing the turning strength when turning;
- the turning on the corresponding terrain is more accurate and avoids The occurrence of large turning deviations.
- the amount of increase or decrease in turning strength can be adjusted according to the vehicle’s model structure, center of gravity distribution, wheel friction and other parameters obtained in specific field experiments.
- the turning strength of flat terrain is 10.
- the turning strength can be changed to 12, 13, 14... (specifically, it can be adjusted according to the size of the slope), and when the pitch angle is greater than 4° but less than or equal to 25° , The turning force can be changed to 8, 7, 6... (specifically, it can be adjusted according to the size of the slope).
- the setting values (such as -4°, 4°, 25°) for determining the size of the pitch angle set in the four control schemes in the control sub-flow of the above (S3) follow mode are based on a specific embodiment
- the golf cart structure, center of gravity distribution, wheel friction and other parameters are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be Understanding is used to define the scope of the present invention.
- the control method of turning is illustrated as follows: When receiving a turning command, such as turning left, the wheel on the right maintains the original speed, and the wheel on the left brakes. This brake is not a complete brake. Instead, use the above PID brake control method to change the PWM waveform to control the braking depth, so that the strength of the turn can be controlled.
- the following mode in flat terrain walks according to the preset turning force. When the slope increases, the duty cycle of the brake PWM waveform is reduced, so that the turning force when going uphill can be reduced, and no turning force will appear. If it is too large, it will cause the body to sway; when the slope becomes smaller, make corresponding adjustments and changes in a similar way.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
Description
本发明涉及固定场地内所用的功能机动车的控制,尤其涉及这类固定场地内所用的功能机动车的车速控制方案。The present invention relates to the control of functional motor vehicles used in a fixed site, and in particular to a speed control scheme of a functional motor vehicle used in such a fixed site.
目前市面上高尔夫球包车和工具车等固定场地内所用的功能机动车因为要适应各种坡地,对车速是需要进行一定的控制干预的。目前,低端的车是不具有电机测速模块,其车速控制全靠算法进行固定输出,其车速控制效果不佳;中端的车有带电机测速模块(霍尔或者光电编码),能稳定速度,能够根据车速反馈来调整车速控制,其车速控制效果相对有所提升。但是,前述的两种车由于缺少对工作环境的空间感知能力,高尔夫球包车行走的时候平地是最优的情况,其车速控制方案也是适用的。但是在实际应用环境中,会有“外界干扰”,这些干扰可以是上下坡、坑坑洼洼的草地、撞到障碍物、助推模式下人给的外力控制、翻车等等,就会导致现有的车速控制方案不能良好适用。At present, the functional motor vehicles used in fixed venues such as golf carts and tool carts on the market have to adapt to a variety of slopes and require certain control interventions on the speed of the vehicles. At present, low-end cars do not have a motor speed measurement module, and their speed control relies on algorithms for fixed output, and their speed control effect is not good; mid-end cars have a motor speed measurement module (Hall or photoelectric coding), which can stabilize the speed. The vehicle speed control can be adjusted according to the vehicle speed feedback, and the vehicle speed control effect is relatively improved. However, due to the lack of spatial awareness of the working environment in the aforementioned two vehicles, flat ground is the optimal situation when the golf cart is walking, and its speed control scheme is also applicable. However, in the actual application environment, there will be "external interference", these interferences can be up and down slopes, potholes in the grass, hitting obstacles, external force control given by people in boost mode, overturning, etc., which will cause the existing The vehicle speed control scheme cannot be applied well.
发明内容Summary of the invention
因此,本发明针对现有固定场地内所用的功能机动车的车速控制方案的不足之处,提出一种具有稳定良好的车速控制方案的功能机动车。Therefore, the present invention aims at the shortcomings of the vehicle speed control scheme of the functional vehicle used in the existing fixed field, and proposes a functional vehicle with a stable and good vehicle speed control scheme.
本发明首先提出一种车速控制方法,用于对机动车的行走进行稳定控制,具体包括:(S1)对机动车助推模式的控制流程和(S2)对机动车遥控模式的控制流程,其中所述(S1)对机动车助推模式的控制流程和(S2)对机动车遥控模式的控制流程中均是基于对车速检测量和坡度检测量进行的,所述(S1) 对机动车助推模式的控制流程和(S2)对机动车遥控模式的控制流程中均是:进行测速监控和持续进行稳速控制,同时根据当前所处的坡度大小的程度来决定是否在发生的超速行为时进行刹车稳速干预。The present invention first proposes a vehicle speed control method for stably controlling the walking of a motor vehicle, which specifically includes: (S1) a control process for the motor vehicle boost mode and (S2) a control process for the motor vehicle remote control mode, where The (S1) control process for the vehicle assist mode and (S2) the control process for the vehicle remote control mode are both based on the vehicle speed detection quantity and the slope detection quantity. The (S1) vehicle assistance mode The control process of the push mode and the control process of (S2) the remote control mode of the motor vehicle are both: speed monitoring and continuous speed control, and at the same time, according to the degree of the current gradient to determine whether or not the speeding behavior occurs. Carry out brake steady speed intervention.
作为一个实施方式,所述(S1)对机动车助推模式的控制流程中,坡度大小的程度包括第一程度、第二程度和第三程度,所述第一程度为下坡坡度,第三程度为上坡坡度,第二程度为介于缓上坡和缓下坡的坡度范围,其中:在处于所述第一程度时,进行测速监控和持续进行稳速控制,并对监控中发生的超速行为进行刹车稳速干预;在处于第二程度时,仅进行测速监控和持续进行稳速控制,但对监控中发生的超速行为不进行刹车稳速干预;在处于第三程度时,仅进行测速监控和持续进行稳速控制,但对监控中发生的超速行为不进行刹车稳速干预。As an embodiment, in the (S1) control process for the vehicle assist mode, the degree of the gradient includes the first degree, the second degree, and the third degree. The first degree is the downhill gradient, and the third degree The degree is the uphill gradient, and the second degree is the gradient range between the gentle uphill and gentle downhill slopes. In the first degree, speed monitoring and continuous speed control are carried out, and overspeed during monitoring is carried out. Braking and speed stabilization intervention for behavior; in the second level, only speed monitoring and continuous speed stabilization control are performed, but no braking and stabilization intervention is performed for overspeed behavior that occurs during monitoring; in the third level, only speed measurement is performed Monitor and continuously carry out steady-speed control, but do not perform braking and steady-speed intervention for overspeed behaviors that occur during monitoring.
作为一个实施方式,所述(S2)对机动车遥控模式的控制流程中,坡度大小的程度包括第一程度、第二程度和第三程度,所述第一程度为下坡坡度,第三程度为上坡坡度,第二程度为介于缓上坡和缓下坡的坡度范围,其中:在处于所述第一程度时,进行测速监控和持续进行稳速控制,并对监控中发生的超速行为进行刹车稳速干预;在处于第二程度时,进行测速监控和持续进行稳速控制,并对监控中发生的超速行为进行刹车稳速干预;在处于第三程度时,仅进行测速监控和持续进行稳速控制,但对监控中发生的超速行为不进行刹车稳速干预。As an embodiment, in the (S2) control process for the remote control mode of the motor vehicle, the degree of the gradient includes a first degree, a second degree, and a third degree. The first degree is a downhill gradient, and the third degree It is the uphill gradient, and the second degree is the gradient range between the gentle uphill and gentle downhill slopes, where: in the first degree, speed monitoring and continuous speed control are carried out, and the overspeed behavior that occurs during the monitoring is carried out Carry out braking stabilization intervention; when in the second level, carry out speed monitoring and continuous stabilization control, and carry out braking stabilization intervention on overspeeding behaviors that occur in the monitoring; when in the third level, only carry out speed monitoring and continuous control Carry out steady-speed control, but do not make brake steady-speed intervention for overspeed behavior that occurs during monitoring.
作为一个实施方式,所述第一程度为俯仰角为小于-4°所对应的坡度,所述第二程度为俯仰角为处于-4°至4°之间所对应的坡度,所述第三程度为俯仰角为大于4°所对应的坡度。As an embodiment, the first degree is a slope corresponding to a pitch angle of less than -4°, the second degree is a slope corresponding to a pitch angle of between -4° and 4°, and the third The degree is the slope corresponding to a pitch angle greater than 4°.
作为一个实施方式,所述的稳速控制和刹车稳速干预是基于PID控制算法来改变加载于全桥驱动直流电机的驱动电路上的功率开关管所对应PWM波形而实现的。As an embodiment, the speed stabilization control and brake stabilization intervention are realized by changing the PWM waveform corresponding to the power switch tube loaded on the driving circuit of the full-bridge driving DC motor based on the PID control algorithm.
作为一个实施方式,所述PID控制算法为增量式PID算法,并且当增量式PID算法中的控制量经过增减后出现小于0时,判断是否需要进行刹车稳速干预的情况,如果否,则使PWM波形输出为0,让电机处于悬空状态,如果是,则将负值的控制量取绝对值,并将绝对值后的控制量表达成相应的PWM波形,并输出加载至相应的功率开关管上,进行刹车深度调整控制。As an implementation manner, the PID control algorithm is an incremental PID algorithm, and when the control amount in the incremental PID algorithm is increased or decreased and becomes less than 0, it is determined whether a brake steady speed intervention is required, if not , The PWM waveform output is 0 and the motor is in the floating state. If it is, the negative control value is taken as an absolute value, and the absolute value control value is expressed as the corresponding PWM waveform, and the output is loaded to the corresponding The brake depth adjustment control is carried out on the power switch tube.
作为一个实施方式,还包括(S3)对机动车跟随模式的控制流程,其车辆行进的车速控制方式与所述(S2)对机动车遥控模式的控制流程是一致的,其还包括行走转弯的控制流程,所述行走转弯的控制流程是根据当前所处的坡度大小的程度来决定是否对转弯力度进行增减。As an embodiment, it also includes (S3) the control process of the motor vehicle following mode, and the speed control mode of the vehicle is consistent with the control process of the (S2) remote control mode of the motor vehicle, which also includes walking and turning. The control process, the control process of walking and turning is to determine whether to increase or decrease the turning force according to the degree of the current slope.
作为一个实施方式,所述(S3)对机动车跟随模式的控制流程中的所述行走转弯的控制流程中坡度大小的程度包括第一程度、第二程度、第三程度和第四程度,所述第一程度为下坡坡度,第二程度为介于缓上坡和缓下坡的坡度范围,第三程度为普通上坡坡度,第四程度为陡坡上坡坡度,其中:在处于所述第一程度时,进行自动跟随行走并在转弯时以加大转弯力度的方式控制转弯;在处于第二程度时,进行自动跟随行走并在转弯时按照常规转弯力度控制转弯;在处于第三程度时,进行自动跟随行走并在转弯时以减小转弯力度的方式控制转弯;在处于第四程度时,停止自动跟随行走。As an embodiment, the degree of gradient in the control process of walking and turning in the control process of the vehicle following mode in (S3) includes a first degree, a second degree, a third degree, and a fourth degree, so The first degree is the downhill gradient, the second degree is the gradient range between the gentle uphill and the gentle downhill, the third degree is the ordinary uphill gradient, and the fourth degree is the steep uphill gradient. At the first level, it will automatically follow the walking and control the turn by increasing the turning force when turning; at the second level, it will automatically follow the walking and control the turn according to the normal turning force when turning; at the third level , To automatically follow walking and control the turning by reducing the turning force when turning; when it is in the fourth degree, stop automatically following walking.
作为一个实施方式,所述第一程度为俯仰角为小于-4°所对应的坡度,所述第二程度为俯仰角为处于-4°至4°之间所对应的坡度,所述第三程度为俯仰角为大于4°但小于等于25°所对应的坡度,所述第四程度为大于25°所对应 的坡度。As an embodiment, the first degree is a slope corresponding to a pitch angle of less than -4°, the second degree is a slope corresponding to a pitch angle of between -4° and 4°, and the third The degree is a slope corresponding to a pitch angle greater than 4° but less than or equal to 25°, and the fourth degree is a slope corresponding to a pitch greater than 25°.
其次,本发明还提出一种机动车,包括车体、行走驱动系统、测速模块,以及还包括用于检测俯仰角的传感模块,所述机动车通过上述的车速控制方法进行车速控制。Secondly, the present invention also provides a motor vehicle, including a vehicle body, a walking drive system, a speed measurement module, and a sensor module for detecting the pitch angle, the motor vehicle is controlled by the above-mentioned vehicle speed control method.
本发明采用如上技术方案,在车速控制方案中加入了检测外界环境的坡度作为车速调整的参考量之一,从而使得本发明的车辆实现了具有坡度稳定功能的车速控制方案。The present invention adopts the above technical scheme, and adds the gradient of detecting the external environment as one of the reference quantities of vehicle speed adjustment in the vehicle speed control scheme, so that the vehicle of the present invention realizes the vehicle speed control scheme with gradient stabilization function.
图1是本发明的一个实施例的高尔夫球车的示意图;Fig. 1 is a schematic diagram of a golf cart according to an embodiment of the present invention;
图2是本发明的一个实施例的车速控制方案的流程图;Figure 2 is a flowchart of a vehicle speed control scheme according to an embodiment of the present invention;
图3是本发明的一个实施例的PID控制方式的流程图;Fig. 3 is a flowchart of a PID control method according to an embodiment of the present invention;
图4是本发明的一个实施例的电机驱动系统的电路示意图。Fig. 4 is a schematic circuit diagram of a motor drive system according to an embodiment of the present invention.
为进一步说明各实施例,本发明提供有附图。这些附图为本发明揭露内容的一部分,其主要用以说明实施例,并可配合说明书的相关描述来解释实施例的运作原理。配合参考这些内容,本领域普通技术人员应能理解其他可能的实施方式以及本发明的优点。图中的组件并未按比例绘制,而类似的组件符号通常用来表示类似的组件。To further illustrate the various embodiments, the present invention is provided with drawings. These drawings are a part of the disclosure of the present invention, which are mainly used to illustrate the embodiments, and can cooperate with the relevant description in the specification to explain the operation principle of the embodiments. With reference to these contents, those of ordinary skill in the art should be able to understand other possible implementation manners and advantages of the present invention. The components in the figure are not drawn to scale, and similar component symbols are usually used to indicate similar components.
现结合附图和具体实施方式对本发明进一步说明。The present invention will now be further described with reference to the drawings and specific embodiments.
参阅图1所示,本发明的机动车是以高尔夫场地内所用的高尔夫球车为例进行说明。高尔夫球车在高尔夫场地内的移动模式通常包括:助推模式、遥控 模式和跟随模式。助推模式是指人力辅助推动高尔夫球车进行行走的方式,车的速度和人的速度相对一致,此模式的理想状态应当是期望人在操作时不能受到球车的反向阻碍从而能够具有较小推力,但还得确保不会因为超速失控而导致危险发生。遥控模式是指车辆行走是由人通过遥控器来控制,那就相当于“外界的干扰”都是环境造成的,没有人力干扰,此模式只要确保不会因为超速失控而导致危险发生即可。而跟随模式是车跟随人行走的方式,相当于自主导航,需要车辆实时检测环境并对自己进行控制,因此此模式也需要确保不会因为超速失控而导致危险发生。Referring to FIG. 1, the motor vehicle of the present invention is described by taking a golf cart used in a golf course as an example. The moving modes of golf carts in the golf course usually include: boost mode, remote control mode and follow mode. The boost mode refers to the way that manpower assists the golf cart to walk, and the speed of the cart is relatively consistent with the speed of the person. The ideal state of this mode should be that people are expected to not be hindered by the golf cart during operation so that they can have a better performance. Small thrust, but still have to ensure that no danger will occur due to overspeed and loss of control. The remote control mode means that the vehicle is controlled by people through the remote control, which is equivalent to the "external interference" is caused by the environment, without human interference, this mode only needs to ensure that no danger will occur due to speeding out of control. The follow mode is the way the car follows people to walk, which is equivalent to autonomous navigation. It requires the vehicle to detect the environment in real time and control itself. Therefore, this mode also needs to ensure that it will not cause danger due to overspeed or loss of control.
然而,在高尔夫的山地球场,坡度非常大,车在不同的坡度上重心是有很大的差别的,上坡的时候重心靠后,如果没有带坡度监测的车速稳定系统很容易发生后翻或侧翻的事故。因为,如果没有带坡度监测的车速稳定系统的情况下,人在助推模式下,整车无法判断此时的外界干扰是由人力控制造成的,还是上下坡时负载不同导致的。车辆如果无法判断的话,在助推模式下,车辆会产生一个反抗人力的动作,比如助推时车速稳定在5Km/h,助推者想走快一点,给车辆一个往前的力,人力来加速,如果没有坡度检测的情况下,此时车辆的测速模块发现电机超过5km/h,车辆认为是在下坡或其他超速行为,会进行刹车降速,让速度稳定在5km/h,这样助推者会明显感觉到车辆在抗拒自己,人用的力越大,车辆抗拒的力越大,对使用者显然很不友好。但是,一旦车辆到了下坡环境,车辆在进行下坡时则一定要刹车稳定车速,不然车辆越走越快,就会导致超速失控而发生危险。However, in the golf mountain course, the slope is very large, and the center of gravity of the car is very different on different slopes. When going uphill, the center of gravity is back. If there is no speed stabilization system with slope monitoring, it is easy to roll back or A rollover accident. Because if there is no speed stabilization system with gradient monitoring, the whole vehicle cannot judge whether the external interference is caused by human control or caused by different loads when going up and down when people are in the boost mode. If the vehicle cannot be judged, in the boost mode, the vehicle will produce an action against manpower. For example, the speed of the vehicle is stabilized at 5Km/h during the boost, and the booster wants to go faster. Give the vehicle a forward force and manpower will come. Accelerate, if there is no slope detection, the speed measurement module of the vehicle finds that the motor exceeds 5km/h, and the vehicle thinks it is downhill or other overspeed behavior, and will brake and slow down to stabilize the speed at 5km/h, so as to boost The user will obviously feel that the vehicle is resisting themselves. The greater the force used by the person, the greater the resistance of the vehicle, which is obviously unfriendly to the user. However, once the vehicle reaches a downhill environment, the vehicle must brake to stabilize the speed when going downhill, otherwise the vehicle will go faster and faster, which will lead to overspeed and loss of control and danger.
另外,现有一些带有自动跟随或者自动导航功能的车辆,其内置的平地的转弯控制算法到了不同的坡度上就会发生不适用的问题。由于车辆对转弯控制要求较精准,内置的平地的转弯控制算法在坡度环境中就会因坡度而导致重心 不同,使得实际的转弯角度会有很大偏差。例如,上坡时重心靠后,前轮的摩擦力小,例如:平地整车转弯力度1档可以转10度,到了10度的坡上转弯力度1档就有可能转弯30度。这样对于自动跟随和自动导航的车在跟随模式下,有可能因为地形的问题,导致方向偏差巨大。In addition, some existing vehicles with auto-following or auto-navigation functions have built-in flat turning control algorithms that are not applicable to different slopes. As vehicles require more precise turning control, the built-in flat ground turning control algorithm will cause the center of gravity to be different due to the gradient in a gradient environment, which will cause the actual turning angle to be greatly deviated. For example, when the center of gravity is rearward when going uphill, the friction of the front wheels is small. For example, a complete vehicle on a flat ground can turn 10 degrees with 1 gear, and on a 10 degree slope, it can turn 30 degrees with 1 gear. In this way, for auto-following and auto-navigating cars in the follow mode, it is possible that due to terrain problems, the direction deviation will be huge.
因此,本发明的高尔夫球车基于此,在车速控制方案中加入了检测外界环境的坡度作为车速调整的参考量之一,从而使得本发明的高尔夫球车就能很好的判断“外界干扰源”,实现了具有坡度稳定功能的车速控制方案。Therefore, the golf cart of the present invention is based on this, and the slope of the external environment is added to the vehicle speed control scheme as one of the reference quantities for vehicle speed adjustment, so that the golf cart of the present invention can well judge the "external interference source". ", a vehicle speed control scheme with slope stabilization function is realized.
具体的,本发明的高尔夫球车的行走驱动和车速控制是通过单直流电机采用全桥驱动方式进行控制。参阅图4所示,即为本发明的高尔夫球车的一个优选的实施例的电机驱动电路,其包括了4个功率开关管QA、QB、QC、QD构成的单电机全桥驱动电路,当导通功率开关管QA和QD时电机DC MOTOR正转,导通功率开关管QB和QC时电机DC MOTOR反转。因此,只要以一定的PWM(Pulse Width Modulation)波形,通过调整占空比来控制功率开关管QA、QD导通或者控制功率开关管QB和QC导通就能实现对电机DC MOTOR进行调速控制。当功率开关管导通QB和QD时,此时电机DC MOTOR两端短接到地。只要外力一转动电机DC MOTOR,电机DC MOTOR两端就会有电势,就会产生短接电流,此电流刚好和电机的转动方向相反,就会形成阻力,此时电机DC MOTOR是具有刹车力的。此时,给电机DC MOTOR施加足够的外部的力气还是能转动的,只是有会很大的阻力。因此,如果我们以一定的PWM(Pulse Width Modulation)波形,通过调整占空比来控制功率开关管QB和QD导通来短接电机时,就会有个刹车深度(刹车力变化)的调整控制。比如,以百分十的占空比的PWM波形进行短接,此时电机的刹车阻力比较小,逐渐加大PWM波形的占空比加大,刹车阻力会慢慢的加大,直到功率开关管QB和QD全程导通来实现电机完全短接,达到最大刹车阻力。Specifically, the walking drive and vehicle speed control of the golf cart of the present invention are controlled by a single DC motor using a full-bridge drive mode. Refer to Figure 4, which is a motor drive circuit of a preferred embodiment of the golf cart of the present invention, which includes a single-motor full-bridge drive circuit composed of 4 power switch tubes QA, QB, QC, and QD. When the power switches QA and QD are turned on, the motor DC MOTOR rotates forward, and when the power switches QB and QC are turned on, the motor DC MOTOR reverses. Therefore, as long as a certain PWM (Pulse Width Modulation) waveform is used to control the conduction of power switches QA and QD or control the conduction of power switches QB and QC by adjusting the duty cycle, the speed control of the motor DC MOTOR can be realized. . When the power switch tube turns on QB and QD, the two ends of the DC MOTOR of the motor are shorted to ground at this time. As long as the external force rotates the motor DC MOTOR, there will be an electric potential at both ends of the motor DC MOTOR, and a short-circuit current will be generated. This current is just opposite to the direction of rotation of the motor, which will form resistance. At this time, the motor DC MOTOR has a braking force. . At this time, applying enough external force to the motor DC MOTOR can still rotate, but there will be a lot of resistance. Therefore, if we use a certain PWM (Pulse Width Modulation) waveform and adjust the duty cycle to control the power switch QB and QD to conduct to short-circuit the motor, there will be a brake depth (brake force change) adjustment control . For example, short-circuit the PWM waveform with a duty cycle of ten percent. At this time, the braking resistance of the motor is relatively small. Gradually increase the duty cycle of the PWM waveform, and the braking resistance will gradually increase until the power is switched on. Tube QB and QD are turned on all the way to achieve a complete short-circuit of the motor and achieve the maximum braking resistance.
此外,高尔夫球车还具有用于电机测速模块,如采用霍尔传感器或者光电编码进行计数实现电机测速,从而能够换算出当前车速,此部分可以采用本领域常规技术实现,于此不再详细说明。In addition, the golf cart also has a motor speed measurement module, such as the use of Hall sensors or photoelectric coding for counting to achieve motor speed measurement, so that the current vehicle speed can be converted. This part can be achieved by conventional techniques in the field, and will not be described in detail here. .
更主要的,本发明的高尔夫球车还具有用于检测俯仰角的传感模块,例如采用MPU6500角速度和角加速度传感器实现,检测的俯仰角即为此时高尔夫球车所在环境的坡度,因此即可藉由检测的俯仰角作为控制的输入变量参与车速控制调整。More importantly, the golf cart of the present invention also has a sensing module for detecting the pitch angle. For example, it is realized by the MPU6500 angular velocity and angular acceleration sensor. The detected pitch angle is the slope of the environment where the golf cart is located at this time. The detected pitch angle can be used as the control input variable to participate in the vehicle speed control adjustment.
参阅图2所示,其作为一个优选实施方式的车速控制方案的流程如下:Referring to Figure 2, the flow of the vehicle speed control scheme as a preferred embodiment is as follows:
首先进行控制模式的判断:如果是助推模式,则进入(S1)助推模式的控制子流程,如果是遥控模式,则进入(S2)遥控模式的控制子流程,如果是跟随模式,则进入(S3)跟随模式的控制子流程。First, judge the control mode: if it is the boost mode, then enter the control sub-process of (S1) boost mode; if it is the remote control mode, then enter the control sub-process of (S2) remote control mode; if it is the follow mode, then enter the control sub-process of (S2) remote control mode. (S3) Follow mode control sub-flow.
其中,(S1)助推模式的控制子流程,如下:Among them, the control sub-process of (S1) boost mode is as follows:
S10:根据所检测到的俯仰角,对俯仰角的大小进行判别;S10: Determine the size of the pitch angle according to the detected pitch angle;
如果俯仰角为小于-4°,则进入S11:进行测速监控和持续进行常规的PID稳速控制,并对监控中发生的超速行为进行PID刹车稳速干预;If the pitch angle is less than -4°, enter S11: carry out speed monitoring and continuous PID steady speed control, and carry out PID braking steady speed intervention for overspeed behavior that occurs during monitoring;
如果俯仰角为处于-4°至4°之间(包括本数),则进入S12:仅进行测速监控和持续进行常规的PID稳速控制,但对监控中发生的超速行为不进行干预(即不进行PID刹车稳速干预);If the pitch angle is between -4° and 4° (including this number), then enter S12: only speed monitoring and continuous PID steady speed control, but do not intervene in the overspeed behavior that occurs in the monitoring (that is, no Carry out PID brake steady speed intervention);
如果俯仰角为大于4°,则进入S13:仅进行测速监控和持续进行常规的PID稳速控制,但对监控中发生的超速行为不进行干预(即不进行PID刹车稳速干预)。If the pitch angle is greater than 4°, then enter S13: Only speed monitoring and continuous PID steady speed control will be performed, but the overspeed behavior during monitoring will not be interfered (that is, PID braking steady speed intervention is not performed).
上述(S1)助推模式的控制子流程中的3个控制方案所设定俯仰角的大小 判别的设定值(如-4°、4°)是根据一个具体实施例的高尔夫球车结构形态和重心分布以及车轮摩擦力等参数在具体场地实验中所得的,在实际应用中可以根据不同的车辆的结构形态、重心分布等不同而略有调整,这些设定值不应理解用于限定本发明的范围。The setting values (such as -4°, 4°) for determining the size of the pitch angle set in the three control schemes in the control sub-flow of the above (S1) boost mode are based on the structure of the golf cart according to a specific embodiment The parameters such as the center of gravity distribution and wheel friction are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be understood as limiting the cost. The scope of the invention.
其中,(S2)遥控模式的控制子流程,如下:Among them, (S2) the control sub-flow of the remote control mode is as follows:
S20:根据所检测到的俯仰角,对俯仰角的大小进行判别;S20: Determine the size of the pitch angle according to the detected pitch angle;
如果俯仰角为小于-4°,则进入S21:进行测速监控和持续进行常规的PID稳速控制,并对监控中发生的超速行为进行PID刹车稳速干预;If the pitch angle is less than -4°, enter S21: carry out speed monitoring and continuous PID steady speed control, and carry out PID braking steady speed intervention for overspeed behavior that occurs during monitoring;
如果俯仰角为处于-4°至4°之间(包括本数),则进入S22:进行测速监控和持续进行常规的PID稳速控制,并对监控中发生的超速行为也进行PID刹车稳速干预;If the pitch angle is between -4° and 4° (including this number), then enter S22: carry out speed monitoring and continuous PID steady speed control, and also carry out PID brake steady speed intervention for overspeed behavior that occurs during monitoring ;
如果俯仰角为大于4°,则进入S13:仅进行测速监控和持续进行常规的PID稳速控制,但对监控中发生的超速行为不进行干预(即不进行PID刹车稳速干预)。If the pitch angle is greater than 4°, then enter S13: Only speed monitoring and continuous PID steady speed control will be performed, but the overspeed behavior during monitoring will not be interfered (that is, PID braking steady speed intervention is not performed).
上述(S2)遥控模式的控制子流程中的3个控制方案所设定俯仰角的大小判别的设定值(如-4°、4°)是根据一个具体实施例的高尔夫球车结构形态和重心分布以及车轮摩擦力等参数在具体场地实验中所得的,在实际应用中可以根据不同的车辆的结构形态、重心分布等不同而略有调整,这些设定值不应理解用于限定本发明的范围。The setting values (e.g. -4°, 4°) for determining the size of the pitch angle set in the three control schemes in the control sub-flow of the above (S2) remote control mode are based on the structure of the golf cart according to a specific embodiment and The parameters such as the center of gravity distribution and wheel friction are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be understood as limiting the present invention. Range.
参阅图3所示,以及同时再次参阅图4所示,上述的(S1)助推模式的控制子流程和(S2)遥控模式的控制子流程中,PID刹车稳速干预和PID稳速控制均是基于比例积分微分控制策略(proportional-integral-derivative control,PID)来调整相应的功率开关管QA、QB、QC、QD的PWM波形以实现刹车稳速控制和车速稳速控制。例如本实施例中,刹车稳速的控制是调整改变加载于功率开关管QB和QD上的PWM波形来改变电机的刹车阻力,从而实现刹车稳速;车速稳速的控制是调整改变加载于功率开关管QA、QD(正转)和/或功率开关管QB、QC(反转)上的PWM波形来改变电机的转速,从而实现车速稳速。其中,PWM波形的改变量是基于PID控制策略实现的。PID控制策略实现PWM波形调整是属于本领域技术人员可以掌握的技术,于此就不再详细展开说明。需要说明的,PWM波形的改变量除了基于PID控制策略实现外,在其他实施例的应用中,也可以采用其他控制策略,例如模糊控制策略、FPS控制策略、ADRC控制策略等来进行调整控制。Refer to Figure 3 and refer to Figure 4 at the same time. In the above-mentioned (S1) boost mode control sub-process and (S2) remote control mode control sub-process, both PID brake steady speed intervention and PID steady speed control It is based on the proportional-integral-derivative control strategy (PID) to adjust the PWM waveforms of the corresponding power switches QA, QB, QC, and QD to achieve brake steady speed control and vehicle speed steady speed control. For example, in this embodiment, the control of the brake steady speed is to adjust and change the PWM waveform loaded on the power switch tubes QB and QD to change the braking resistance of the motor, so as to realize the brake steady speed; the control of the vehicle speed and steady speed is to adjust and change the load on the power The PWM waveforms on the switching tubes QA, QD (forward rotation) and/or the power switching tubes QB, QC (reverse rotation) change the rotation speed of the motor, so as to achieve a stable vehicle speed. Among them, the change of the PWM waveform is realized based on the PID control strategy. The PID control strategy to achieve PWM waveform adjustment is a technology that can be mastered by those skilled in the art, and will not be described in detail here. It should be noted that, in addition to being implemented based on the PID control strategy, in the application of other embodiments, other control strategies, such as fuzzy control strategy, FPS control strategy, ADRC control strategy, etc., can also be used for adjustment control.
参阅图3所示,作为本发明一个实施例中的PID控制方式,展示如下:Referring to FIG. 3, as a PID control method in an embodiment of the present invention, it is shown as follows:
S41:采集电机光电编码信号(如果采用霍尔传感器测速,则采集霍尔信号);S41: Collect the photoelectric coding signal of the motor (if the Hall sensor is used for speed measurement, then the Hall signal is collected);
S42:根据电机光电编码信号换算转换成电机转速(即获知当前车速);S42: Convert the motor speed according to the photoelectric encoding signal of the motor (that is, know the current vehicle speed);
S43:载入设定的目标转速(即载入设定的目标车速);S43: Load the set target speed (that is, load the set target speed);
S44:根据电机转速和目标转速,采用增量式PID算法进行计算;S44: According to the motor speed and target speed, the incremental PID algorithm is used for calculation;
S45:根据增量式PID算法,计算出对控制量的增减量;S45: Calculate the increase or decrease of the control quantity according to the incremental PID algorithm;
S46:根据当前的控制量和计算出的增减量,对控制量进行更新调整;S46: According to the current control amount and the calculated increase or decrease amount, update and adjust the control amount;
S47:判断更新调整后的控制量是否小于0;S47: Determine whether the updated and adjusted control value is less than 0;
如果否,则S48:将控制量表达成相应的PWM波形,并输出加载至相应的功率开关管上,进行车速调整控制;If not, then S48: express the control value into the corresponding PWM waveform, and load the output to the corresponding power switch tube for vehicle speed adjustment control;
如果是,in the case of,
则S49:判断是否需要进行PID刹车稳速干预;Then S49: Judge whether PID brake steady speed intervention is needed;
如果否,则S410:使PWM波形输出为0,让电机处于悬空状态;If not, then S410: Make the PWM waveform output 0 and leave the motor in a floating state;
如果是,则S411:将负值的控制量取绝对值,并将绝对值后的控制量(正值)表达成相应的PWM波形,并输出加载至相应的功率开关管上,进行刹车深度调整控制。If yes, S411: Take the absolute value of the negative control value, and express the absolute value of the control value (positive value) into the corresponding PWM waveform, and load the output to the corresponding power switch tube to adjust the brake depth control.
本实施例中的PID控制方式的改进之处在于:本发明考虑到PID调速环节有个当控制量小于0时,如果要进行刹车调速,就把负值取绝对值,产生的值输入到刹车模式中进行调整,就有个刹车的深度,能更顺滑的刹车稳速,而不是控制量一小于0就完全刹车,或者反转,这样会电机控制系统板和电机机械机构损伤严重。The improvement of the PID control method in this embodiment is that the present invention takes into account that the PID speed control link has a control value less than 0. If brake speed control is to be performed, the negative value is taken as the absolute value, and the generated value is input To adjust in the brake mode, there will be a braking depth, which can brake more smoothly and stabilize the speed, instead of completely braking when the control amount is less than 0, or reversing, this will cause serious damage to the motor control system board and the motor mechanical mechanism. .
其中,(S3)跟随模式的控制子流程,其车辆行进的车速控制方式与所述(S2)遥控模式的控制子流程是一致的,但其还额外涉及对行走转弯的控制,具体流程如下:Among them, the control sub-process of (S3) following mode, the speed control mode of the vehicle is consistent with the control sub-process of (S2) remote control mode, but it also involves the control of walking and turning. The specific process is as follows:
S30:根据所检测到的俯仰角,对俯仰角的大小进行判别;S30: Determine the size of the pitch angle according to the detected pitch angle;
如果俯仰角为小于-4°,则进入S31:进行自动跟随行走并在转弯时以加大转弯力度的方式控制转弯;If the pitch angle is less than -4°, enter S31: auto follow walking and control the turn by increasing the turning force when turning;
如果俯仰角为处于-4°至4°之间(包括本数),则进入S32:进行自动跟随行走并在转弯时按照常规转弯力度控制转弯;If the pitch angle is between -4° and 4° (including this number), then enter S32: Automatically follow walking and control the turn according to the normal turning force when turning;
如果俯仰角为大于4°但小于等于25°,则进入S33:进行自动跟随行走并在转弯时以减小转弯力度的方式控制转弯;If the pitch angle is greater than 4° but less than or equal to 25°, then enter S33: automatically follow walking and control the turn by reducing the turning force when turning;
如果俯仰角为大于25°,则进入S34:停止自动跟随行走。If the pitch angle is greater than 25°, then enter S34: stop automatically following walking.
本发明的跟随模式的控制子流程中,考虑到外界环境的坡度对影响车辆转弯效果的影响,在俯仰角为小于-4°情况下,转弯时以加大转弯力度的方式控 制转弯;而在俯仰角为大于4°但小于等于25°情况下,转弯时以减小转弯力度的方式控制转弯;相比于现有的恒定转弯力度控制方式而言,在相应的地形的转弯更加准确,避免了转弯偏差大的发生。具体的,加大或减小转弯力度的增减量,可以根据车辆的车型结构、重心分布以及车轮摩擦力等参数在具体场地实验中所得的和进行调整,例如平面地形的转弯力度为10,而在俯仰角为小于-4°情况下,转弯力度可以改为12、13、14……(具体可以根据坡度的大小来调整),而在俯仰角为大于4°但小于等于25°情况下,转弯力度可以改为8、7、6……(具体可以根据坡度的大小来调整)。In the control sub-process of the follow mode of the present invention, taking into account the influence of the slope of the external environment on the turning effect of the vehicle, when the pitch angle is less than -4°, the turning is controlled by increasing the turning strength when turning; When the pitch angle is greater than 4° but less than or equal to 25°, the turning is controlled by reducing the turning strength when turning; compared to the existing constant turning strength control method, the turning on the corresponding terrain is more accurate and avoids The occurrence of large turning deviations. Specifically, to increase or decrease the amount of increase or decrease in turning strength can be adjusted according to the vehicle’s model structure, center of gravity distribution, wheel friction and other parameters obtained in specific field experiments. For example, the turning strength of flat terrain is 10. When the pitch angle is less than -4°, the turning strength can be changed to 12, 13, 14... (specifically, it can be adjusted according to the size of the slope), and when the pitch angle is greater than 4° but less than or equal to 25° , The turning force can be changed to 8, 7, 6... (specifically, it can be adjusted according to the size of the slope).
同样的,上述(S3)跟随模式的控制子流程中的4个控制方案所设定俯仰角的大小判别的设定值(如-4°、4°、25°)是根据一个具体实施例的高尔夫球车结构形态和重心分布以及车轮摩擦力等参数在具体场地实验中所得的,在实际应用中可以根据不同的车辆的结构形态、重心分布等不同而略有调整,这些设定值不应理解用于限定本发明的范围。Similarly, the setting values (such as -4°, 4°, 25°) for determining the size of the pitch angle set in the four control schemes in the control sub-flow of the above (S3) follow mode are based on a specific embodiment The golf cart structure, center of gravity distribution, wheel friction and other parameters are obtained in specific field experiments. In actual applications, they can be slightly adjusted according to the structure and center of gravity distribution of different vehicles. These set values should not be Understanding is used to define the scope of the present invention.
对于本发明的一个实施例中,转弯的控制方式例举说明如下:当收到转弯的指令时,如左转,那右边的轮子保持原速,左边的轮子进行刹车,这个刹车不是完全刹车,而是用上述PID刹车控制方式改变PWM波形来控制刹车深度,这样就能控制转弯的力度。平面地形时的跟随时模式按照事先设定好的转弯力度行走,当坡度增大时,对刹车PWM波形占空比进行减少,这样就能减少上坡时的转弯力度,就不会出现转弯力度过大,导致车身摇摆;当坡度变小时,与之类似方式来进行对应调整改变。For an embodiment of the present invention, the control method of turning is illustrated as follows: When receiving a turning command, such as turning left, the wheel on the right maintains the original speed, and the wheel on the left brakes. This brake is not a complete brake. Instead, use the above PID brake control method to change the PWM waveform to control the braking depth, so that the strength of the turn can be controlled. The following mode in flat terrain walks according to the preset turning force. When the slope increases, the duty cycle of the brake PWM waveform is reduced, so that the turning force when going uphill can be reduced, and no turning force will appear. If it is too large, it will cause the body to sway; when the slope becomes smaller, make corresponding adjustments and changes in a similar way.
尽管结合优选实施方案具体展示和介绍了本发明,但所属领域的技术人员应该明白,在不脱离所附权利要求书所限定的本发明的精神和范围内,在形式上和细节上可以对本发明做出各种变化,均为本发明的保护范围。Although the present invention is specifically shown and described in conjunction with the preferred embodiments, those skilled in the art should understand that the present invention can be modified in form and detail without departing from the spirit and scope of the present invention defined by the appended claims. Various changes are within the protection scope of the present invention.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911393184.1 | 2019-12-30 | ||
| CN201911393184.1A CN111071063B (en) | 2019-12-30 | 2019-12-30 | Vehicle speed control method and motor vehicle with vehicle speed control function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021134769A1 true WO2021134769A1 (en) | 2021-07-08 |
Family
ID=70319439
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/070196 Ceased WO2021134769A1 (en) | 2019-12-30 | 2020-01-03 | Vehicle speed control method, and motor vehicle with vehicle speed control function |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111071063B (en) |
| WO (1) | WO2021134769A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120154878A (en) * | 2025-05-19 | 2025-06-17 | 格罗贝尔机电(上海)有限公司 | Intelligent lifting golf bag cart control method and golf bag cart |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113386743B (en) * | 2021-07-12 | 2022-04-15 | 无锡太机脑智能科技有限公司 | Detection and processing method for speed runaway of unmanned small special vehicle |
| CN114987221A (en) * | 2022-06-16 | 2022-09-02 | 广东高标电子科技有限公司 | Electric vehicle speed control method, device, equipment and storage medium |
| CN115212588B (en) * | 2022-07-13 | 2024-03-26 | 深圳市好盈科技股份有限公司 | Linear braking method of remote control model climbing vehicle |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105644606A (en) * | 2016-02-24 | 2016-06-08 | 好孩子儿童用品有限公司 | Child stroller |
| CN106696757A (en) * | 2016-12-22 | 2017-05-24 | 江苏萝卜交通科技有限公司 | Control method for ramp speed of electrombile |
| CN109131708A (en) * | 2018-08-02 | 2019-01-04 | 芜湖职业技术学院 | Electric bicycle braking force distribution system |
| CN110539734A (en) * | 2019-09-18 | 2019-12-06 | 厦门兴联智控科技有限公司 | Unmanned small tool vehicle and automatic parking method thereof |
| US20190389535A1 (en) * | 2018-06-25 | 2019-12-26 | GM Global Technology Operations LLC | Adaptive pedal assist systems and control logic with input torque filters for intelligent e-bikes |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101639699B (en) * | 2008-08-01 | 2011-11-30 | 邓伟雄 | Intelligent automatic searching and tracking golf cart |
| CN102710197B (en) * | 2011-02-25 | 2014-12-10 | 江苏理工学院 | Work method for uniform-speed control device of push electric vehicle |
| JP6620326B2 (en) * | 2015-07-02 | 2019-12-18 | Rt.ワークス株式会社 | Wheelbarrow |
| CN107323595A (en) * | 2017-06-26 | 2017-11-07 | 深圳前海优时科技有限公司 | A kind of power assist vehicle velocity response formula power assist control method |
| CN109388133A (en) * | 2017-08-08 | 2019-02-26 | 上海伯物智能科技有限公司 | A kind of intelligence follows golf cart |
| CN207712121U (en) * | 2017-12-08 | 2018-08-10 | 深圳拓邦股份有限公司 | A kind of stroller and force aid system |
| CN108904229B (en) * | 2018-05-28 | 2021-08-17 | 国家康复辅具研究中心 | Smart Wheeled Walker |
-
2019
- 2019-12-30 CN CN201911393184.1A patent/CN111071063B/en active Active
-
2020
- 2020-01-03 WO PCT/CN2020/070196 patent/WO2021134769A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105644606A (en) * | 2016-02-24 | 2016-06-08 | 好孩子儿童用品有限公司 | Child stroller |
| CN106696757A (en) * | 2016-12-22 | 2017-05-24 | 江苏萝卜交通科技有限公司 | Control method for ramp speed of electrombile |
| US20190389535A1 (en) * | 2018-06-25 | 2019-12-26 | GM Global Technology Operations LLC | Adaptive pedal assist systems and control logic with input torque filters for intelligent e-bikes |
| CN109131708A (en) * | 2018-08-02 | 2019-01-04 | 芜湖职业技术学院 | Electric bicycle braking force distribution system |
| CN110539734A (en) * | 2019-09-18 | 2019-12-06 | 厦门兴联智控科技有限公司 | Unmanned small tool vehicle and automatic parking method thereof |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120154878A (en) * | 2025-05-19 | 2025-06-17 | 格罗贝尔机电(上海)有限公司 | Intelligent lifting golf bag cart control method and golf bag cart |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111071063A (en) | 2020-04-28 |
| CN111071063B (en) | 2021-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021134769A1 (en) | Vehicle speed control method, and motor vehicle with vehicle speed control function | |
| JP5706253B2 (en) | Electric drive dump truck | |
| CN107187446A (en) | The cruise control method and device of electric vehicle | |
| US20120232757A1 (en) | Coaxial two-wheeled vehicle and its control method | |
| EP2985207A1 (en) | Steering control device, and steering control method | |
| AU2017431553B2 (en) | Power assist wheelchair, power assist unit for wheelchair, control device for power assist wheelchair, control method for power assist wheelchair, program, and terminal | |
| DE19638421A1 (en) | Traction control system for hydraulically driven vehicles | |
| US9474678B2 (en) | Pushcart | |
| CN108313062B (en) | A torque distribution control method and system for a distributed drive electric vehicle | |
| MX2012015261A (en) | Creep cut-off control device for electric vehicle. | |
| KR20210037785A (en) | Apparatus and method for improving ride comfort of a vehicle | |
| WO2015058059A1 (en) | Slip mitigation control for electric ground vehicles | |
| CN109229222B (en) | Stair climbing method and device capable of automatically adjusting steering | |
| TWI733136B (en) | Motor control device, method and electric auxiliary vehicle | |
| CN107479378A (en) | A kind of electric wheelchair control system based on fuzzy-adaptation PID control | |
| JP3873588B2 (en) | Vehicle autopilot control device | |
| JP5664448B2 (en) | Electric power steering device | |
| CA2295571A1 (en) | Brake control apparatus and method | |
| KR20230159818A (en) | Multi-action land drone | |
| CN107985312A (en) | A kind of electric car starting method and electric car | |
| JP2016020168A (en) | Vehicle control apparatus and vehicle control method | |
| JP6475013B2 (en) | Vehicle control apparatus and vehicle control method | |
| CN109398355A (en) | It is a kind of for lane keeping method and vehicle based on distributed motor-driven vehicle | |
| CN111514556B (en) | Motor vehicle control system | |
| CN103019236B (en) | Two-wheel car self-support running method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20908571 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20908571 Country of ref document: EP Kind code of ref document: A1 |