Method for energy recovery of electric vehicle
Patent Information
- Application Number
- LAP759
- Authority / Receiving Office
- LA · LA
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-04-27
- Filing Date
- 2020-06-11
- Publication Date
- 2022-12-02
AI Technical Summary
The energy recovery efficiency of existing two-wheeled electric vehicles is low, and the driver cannot effectively control the energy recovery power and braking intensity, resulting in insufficient endurance and operational fatigue.
Obtain the handlebar opening and motor speed through sampling, and use the handlebar-torque control algorithm and speed-torque control algorithm to calculate and adjust the target torque and braking torque to achieve automated energy recovery. According to the handlebar opening state Adjust recuperation power and braking intensity.
The energy recovery efficiency is improved, the driver's operation process is reduced, operating fatigue is reduced, and the driving experience is improved.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
A method for energy recovery in electric vehicles Technical Field
[0001] This invention relates to the field of motor vector control, and more particularly to a method for energy recovery in electric vehicles. Background Technology
[0002] With the increasing depletion of non-renewable resources such as oil and the deterioration of the atmospheric environment, two-wheeled electric vehicles have become increasingly popular due to their compact size, speed, and low pollution, and have quickly become one of the essential means of transportation. However, the low energy density of batteries results in generally low range for two-wheeled electric vehicles. How to efficiently recover and utilize renewable energy to improve the range has become a key focus of research on two-wheeled electric vehicles.
[0003] Currently, the application of energy recovery technology in the field of two-wheeled electric vehicles is severely insufficient. Existing energy recovery strategies for two-wheeled electric vehicles mainly rely on the driver operating the brake lever switch or, when the vehicle is in a free-coasting state, allowing the motor to operate in generator mode to recover energy into the energy storage device. However, research has found that this energy recovery method has drawbacks such as low recovery efficiency and the inability of the driver to control the energy recovery power and braking intensity.
[0004] Summary of the Invention
[0005] The purpose of this invention is to address the above-mentioned problems by providing a simple and quick method for energy recovery in electric vehicles.
[0006] To achieve the above objectives, the technical solution of the present invention is as follows:
[0007] A method for energy recovery in an electric vehicle includes the following steps:
[0008] S1. Obtain the throttle opening L and the motor speed n by sampling and judge the throttle opening L;
[0009] S2. Based on the throttle opening L, calculate the current target torque T** of the throttle using the throttle-torque control algorithm;
[0010] S3. Calculate the current target braking torque T based on the motor speed n using the speed-torque control algorithm;
[0011] S4. Based on the current target braking torque T, control the motor torque to change from the current value to the target value, thus completing the energy recovery work.
[0012] Furthermore, step S1 includes the following steps:
[0013] S11. Obtain the throttle opening L and the motor speed n by sampling, and then perform filtering.
[0014] S12. Determine whether the throttle opening L is less than the energy recovery exit threshold L0. If it is less than the energy recovery exit threshold L0, clear the energy recovery enable flag F1; otherwise, proceed to step S13.
[0015] S13. Determine whether the throttle opening L is greater than the energy recovery enable threshold L2. If it is greater than the energy recovery enable threshold L2, then set the energy recovery enable flag F1.
[0016] Furthermore, step S2 includes the following steps:
[0017] S21. Determine whether the energy recovery enable flag F1 is set. If the energy recovery enable flag F1 is not set, set the effective range of throttle drive to the energy recovery exit threshold L0 to the maximum throttle opening value L3. The motor obtains a positive torque through the current drive torque Map, and the vehicle enters the acceleration state from a stationary or decelerating state. If the energy recovery enable flag F1 is set, set the effective range of throttle braking to the energy recovery exit threshold L0 to the preset throttle threshold L1, and the effective range of throttle drive to the preset throttle threshold L1 to the maximum throttle opening value L3. Then execute step S22.
[0018] S22. Determine whether the throttle opening L is greater than the preset threshold L1. If the throttle opening L is greater than the preset threshold L1, the motor obtains a positive torque through the current drive torque Map, and the vehicle continues to move forward. If the throttle opening L is less than the preset threshold L1, then execute step S23.
[0019] S23. Calculate the maximum braking torque T* of the current throttle grip. The calculation formula is as follows:
[0020]
[0021] Where: L0 is the energy recovery exit threshold; L is the throttle opening obtained from sampling; Tmax is the maximum braking torque of the motor;
[0022] S24. The current maximum braking torque value T* of the throttle is weighted and summed with the torque value obtained from the current driving torque Map to obtain the target torque T** of the current throttle.
[0023] Furthermore, step S3 includes the following steps:
[0024] S31. Determine whether the current target torque T** of the throttle is greater than 0. If the current target torque T** of the throttle is greater than 0, the vehicle continues to move forward. If the current target torque T** of the throttle is less than 0, energy regenerative braking is performed, and step S32 is executed.
[0025] S32. Determine whether the motor speed n is greater than the lower speed limit n1. If the motor speed n is less than the lower speed limit n1, the current target braking torque T is 0. If the motor speed n is greater than the lower speed limit n1, proceed to step S33.
[0026] S33. Determine whether the motor speed n is greater than the upper limit of speed n2. If the motor speed n is greater than the upper limit of speed n2, then the current target braking torque T is equal to the current target torque T** of the throttle. If it is less than the upper limit of speed n2, then proceed to step S34.
[0027] S35. Calculate the current target braking torque T. The calculation formula is as follows:
[0028]
[0029] Where T is the current target braking torque; T** is the current target torque of the throttle; n is the motor speed obtained by sampling; n1 is the lower limit of the speed; and n2 is the upper limit of the speed.
[0030] Furthermore, in the permanent magnet synchronous motor, the use of braking current or braking current command has the same implementation effect as the braking torque or braking torque command used in this embodiment. The formula for calculating the electromagnetic torque is:
[0031]
[0032] Wherein: T e This refers to the electromagnetic torque of the motor. The rotor flux generated by the permanent magnet; i d i q L is the dq-axis current. d L q These are direct-axis inductors and quadrature-axis inductors, respectively.
[0033] Compared with the prior art, the advantages and positive effects of this invention are:
[0034] This invention obtains the throttle opening state and motor speed of an electric vehicle, and calculates the current target torque of the throttle based on the throttle opening state using a throttle-torque control algorithm. If the current target torque value is less than 0, we assume that the driver intends to decelerate. Combining the motor's operating characteristic curve, the current target braking torque is calculated from the motor speed to control the motor to work, thus completing energy recovery simply and quickly.
[0035] This invention can determine the driver's braking intensity requirement based on the throttle opening and the speed at which the driver releases the throttle. Therefore, the energy recovery power and braking intensity can be adjusted according to the throttle opening without the driver operating the brake lever, reducing the driver's operation process, lowering driver fatigue, and improving the driver's driving experience. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 is a structural diagram of the present invention;
[0038] Figure 2 is a flowchart of step S101;
[0039] Figure 3 is a flowchart of the framework for step S102;
[0040] Figure 4 shows the curve relationship between throttle opening and drive torque;
[0041] Figure 5 is a flowchart of the framework for step S103;
[0042] Figure 6 is a block diagram of the torque-current calculation module. Detailed Implementation
[0043] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, any modifications, equivalent substitutions, improvements, etc., made by those skilled in the art to all other embodiments obtained without creative effort should be included within the protection scope of the present invention.
[0044] In this embodiment, a method for an electric vehicle to perform energy recovery is disclosed; for the convenience of description, the throttle opening state is uniformly set to L, which is the value after normalizing the throttle voltage range; the energy recovery exit threshold is L0, which is a preset value; the preset throttle threshold is L1, which is a preset value; the energy recovery enable threshold is L2, which is a preset value; the maximum throttle opening value is L3, which is the value after normalizing the voltage range in the maximum throttle opening state; the above calibration values L0, L1, L2, and L3 need to be calibrated according to different throttle ranges, where L0 < L1 < L2 < L3; the energy recovery enable flag is F1, the speed of the motor is n, the lower speed limit value is n1, the upper speed limit value is n2, the current maximum braking torque of the throttle is T*, the current target torque of the throttle is T**, and the current target braking torque is T.
[0045] The specific implementation steps of the present invention can be divided into four steps, as shown in Figure 1:
[0046] 1. Step S101: Obtain the throttle opening L and the speed n of the motor through sampling and judge the throttle opening L. The specific flowchart is shown in Figure 2:
[0047] 1. First, obtain the throttle opening and the speed of the motor through sampling and perform filtering to obtain the throttle opening L and the speed n of the motor. Among them, for the data sampling frequency, considering the processing ability of the sensor and the reaction time of the speed change that can be perceived by people, generally, data sampling is performed once every multiple of 62.5 us, and the best value is 62.5 - 2000 us;
[0048] 2. Judge whether the throttle opening L is less than the energy recovery exit threshold L0. If it is less than L0, clear the energy recovery enable flag F1, otherwise perform the 3rd logical judgment operation;
[0049] 3. Judge whether the throttle opening L is greater than the energy recovery enable threshold L2. If it is greater than L2, set the energy recovery enable flag F1.
[0050] 2. Step S102: Calculate the current target torque of the throttle according to the throttle opening state by the throttle - torque control algorithm. The specific flowchart is shown in Figure 3:
[0051] 1. First, judge whether the energy recovery enable flag F1 is set. If it is not set, it means that the driver has an intention to accelerate. Set the effective range of throttle drive as L0 - L3. At this time, the throttle opening L is in the throttle braking range (L0 - L1), and no feedback braking is performed. The motor calculates a positive torque through the drive torque Map to make the vehicle enter the acceleration process from a stationary or decelerating state. If it is set, set the effective range of throttle braking as L0 - L1, the effective range of throttle drive as L1 - L3, and perform the 2nd logical judgment operation;
[0052] 2. Determine whether the throttle opening L is greater than the preset threshold value L1. If it is greater than L1, the motor calculates a positive torque through the drive torque Map to make the vehicle continue to move forward. If it is less than L1, proceed to step 3.
[0053] 3. When the throttle opening L is within the effective braking range (L0~L1), the throttle opening L reflects the driver's braking intensity requirement to a certain extent. We can calculate the maximum braking torque T* of the current throttle opening using the following formula:
[0054]
[0055] Where: T*(L) is the current maximum braking torque of the throttle, L0 is the energy recovery exit threshold; L is the sampled throttle opening, which controls the electronic braking force and energy recovery power; Tmax is the maximum braking torque of the motor, which corresponds to the electronic braking force in the program.
[0056] Furthermore, the energy recovery power varies depending on the throttle opening L. After considering factors such as motor stator and rotor resistance, copper losses, and heat losses that result in energy loss, the actual maximum regenerative braking power P of the motor is... chg for:
[0057]
[0058] Where: Tmot is the motor braking torque; n is the motor speed; η is the motor regenerative braking power generation efficiency after considering losses.
[0059] In the final step of S102, to ensure smooth motor torque changes and prevent noticeable braking shocks and jerks during energy recovery, the calculated maximum braking torque value T* at the current throttle position needs to be weighted and summed with the torque value obtained from the current drive torque Map. This summates to obtain the target torque T** at the current throttle position, as shown in Figure 4, where curve L... + The torque value obtained from the drive torque map, curve L - The maximum braking torque value T* at the current throttle position is represented by curve L. * The target torque T** for the current throttle is obtained by weighted summation.
[0060] III. Step S103: Based on the motor speed, the current target braking torque is calculated using the speed-torque control algorithm. The specific flowchart is shown in Figure 5.
[0061] 1. First, determine whether the current target torque T** of the throttle is greater than 0. If it is greater than 0, the motor controls the vehicle to continue moving forward according to the positive torque setpoint. If it is less than 0, energy regenerative braking is performed, and step 2 is executed.
[0062] 2. In actual riding, the regenerative braking capability of a two-wheeled electric vehicle is closely related to the motor's operating characteristics. To ensure the motor can recover the kinetic energy of the vehicle's coasting within a reasonable range and prevent the rider from experiencing discomfort due to energy recovery, the motor's braking intensity needs to be adjusted according to the motor's speed. A preset lower speed limit, n1, is calibrated based on the motor parameters; below this speed, energy recovery is discontinued. A preset upper speed limit, n2, is calibrated based on the motor parameters; above this speed, the current target braking torque T equals the current throttle target torque T**.
[0063] 3. Determine if the motor speed is greater than the lower speed limit n1. If it is less than n1, the current target braking torque is 0. If it is greater than n1, execute the logic judgment operation in step 4.
[0064] 4. Determine if the motor speed is greater than the upper speed limit n2. If it is greater than n2, the current target braking torque T is equal to the current target torque T** of the throttle. If it is less than n2, proceed to step 5.
[0065] 5. Calculate the current target braking torque T using the following formula:
[0066]
[0067] Where T is the current target braking torque; T** is the current target torque of the throttle, obtained from step S102; n is the motor speed obtained by sampling; n1 is the lower limit of the speed; and n2 is the upper limit of the speed.
[0068] Fourth, step S104: Based on the current target braking torque T calculated in step S103, control the change of the motor torque from the current value to the target value so that the motor can complete the energy recovery work.
[0069] Specifically, in the dq coordinate system of a permanent magnet synchronous motor, the electromagnetic torque equation is expressed as:
[0070]
[0071] Wherein: T e This refers to the electromagnetic torque of the motor. The rotor flux generated by the permanent magnet; i d i q L is the dq-axis current. d L q These are direct-axis inductors and quadrature-axis inductors, respectively.
[0072] Therefore, for embodiments that use braking current or braking current command as examples, the braking torque or braking torque command (current maximum braking torque T*, current target torque T**, current target braking torque T, etc.) in this embodiment can be obtained through the torque-current calculation module (as shown in Figure 6). Thus, using braking current or braking current command has the same implementation effect as the braking torque or braking torque command used in this embodiment.
[0073] This invention obtains the throttle opening state and motor speed of an electric vehicle, and calculates the current target torque of the throttle based on the throttle opening state using a throttle-torque control algorithm. If the current target torque value is less than 0, we assume that the driver intends to decelerate. Combining the motor's operating characteristic curve, the current target braking torque is calculated from the motor speed to control the motor to work, thus completing energy recovery simply and quickly.
[0074] This invention can determine the driver's braking intensity requirement based on the throttle opening and the speed at which the driver releases the throttle. Therefore, the energy recovery power and braking intensity can be adjusted according to the throttle opening without the driver operating the brake lever, reducing the driver's operation process, lowering driver fatigue, and improving the driver's driving experience.
Claims
1. A method for energy recovery in an electric vehicle, Features: The following steps are involved: S1, obtaining the throttle opening L and the motor speed n by sampling and judging the throttle opening L; S2. According to the throttle opening L, the current throttle target torque T** is calculated by the throttle-torque control algorithm; S3, according to the motor speed n, the current target braking torque T is calculated by the speed-torque control algorithm; S4. According to the current target braking torque T, the motor torque is controlled to change from the current value to the target value to complete the energy recovery work.
2. The method for energy recovery of an electric vehicle as claimed in claim 1, Features: The step S1 comprises the following steps: S11, acquiring the throttle opening L and the motor speed n by sampling, and performing filtering processing; S12, determining whether the throttle opening L is less than the energy recovery exit threshold L0, if so, clearing the energy recovery enable flag F1, otherwise executing step S13; S13, determining whether the throttle opening L is greater than the energy recovery enabling threshold L2; if so, setting the energy recovery enabling flag F1.
3. The method for energy recovery of an electric vehicle as claimed in claim 2, Features: The step S2 comprises the following steps: S21, determining whether the energy recovery enable flag F1 is set, if the energy recovery enable flag F1 is not set, setting the effective range of the throttle drive to the energy recovery exit threshold value L0 to the maximum throttle opening value L3, the motor obtains a positive torque through the current drive torque Map, and the vehicle enters the acceleration state from the stationary or deceleration state; if the energy recovery enable flag F1 is set, setting the effective range of the throttle braking to the energy recovery exit threshold value L0 to the throttle preset threshold value L1, and the effective range of the throttle drive to the throttle preset threshold value L1 to the throttle maximum opening value L3, and then executing step S22; S22, determining whether the throttle opening L is greater than the preset throttle threshold value L1, if the throttle opening L is greater than the preset throttle threshold value L1, the motor obtains a positive torque through the current driving torque Map, and the vehicle continues to move forward, if the throttle opening L is less than the preset throttle threshold value L1, executing step S23; S23, calculate the current maximum braking torque T* of the throttle, the calculation formula is: Where: L0 is the energy recovery exit threshold; L is the throttle opening obtained by sampling; Tmax is the maximum braking torque of the motor; S24. Perform a weighted summation of the current maximum throttle braking torque value T* and the torque value obtained by the current driving torque Map to obtain the current throttle target torque T**.
4. The method for energy recovery of an electric vehicle as claimed in claim 3, Features: The step S3 comprises the following steps: S31, determining whether the current throttle target torque T** is greater than 0, if the current throttle target torque T** is greater than 0, the vehicle continues to move forward, if the current throttle target torque T** is less than 0, energy regenerative braking is performed, and step S32 is executed; S32, judging whether the motor speed n is greater than the speed lower limit n1, if the motor speed n is less than the speed lower limit n1, the current target braking torque T is 0; if the motor speed n is greater than the speed lower limit n1, executing step S33; S33, determining whether the motor speed n is greater than the speed upper limit n2, if the motor speed n is greater than the speed upper limit n2, the current target braking torque T is equal to the current throttle target torque T**, if it is less than the speed upper limit n2, executing step S34; S35, calculating the current target braking torque T, the calculation formula is: Among them, T is the current target braking torque; T** is the current handlebar target torque; n is the motor speed obtained by sampling; n1 is the lower limit of the speed; n2 is the upper limit of the speed.
5. The method for energy recovery of an electric vehicle as claimed in claim 4, Features: In the permanent magnet synchronous motor, the calculation formula of electromagnetic torque is: Where: T e is the electromagnetic torque of the motor; is the rotor flux generated by the permanent magnet; i d 、i q is the dq axis current, L d , L q They are the direct-axis inductance and the quadrature-axis inductance respectively.
