A distributed electric vehicle torque distribution method
By constructing a vehicle dynamics model and optimizing the torque distribution algorithm, the stability problem of electric vehicles in extreme environments is solved, achieving more accurate torque distribution of the four wheels, preventing drive slippage, and improving the stability and safety of the vehicle. .
Patent Information
- Application Number
- CN202411052748.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-08-02
AI Technical Summary
The centralized torque distribution design of existing electric vehicles is difficult to prevent drive slippage and cannot ensure vehicle stability in extreme environments.
By constructing the vehicle's lateral dynamics model and wheel dynamics model, a control-oriented system state space equation is established, and a PID control algorithm and a nonlinear model prediction algorithm are used to construct a multi-objective optimization function, divide the stability and instability areas, and achieve real-time Adjust the weight coefficient to optimize the torque distribution of the four wheels.
It effectively prevents drive slippage, improves the vehicle's stability and safety in extreme environments, and ensures the vehicle's dynamic performance and lateral stability.
Smart Images

Figure CN118560490B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric vehicles, and in particular to a distributed electric vehicle torque distribution method. Background Art
[0002] Electric vehicles have attracted extensive attention from researchers due to their zero-emission and high-energy-efficiency characteristics. Among them, the distributed driven electric vehicle (DDEV) drive torque distribution technology plays an important role in modern electric vehicles.
[0003] Existing vehicle drive systems usually use centralized torque distribution, that is, the torque output by the engine is distributed to each wheel through a traditional differential. However, this design method has some limitations, such as it is difficult to prevent drive slip and cannot ensure the stability of vehicle driving in extreme environments. Summary of the invention
[0004] The purpose of the present invention is to provide a distributed electric vehicle torque distribution method to solve the technical problem that the prior art is difficult to prevent drive slip and cannot ensure the stability of vehicle driving in extreme environments.
[0005] A distributed electric vehicle torque distribution method comprises the following steps:
[0006] Step S1, constructing a lateral dynamics model and a wheel dynamics model of the vehicle, and establishing a control-oriented system state space equation;
[0007] Step S2, constructing a driver model using a PID control algorithm according to the expected driving speed, obtaining an expected driving torque that tracks the expected speed, and obtaining an expected longitudinal slip rate according to the current road condition;
[0008] Step S3, obtaining a desired yaw rate and setting a desired sideslip angle according to a desired reference model of the vehicle;
[0009] Step S4, constructing a multi-objective optimization function based on the system state space equation, the desired driving torque, the desired longitudinal slip rate, the desired yaw rate and the desired sideslip angle;
[0010] Step S5, based on the multi-objective optimization function of step S4, the stability region and the instability region are divided by the phase plane method, and each weight coefficient in the multi-objective optimization function is adjusted in real time according to different vehicle states;
[0011] Step S6, based on the multi-objective optimization function of step S4 and the weight coefficients obtained in step S5, a nonlinear model prediction algorithm is used to solve the multi-objective optimization function to obtain the optimal torques of the four wheels and the final required torque.
[0012] According to the torque distribution method for distributed electric vehicles provided by the present invention, firstly, a control-oriented system state space equation is established, and then the expected driving torque for tracking the expected speed is obtained according to the expected driving speed, and then a multi-objective optimization function is constructed according to the system state space equation, the expected driving torque, the expected longitudinal slip rate, the expected yaw angular velocity and the expected sideslip angle, and the stability region and the instability region are divided by the phase plane method. According to the different vehicle states, each weight coefficient in the multi-objective optimization function is adjusted in real time, and a nonlinear model prediction algorithm is used to centrally optimize and solve the multi-objective and multi-constraint problems related to vehicle stability and control quantity, and the optimal control law of the overall objective function is solved, so as to calculate and obtain more accurate motor torques of the four wheels. By comprehensively considering multiple factors such as vehicle stability and torque optimization distribution, the present invention can more effectively ensure the stability and power of the vehicle in extreme environments, prevent drive slippage, improve the stability and safety of the vehicle, and provide all-round driving protection for the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a schematic flow chart of a distributed electric vehicle torque distribution method of the present invention;
[0014] Figure 2 This is the trajectory diagram under double lane shifting conditions in extreme environments;
[0015] Figure 3 This is the yaw rate result diagram under double lane-changing conditions in extreme environments;
[0016] Figure 4 This is the side slip angle result diagram under double lane shifting conditions in extreme environments;
[0017] Figure 5 This is the slip rate result diagram under double lane-shifting conditions in extreme environments. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.
[0019] See also Figure 1 The distributed electric vehicle torque distribution method provided by the embodiment of the present invention includes steps S1 to S6.
[0020] Step S1, constructing a lateral dynamics model and a wheel dynamics model of the vehicle, and establishing a control-oriented system state space equation.
[0021] Wherein, in step S1, the lateral dynamics model satisfies the following conditional formula:
[0022] ;
[0023] ;
[0024] in, is the mass center slip angle The derivative of F xfl , F xfr , F xrl , F xrr are the longitudinal forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, F yfl , F yfr , F yrl , F yrr are the lateral forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively. is the front wheel turning angle, m is the vehicle mass, is the longitudinal speed, is the yaw angular velocity, is the derivative of the yaw rate, l f is the front wheelbase, l r is the rear wheelbase, t b Half the width of the front axle, is the additional yaw moment, I z is the vehicle moment of inertia;
[0025] The wheel dynamics model satisfies the following conditions:
[0026] ;
[0027] in, is the moment of inertia of the wheel; is the angular acceleration of the wheel, T j is the driving torque of the wheel, is the longitudinal force of the wheel, j = fl Indicates the left front wheel,j = fr Indicates the right front wheel, j = rl Indicates the left rear wheel, j = rr Indicates the right rear wheel; R Indicates tire radius;
[0028] By linearizing the slip limit and magic tire model, the longitudinal slip rate during driving can be obtained, and the state equation of the longitudinal slip rate of a single wheel can be constructed.
[0029] Specifically, in the wheel dynamics model, the state equation of the longitudinal slip rate of a single wheel is:
[0030] ;
[0031] ;
[0032] ;
[0033] ;
[0034] ;
[0035] in, is the slip rate, , , , are the slip rates of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, , , , They are , , , The derivative of is the tire angular velocity, , , , are the angular velocities of the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively. C kfl , C kfr , C krl , C krr are the longitudinal slip stiffness of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, T fl , T fr , T rl ,T rr They are the longitudinal forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively.
[0036] In the control-oriented system state space equation, the state variable , T represents transpose, control variable , control output , then:
[0037] ;
[0038] ;
[0039] in, express The derivative of A is the state matrix, B is the control matrix, C A diagonal matrix with all 1s on the main diagonal.
[0040] Step S2, according to the expected driving speed, a driver model is constructed using a PID control algorithm to obtain an expected driving torque that tracks the expected speed, and an expected longitudinal slip rate is obtained according to the current road condition.
[0041] In step S2, according to the expected driving speed, a PID control algorithm is used to construct a driver model, and in the process of obtaining the expected driving torque that tracks the expected speed, the following conditional formula is satisfied:
[0042] ;
[0043] ;
[0044] ;
[0045] ;
[0046] ;
[0047] in, T d is the expected total driving torque, K p , K i , K d To adjust the parameters, is the expected longitudinal speed, represents the integral of velocity error over time, represents the differential of velocity error with respect to time, F zfl, F zfr , F zrl , F zrr are the vertical loads of the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively. , , , They are the expected driving torques for the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively.
[0048] In step S2, in the process of obtaining the expected longitudinal slip rate according to the current road condition, the following conditional formula is satisfied:
[0049] ;
[0050] in, is the expected longitudinal slip rate, is the optimal slip rate, is the peak road adhesion coefficient, q 1. q 2. q 3. q 4 is the adjustment value.
[0051] Step S3, obtaining a desired yaw rate according to a desired reference model of the vehicle, and setting a desired sideslip angle.
[0052] In step S3, the expected yaw angular velocity is obtained by the following formula:
[0053] ;
[0054] ;
[0055] ;
[0056] in, is the desired yaw rate, is the steady-state yaw rate, is the wheelbase, K is the stability factor, K f is the lateral cornering stiffness of the front axle, K r is the lateral cornering stiffness of the rear axle, is the road adhesion coefficient, is the acceleration due to gravity, sgn is a symbolic function;
[0057] In order to better ensure the lateral stability of the vehicle, the center of mass side slip angle should be kept in a safe area as much as possible, the center of mass side slip angle should be suppressed within a certain range, and the reference side slip angle is selected as zero. Therefore, in this embodiment, the desired side slip angle is set =0.
[0058] Step S4, constructing a multi-objective optimization function based on the system state space equation, the expected driving torque, the expected longitudinal slip rate, the expected yaw rate and the expected sideslip angle.
[0059] Among them, in step S4, the constructed multi-objective optimization function includes the objective optimization function , objective optimization function , objective optimization function , objective optimization function .
[0060] In order to ensure the stability and anti-skid ability of the vehicle, the desired yaw rate of the vehicle is tracked, the sideslip angle and slip rate are suppressed, and the target optimization function is constructed. :
[0061] ;
[0062] in, According to k The information at the sampling time is used to predict k + i The control output prediction value at time According to k The information at the sampling time is used to predict k + i The control output reference value at the moment, According to k The information at the sampling time is used to predict k + i The predicted value of the center of mass sideslip angle at the moment is output, According to k The information at the sampling time is used to predict k + i The reference value of the center of mass sideslip angle output at the moment, According to k The information at the sampling time is used to predict k + i The predicted value of the yaw rate output at time , According to k The information at the sampling time is used to predict k + i The yaw rate output reference value at the moment, According to k The information at the sampling time is used to predict k +i The slip rate output prediction value at time, Indicates based on k The information at the sampling time is used to predict k + i The slip rate output reference value at the moment, represents the weight coefficient, represents the lateral stability weight coefficient, represents the handling stability weight coefficient, represents the slip rate weight coefficient, For the prediction time domain;
[0063] In order to ensure the vehicle's dynamic performance, the vehicle can track the expected speed and construct the target optimization function :
[0064] ;
[0065] in, Indicates based on k Information at the sampling time is used to predict control k + i The torque control prediction value at time, Indicates based on k Information at the sampling time is used to predict control k + i The torque control reference value at the moment, is the dynamic weight coefficient, To control the time domain;
[0066] In order to ensure driving comfort while meeting safety and stability, the change rate of the control signal should be avoided to build the target optimization function. :
[0067] ;
[0068] in, express k The predictive control increment at the sampling time, Indicates based on k Information at the sampling time is used to predict control k + i The control input increment at time, To control the incremental weight coefficient;
[0069] In order to prevent the problem of unsolvable variables in the solution process, slack variables need to be added, so the target optimization function is constructed :
[0070] ;
[0071] in, is the relaxation factor, is the relaxation weight coefficient;
[0072] according to , , , Get the overall objective function , , the purpose of this embodiment is to minimize the overall objective function , where the overall objective function With the following constraints:
[0073] ;
[0074] ;
[0075] ;
[0076] ;
[0077] ;
[0078] in, is the torque control quantity, , are the maximum torque and the minimum torque respectively. Torque control increment, , They are the maximum torque control increment and the minimum torque control increment respectively. , are the maximum center of mass sideslip angle and the minimum center of mass sideslip angle, respectively. , are the maximum yaw rate and the minimum yaw rate, respectively. , They are the maximum slip rate and the minimum slip rate respectively.
[0079] Step S5, based on the multi-objective optimization function of step S4, the stability region and the instability region are divided by the phase plane method, and each weight coefficient in the multi-objective optimization function is adjusted in real time according to different vehicle states.
[0080] Among them, in step S5, each weight coefficient in the multi-objective optimization function is adjusted in real time by the following formula:
[0081] ;
[0082] ;
[0083] ;
[0084] ;
[0085] ;
[0086] in, , is the adjustment parameter of the lateral stability weight coefficient, is the phase plane criterion function, , is the stable region boundary coefficient, , is the adjustment parameter of the handling stability weight coefficient, , is the adjustment parameter of the dynamic weight coefficient, , , It is the adjustment parameter of slip rate weight coefficient.
[0087] Step S6, based on the multi-objective optimization function of step S4 and the weight coefficients obtained in step S5, a nonlinear model prediction algorithm is used to solve the multi-objective optimization function to obtain the optimal torques of the four wheels and the final required torque.
[0088] Among them, in step S6, for the nonlinear model prediction algorithm, at the sampling time k , the predicted state and output are calculated as follows:
[0089]
[0090] in, Indicates based on k The information at the sampling time is used to predict k + i The value of the moment, express k The state variables at the sampling time, express k The control variable at the sampling time, Indicates time k The gradient at T s is the sampling time, for k The output variable at the sampling time, is the new output matrix, Represents dot product.
[0091] The present invention is simulated and tested below. Under double lane-changing conditions, the vehicle mass is 1412 kg, the vehicle speed is 80 km / h, the wheelbase is 2.91 m, the prediction time domain is 3, the control time domain is 3, and the road adhesion coefficient is 0.35. The stability and anti-skid torque distribution under extreme conditions are tested. The test results are as follows: Figures 2 to 5 shown.
[0092] from Figure 2 It can be seen that compared with the torque distribution strategy without a controller (i.e., without control), the control strategy of the present invention (i.e., with control) is more stable. Figure 3 It can be seen that the yaw rate of the control strategy of the present invention is close to the expected yaw rate. Figure 4 It can be seen that the side slip angle is controlled within a certain range. Figure 5 It can be seen that the slip rate of the four wheels is controlled within a relatively small range, and the control effect is significant. Therefore, in extreme environments, the method of the present invention can significantly ensure the stability of vehicle driving in extreme environments, prevent driving slip, and improve the safety of vehicle driving.
[0093] In summary, according to the torque distribution method for distributed electric vehicles provided by the present invention, first, a control-oriented system state space equation is established, and then the expected driving torque that tracks the expected speed is obtained according to the expected driving speed, and then a multi-objective optimization function is constructed according to the system state space equation, the expected driving torque, the expected longitudinal slip rate, the expected yaw angular velocity and the expected sideslip angle. The stability region and the instability region are divided by the phase plane method. According to the different vehicle states, the various weight coefficients in the multi-objective optimization function are adjusted in real time, and a nonlinear model prediction algorithm is used to centrally optimize and solve the multi-objective and multi-constraint problems related to vehicle stability and control quantity, and the optimal control law of the overall objective function is solved, so as to calculate a more accurate motor torque of the four wheels. The present invention can more effectively ensure the stability and power of the vehicle in extreme environments, prevent drive slippage, improve the stability and safety of the vehicle, and provide all-round driving protection for the vehicle by comprehensively considering multiple factors such as vehicle stability and torque optimization distribution.
[0094] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0095] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A distributed electric vehicle torque distribution method, characterized in that: include: Step S1, constructing a lateral dynamics model and a wheel dynamics model of the vehicle, and establishing a control-oriented system state space equation; Step S2, constructing a driver model using a PID control algorithm according to the expected driving speed, obtaining an expected driving torque that tracks the expected speed, and obtaining an expected longitudinal slip rate according to the current road condition; Step S3, obtaining a desired yaw rate and setting a desired sideslip angle according to a desired reference model of the vehicle; Step S4, constructing a multi-objective optimization function based on the system state space equation, the desired driving torque, the desired longitudinal slip rate, the desired yaw rate and the desired sideslip angle; Step S5, based on the multi-objective optimization function of step S4, the stability region and the instability region are divided by the phase plane method, and each weight coefficient in the multi-objective optimization function is adjusted in real time according to different vehicle states; Step S6, based on the multi-objective optimization function of step S4 and the weight coefficient obtained in step S5, a nonlinear model prediction algorithm is used to solve the multi-objective optimization function to obtain the optimal torque of the four wheels and the final required torque; In step S4, the constructed multi-objective optimization function includes the objective optimization function , objective optimization function , objective optimization function , objective optimization function ; ; in, According to k The information at the sampling time is used to predict k + i The control output prediction value at time According to k The information at the sampling time is used to predict k + i The control output reference value at the moment, According to k The information at the sampling time is used to predict k + i The predicted value of the center of mass sideslip angle at the moment is output, According to k The information at the sampling time is used to predict k + i The reference value of the center of mass sideslip angle output at the moment, According to k The information at the sampling time is used to predict k + i The predicted value of the yaw rate output at time , According to k The information at the sampling time is used to predict k + i The yaw rate output reference value at the moment, According to k The information at the sampling time is used to predict k + i The slip rate output prediction value at time, According to k The information at the sampling time is used to predict k + i The slip rate output reference value at the moment, represents the weight coefficient, represents the lateral stability weight coefficient, represents the handling stability weight coefficient, represents the slip rate weight coefficient, For the prediction time domain; ; in, According to k Information at the sampling time is used to predict control k + i The torque control prediction value at time, According to k Information at the sampling time is used to predict control k + i The torque control reference value at the moment, is the dynamic weight coefficient, To control the time domain; ; in, express k The predictive control increment at the sampling time, According to k Information at the sampling time is used to predict control k + i The control input increment at time, To control the incremental weight coefficient; ; in, is the relaxation factor, is the relaxation weight coefficient; according to , , , Get the overall objective function , , the overall objective function With the following constraints: ; ; ; ; ; in, is the torque control quantity, , are the maximum torque and the minimum torque respectively. Torque control increment, , They are the maximum torque control increment and the minimum torque control increment respectively. is the sideslip angle of the center of mass, , are the maximum center of mass sideslip angle and the minimum center of mass sideslip angle, respectively. is the yaw angular velocity, , are the maximum yaw rate and the minimum yaw rate, respectively. is the slip rate, , They are the maximum slip rate and the minimum slip rate respectively; In step S5, each weight coefficient in the multi-objective optimization function is adjusted in real time by the following formula: ; ; ; ; ; in, , is the adjustment parameter of the lateral stability weight coefficient, is the phase plane criterion function, is the mass center slip angle The derivative of , is the stable region boundary coefficient, , is the adjustment parameter of the handling stability weight coefficient, , is the adjustment parameter of the dynamic weight coefficient, , , It is the adjustment parameter of slip rate weight coefficient.
2. The distributed electric vehicle torque distribution method according to claim 1, characterized in that: In step S1, the lateral dynamics model satisfies the following conditional formula: ; ; in, F xfl , F xfr , F xrl , F xrr are the longitudinal forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, F yfl , F yfr , F yrl , F yrr are the lateral forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively. is the front wheel turning angle, m is the vehicle mass, is the longitudinal speed, is the derivative of the yaw rate, l f is the front wheelbase, l r is the rear wheelbase, t b Half the width of the front axle, is the additional yaw moment, I z is the vehicle moment of inertia; The wheel dynamics model satisfies the following conditions: ; in, is the moment of inertia of the wheel; is the angular acceleration of the wheel, T j is the driving torque of the wheel, is the longitudinal force of the wheel, j = fl Indicates the left front wheel, j = fr Indicates the right front wheel, j = rl Indicates the left rear wheel, j = rr Indicates the right rear wheel; R Indicates tire radius; In the wheel dynamics model, the state equation of the longitudinal slip rate of a single wheel is: ; ; ; ; ; in, , , , are the slip rates of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, , , , They are , , , The derivative of is the tire angular velocity, , , , are the angular velocities of the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively. C kfl , C kfr , C krl , C krr are the longitudinal slip stiffness of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, T fl , T fr , T rl , T rr They are the longitudinal forces of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively; In the control-oriented system state space equation, the state variable , T represents transpose, control variable , control output , then: ; ; in, express The derivative of A is the state matrix, B is the control matrix, C A diagonal matrix with all 1s on the main diagonal.
3. The distributed electric vehicle torque distribution method according to claim 2, characterized in that: In step S2, according to the expected driving speed, a driver model is constructed using a PID control algorithm to obtain the expected driving torque that tracks the expected speed, and the following conditional formula is satisfied: ; ; ; ; ; in, T d is the expected total driving torque, K p , K i , K d To adjust the parameters, is the expected longitudinal speed, represents the integral of velocity error over time, represents the differential of velocity error with respect to time, F zfl , F zfr , F zrl , F zrr are the vertical loads of the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively. , , , are the expected driving torques of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively; In step S2, in the process of obtaining the expected longitudinal slip rate according to the current road condition, the following conditional formula is satisfied: ; in, is the expected longitudinal slip rate, is the optimal slip rate, is the peak road adhesion coefficient, q 1. q 2. q 3. q 4 is the adjustment value.
4. The distributed electric vehicle torque distribution method according to claim 3 is characterized in that: In step S3, the expected yaw angular velocity is obtained by the following formula: ; ; ; in, is the desired yaw rate, is the steady-state yaw rate, is the wheelbase, K is the stability factor, K f is the lateral cornering stiffness of the front axle, K r is the lateral cornering stiffness of the rear axle, is the road adhesion coefficient, is the acceleration due to gravity, sgn is a symbolic function; In step S3, the desired sideslip angle is set =0.
5. The distributed electric vehicle torque distribution method according to claim 4, characterized in that: In step S6, for the nonlinear model prediction algorithm, at the sampling time k , the predicted state and output are calculated as follows: in, According to k The information at the sampling time is used to predict k + i The value of the moment, express k The state variables at the sampling time, express k The control variable at the sampling time, Indicates time k The gradient at T s is the sampling time, for k The output variable at the sampling time, is the new output matrix, Represents dot product.
