A torque distribution method for distributed drive electric vehicles based on INPDOA
By improving the neural population dynamic optimization algorithm (INPDOA) to optimize the NMPC controller and torque distribution coefficient of distributed drive electric vehicles, the problems of difficulty in selecting weight coefficient matrix and poor adaptability in nonlinear systems in the prior art are solved, and higher control accuracy and robustness are achieved.
Patent Information
- Application Number
- CN202510132354.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-02-06
AI Technical Summary
The existing torque distribution control method for distributed electric vehicles has difficulties in selecting weight coefficient matrix and poor adaptability of nonlinear systems, resulting in insufficient control accuracy and robustness.
The weight coefficient matrix of the multi-step predictive control (NMPC) controller is optimized by using the improved neural population dynamic optimization algorithm (INPDOA), and the torque distribution coefficient is optimized through INPDOA to improve control accuracy and scope of application.
It improves the control accuracy and robustness of distributed drive electric vehicles, and enhances the scope of application and response speed of torque distribution control.
Smart Images

Figure CN119556577B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of distributed drive electric vehicle control, and in particular relates to a torque distribution method for a distributed drive electric vehicle based on INPDOA. Background Art
[0002] As the world pays more and more attention to environmental protection and energy security, electric vehicles have developed rapidly as a clean and efficient means of transportation. Among them, distributed drive electric vehicles have higher flexibility and control accuracy due to their four-wheel independent drive and independent steering characteristics.
[0003] In the current research on stability control of distributed drive electric vehicles, the MPC method is mainly used for direct yaw moment control. This method has good robustness. The nonlinear MPC (NMPC) method is derived for the highly complex nonlinear system of the vehicle. The performance of the MPC method mainly depends on the selection of its weight coefficient matrix P, Q, and R. Most of the existing methods only set a set of initial constants, and no in-depth research has been conducted on the solution of the weight coefficient matrix.
[0004] In addition, in the study of torque distribution control, most studies simplify the solution problem to a linear quadratic solution problem (LQR), which has poor adaptability to nonlinear systems, or use methods such as particle swarm optimization (PSO) for optimization. However, these methods have limited applicability and cannot fully meet application requirements. Therefore, an improved neural population dynamic optimization algorithm (INPDOA) is proposed to solve the above problems. Summary of the invention
[0005] The purpose of the embodiment of the present invention is to provide a torque distribution method for a distributed drive electric vehicle based on INPDOA, aiming to solve the problems raised in the above background technology.
[0006] The embodiment of the present invention is implemented as follows: a torque distribution method for a distributed drive electric vehicle based on INPDOA, comprising the following steps:
[0007] Step 1: Establish a seven-degree-of-freedom dynamic model and a linear two-degree-of-freedom dynamic model to determine the state input , control amount , output , expected output ;
[0008] Step 2: Optimize and improve the basic neural population dynamic optimization algorithm, establish the improved neural population dynamic optimization algorithm architecture, and initialize the parameters;
[0009] Step 3: Optimize the weight coefficient matrix of the NMPC controller by improving the neural population dynamic optimization algorithm (At this time, the algorithm ), use the optimized NMPC controller to perform yaw moment control;
[0010] Step 4: Optimize the torque distribution coefficient by improving the neural population dynamic optimization algorithm (At this time, the algorithm ), and obtain the optimal torque distribution strategy.
[0011] An embodiment of the present invention provides a torque distribution method for a distributed drive electric vehicle based on INPDOA. The method addresses the problem of difficulty in selecting the weight coefficient matrix of the MPC control algorithm. The improved INPDOA is used to optimize the weight matrices P, Q, and R of the MPC method to achieve the goal of improving control accuracy and robustness. For torque distribution control, the INPDOA algorithm is used to optimize its torque distribution coefficient to achieve the goal of enhancing the scope of application and improving the response speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A flowchart of a torque distribution method for a distributed drive electric vehicle based on INPDOA provided in an embodiment of the present invention;
[0013] Figure 2 is the vehicle dynamics model;
[0014] Figure 3 It is a schematic diagram of the linear two-degree-of-freedom reference model;
[0015] Figure 4 Flowchart for the basic neural population dynamics optimization algorithm;
[0016] Figure 5 is the comparison diagram of yaw angular velocity;
[0017] Figure 6 This is a comparison chart of the center of mass sideslip angle. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0019] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0020] like Figure 1 As shown, a torque distribution method for a distributed drive electric vehicle based on INPDOA is provided in one embodiment of the present invention, comprising the following steps:
[0021] Step 1: Establish a seven-degree-of-freedom dynamic model and a linear two-degree-of-freedom dynamic model to determine the state input , control amount , output , expected output ;
[0022] Step 2: Optimize and improve the basic neural population dynamic optimization algorithm, establish the improved neural population dynamic optimization algorithm architecture, and initialize the parameters;
[0023] Step 3: Optimize the weight coefficient matrix of the NMPC controller by improving the neural population dynamic optimization algorithm (At this time, the algorithm ), use the optimized NMPC controller to perform yaw moment control;
[0024] Step 4: Optimize the torque distribution coefficient by improving the neural population dynamic optimization algorithm (At this time, the algorithm ), and obtain the optimal torque distribution strategy.
[0025] like Figure 2 As shown, as a preferred embodiment of the present invention, in step 1, the method for constructing the seven-degree-of-freedom dynamics model of the distributed drive electric vehicle is as follows:
[0026] Using the body coordinate system of the distributed wire-controlled vehicle as a reference, fix the origin at the center of mass of the vehicle Based on the “right-hand rule”, the center axis of the vehicle body along the direction of travel is Positive axis, perpendicular to the vehicle's direction of travel The axis points to the left. Axis positive direction; is the velocity at the center of mass of the vehicle ( ), is the vehicle speed in the vehicle body coordinate system The component in the axial direction ( ), is the vehicle speed in the vehicle body coordinate system The component in the axial direction ( ), is the center of mass sideslip angle ( ), is the vehicle yaw angle ( ), is the yaw angular velocity ( ), is the yaw angular acceleration ( ), is the distance from the vehicle's center of mass to the front axle ( ), is the distance from the vehicle's center of mass to the rear axle ( ), is the vehicle width ( ), They represent the left front wheel, right front wheel, left rear wheel and right rear wheel respectively. is the longitudinal force of the tire ( ), is the lateral force of the tire ( ), is the turning angle of the front wheels ( ), is the tire slip angle ( ), is the direction of the tire speed ( ).
[0027] According to the geometric relationship and force analysis, the following seven-degree-of-freedom dynamic equation can be obtained:
[0028] Longitudinal Movement:
[0029] (1);
[0030] Lateral Movement:
[0031] (2);
[0032] Yaw motion:
[0033] (3);
[0034] Each wheel rotates independently:
[0035] (4);
[0036] in, is the moment of inertia about the z-axis of the vehicle body coordinate system ( ), is the vehicle curb mass ( ), is the moment of inertia of the wheel about its axis ( ), are the angular velocities of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively ( ), The driving torques of the left front wheel, right front wheel, left rear wheel, and right rear wheel are respectively ( ), is the turning radius of each wheel ( ).
[0037] The angular velocity of each wheel can be expressed as:
[0038] (5);
[0039] The vertical load on each wheel is:
[0040] (6);
[0041] in, is the longitudinal acceleration, is the lateral acceleration;
[0042] The formula for tire slip angle is as follows:
[0043] (7);
[0044] The formula for each wheel slip rate is as follows:
[0045] (8);
[0046] in, are the vertical loads on the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively. is the height of the vehicle's center of mass, They are the longitudinal slip rates of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively.
[0047] For any tire of a distributed wire-controlled vehicle, the tire expression based on the "magic" formula is as follows:
[0048] (9);
[0049] In the formula, is the lateral force, is the slip angle, is the stiffness factor, is the shape factor, is the peak factor, is the curvature factor, is the horizontal deformation, is the ground normal deformation, is the auxiliary slip angle, To assist the lateral force; the variables of formula 9 can be represented by formula 10;
[0050] (10);
[0051] In the formula, is the tire vertical force, is a constant determined by the properties of the vehicle's tires.
[0052] like Figure 3 As shown, as a preferred embodiment of the present invention, in step 1, the method for constructing a linear two-degree-of-freedom reference model is as follows:
[0053] Lateral Movement:
[0054] (11);
[0055] Yaw motion:
[0056] (12);
[0057] in, and are the front and rear axle cornering stiffnesses respectively; combining formulas 11 and 12, we can get the following formula:
[0058] (13);
[0059] in, is the sideslip angle of the center of mass, is the distance from the vehicle's center of mass to the front axle, is the distance from the vehicle's center of mass to the rear axle, is the vehicle speed in the vehicle body coordinate system The component in the axial direction, m is the vehicle mass, is the vehicle yaw angle, is the turning angle of the front wheels, represents the sideslip angular velocity of the center of mass, is the yaw angular velocity, is the yaw angular acceleration.
[0060] Determine the reference center of mass sideslip angle of distributed drive electric vehicles based on the linear two-degree-of-freedom model With reference yaw rate As shown below:
[0061] (14);
[0062] in, is the understeer coefficient;
[0063] Based on the stability constraints, the desired center of mass slip angle is obtained and the desired yaw rate :
[0064] (15);
[0065] in, is the road adhesion coefficient, is the acceleration due to gravity .
[0066] As a preferred embodiment of the present invention, in step 3, the method for establishing the NMPC controller based on the seven-degree-of-freedom dynamics model is as follows:
[0067] Its state quantity , control amount , output , expected output ,in, is the additional yaw moment, is the desired longitudinal speed, from the driver.
[0068] remember The derivative of , the dynamic analysis of the seven-degree-of-freedom model can obtain the following differential equation:
[0069] (16);
[0070] (17);
[0071] (18);
[0072] Based on the Euler method discretization, is the step length, is the sampling time, the continuous differential equations described by (16) to (18) are discretized to obtain the discrete differential equations shown in (19):
[0073] (19);
[0074] remember To control the time domain, To predict the time domain, according to the current time The state quantity is based on the prediction of formula (19) The state of a step can be expressed as:
[0075] (20);
[0076] Assume that when the sampling time exceeds the control time domain, the control quantity remains unchanged, that is:
[0077] (twenty one);
[0078] in, Representation variables In the The value of the step.
[0079] Then the control input sequence , control input change sequence , control output sequence , expected output sequence As shown below:
[0080] (twenty two);
[0081] Considering that the system is a multi-input and multi-output nonlinear system with inequality constraints, for the tracking target to be achieved and the control amount to be as stable as possible, the cost function is constructed:
[0082] (twenty three);
[0083] in, is the weight coefficient matrix to be optimized.
[0084] Defining tire utilization of distributed drive vehicles based on the "adhesion ellipse" theory , the following relationship should be satisfied:
[0085] (twenty four);
[0086] At this point, the longitudinal force and additional yaw moment The problem of solving is transformed into solving the following constrained nonlinear programming problem:
[0087] (25);
[0088] Subsequent use of INPDOA to optimize NMPC parameters .
[0089] As a preferred embodiment of the present invention, in step 4, the specific method of torque distribution is as follows:
[0090] The control objective of the torque distribution layer is to provide the longitudinal force through the aforementioned yaw moment control layer. and additional yaw moment , which is expressed as follows:
[0091] (26);
[0092] in, As shown in Formula 4, the torque is about the wheel angular velocity function.
[0093] Total demand torque The PID controller is based on the longitudinal speed error The calculation results in:
[0094] (27);
[0095] in, They are proportional gain constant, integral gain constant and differential gain constant respectively; define torque distribution coefficient as follows:
[0096] (28);
[0097] In order to ensure the stability of distributed drive electric vehicles, the minimum square sum of tire utilization is set as the objective function , defined as follows:
[0098] (29);
[0099] To ensure the economy of distributed drive electric vehicles, the power of each drive motor must be determined. formula:
[0100] (30);
[0101] In order to unify the magnitude of stability and economy indicators, the drive motor power is normalized:
[0102] (31);
[0103] in, is the power of each driving motor, is the power proportion after normalization, is the rated power of the motor.
[0104] To set economic performance indicators:
[0105] (32);
[0106] The final performance index of the torque distribution layer is for:
[0107] (33).
[0108] like Figure 4 As shown, as a preferred embodiment of the present invention, in step 2, the basic neural population dynamic optimization algorithm is specifically as follows:
[0109] initialization:
[0110] (34);
[0111] in, is the variable to be optimized, Representation variables No. Quantity, for The lower limit of for The upper limit of Indicates the generation of a random number between 0 and 1; for the NMPC control layer, is the weight coefficient matrix ; For the torque distribution control layer, is the torque distribution coefficient for each wheel ;
[0112] Attractor Trend Strategy:
[0113] (35);
[0114] in, is the trend of the attractor's scaling factor, Represents a random number between 0 and 1. yes The attractor, is the proportion of attractors among all neural states of the neural population, is the number of neural populations, is the number of attractors, indicating Round down, The covariance is A zero-mean Gaussian noise vector, is the peak value of the neural state, is the minimum boundary of the neural state, It has a mean of 0 and a variance of The normal distribution of .
[0115] Coupling interference strategy:
[0116] The neural state of a particular neural population is also affected by the neural states of other neural populations. It is usually assumed that the interaction between neural populations occurs through additive or diffusive coupling. In this approach, both types of coupling are considered to exist in neural population dynamics. In additive coupling, the input to a neural population is a function of the sum of the neural states of other neural populations. To simplify the calculations, the neural states of other neural populations are expressed as the average of the sum of all neural states. The formula used is as follows:
[0117] (36);
[0118] in, is the neural state addition function, is a random number between 0 and 0.5. is the number of neural populations.
[0119] In diffuse coupling, the input to a neural population is a function of the sum of its neural state and the neural states of other neural populations, using the following formula:
[0120] (37);
[0121] in, is the neural state diffusion function, is a random number between 0 and 0.5.
[0122] A combination of two couplings is used to simulate the effects of other neural populations. The formula is as follows:
[0123] (38);
[0124] in, is the proportionality factor of the coupled interference.
[0125] Equation (38) shows that one neural population is affected by another neural population through two types of coupling. The interference of other neural populations causes the neural population to deviate from the influence of the attractor. This search strategy based on the coupling between neural populations can help enhance the exploration ability of the algorithm.
[0126] Information projection strategy:
[0127] As mentioned above, information exchange and interaction between neural populations are carried out through the communication subspace. In this method, the matrix representing adjacency and communication strength is used to represent the communication subspace of information projection between neural populations.
[0128] In the attractor trend, the information transfer between the attractor and another neural state of the neural population is represented by an adjacency matrix with binary random values and the communication strength matrix with randomly generated values between 0 and 1 The formula used is as follows:
[0129] (39);
[0130] Perturbations in the neural state should have a greater effect early in the process, before the neural state stabilizes; therefore, the effect of coupled perturbations gradually decreases, using the following formula:
[0131] (40);
[0132] in, is an adjacency matrix with binary random values, is a communication strength matrix with randomly generated values between 0 and 1, is a random number between 0 and 1. is the function evaluation degree, The maximum value of the function evaluation. As the iteration process proceeds, The influence of coupling interference gradually increases, while the influence of coupling interference gradually decreases. Eventually, the neural state of each neural group will be affected by the attractors and neural states of other neural groups. The neural state update is as follows:
[0133] (41);
[0134] Use the above strategies to simulate information projection between neural populations and achieve the transition from exploration to exploitation.
[0135] As a preferred embodiment of the present invention, in step 2, the specific method of improving the neural population dynamic optimization algorithm is as follows:
[0136] In order to make up for the shortcomings of the basic neural population dynamic optimization algorithm, the second-order central moment is used in the coupling interference strategy to replace the arithmetic mean in the original formulas (36) and (37). The changes (36*) and (37*) are as follows:
[0137] (36*);
[0138] (37*);
[0139] The simple linear combination shown in formula (38) does not take into account and The correlation between them, this method changes the covariance formula (38*) as follows:
[0140] (38*);
[0141] The modified formulas 36*, 37* and 38* are used to replace the original formulas to obtain an improved neural population dynamic optimization algorithm.
[0142] As a preferred embodiment of the present invention, in step 3, for the NMPC control layer, the optimization parameter is the weight coefficient matrix The output of the control is The expected output is , the control quantity is The control target is Under the control of As close as possible to the desired output , the output error is , which is characterized as follows:
[0143] (42);
[0144] Normalize each error amount:
[0145] (43);
[0146] In the control system performance evaluation, the integral of the absolute error and the time product (ITAE) indicator comprehensively considers the size and duration of the system error, and relatively comprehensively evaluates the dynamic performance of the control strategy. Define the fitness function of the algorithm to optimize the NMPC control The expression is as follows:
[0147] (44);
[0148] Where t is time. The weight coefficient matrix of the NMPC control layer is optimized using an improved neural population dynamic optimization algorithm. , and get the optimal solution . Using this optimal solution to perform NMPC control, the optimal control quantity is obtained , providing longitudinal force for subsequent torque distribution control With additional yaw moment .
[0149] As a preferred embodiment of the present invention, in step 4, for the torque distribution control layer, the control goal is to optimize the torque distribution coefficient , so that the tire utilization rate As small as possible to ensure that each tire has a large load margin to avoid the vehicle from slipping and becoming unstable under extreme conditions; minimize the total power of each motor to achieve the goal of energy saving. Fitness function of torque distribution control The same as its performance index (33), the expression is as follows:
[0150] (45);
[0151] Optimize the optimal torque distribution coefficient through INPDOA algorithm .
[0152] The following is a simulation example to verify the effectiveness of this method:
[0153] In order to simplify the simulation process, the upper yaw moment control layer is simulated and verified to obtain the comparison between the actual yaw rate and the expected yaw rate, and the comparison between the actual center of mass sideslip angle and the expected center of mass sideslip angle. The vehicle parameters are as follows: vehicle mass , the moment of inertia around the z-axis of the vehicle body coordinate system , centroid height , Distance from center of mass to front axle , Distance from center of mass to rear axle , wheelbase , Tire rolling radius , Wheel moment of inertia , road adhesion coefficient , Reference longitudinal speed , the initial weight matrices of the NMPC controller are:
[0154] (46);
[0155] The double lane change condition was used for simulation verification, and the comparison between the yaw angular velocity and the sideslip angle of the center of mass was obtained. Figure 5 and 6 As shown, it can be seen that the yaw angular velocity and center of mass sideslip angle curves of the NMPC controller optimized by INPDOA are closer to the expected values, indicating that the method proposed in the present invention has certain advantages over the traditional NMPC controller, proving the feasibility of the present invention.
[0156] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A torque distribution method for a distributed drive electric vehicle based on INPDOA, characterized in that: The following steps are involved: Step 1: Establish a seven-degree-of-freedom dynamic model and a linear two-degree-of-freedom dynamic model to determine the state input Control quantity u=[F x ,M z ] T , output Expected output Step 2: Optimize and improve the basic neural population dynamic optimization algorithm, establish the improved neural population dynamic optimization algorithm architecture, and initialize the parameters; Step 3: Optimize the weight coefficient matrix H = [P, Q, R] of the NMPC controller by improving the neural population dynamic optimization algorithm T , at this time, X=H in the algorithm, and the optimized NMPC controller is used for yaw moment control; Step 4: Optimize the torque distribution coefficient ξ=[ξ fl ,ξ fr ,ξ rl ,ξ rr ] T , at this time, X=ξ in the algorithm, and the best torque distribution strategy is obtained; In step 2, the basic neural population dynamic optimization algorithm is specifically as follows: initialization: X i =l b +rand(0,1)·(u b -l b ) (34) Among them, X i is the variable to be optimized, i represents the variable X i The i-th component of b =0 is X i The lower limit of u b =1 is the upper limit of X, rand(0,1) means generating a random number between 0 and 1; for the NMPC control layer, X i is the weight coefficient matrix H = [P, Q, R] T ; For the torque distribution control layer, X i The torque distribution coefficient of each wheel is ξ=[ξ fl ,ξ fr ,ξ rl ,ξ rr ] T ; Attractor Trend Strategy: Among them, l is the proportional factor trend of the attractor, r1 represents a random number between 0 and 1, and att k yes is the kth attractor in , a is the proportion of attractors in all neural states of the neural population, n is the number of neural populations, is the number of attractors, a·n is rounded down, w is a zero-mean Gaussian noise vector with covariance UL, U is the peak value of the neural state, L is the minimum boundary of the neural state, w i It follows a normal distribution with a mean of 0 and a variance of UL; Coupling interference strategy: Assume that the interaction between neural populations occurs through additive or diffusive coupling. In additive coupling, the input of a neural population is a function of the sum of the neural states of other neural populations. To simplify the calculation, the neural states of other neural populations are expressed as the average of the sum of all neural states. The formula used is as follows: Among them, X add,i is the neural state addition function, r2 is a random number between 0 and 0.5, and n is the number of neural populations; In diffuse coupling, the input to a neural population is a function of the sum of its neural state and the neural states of other neural populations, using the following formula: Among them, X dif,i is the neural state diffusion function, r3 is a random number between 0 and 0.5; A combination of two couplings is used to simulate the effects of other neural populations, as shown in the following formula: X couple,i =d·(X add,i +X dif,i ) (38) Where d is the proportional factor of the coupled interference; Information projection strategy: As mentioned above, information exchange and interaction between neural populations are carried out through the communication subspace, and the communication subspace of information projection between neural populations is represented by a matrix representing adjacency and communication strength; In the attractor trend, the information transfer between the attractor and another neural state of the neural population is represented by an adjacency matrix C with binary random values. attract,i and the communication strength matrix R with randomly generated values between 0 and 1 attract,i The formula used is as follows: Perturbations in the neural state should have a greater effect early in the process, before the neural state stabilizes; therefore, the effect of coupled perturbations gradually decreases, using the following formula: Among them, C couple,i is an adjacency matrix with binary random values, R couple,i is a communication strength matrix with randomly generated values between 0 and 1, r4 is a random number between 0 and 1, θ is the function evaluation degree, θ max The maximum value of the function evaluation degree; as the iteration process proceeds, θ gradually increases, while the influence of coupling interference gradually decreases; eventually, the neural state of each neural group will be affected by the attractor and neural state of other neural groups, and the neural state of the current neural population X is updated as follows: Use the above strategies to simulate information projection between neural populations and achieve the transition from exploration to exploitation; In step 2, the specific method of improving the neural population dynamic optimization algorithm is as follows: In the coupling interference strategy, the second-order central moment is used to replace the arithmetic mean in the original formulas 36 and 37, and is changed to 36* and 37* as shown below: The analogy covariance formula changes formula 38 to 38* as follows: The modified formulas 36*, 37* and 38* are used to replace the original formulas to obtain an improved neural population dynamic optimization algorithm.
2. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 1 is characterized in that: In step 1, the method for constructing the seven-degree-of-freedom dynamics model of the distributed drive electric vehicle is as follows: Taking the body coordinate system of the distributed wire-controlled vehicle as a reference, the origin is fixed at the center of mass of the vehicle CoG. Based on the "right-hand rule", the center axis of the vehicle along the direction of travel is the positive direction of the x-axis, and the direction perpendicular to the x-axis and pointing to the left in the direction of travel of the vehicle is the positive direction of the y-axis; v is the velocity at the center of mass of the vehicle, v x is the component of vehicle speed in the x-axis direction of the vehicle body coordinate system, v y is the component of vehicle speed in the y-axis direction of the vehicle body coordinate system, β is the sideslip angle of the center of mass, is the vehicle yaw angle, is the yaw angular velocity, is the yaw angular acceleration, l f is the distance from the vehicle's center of mass to the front axle, l r is the distance from the vehicle center of mass to the rear axle, l w is the vehicle width, i * = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel respectively, is the longitudinal force of the tire, is the lateral force of the tire, δ f is the turning angle of the front wheels, is the tire's slip angle, is the speed direction of the tire; According to the geometric relationship and force analysis, the following seven-degree-of-freedom dynamic equation can be obtained: Longitudinal Movement: Lateral Movement: Yaw motion: Each wheel rotates independently: Among them, I z is the moment of inertia around the z-axis of the vehicle body coordinate system, m is the vehicle curb mass, J w is the moment of inertia of the wheel about its axis (kg·m 2 ), ω=[ω fl ,ω fr ,ω rl ,ω rr ] T are the angular velocities of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, T = [T fl ,T fr ,T rl ,T rr ] T are the driving torques of the left front wheel, right front wheel, left rear wheel, and right rear wheel, respectively, R w is the rotation radius of each wheel; The angular velocity of each wheel is expressed as: The vertical load on each wheel is: in, is the longitudinal acceleration, is the lateral acceleration; The formula for tire slip angle is as follows: The formula for each wheel slip rate is as follows: Among them, F z =[F zfl ,F zfr ,F zrl ,F zrr ] T are the vertical loads of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively, h is the height of the vehicle's center of mass, λ=[λ fl ,λ fr ,λ rl ,λ rr ] T are the longitudinal slip rates of the left front wheel, right front wheel, left rear wheel, and right rear wheel respectively; For any tire of a distributed wire-controlled vehicle, the tire expression based on the "magic" formula is as follows: Where Y g is the lateral force, X g is the slip angle, B g is the stiffness factor, C g is the shape factor, D g is the peak factor, E g is the curvature factor, S h is the horizontal deformation, S v is the ground normal deformation, x g is the auxiliary slip angle, y g To assist the lateral force; the variables of formula 9 can be represented by formula 10; In the formula, F z =(F zfl ,F zfr ,F zrl ,F zrr ) is the tire vertical force, a0~a 12 is a constant determined by the properties of the vehicle's tires.
3. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 2 is characterized in that: In step 1, the construction method of the linear two-degree-of-freedom reference model is as follows: Lateral Movement: Yaw motion: Among them, C f and C r are the front and rear axle cornering stiffnesses respectively; combining formulas 11 and 12, we can get the following formula: Where β is the sideslip angle of the center of mass, l f is the distance from the vehicle's center of mass to the front axle, l r is the distance from the vehicle's center of mass to the rear axle, v x is the component of vehicle speed in the x-axis direction of the vehicle body coordinate system, m is the vehicle mass, is the vehicle yaw angle, δ f is the turning angle of the front wheels, represents the sideslip angular velocity of the center of mass, is the yaw angular velocity, is the yaw angular acceleration; The reference center of mass sideslip angle β of the distributed drive electric vehicle is obtained based on the linear two-degree-of-freedom model ref With reference yaw rate As shown below: in, is the understeer coefficient; According to the stability constraint, the desired center of mass sideslip angle β is obtained d and the desired yaw rate Among them, μ is the road adhesion coefficient and g is the acceleration due to gravity.
4. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 3 is characterized in that: In step 3, the method for establishing the NMPC controller based on the seven-degree-of-freedom dynamics model is as follows: Its state quantity Control quantity u=[u1,u2] T =[F x ,M z ] T , output Expected output Among them, M z is the additional yaw moment, v xd is the desired longitudinal speed, from the driver; Let x be the derivative The following differential equation is obtained by dynamic analysis of the seven-degree-of-freedom model: Based on the Euler method discretization, is the step length, T s is the sampling time, and the continuous differential equations described by equations 16 to 18 are discretized to obtain the discrete differential equations shown below: x(k+1)=f k (x(k),u(k))·T s +x(k) (19) Remember N c To control the time domain, N p To predict the time domain, according to the state quantity at the current time k, the next N predicted based on formula (19) p The state of a step can be expressed as: x(k+N p )=f(x(k),u(k),…,u(k+N c )…,u(k+N p -1)) (20) Assume that when the sampling time exceeds the control time domain, the control quantity remains unchanged, that is: u(k|k+N c )=u(k|k+N c +1)=…=u(k|k+N p -1) (21) Among them, (i|j) represents the value of variable i at step j; Then the control input sequence U(k), the control input change sequence ΔU(k), the control output sequence Y(k), and the expected output sequence Y d (k) is as follows: Considering that the system is a multi-input and multi-output nonlinear system with inequality constraints, for the tracking target to be achieved and the control amount to be as stable as possible, the cost function is constructed: Among them, P, Q, R are the weight coefficient matrices to be optimized; Based on the "adhesion ellipse" theory, the tire utilization rate ρ of the distributed drive vehicle is defined w =[ρ wfl ,ρ wfr ,ρ wrl ,ρ wrr ] T , the following relationship should be satisfied: At this point, the longitudinal force F x and the additional yaw moment M z The problem of solving is transformed into solving the following constrained nonlinear programming problem: Then INPDOA is used to optimize the NMPC parameters H = [P, Q, R] T .
5. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 4 is characterized in that: In step 4, the specific method of torque distribution is as follows: The control objective of the torque distribution layer is to provide the longitudinal force F through the aforementioned yaw moment control layer. x and the additional yaw moment M z , which is expressed as follows: Where T = [T fl ,T fr ,T rl ,T rr ] T As shown in Formula 4, the torque T(ρ) is a function of the wheel angular velocity ρ; Total required torque T d =T fl +T fr +T rl +T rr The PID controller is based on the longitudinal speed error The calculations show that: Among them, K P ,K I ,K D are proportional gain constant, integral gain constant and differential gain constant respectively; define torque distribution coefficient ξ=[ξ fl ,ξ fr ,ξ rl ,ξ rr ] T as follows: In order to ensure the stability of distributed drive electric vehicles, the minimum sum of squares of tire utilization is set as the objective function J1, which is defined as follows: J1=ρ wfl 2 +r wfr 2 +r wrl 2 +r wrr 2 (29) In order to ensure the economy of distributed drive electric vehicles, the power of each drive motor is determined as P = [P fl ,P fr ,P rl ,P rr ] T formula: In order to unify the magnitude of stability and economy indicators, the drive motor power is normalized: Where P = [P fl ,P fr ,P rl ,P rr ] T is the power of each driving motor, is the power proportion after normalization, P e is the rated power of the motor; To set economic performance indicators: Then the final performance index J of the torque distribution layer is T for:
6. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 5 is characterized in that: In step 3, for the NMPC control layer, the optimization parameter is the weight coefficient matrix H = [P, Q, R] T The output of the control is The expected output is The control quantity is u=[F x ,M z ] T , the control goal is to make the controlled output η as close as possible to the desired output η under the control of u d , the output error is Its characteristics are as follows: Normalize each error amount: In the control system performance evaluation, the integral index of the product of absolute error and time is used to evaluate the dynamic performance of the control strategy, and the fitness function f of the algorithm to optimize the NMPC control is defined. NMPC The expression is as follows: f NMPC =∫|e|tdt (44) Where t is time; The NMPC control layer is optimized using an improved neural population dynamic optimization algorithm to optimize its weight coefficient matrix H = [P, Q, R] T , and get the optimal solution H best ; Use this optimal solution to perform NMPC control and obtain the optimal control quantity u * , providing longitudinal force F for subsequent torque distribution control x With additional yaw moment M z .
7. The torque distribution method of the distributed drive electric vehicle based on INPDOA according to claim 5 is characterized in that: In step 4, for the torque distribution control layer, the control target is to optimize the torque distribution coefficient ξ=[ξ fl ,ξ fr ,ξ rl ,ξ rr ] T , the fitness function f of torque distribution control T Its performance index J T The same expression is as follows: f T =J T (45) The optimal torque distribution coefficient ξ is optimized by INPDOA algorithm best .
Citation Information
Patent Citations
Vehicle yaw stability prediction control method and system
CN111267834A
Automobile transverse stability control method based on nonsingular terminal sliding mode control
CN114771503A