A vehicle slope braking control method and device, driver, and vehicle power system

In the vehicle slope braking control method, the speed ring and current ring are used to adjust the integral item in combination with the saturation mark, and the problem of sudden braking of the vehicle when the ramp slides down to the flat ground is solved, and more stable deceleration control is achieved.

CN118386873BActive Publication Date: 2024-12-06FANJI TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410665452.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-12-06
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

Existing vehicles cannot effectively control when they slide down the ramp to the flat ground, which is prone to sudden braking problems.

Method used

In the vehicle slope braking control method, the motor is controlled by using a speed ring and a current ring, and the integral coefficient and target speed of the integral term are adjusted according to the saturation mark during the deceleration process, ensuring that the motor speed gradually decreases to zero and avoids emergency brake.

Benefits of technology

Slow deceleration when braking on the ramp starts, stable control when sliding from the ramp to flat ground is achieved, and sudden braking is avoided, and the vehicle's control accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118386873B_ABST
    Figure CN118386873B_ABST
Patent Text Reader

Abstract

This invention discloses a vehicle rollaway braking control method and device, a driver, and a vehicle power system. The vehicle rollaway braking control method includes: when the vehicle is traveling on a slope and the accelerator is released, controlling the vehicle's motor to decelerate according to a speed loop and a current loop; during deceleration, if the saturation flag is at a first value, maintaining the output value of the speed loop; if the saturation flag is at a second value, controlling the integral coefficient of the integral term of the speed loop to be non-zero, and gradually decreasing the target speed of the speed loop, controlling the vehicle's motor to decelerate according to the updated speed loop and current loop until the motor speed reaches zero. The technical solution of this invention avoids the problem of sudden braking when a vehicle rolls from a slope to flat ground, improving the control accuracy of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle braking control, and in particular to a vehicle rolling downhill braking control method and device, a driver, and a vehicle power system. Background Art

[0002] With the development of new energy technology, electric vehicles are becoming more and more widely used. Electric vehicles can include road vehicles and non-road vehicles. Non-road vehicles include forklifts, shovel trucks and aerial work platforms.

[0003] When the off-road vehicle is running, the motor driver can drive the traction motor, and the traction motor drives the wheels to run. The off-road vehicle is provided with an accelerator. When the accelerator is pressed, the motor accelerates and the torque output by the motor makes the vehicle run. When the accelerator is released, the motor starts to decelerate to zero speed, and the torque output by the motor brakes the vehicle, and the speed of the vehicle is reduced to zero.

[0004] When the vehicle is accelerating down the ramp, if the accelerator is released, the vehicle will decelerate along the ramp. At this time, if the vehicle speed is fast or the vehicle load is heavy, the heavy load includes the steep slope of the ramp where the vehicle is located, or the heavy weight of the vehicle, the braking torque output by the motor will not be able to control the vehicle braking. Until the vehicle slides down to the flat ground, the braking torque output by the motor does not need to overcome the slope of the ramp, which will cause the braking torque used by the motor to overcome the slope of the ramp to control the vehicle deceleration, causing the vehicle to decelerate rapidly and cause emergency braking. Therefore, when the existing solution controls the vehicle to brake from a ramp to a flat ground, it cannot control the operation of the vehicle well and is prone to emergency braking. Summary of the invention

[0005] The present invention provides a vehicle sliding downhill braking control method and device, a driver, and a vehicle power system to solve the problem that when a vehicle slides down a slope onto a flat ground and brakes, the vehicle cannot be well controlled and sudden braking is likely to occur.

[0006] According to one aspect of the present invention, a vehicle rolling downhill braking control method is provided, the vehicle rolling downhill braking control method comprising:

[0007] When the vehicle is traveling on a slope and the accelerator of the vehicle is released, controlling the motor of the vehicle to decelerate according to the speed loop and the current loop;

[0008] During the deceleration process, if the saturation flag is the first data, the output value of the speed loop is maintained;

[0009] If the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled not to be zero, and the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0010] Optionally, maintaining the output value of the speed loop includes:

[0011] The integral coefficient of the integral term of the speed loop is controlled to be zero, and the target rotation speed of the speed loop is maintained.

