This patent application claims the benefit and priority of Chinese Patent Application No. 202310777635.1 filed with the China National Intellectual Property Administration on Jun. 29, 2023, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the field of distributed drive electric vehicle chassis control, and in particular, to a real-time control method for an additional yaw moment of a distributed drive electric vehicle.
Driving stability control for electric vehicles is an important performance related to the driving safety of the vehicles. Distributed drive electric vehicles have been widely concerned in the industry for its extremely high control degree of freedom and flexible and efficient control performance. To ensure driving stability of a distributed drive electric vehicle, additional torque control compensation is performed on a four-wheel motor drive torque by tracking a desired additional yaw moment decided by an upper layer controller, so as to achieve the objective of adjusting and controlling the motion state of the vehicle and keeping the driving stability of the vehicle. Therefore, an additional yaw moment decision method for a distributed drive electric vehicle is very important for controlling the stability of the vehicle. However, existing additional yaw moment decision methods for distributed drive electric vehicles have the following problems.
The objective of the present disclosure is to provide a real-time control method for an additional yaw moment of a distributed drive electric vehicle to overcome the defects in the prior art.
The objective of the present disclosure can be achieved by the following technical solution.
A real-time control method for an additional yaw moment of a distributed drive electric vehicle includes the following steps:
Further, an expression of the vehicle dynamics model is:
Further, the linear expression of the sideslip angle with respect to the additional yaw moment is:
Further, the linear expression of the yaw rate with respect to the additional yaw moment is:
Further, an optimization problem of the optimization calculation is:
Further, in the optimization calculation process, the linear expression of the sideslip angle with respect to the additional yaw moment and the linear expression of the yaw rate with respect to the additional yaw moment are substituted into the optimization problem, and a resulting objective function expression is:
Further, in the optimization calculation process, an optimal solution of the additional yaw moment is calculated by solving an extreme point, an extreme point expression of the objective function is:
where u* is the optimal solution of the additional yaw moment.
Further, the method further includes setting an additional yaw moment range for the optimal solution of the additional yaw moment to obtain an optimal additional yaw moment, where the optimal additional yaw moment is used for distribution of the additional yaw moment of each tire, and a calculation expression of the optimal additional yaw moment is:
Further, a distribution expression of the amount of the additional yaw moment distributed for each tire is:
Further, the solved amount of the additional yaw moment distributed for each tire is transmitted into a layer controller for execution to drive each tire of the distributed drive electric vehicle.
Compared with the prior art, the present disclosure has the following advantages.
In the present disclosure, the state are solved first based on the vehicle dynamics model, and a state function is approximated. A linear expression of the state with respect to the control input is obtained by combining a vehicle differential equation. The optimization problem is finally reconstructed. An explicit expression of the extreme point is solved by means of a state approximate expression, which is the decision result of the optimal additional yaw moment.
The processing process of the solution can better control both tracking of the desired yaw rate and suppression of the sideslip angle, which is comparable to non-linear model predictive control. Moreover, it can be seen from the contrast results of the calculation time that since the additional yaw moment real-time optimization decision method proposed by the present disclosure results in the explicit expression of the optimal additional yaw moment, it takes a short time to calculate, which can meet the requirement for real-time performance.
In order to make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some, rather than all of the embodiments of the present disclosure. Generally, components of the embodiments of the present disclosure described and shown in the accompanying drawings may be arranged and designed in various manners.
Therefore, the following detailed description of the embodiments of the present disclosure in the accompanying drawings is not intended to limit the protection scope of the present disclosure, but merely indicates selected embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts should fall within the protection scope of the present disclosure.
It should be noted that similar reference signs and letters represent similar items in the accompanying drawings below. Therefore, once an item is defined in one accompanying drawing, it does not need to be further defined and described in subsequent accompanying drawings.
In the description of the present disclosure, it should be noted that orientations or position relationships indicated by terms “center”, “upper”, “lower”, “left”, “right”, “vertical”, “horizontal”, “inner”, “outer”, etc. are orientations or position relationships shown in the accompanying drawings, or orientations or position relationships in which a product of the present disclosure is customarily placed when being used, and these terms are only used to facilitate description of the present disclosure and simplify the description, but not to indicate or imply that the mentioned apparatus or components must have a specific orientation or must be established and operated in a specific orientation, and thus these terms cannot be understood as a limitation to the present disclosure.
It should be noted that terms “first” and “second” are used only for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined with “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the present application, “multiple” means two or more, unless otherwise specifically defined.
Moreover, terms such as “horizontal” and “vertical” do not mean that a component is absolutely horizontal or overhanging, but that it can be tilted slightly. If “horizontal” only means that a direction of the component is more horizontal than “vertical”, it does not mean that the structure must be completely horizontal, but that it can be tilted slightly.
The embodiment provides a real-time control method for an additional yaw moment of a distributed drive electric vehicle, including the following steps:
acquiring and inputting a real-time motion state of the distributed drive electric vehicle into a pre-constructed vehicle dynamics model, using a yaw rate and a sideslip angle of the distributed drive electric vehicle as tracking targets to suppress actuation energy, and performing optimization calculation on an additional yaw moment to acquire an amount of the additional yaw moment distributed for each tire.
In the optimization calculation process, a linear expression of the sideslip angle with respect to the additional yaw moment and a linear expression of the yaw rate with respect to the additional yaw moment are constructed, so as to perform search calculation on the additional yaw moment.
Specifically, the above solution is divided into three parts. In the first part, a desired state is solved based on a vehicle second-order reference model. In the second part, based on knowledge of a vehicle dynamics mechanism, a state function is approximated by means of Taylor expansion theory, and a linear expression of the state with respect to a control input is obtained by combining a vehicle differential equation. In the third part, an optimization problem is constructed, an explicit expression of an extreme point is solved by means of a state approximate expression, which is a decision result of an optimal additional yaw moment. An optimal real-time decision of the additional yaw moment can be realized by constructing an explicit solution of the optimal additional yaw moment.
Preferably, in the embodiment, in order to verify the effectiveness of the method according to the present disclosure, a simulation condition is designed for verification in contrast with a traditional algorithm. The simulation condition is selected for vehicle driving stability under a low-adhesion road, and the algorithm for contrast is a model predictive control-based additional yaw moment decision method.
The above solution specifically includes the following steps.
At step S1, a high-fidelity vehicle dynamics model is built.
A vehicle model is selected from Carsim dynamics simulation software. A vehicle parameter is configured. An input-output variable interface is defined. A real-time control algorithm for additional yaw moment is built based on MATLAB/Simulink. An algorithm input is a real-time motion state of the distributed drive electric vehicle from the Carsim dynamics simulation software. An algorithm output is sent into a vehicle control input interface in the Carsim dynamics simulation software. The simulation condition for the vehicle driving stability under the low-adhesion road is built based on the selected vehicle model and parameter, and the effectiveness of the present disclosure is verified through simulation.
At step S2, a desired state reference is solved.
For a problem of handling stability control for the distributed drive electric vehicle, a second-order reference model is used to solve the desired state reference:
In the driving process of the vehicle, tire forces are limited by a road adhesion limit. Therefore, when the desired state reference is calculated, it is necessary to limit the tire forces to a certain extent to adapt to the road adhesion limit. An upper limit of the desired state reference is defined as Yref
|Yref|≤Yref
At step S3, approximate expression is performed on a state differential equation by means of Taylor expansion theory.
It specifically includes the following steps.
At step S3.1, a vehicle dynamics equation is constructed.
{dot over (x)}=g(x,u) (3)
At step S3.2, a tire model is constructed.
Fx=fx(x,δf,Lf,Lr)
Fy=fy(x,δf,Lf,Lr) (4)
At step S3.3, a vehicle state function is approximated by means of Taylor expansion theory.
It can be seen from analysis of the vehicle dynamics equation that a vehicle state is a non-linear differential equation expression with respect to the control input, thus causing a problem of difficulty in solving the optimization problem. In order to solve an explicit solution of the optimization problem, an approximate step size is selected ash, at a current point oft, the state is subjected to Taylor expansion in different orders, and the orders are selected in such a way that linear expression with respect to the control input can be obtained.
The vehicle state function is subjected to Taylor expansion approximation by combining the vehicle dynamics differential equation (3) to obtain a linear expression of the state with respect to the control input:
x(t+h)=G(x(t))+Ku(t) (5)
At step S4, the optimization problem is constructed, and the explicit expression of the extreme point is solved.
It specifically includes the following steps.
At step S4.1, an objective function of the optimization problem is constructed.
In the research of vehicle driving stability control, the construction of the objective function usually considers the tracking of the desired state and the suppression of the actuation energy. Therefore, the constructed objective function is as follows:
At step S4.2, a Taylor expansion approximate expression of the state is substituted into the objective function.
Formula (5) is substituted into Formula (6) to obtain an objective function expression only containing a to-be-optimized variable u(t):
At step S4.3, the explicit expression of the extreme point is solved.
It can be seen from analysis of Formula (7) that the objective function is a quadratic function with respect to the to-be-optimized variable u(t). Therefore, the extreme point of the objective function is an optimal solution of the to-be-optimized variable.
Let
The optimal solution of the to-be-optimized variable is obtained as
u*(t)=−Φ1(Φ1K+Φ2)−1[G(x(t))−xref]T (9)
In practical application, after the explicit solution of the control input is obtained, upper and lower limits of constraints of the control input also need to be considered. The range of the additional yaw moment is set as [ΔMz
After obtained, the optimal additional yaw moment can be transmitted into a lower layer controller for execution. By distributing the additional yaw moment in a suitable manner, four-wheel additional torque is obtained, and then the stability control for the distributed drive electric vehicle can be realized.
The specific implementation process of the above solution is introduced below with an example.
A frame diagram of an additional yaw moment real-time optimization decision method according to the example is shown in
The additional yaw moment real-time optimization decision method according to the example is realized and verified by means of joint simulation of software systems. The specific process is as follows:
1. Software Selection
Writing of an additional yaw moment real-time optimization decision algorithm proposed by the present disclosure and construction of a plant of a simulation model are respectively realized by means of software Matlab/Simulink with a version of Matlab R2020a and high-fidelity vehicle dynamics simulation software CarSim with a version of CarSim2019.1. Matlab/Simulink is configured to build the additional yaw moment real-time optimization decision algorithm. Program implementation of the additional yaw moment real-time optimization decision algorithm is completed by performing modular programming in simulink. CarSim mainly acts to provide a high-fidelity vehicle dynamics model and a corresponding simulation condition, and in a simulation experiment, the model replaces a real vehicle to serve as an implementation object of the designed additional yaw moment real-time optimization decision algorithm.
2. Joint Simulation Setting
In order to realize joint simulation of the two pieces of software, first, an input-output interface module of Carsim is configured, and a simulink model path is added to the Carsim software to realize joint communication. Then, Carsim is compiled, and a corresponding S-Function module is generated in simulink. Finally, parameter configuration is performed on S-Function, and an input-output signal interface is led out. A joint simulation step size is set as 0.001 s. When a Simulink simulation model runs, a CarSim model also performs calculation and solving at the same time. In the process of simulation, data is exchanged continuously between the Simulink simulation model and the CarSim model. If a model structure or parameter setting in CarSim is amended, CarSim needs to be recompiled. Then, a S-Function module needs to regenerated to update Carsim software configuration information.
In order to verify the effectiveness of the additional yaw moment real-time optimization decision method according to the present disclosure, the present disclosure selects vehicle stability control under a low-adhesion road for method verification. First, a MATLAB/Simulink and Carsim high-fidelity dynamics software-based joint simulation software platform is built, and selection and parameter configuration of a vehicle model are performed. Then, the additional yaw moment real-time optimization decision algorithm is built in MATLAB/Simulink, and an input-output interface is defined to meet the requirement of joint simulation. Finally, a low-adhesion road vehicle stability control test condition is set in Carsim to verify the method according to the present disclosure. At the same time, it is compared with a model predictive control-based additional yaw moment decision method to illustrate the beneficial effects of the present disclosure.
The additional yaw moment real-time optimization decision method according to the present disclosure specifically includes the following steps.
At step S1, a high-fidelity vehicle dynamics model is built.
The high-fidelity vehicle dynamics model is configured to simulate a real plant, namely a distributed drive electric vehicle in the present disclosure, and the high-fidelity vehicle dynamics model constructed herein mainly simulates yawing motion and lateral motion of the real vehicle.
In Carsim, a passenger vehicle model is selected first and then subjected to parameter configuration. The present disclosure focuses on the additional yaw moment real-time optimization decision method and thus focuses on important vehicle and tire parameters, such as a vehicle weight, distances from a vehicle mass content to front and rear axles, and tire cornering stiffness. Then, a vehicle driving condition is configured, which mainly includes testing a condition route, road adhesion condition, etc. The vehicle driving route is realized by control of a self-contained driver model of Carsim, and the driver model outputs a front wheel rotation angle δf. After the additional yaw moment is decided, the additional yaw moment is distributed by a method of equal distribution to obtain four-wheel additional torque. Finally, the input-output interface of Carsim is configured, with an input interface inputting the four-wheel additional torque and an output interface outputting important vehicle state information and the like. After the above configuration is completed, Carsim is added into simulink in a S-Function manner, and matching of the algorithm and the input-output interface of a Carsim module is completed.
At step S2, desired state is solved.
For a problem of vehicle driving stability control, a yaw rate and a sideslip angle of the distributed drive electric vehicle are usually selected as tracking objectives. For the yaw rate, a desired yaw rate reference value is calculated by using a widely used vehicle second-order reference model. In the reference model, a desired state is calculated according to a current vehicle front wheel rotation angle δf and a corresponding transfer function, where the transfer function from the front wheel rotation angle δf to the desired vehicle yaw rate γref is
In the above formula, L=Lf+Lr represents a vehicle axle.
System natural frequency is:
A system damping coefficient is:
A steady-state gain of the yaw rate is
A yaw rate differential coefficient
In the driving process of the vehicle, tire forces are limited by a road adhesion limit. Therefore, when a desired yaw rate reference is calculated, it is necessary to limit the tire forces to a certain extent to adapt to the road adhesion limit. An upper limit of the desired yaw rate reference is defined as γup, and thus
A yaw rate reference value needs to be limited within a boundary range, namely:
|γref≤γup (18)
For a desired vehicle sideslip angle reference, the sideslip angle represents a lateral motion ability of the vehicle, the larger the sideslip angle is, the more violent the lateral motion of the vehicle is, and the greater the possibilities of vehicle destabilization and drifting are. Therefore, the desired vehicle sideslip angle reference is usually set as zero, namely:
βref=0 (19)
Similarly, considering the limitation of the tire adhesion limit to the sideslip angle, an upper limit value βup of the sideslip angle is
At step S3, approximate expression is performed on a state differential equation by means of Taylor expansion theory.
It specifically includes the following steps.
At step S3.1, a vehicle dynamics equation is constructed.
In the embodiment, lateral motion and yawing motion of the vehicle are described by means of a two-degree-of-freedom vehicle model. It is worth noting that since an approximate step size selected by Taylor expansion theory is usually small, it can be considered that a longitudinal velocity of the vehicle remains unchanged within the approximate step size, at which point the longitudinal velocity of the vehicle will be introduced into the model as a variable parameter and updated in each approximate calculation.
The two-degree-of-freedom vehicle model is shown in
The two-degree-of-freedom vehicle model built according to
At step S3.2, a tire model is constructed.
In order to improve the accuracy of the model, the lateral forces of the front and rear axle tires are described herein by means of a Fiala brush model, which is a non-linear model and can effectively improve the estimation accuracy of tire forces as compared with a linear model. In the model, the tire slip angles are used as internal variables. When the tire slip angles α are very small, it comes out tan α≈α, after which the tire model can be approximated as:
The slip angles of the tires are calculated by the following formula:
At step S3.3, a vehicle state function is approximated by means of Taylor expansion theory.
For ease of derivation, the vehicle dynamics equation in Formula (21) is rewritten as the following form:
In order to solve an explicit solution of the optimization problem, an approximate step size is selected as h, the state function is subjected to Taylor expansion in different orders, and the orders are selected in such a way that linear expression of the state with respect to the control input can be obtained.
Second-order Taylor expansion is performed on a sideslip angle function x1(t) to combine with the vehicle dynamics differential equation (21) to obtain linear expression of the sideslip angle with respect to the control input of the additional yaw moment:
are partial derivatives of a function g1(x) with respect to the state of the yaw rate and the sideslip angle respectively, a solution formula of which is as follows
represents a derivative of the lateral forces of the tires with respect to the slip angles of the tires, which is determined by Formula (22).
First-order Taylor expansion is performed on a yaw rate function x2(t) to simultaneously combine with the vehicle dynamics differential equation (21) obtain linear expression of the yaw rate with respect to the control input of the additional yaw moment:
At step S4, the optimization problem is constructed, and the explicit expression of the extreme point is solved.
It specifically includes the following steps.
At step S4.1, an objective function of the optimization problem is constructed.
In the additional yaw moment real-time optimization decision method according to the present disclosure, when the objective function is set, tracking of a desired yaw rate reference value and a desired sideslip angle reference value and suppression of actuation energy are considered, and the optimization problem is thus constructed as:
At step S4.2, a Taylor expansion approximate expression of the state is substituted into the objective function.
Formula (26) to Formula (28) are substituted into the objective function (29), coming out
Therefore, an objective function expression is
J=J1+J2+J3 (34)
At step S4.3, the explicit expression of the extreme point is solved.
It can be seen from analysis of Formula (31) to Formula (34) that the objective function is a quadratic function with respect to a to-be-optimized variable u. Therefore, the extreme point of the objective function is an optimal solution of the to-be-optimized variable.
Where
Formula (36) is solved to obtain an expression of the extreme point as
The control input is inversely normalized, coming out
u*=uΔMzup (39)
In practical application, after the explicit solution of the control input of the additional yaw moment is obtained, upper and lower limits of constraints of the control input also need to be considered. The range of the additional yaw moment is set as [ΔMmin ΔMmax], and thus the final optimal additional yaw moment is:
After obtained, the optimal additional yaw moment can be transmitted into a lower layer controller for execution. For example, the additional yaw moment is distributed by a method of equal distribution, a formula of which is as follows:
where fl, fr, rl, rr represent a front left wheel, a front right wheel, a rear left wheel and a rear right represent respectively, Re is a tire rolling radius, and d is a vehicle wheel track.
In order to verify the effectiveness of the additional yaw moment real-time optimization decision method according to the present disclosure, vehicle stability control under a low-adhesion road is selected for method verification.
The contrast method used in the simulation process is a model predictive control-based additional yaw moment decision method. In the contrast method, the vehicle model and the tire model used keep consistent with those used in the embodiment of the present disclosure, so as to ensure the effectiveness of a contrast experiment. Since the tire model used in the embodiment is a non-linear tire model, the constructed model predictive control-based additional yaw moment decision method is a non-linear control method and requires a specific solver for solving. In the simulation process, the problem of non-linear model predictive control is solved by a Casadi non-linear solver.
The parameters of the vehicle model used in the simulation include a rotational inertia of the distributed drive electric vehicle around a Z axis Iz=2059.2 kg·m2, a vehicle weight m=1430 kg, a distance from a mass center of the distributed drive electric vehicle to a front axle Lf=1.05 m, a distance of the mass center of the distributed drive electric vehicle to a rear axle Lr=1.61 m, cornering stiffness of a front tire Cf=43082 N/rad, cornering stiffness of a rear tire Cr=59950 N/rad, and a vehicle wheel track d=1.55 m. In the setting of a low-adhesion road condition, a road adhesion coefficient is μ=0.35, and a vehicle driving condition is a double lane change condition. For the developed additional yaw moment real-time optimization decision algorithm, an approximate step size is selected as h=0.01, a yaw rate tracking weight is selected as Φγ=500, a sideslip angle suppression weight is selected as Φβ=0.01, an actuation energy suppression weight is selected as Φu=2, and an upper limit of the additional yaw moment is selected as ΔMzup=5000 Nm.
In a simulation test, the vehicle is driven according to the double lane change condition, and the vehicle velocity is 70 km/h and remains unchanged in the driving process. The rotation angle of a vehicle steering wheel is realized by the self-contained driver model of Carsim. The optimal additional yaw moment is obtained by the additional yaw moment real-time optimization decision method, and then the four-wheel additional torque is obtained by the method of equal distribution and applied to the high-fidelity vehicle dynamics model. The simulation results are shown in the accompanying drawings.
Through simulation comparison, the additional yaw moment real-time optimization decision method according to the present disclosure can better control both the tracking of the desired yaw rate and the suppression of the sideslip angle, which is comparable to non-linear model predictive control. Moreover, it can be seen from the contrast results of the calculation time that since the additional yaw moment real-time optimization decision method proposed by the present disclosure results in the explicit expression of the optimal additional yaw moment, it takes a short time to calculate, which can meet the requirement for the real-time performance. To sum up, the method proposed by the present disclosure can effectively achieve all the benefits of the present disclosure.
The foregoing is detailed description of the preferred specific embodiments of the present disclosure. It should be understood that those of ordinary skill in the art can make various modifications and variations according to the concept of the present disclosure without creative efforts. Therefore, all technical solutions that those skilled in the art can obtain based on the prior art through logical analysis, reasoning, or finite experiments according to the concept of the present disclosure shall fall within the protection scope defined by the claims.
Number | Date | Country | Kind |
---|---|---|---|
202310777635.1 | Jun 2023 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
11327449 | Quirynen | May 2022 | B2 |
20040046448 | Brown | Mar 2004 | A1 |
20090187302 | Takenaka | Jul 2009 | A1 |
20230138305 | Kulas | May 2023 | A1 |
Number | Date | Country |
---|---|---|
102034013 | Oct 2012 | CN |
108501944 | Sep 2018 | CN |
111204332 | May 2020 | CN |
102021101038 | Aug 2021 | DE |
1950116 | Jul 2008 | EP |
2905193 | Aug 2015 | EP |
Entry |
---|
CN-108501944-A translation (Year: 2018). |
CN-111204332-A translation (Year: 2020). |
DE-102021101038-A1 translation (Year: 2021). |
CN-102034013-B translation (Year: 2012). |