[0012] Optionally, before maintaining the output value of the speed loop if the saturation flag is the first data, the method further includes:

[0013] If the output value of the speed loop is greater than the current limit value of the speed interval in which the actual speed of the motor is located, the saturation flag is determined to be the first data.

[0014] Optionally, before controlling the integral coefficient to be non-zero if the saturation flag is the second data, the method further includes:

[0015] If the output value of the speed loop is less than the current limit value of the speed interval in which the actual speed of the motor is located, the saturation flag is determined to be the second data.

[0016] Optionally, when the accelerator of the vehicle is released, controlling the motor of the vehicle to decelerate according to the speed loop and the current loop includes:

[0017] When the accelerator of the vehicle is released, the target speed of the current control cycle is determined according to the target speed and acceleration of the previous control cycle, and the speed loop and the current loop are used to control the motor deceleration according to the target speed of the current control cycle.

[0018] Optionally, controlling the target speed of the speed loop to gradually decrease, and controlling the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero, includes:

[0019] The target speed of the current control cycle of the speed loop is cyclically executed to be the target speed of the previous control cycle minus the absolute value of the acceleration. According to the target speed of the current control cycle, the speed loop and the current loop are used to control the deceleration of the motor until the speed of the motor is zero.

[0020] Optionally, according to a target speed of a current control cycle, the speed loop and the current loop are used to control the motor deceleration, including:

[0021] The target speed of the current control cycle and the actual speed of the motor are input into the updated speed loop, and the output value of the updated speed loop is input into the current loop, so that the output value of the current loop controls the motor to decelerate.

[0022] According to another aspect of the present invention, a vehicle rolling downhill braking control device is provided, and the vehicle rolling downhill braking control device is used to execute the vehicle rolling downhill braking control method according to any embodiment of the present invention; the device comprises:

[0023] a first deceleration control module, configured to control the motor of the vehicle to decelerate according to a speed loop and a current loop when the vehicle is traveling on a slope and an accelerator of the vehicle is released;

[0024] A speed maintaining module, used for maintaining the output value of the speed loop if the saturation flag is the first data during the deceleration process;

[0025] The second deceleration control module is used to control the integral coefficient of the integral term of the speed loop to be non-zero if the saturation flag is the second data, and control the target speed of the speed loop to gradually decrease, and control the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0026] According to another aspect of the present invention, a driver is provided, the driver comprising the vehicle slope rolling control device according to any embodiment of the present invention.

[0027] According to another aspect of the present invention, a vehicle power system is provided, the vehicle power system comprising: a motor and a driver according to any embodiment of the present invention;

[0028] The motor is connected to the driver; the driver is used to control the motor of the vehicle to decelerate according to the speed loop and the current loop when the vehicle is traveling on a slope and the accelerator of the vehicle is released; during the deceleration process, if the saturation flag is the first data, the output value of the speed loop is maintained; if the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled to be non-zero, and the target speed of the speed loop is controlled to gradually decrease, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0029] The technical solution of the embodiment of the present invention is to set a saturation flag. When the vehicle starts braking on a ramp, if the saturation flag is the first data, it indicates that the output value of the speed loop is large, indicating that the output torque of the motor is mainly used to overcome the slope of the ramp, then the output value of the speed loop is controlled to remain unchanged, so that the motor slides down the ramp at a uniform speed. When the motor slides down the ramp to the flat ground, because the output value of the speed loop is small, it can be avoided that the output value of the speed loop is large and the motor speed decreases at a uniform speed, and the problem of sudden braking occurs. When the motor slides down the ramp to the flat ground, the output torque of the motor does not need to overcome the slope, then the motor speed begins to decrease, the output value of the speed loop decreases, so that the saturation flag becomes the second data, the integral coefficient of the integral term of the speed loop is controlled to be not zero, that is, the integral coefficient is reassigned, so that the speed loop adjusts the motor speed normally, the target speed of the speed loop is controlled to gradually decrease, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop, so that the motor speed gradually decreases according to the acceleration until the motor speed is zero, the vehicle speed is zero, and the vehicle stops. In this way, when the vehicle starts braking on a slope and slides down the slope to flat ground, the speed decreases slowly. It will not brake quickly but slowly, avoiding sudden braking problems and improving the control accuracy of the vehicle.

[0030] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 is a flow chart of a vehicle sliding downhill braking control method provided by an embodiment of the present invention;

[0033] Figure 2 is a flow chart of another vehicle slope braking control method provided by an embodiment of the present invention;

[0034] Figure 3 is a flow chart of another vehicle slope braking control method provided by an embodiment of the present invention;

[0035] Figure 4 1 is a schematic structural diagram of a vehicle slope braking control device provided by an embodiment of the present invention;

[0036] Figure 5It is a structural schematic diagram of a vehicle power system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0038] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0039] As mentioned in the background technology, when the existing scheme controls the vehicle to brake from a slope to a flat ground, it is unable to control the operation of the vehicle well, and the problem of sudden braking may occur. The inventor has found through research that the reason for this problem is that when the driver controls the operation of the motor, the speed loop and the current loop are used to control the speed of the motor. The speed loop and the current loop are proportional integral control loops. The target speed and actual speed of the motor are input into the speed loop, and the speed loop outputs the target current. The target current output by the speed loop and the actual current of the motor are input into the current loop, and the current loop outputs the voltage value to the motor to control the torque voltage of the motor, thereby adjusting the speed of the motor. When the vehicle is running on a slope and the accelerator of the vehicle is released, the final expected speed is 0, and the speed loop needs multiple control cycles to control the motor speed. The target speed of each control cycle is determined according to the acceleration of the motor. For example, if the motor acceleration is Vdec, then the target speed V of the current control cycle is Vdec. i is the target speed V of the previous control cycle i-1 Subtract the motor acceleration, which is V i =V i-1 -Vdec. Then the proportional term of the speed loop is U P =(V i -V a )×K P , where Va is the actual speed of the motor, K P is the proportional coefficient of the proportional term. Then the integral term U of the speed loop is i =U i-1 +U P ×K i , where U i-1 is the integral term of the previous control cycle, K i is the integral coefficient of the integral term. The output value of the speed loop is Vout = U P +U i . Because the target speed is less than the actual speed, the proportional term is less than 0, and the target speed in the proportional term gradually decreases, the proportional term gradually decreases, the integral term gradually decreases, and finally the integral term is less than 0, the output value Vout of the speed loop is less than 0, the output value of the current loop is less than 0, the motor starts braking, and the vehicle decelerates. If the slope of the ramp where the vehicle is located is large at this time, or the load of the vehicle is large, the output torque of the motor will not be able to reduce the vehicle speed, that is, the torque output by the motor is used to overcome the gravity and friction of the vehicle body. If the actual speed of the motor remains unchanged, the integral term remains unchanged, the integral term gradually decreases, and the output value of the speed loop gradually decreases. The absolute value of the speed loop output value may be large, greater than the current limit, then the current loop is controlled according to the current limit, so that the motor output torque is constant and the vehicle slides at a constant speed. When the vehicle slides to flat ground, the motor output torque does not need to overcome the slope, which will cause the vehicle to decelerate rapidly and cause emergency braking problems. In addition, because the smaller the motor speed, the larger the current limit; the larger the motor speed, the smaller the current limit. When the vehicle is on a slope, the output value of the speed loop is greater than the current limit, and the current limit is assigned to the output value of the speed loop, so that the input value of the current loop is the current limit, but the proportional term and integral term in the speed loop are still large. When the vehicle slides down to the flat ground, the motor speed decreases, causing the current limit to increase, and the output value of the speed loop is no longer assigned, so that the output value of the speed loop is the sum of the integral term and the proportional term, resulting in the instantaneous release of the output value of the speed loop, that is, the output value of the speed loop is instantly large, that is, the braking current is large, causing the motor to decelerate rapidly, and the vehicle has an emergency brake problem.

[0040] In view of the above technical problems, an embodiment of the present invention provides a vehicle rolling downhill braking control method, which can be executed by a vehicle rolling downhill braking control device. Figure 1 is a flow chart of a vehicle rolling downhill braking control method provided by an embodiment of the present invention, with reference to Figure 1 , the vehicle slope braking control method includes:

[0041] S110 . When the vehicle is traveling on a slope and the accelerator of the vehicle is released, the motor of the vehicle is controlled to decelerate according to the speed loop and the current loop.

[0042] Among them, the speed loop and the current loop can be proportional integral control loops, that is, the motor speed is controlled by using a proportional integral control strategy. For example, each time the speed loop outputs an output value according to the input value, it is a control cycle. After multiple control cycles, the motor speed is continuously adjusted until the motor speed reaches the final desired speed.

[0043] Specifically, when the accelerator of the vehicle is released, the final desired speed of the motor is zero. The target speed of the current control cycle is determined based on the acceleration of the motor and the target speed of the previous control cycle. The speed loop outputs the target current based on the target speed of the current control cycle and the actual speed of the motor. The current loop outputs a voltage value to the motor based on the target current and the actual current of the motor, thereby adjusting the speed of the motor. Because the acceleration is a negative value, the target speed gradually decreases, causing the output value of the speed loop to gradually decrease, and the output value of the current loop gradually decreases, causing the motor speed to gradually decrease.

[0044] S120. During deceleration, if the saturation flag is the first data, the output value of the speed loop is maintained.

[0045] The saturation flag is used to indicate whether the output value of the speed loop is saturated. For example, if the output value of the speed loop is greater than the current limit, the speed loop output is saturated. The first data can be 1, 0, or other values, which are not limited in this embodiment.

[0046] Specifically, in the process of deceleration using the speed loop and the current loop, the value of the saturation flag can be determined according to the output value of the speed loop in each control cycle of the speed loop. If the saturation flag is the first data, indicating that the output value of the speed loop is saturated, the output value of the speed loop is maintained. In other words, when the output value Vout of the speed loop is greater than the current limit value Vomax, the output value of the speed loop is controlled to remain unchanged. Because when the output value of the speed loop is greater than the current limit value, the driver will control the output value of the speed loop to be equal to the current limit value, that is, the output value of the speed loop Vout = Vomax. If the output value of the speed loop remains unchanged, the vehicle will slide down the slope at a constant speed.

[0047] Exemplarily, to keep the output value of the speed loop unchanged, it is not necessary to directly assign the output value of the speed loop to the current limit value, but to adjust the integral term and the proportional term of the speed loop. For example, if the target speed is controlled to remain unchanged, and the integral term is controlled to remain unchanged, then both the integral term and the proportional term remain unchanged. Then, when the vehicle glides onto flat ground and the force changes, the output value of the speed loop can be automatically changed, thereby avoiding the situation where the output value of the speed loop remains unchanged when the force changes.

[0048] S130. If the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled not to be zero, and the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0049] The second data is different from the first data, the first data is 1 and the second data is 0; or the first data is 0 and the second data is 1. The saturation flag is the second data, indicating that the output value of the speed loop is less than the current limit value, and the output value of the speed loop is desaturated.

[0050] Specifically, when the motor slides down the ramp onto the flat ground, the output value of the speed loop is small, which can avoid the problem of the motor speed decreasing at a uniform speed due to the large output value of the speed loop, resulting in sudden braking. After the vehicle slides down the ramp at a uniform speed onto the flat ground, the output torque of the motor does not need to overcome the slope, so the vehicle slows down and the actual speed of the motor begins to decrease. P =(V i -V a )×K P , where V i is the target speed of the current control cycle, V a is the actual speed of the motor, K P is the proportional coefficient of the proportional term. After the actual speed of the motor begins to decrease, the proportional term begins to decrease, and the output value of the speed loop begins to decrease, so that the output value of the speed loop is desaturated, and the saturation mark is the second data. By controlling the integral coefficient of the integral term of the speed loop to be non-zero when the saturation mark is the second data, the speed loop begins to adjust the motor speed normally. The target speed of the speed loop is controlled to decrease gradually, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop, so that the speed of the motor gradually decreases according to the acceleration until the speed of the motor is zero, the speed of the vehicle is zero, and the vehicle stops. In this way, when the vehicle starts to brake on the slope and slides down the slope to the flat ground, the speed decreases slowly, and it will not brake quickly, but slowly, avoiding the problem of sudden braking.

[0051] Therefore, by setting the saturation flag, after the control output remains unchanged, if the saturation flag changes and becomes the second data, it indicates that the vehicle slides down the ramp to the flat ground, and the vehicle speed and the motor speed begin to decrease. Then, the speed loop and the current loop can be used to normally adjust the motor speed so that the motor speed gradually decreases to zero.

[0052] The technical solution of this embodiment is to set a saturation flag. When the vehicle starts braking on a ramp, if the saturation flag is the first data, indicating that the output value of the speed loop is large, indicating that the output torque of the motor is mainly used to overcome the slope of the ramp, the output value of the speed loop is controlled to remain unchanged, so that the motor slides down the ramp at a uniform speed. When the motor slides down the ramp to the flat ground, the output value of the speed loop is small, which can avoid the problem of the motor speed decreasing at a uniform speed due to the large output value of the speed loop, and the sudden braking problem. When the motor slides down the ramp to the flat ground, the output torque of the motor does not need to overcome the slope, then the motor speed begins to decrease, the output value of the speed loop decreases, and the saturation flag becomes the second data, the integral coefficient of the integral term of the speed loop is controlled to be not zero, that is, the integral coefficient is reassigned, so that the speed loop adjusts the motor speed normally, the target speed of the speed loop is controlled to gradually decrease, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop, so that the motor speed gradually decreases according to the acceleration until the motor speed is zero, the vehicle speed is zero, and the vehicle stops. In this way, when the vehicle starts braking on a slope and slides down the slope to flat ground, the speed decreases slowly. It will not brake quickly but slowly, avoiding sudden braking problems and improving the control accuracy of the vehicle.

[0053] Based on the above technical solutions, Figure 2 is a flowchart of another vehicle rolling downhill braking control method provided by an embodiment of the present invention. Figure 2 , the vehicle slope braking control method includes:

[0054] S210: When the vehicle is traveling on a slope and the accelerator of the vehicle is released, the motor of the vehicle is controlled to decelerate according to the speed loop and the current loop.

[0055] S220. During deceleration, if the saturation flag is the first data, the integral coefficient of the integral term of the speed loop is controlled to be zero, and the target speed of the speed loop is maintained.

[0056] Specifically, during the deceleration process, if the saturation flag is the first data, it indicates that the output value of the speed loop is large. By maintaining the target speed of the speed loop, the proportional term U P =(V i -V a )×K P , where V i is the target speed of the current control cycle, V a is the actual speed of the motor, K P is the proportional coefficient of the proportional term. If the target speed remains unchanged, the actual speed of the motor remains unchanged, the proportional term remains unchanged, and the integral coefficient of the integral term of the speed control loop is zero, then the integral term U i =U i-1 +K i ×UP =U i-1 , so that the integral term remains unchanged, thereby keeping the output value of the speed loop unchanged. In this way, the vehicle can slide down to the flat ground at a constant speed, and when it just reaches the flat ground, because the proportional term and the integral term are small, it can avoid the problem of the motor speed decreasing at a constant speed due to the large output value of the speed loop, resulting in sudden braking. It avoids the problem that when reaching the flat ground, the motor speed decreases and the current limit increases, causing the output value of the speed loop to suddenly increase, causing the output value to suddenly increase, resulting in sudden braking of the vehicle. Because the proportional term and the integral term are small, even if the current limit increases, the output value of the speed loop will not become very large, so that the vehicle speed decreases slowly, which is conducive to improving the user experience.

[0057] It should be noted that, during the deceleration process, if the saturation flag is not the first data, the initial speed loop and current loop are continued to be used to control the motor deceleration, and the speed loop is not adjusted.

[0058] Furthermore, by controlling the target speed to be constant and the integral coefficient to be zero so that the output value of the speed loop remains constant, the output value of the speed loop can be automatically adjusted when the force state of the vehicle changes, thereby preventing the output value of the speed loop from remaining constant.

[0059] S230. If the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled not to be zero, and the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0060] Based on the above technical solutions, Figure 3 is a flowchart of another vehicle rolling downhill braking control method provided by an embodiment of the present invention. Figure 3 , the vehicle slope braking control method includes:

[0061] S310: When the vehicle is running on a slope and the accelerator of the vehicle is released, the motor of the vehicle is controlled to decelerate according to the speed loop and the current loop.

[0062] S320. During the deceleration process, if the output value of the speed loop is greater than the current limit value of the speed interval in which the actual speed of the motor is located, the saturation flag is determined to be the first data.

[0063] The saturation flag is the first data, indicating that the output value of the speed loop is saturated, that is, the output value of the speed loop is greater than the current limit value of the speed range where the actual speed of the motor is located.

[0064] Specifically, the actual speed of the motor has a corresponding relationship with the motor current value. The higher the speed of the motor, the worse the motor's ability to output torque, that is, the lower the motor efficiency. Then the motor speed range is different, and the current limit is different. The greater the maximum speed of the motor speed range, the smaller the current limit. For example, when the motor speed range is 0-500rpm, the current limit can be 100% of the maximum current value. When the motor speed range is 500-1000rpm, the current limit can be 80% of the maximum current value. It can also be other division methods, which are not limited in this embodiment. Among them, the maximum current value is, for example, the maximum current value that the motor and the driver can withstand.

[0065] By comparing the current limit value in the speed range where the actual speed of the motor is located with the output value of the speed loop, it is possible to more accurately determine whether the output value of the speed change is saturated, thereby improving the accuracy of motor speed control and facilitating precise control of vehicle braking. In this way, it is possible to avoid the problem of a large output value of the speed loop, thereby avoiding the problem of the motor speed rapidly decreasing when the vehicle slides onto flat ground.

[0066] S330, control the integral coefficient of the integral term of the speed loop to zero, and maintain the target speed of the speed loop.

[0067] S340: If the output value of the speed loop is less than the current limit value of the speed interval where the actual speed of the motor is located, determine that the saturation flag is the second data.

[0068] Specifically, by comparing the output value of the speed loop with the current limit value in the speed range where the actual speed of the motor is located, when the output value of the speed loop is small, the proportional term and the integral term of the speed loop can be adjusted so that the speed loop can normally adjust the motor deceleration and avoid braking too slowly.

[0069] S350, controlling the integral coefficient of the integral term of the speed loop to be non-zero, and controlling the target speed of the speed loop to gradually decrease, and controlling the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0070] Based on the above technical solutions, optionally, when the accelerator of the vehicle is released, the motor of the vehicle is controlled to decelerate according to the speed loop and the current loop, including:

[0071] When the vehicle's accelerator is released, the target speed of the current control cycle is determined according to the target speed and acceleration of the previous control cycle. According to the target speed of the current control cycle, the speed loop and the current loop are used to control the motor deceleration.

[0072] Specifically, when the speed loop is used to adjust the motor speed, it can be divided into multiple control cycles for adjustment. Before each adjustment, the target speed of the current control cycle is determined according to the target speed and acceleration of the previous control cycle, and the target speed of the current control cycle is input into the speed loop, so that the speed loop controls the motor speed according to the target speed of the current control cycle, so that the motor speed is equal to the target speed. When the acceleration is a negative value, the target speed gradually decreases, so that the motor speed gradually decreases until it is zero.

[0073] On the basis of the above technical solutions, optionally, the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero, including:

[0074] The target speed of the current control cycle of the cyclic execution control speed loop is the target speed of the previous control cycle minus the absolute value of the acceleration. According to the target speed of the current control cycle, the speed loop and the current loop are used to control the motor deceleration steps until the motor speed is zero.

[0075] Specifically, the updated speed loop is the speed loop after the integral coefficient is reassigned (the integral coefficient is controlled to be non-zero). By gradually reducing the target speed according to the acceleration, the target speed input to the speed loop is gradually reduced, and the output value of the speed loop is gradually reduced, so that the output value of the current loop is gradually reduced, that is, the voltage of the motor is gradually reduced, so that the motor speed is gradually reduced until the motor speed is zero, thereby achieving braking of the vehicle.

[0076] On the basis of the above technical solutions, optionally, according to the target speed of the current control cycle, the speed loop and the current loop are used to control the motor deceleration, including:

[0077] The target speed of the current control cycle and the actual speed of the motor are input into the updated speed loop, and the output value of the updated speed loop is input into the current loop, so that the output value of the current loop controls the motor to decelerate.

[0078] Specifically, the target speed of the current control cycle and the actual speed of the motor are input into the updated speed loop, so that the speed loop outputs a target current value according to the difference between the target speed and the actual speed. The target current value is input into the current loop, and the current loop outputs a voltage value according to the target current value to adjust the torque voltage of the motor, thereby adjusting the output torque of the motor, and then adjusting the speed of the vehicle, so that the speed of the vehicle gradually decreases until the speed of the vehicle is zero, thereby achieving vehicle braking.

[0079] The technical solution of the embodiment of the present invention also provides a vehicle rolling downhill braking control device, Figure 4 is a schematic diagram of a vehicle slope braking control device provided by an embodiment of the present invention, with reference to Figure 4The vehicle rolling downhill braking control device is used to execute the vehicle rolling downhill braking control method provided by any embodiment of the present invention; the vehicle rolling downhill braking control device includes: a first deceleration control module 410, a speed maintaining module 420 and a second deceleration control module 430;

[0080] The first deceleration control module 410 is used to control the motor deceleration of the vehicle according to the speed loop and the current loop when the vehicle is traveling on a slope and the accelerator of the vehicle is released;

[0081] The speed maintaining module 420 is used to maintain the output value of the speed loop if the saturation flag is the first data during the deceleration process;

[0082] The second deceleration control module 430 is used to control the integral coefficient of the integral term of the speed loop to be non-zero if the saturation flag is the second data, and to control the target speed of the speed loop to gradually decrease, and to control the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.

[0083] The vehicle rolling downhill braking control device provided in the embodiment of the present invention can execute the vehicle rolling downhill braking control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0084] The embodiment of the present invention further provides a driver, which includes the vehicle slope control device provided by any embodiment of the present invention. Therefore, the driver of this embodiment has the same beneficial effects as the vehicle slope control device provided by any embodiment of the present invention, which will not be described in detail here.

[0085] The embodiment of the present invention further provides a vehicle power system, Figure 5 is a schematic diagram of a vehicle power system provided by an embodiment of the present invention, with reference to Figure 5 The vehicle power system includes a motor 101 and a driver 102 provided by any embodiment of the present invention; the motor 101 is connected to the driver 102; the driver 102 is used to control the motor 101 of the vehicle to decelerate according to the speed loop and the current loop when the vehicle is traveling on a slope and the accelerator of the vehicle is released; during the deceleration process, if the saturation flag is the first data, the output value of the speed loop is maintained; if the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled to be non-zero, and the target speed of the speed loop is controlled to gradually decrease, and the motor 101 of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor 101 is zero.

[0086] Specifically, by setting the saturation flag, when the vehicle starts braking on a ramp, if the saturation flag is the first data, indicating that the output value of the speed loop is large, indicating that the output torque of the motor 101 is mainly used to overcome the slope of the ramp, the output value of the speed loop is controlled to remain unchanged, so that the motor 101 slides down the ramp at a uniform speed. When the motor 101 slides down the ramp to the flat ground, the output value of the speed loop is small, which can avoid the problem of the speed of the motor 101 decreasing at a uniform speed due to the large output value of the speed loop, resulting in an emergency brake. When the motor 101 slides down the ramp to the flat ground, the output torque of the motor 101 does not need to overcome the slope, then the speed of the motor 101 begins to decrease, the output value of the speed loop decreases, so that the saturation flag becomes the second data, and the integral coefficient of the integral term of the speed loop is controlled to be not zero, that is, the integral coefficient is reassigned so that the speed loop can normally adjust the speed of the motor 101, and the target speed of the speed loop is gradually reduced. According to the updated speed loop and current loop, the motor 101 of the vehicle is controlled to decelerate, so that the speed of the motor 101 is gradually reduced according to the acceleration until the speed of the motor 101 is zero, the speed of the vehicle is zero, and the vehicle stops. In this way, when the vehicle starts to brake on the ramp and slides down the ramp to the flat ground, the speed decreases slowly, and the brakes will not be braked quickly, but slowly, avoiding the problem of sudden braking, and improving the control accuracy of the vehicle.

[0087] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0088] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle rolling downhill braking control method, characterized in that: include: When the vehicle is traveling on a slope and the accelerator of the vehicle is released, controlling the motor of the vehicle to decelerate according to the speed loop and the current loop; During the deceleration process, if the saturation flag is the first data, the output value of the speed loop is maintained; If the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled not to be zero, and the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero; If the saturation flag is the first data, before maintaining the output value of the speed loop, the method further includes: If the output value of the speed loop is greater than the current limit value of the speed interval where the actual speed of the motor is located, determining that the saturation flag is the first data; If the saturation flag is the second data, before controlling the integral coefficient to be not zero, the method further includes: If the output value of the speed loop is less than the current limit value of the speed interval where the actual speed of the motor is located, determining that the saturation flag is the second data; When the accelerator of the vehicle is released, the motor of the vehicle is controlled to decelerate according to the speed loop and the current loop, including: When the accelerator of the vehicle is released, the target speed of the current control cycle is determined according to the target speed and acceleration of the previous control cycle, and the speed loop and the current loop are used to control the motor deceleration according to the target speed of the current control cycle.

2. The method according to claim 1, characterized in that The maintaining the output value of the speed loop comprises: The integral coefficient of the integral term of the speed loop is controlled to be zero, and the target rotation speed of the speed loop is maintained.

3. The method according to claim 1, characterized in that Controlling the target speed of the speed loop to gradually decrease, and controlling the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero, including: The target speed of the current control cycle of the speed loop is cyclically executed to be the target speed of the previous control cycle minus the absolute value of the acceleration. According to the target speed of the current control cycle, the speed loop and the current loop are used to control the deceleration of the motor until the speed of the motor is zero.

4. The method according to claim 1 or 3, characterized in that: According to the target speed of the current control cycle, the speed loop and the current loop are used to control the motor deceleration, including: The target speed of the current control cycle and the actual speed of the motor are input into the updated speed loop, and the output value of the updated speed loop is input into the current loop, so that the output value of the current loop controls the motor to decelerate.

5. A vehicle rolling downhill braking control device, characterized in that: The device is used to execute the vehicle rolling downhill braking control method according to any one of claims 1 to 4; the device comprises: a first deceleration control module, configured to control the motor deceleration of the vehicle according to a speed loop and a current loop when the vehicle is traveling on a slope and the accelerator of the vehicle is released; wherein the saturation flag is used to represent a comparison result between an output value of the speed loop and a current limit value in a speed range where an actual speed of the motor is located; A speed maintaining module, used for maintaining the output value of the speed loop if the saturation flag is the first data during the deceleration process; a second deceleration control module, configured to control the integral coefficient of the integral term of the speed loop to be non-zero if the saturation flag is the second data, and control the target speed of the speed loop to gradually decrease, and control the motor of the vehicle to decelerate according to the updated speed loop and current loop until the speed of the motor is zero; A first determination module, configured to determine that the saturation flag is the first data if the output value of the speed loop is greater than the current limit value of the speed interval where the actual speed of the motor is located; A second determination module, configured to determine that the saturation flag is second data if the output value of the speed loop is less than the current limit value of the speed interval where the actual speed of the motor is located; The first deceleration control module is used to determine the target speed of the current control cycle according to the target speed and acceleration of the previous control cycle when the accelerator of the vehicle is released, and to control the motor deceleration using the speed loop and the current loop according to the target speed of the current control cycle.

6. A driver, characterized in that: include: The vehicle rolling downhill braking control device as claimed in claim 5.

7. A vehicle power system, characterized in that: include: A motor and a driver as claimed in claim 6; The motor is connected to the driver; The driver is used to control the motor of the vehicle to decelerate according to the speed loop and the current loop when the vehicle is traveling on a slope and the accelerator of the vehicle is released; during the deceleration process, if the saturation flag is the first data, the output value of the speed loop is maintained; if the saturation flag is the second data, the integral coefficient of the integral term of the speed loop is controlled to be non-zero, and the target speed of the speed loop is controlled to be gradually reduced, and the motor of the vehicle is controlled to decelerate according to the updated speed loop and current loop until the speed of the motor is zero.