This application relates to intelligent electric vehicles, and more specifically to a path tracking control method and device for intelligent electric vehicles.
Modern automobiles have entered the era of intelligent technology. Intelligent electric vehicles can substitute the drive to complete a series of driving tasks through sensor perception, vehicle networking technology, and decision-making and planning control. Among them, path tracking control is an important part of realizing intelligent technology, which can be achieved by controlling the longitudinal and lateral movements of the vehicle to allow it to follow the desired trajectory.
During the path tracking process, the stability of the vehicle may be affected by speed and road environment factors, which may lead to accidents such as sideslip and tailgate. Especially when the vehicle is in the emergency obstacle-avoiding state, the lateral movement of the vehicle is violent due to the high speed and large steering angle, easily posing dangerous conditions, such as destabilization. At the same time, the violent swing movement will also affect the effect of trajectory tracking, resulting in the vehicle deviating from the expected trajectory, thereby leading to traffic accidents, such as collisions.
An objective of the present disclosure is to provide a path tracking control method and device for intelligent electric vehicles to solve at least one of the above technical problems.
Technical solutions of the present disclosure are as follows.
In a first aspect, this application provides a path tracking control method for an intelligent electric vehicle, comprising:
In an embodiment, the stable state is determined by
and
In an embodiment, when the vehicle is in the stable state, the front wheel steering increment of the vehicle is determined through steps of:
In an embodiment, when the vehicle is in the critical-destabilized state, the first yaw moment increment is determined through steps of
In an embodiment, when the vehicle is in the critical-destabilized state, the additional yaw moment weighting coefficient is determined through steps of
ey represents a deviation between an actual lateral displacement of the vehicle and a reference path; eφ represents a deviation between the heading angle and a reference heading angle; αy represents a lateral acceleration of the vehicle; C1, C2, and C3 are constant; c represents a coefficient; k represents a slope; {dot over (β)} represents a center-of-mass sideslip angular velocity of the vehicle; and β represents a center-of-mass sideslip angle of the vehicle.
In an embodiment, the path tracking control is performed through steps of
In an embodiment, when the vehicle is in the destabilized state, the second yaw moment increment of the vehicle is determined, and the path tracking control is performed based on the second yaw moment increment through steps of:
In a second aspect, this application provides a path tracking control for an intelligent electric vehicle, comprising:
In a third aspect, this application provides a computer-readable storage medium, wherein the computer-readable storage medium is configured to store a computer program; and the computer program is configured to be executed by a processor to implement the aforementioned path tracking control method.
In a fourth aspect, the present disclosure provides a computer program product, comprising a computer program or a computer instruction, wherein the computer program or the computer instruction is configured to be executed by a processor to implement the aforementioned path tracking control method.
Compared with the prior art, the present application has at least the following beneficial effects. The present application introduces a method for judging the stability state of the vehicle, which effectively improves the conflict between the front wheel steering and the additional yaw moment on control of the vehicle, takes into account the stability control of the vehicle while maintaining the path tracking accuracy, and improves the safety of the intelligent electric vehicle.
The present application may be better understood with reference to the following description in conjunction with the accompanying drawings, which are included in and form a part of this specification.
Exemplary embodiments of the present application will be described below with reference to the accompanying drawings. For the sake of clarity and brevity, not all features of the actual embodiments are described in the specification. However, it should be understood that many decisions specific to embodiment can be made during the development of any such practical embodiments to achieve the specific goals of the developer, and these decisions may vary from embodiment to embodiment.
Furthermore, to avoid obscuring the present application with unnecessary details, only the structure closely related to the embodiments according to the present application is shown in the accompanying drawings, and other details less relevant to the present application have been omitted.
It should be understood that the present application is not limited to the form of embodiment described with reference to the accompanying drawings below. As far as practicable herein, embodiments may be combined with each other, features can be substituted or borrowed between different embodiments, and one or more features can be omitted in one embodiment.
(S110) A lateral stability state of a vehicle is determined, where the lateral stability condition monitoring function of the vehicle is turned on, and the lateral stability state includes a stable state, a critical-destabilized state, and a destabilized state.
In this step, the lateral stability state of the vehicle is determined through a center-of-mass sideslip angle-sideslip angular velocity phase plane method. Specifically, the stable state is determined by
the critical-destabilized state is determined by
and the destabilized state is determined by
(S120) Path tracking control is performed on the vehicle according to the lateral stability state of the vehicle. When the vehicle is in the stable state, a front wheel steering increment of the vehicle is determined, and a front wheel steering of the vehicle is determined based on the front wheel steering increment of the vehicle. When the vehicle is in the critical-destabilized state, a first yaw moment increment and an additional yaw moment weighting coefficient of the vehicle are determined, a first additional yaw moment is determined based on the first yaw moment increment and the additional yaw moment weighting coefficient, and a first longitudinal force on each wheel of the vehicle is determined based on the first additional yaw moment. When the vehicle is in the destabilized state, a second yaw moment increment of the vehicle is determined, a second additional yaw moment is determined based on the second yaw moment increment, and a second longitudinal force on each wheel is determined based on the second additional yaw moment.
In an embodiment, the stability state of the vehicle is determined, and then according to the different stability states of the vehicle, different control strategies are adopted to maintain the path tracking accuracy while taking into account the stability control of the vehicle, which improves the safety of the intelligent electric vehicle.
In an embodiment, when the vehicle is in the stable state, the front wheel steering increment of the vehicle is determined, and the front wheel steering is determined based on the front wheel steering increment through the following steps.
Kinematic equations are established as follows, based on the vehicle kinematics model:
where X represents a lateral position coordinate of the vehicle; Y represents a longitudinal position coordinate of the vehicle; φ represents a heading angle of the vehicle; {dot over (X)}, {dot over (Y)} and {dot over (φ)} are derivatives of lateral position coordinate, the longitudinal position coordinate and the heading angle, respectively; νr represents a speed of the vehicle; l represents a wheelbase of the vehicle; and δf represents a front wheel steering angle.
The path tracking model is established by the above kinematic equations and the objective function is constructed to solve.
The kinematic equations are represented in state space:
where a state variable is represented by ξ=[X,Y,φ]T; {dot over (ξ)} represents a derivative of the state variable ξ; η denotes a lateral position coordinate of the vehicle; and the a control variable is represented by u=[δf]T; δf represents a front wheel steering angle; and
The formula (2) is linearized and discretized to obtain a discrete state space equation as follows:
where Āk,t represents a matrix of difference coefficients of the state variable at a kth moment when the current moment is t;
T represents a sampling period; {tilde over (ξ)} represents a state variable difference, and {tilde over (ξ)}=ξ−ξr; ũ represents a control variable difference, and ũ=u−ur; {dot over (ξ)}r=f(ξr,ur), which is a Taylor expansion point at any point; ξr represents a state variable at any point; ur represents a control variable at any point; {tilde over (ξ)}k represents a state variable difference at the kth moment; and ũk represents a control variable difference at the kth moment.
The state variable and the control variable are combined to reconstruct a new state space expression χ(k|t) as follows:
χ(k|t)=[{tilde over (ξ)}(k|t)u(k−1|t)]T (4);
The equation (4) is substituted into equation (3) to obtain equation (5) as follows.
where
represents a control variable increment at a kth moment when the current moment is t, and Δu(k|t)=u(k|t)−u(k−1|t); η(k|t) represents a lateral position coordinate of the vehicle at the kth moment when the current moment is t;
m represents a control variable dimension, and m=1; n represents a state variable dimension, and n=3; Im represents a unit matrix of m dimensions; and Om×n represents a 0 matrix of m×n.
To simplify the calculation, the prediction time domain is allowed to be Np, the control time domain is allowed to be Nc, and assumptions are made as follows:
An expression for a predicted output of the system in the prediction time domain Np is derived as follows:
Y(t)=Ψχ(t|t)+ΘΔU(t) (7);
in the formula (7),
ΔU(t) represents a sequence of control increment corresponding to the current moment t.
During the path tracking control of the vehicle, the state error and the control increment of the model prediction controller at each sampling moment are required to be minimized to obtain the best path tracking performance and driving stability of the vehicle. Therefore, the objective function J of the following form is used:
where Np represents a prediction time domain; Nc represents a control time domain; t represents a current moment; η(t+j|t) represents a lateral position coordinate of the vehicle at a (t+j)th moment when the current moment is t; ηref(t+j|t) represents a reference value of the lateral position coordinate at the (t+j)th moment when the current moment is t; Q, R, and l represent weighting matrices of an output, a control increment, and a relaxation factor, respectively; E represents the relaxation factor; and Δu(t+i|t) represents a front wheel steering increment of the vehicle at a (t+i)th moment when the current moment is t.
In the actual control process, the control variable and the control increment are required to be limited within a reasonable range with constraint expressions as follows:
where umin represents the minimum value of the control variable; umax represents the maximum value of the control variable; Δumin represents the minimum value of the control increment; and Δumax represents the maximum value of the control increment.
After solving the objective function in each control time domain, a series of sequences of increment in the control time domain are obtained, i.e., the front wheel steering increment Δu(t+i|t) of the vehicle when the objective function J takes the minimum value.
According to the model predictive control (MPC) principle, only the first element in the sequence of increment is taken as the actual control input increment to act on the system each time, i.e., the front wheel steering increment Δu(t+0|t) of the vehicle is selected to act on the system to obtain the front wheel steering u(t) of the vehicle corresponding to the current moment t, so as to realize the path tracking control on the vehicle, where u(t)=u(t−1)+Δu(t+0|t).
In an embodiment, when the vehicle is in the critical-destabilized state, a first yaw moment increment and an additional yaw moment weighting coefficient of the vehicle are determined, a first additional yaw moment is determined based on the first yaw moment increment and the additional yaw moment weighting coefficient, and a first longitudinal force on each wheel of the vehicle is determined based on the first additional yaw moment through the following steps.
(1) The First Yaw Moment Increment is Determined.
An additional yaw moment controller is established, and the dynamics equations considering the yaw stability control are as follows:
where β represents a center-of-mass side slip angle of the vehicle; {dot over (β)} represents a center-of-mass side slip angular velocity of the vehicle; ω represents a yaw angular velocity; {dot over (ω)} represents a derivative of the yaw angular velocity; ΔM represents a yaw moment; Iz represents a moment of inertia of the vehicle around the z-axis; a and b are distances from the center of mass to the front and rear axes, respectively; Fsf and Fsr are a lateral force of a front axle and a lateral force of the rear axle, respectively; Flf and Flr are a longitudinal force of the front axle and a longitudinal force of the rear axle, respectively; δf is a steering angle of the front wheel; {dot over (V)} is a longitudinal acceleration of the vehicle; and m represents a weight of the vehicle.
After linearizing the above dynamics equations, the system state equation is obtained as follows:
where a state variable is represented by X=[v, β, ω]T; an output variable is represented by Y=[β, ω]T; a control variable is represented by U=[ΔM]; an output quantity matrix is expressed as
ω represents a yaw angular velocity; and β represents a center-of-mass sideslip angle of the vehicle.
To simplify the calculation and the control system, the linear continuous system is discretized using the forward Euler method, expressed as:
X(k+1)=AkX(k)+BkU(k)+EkD(k) (12);
where X(k) is a state variable at a kth moment; X(k+1) is a state variable at a (k+1)th moment; U(k) represents a control variable at the kth moment; D(k) is a front wheel angle at the kth moment; Ek is a parameter matrix of the vehicle at the kth moment; Ak=I+TA; Bk=TB; T represents a sampling period; I represents a unit matrix. Since the prediction time domain is small, D(k) is considered as constant in the prediction time domain, and does not affect the construction of the objective function. Therefore, the EkD(k) term can be ignored.
The model predictive model equation is constructed let. Letting
and ΔU(k)=U(k)−U(k−1), the state space equation of the predictive model is obtained as follows:
ξ(k+1)=Âkξ(k)+{circumflex over (B)}kΔU(k)+ÊkD(k)η(k)=Ckξ(k) (13);
In the prediction time domain, the predicted value of the output can be calculated by the following equation:
Y(k)=ψkξ(k)+ΘkΔU(k)+ΓkD(k) (14);
in the formula (14),
where Np represents a prediction time domain, Nc represents a control time domain, and Np≥Nc.
The objective function is set as follows to ensure a good control effect while smoothing the input of the control variable:
where Np represents a prediction time domain; Nc represents a control time domain; Y(k) represents a predicted value of an output of the vehicle in the prediction time domain Np, and
k represents a current moment; η represents a lateral position coordinate of the vehicle; Yref(k) represents a reference value of the output; ΔU(k) represents a sequence of a yaw moment increment at a current moment k; Y(k+j|k) represents a predicted value of the output at a (k+j)th moment when the current moment is k; Yref(k+j|k) represents a reference value of the output at the (k+j)th moment when the current moment is k; Δu(k+i|k) represents a yaw moment increment at a (k+i)th moment when the current moment is k; and Q and R represent weight matrices of the output and a control increment, respectively.
Considering the constraints on the control variable, the limit value of the control increment and the output, the constraints are organized as follows:
In this model, the prediction time domain Np is 5; the control time domain Nc is 3;
a simulation step T is 0.01 s; a reference value of the output of the vehicle is represented by Yref=[ωref, βref]; ωref is a reference value of the yaw angular velocity; and βref represents a reference value of center-of-mass sideslip angle of the vehicle, which is calculated by the linear two-degree-of-freedom model.
The objective function J is solved to determine the yaw moment increment Δu(k+i|k) at each moment in the control time domain when the objective function J takes the minimum value.
(2) The Additional Yaw Moment Weighting Coefficient is Determined.
A coordination controller is constructed. Since the path tracking performance of the vehicle will be affected after performing the yaw moment control, the coordination controller is constructed based on a reinforcement learning deep deterministic policy gradient (DDPG) algorithm to coordinate the conflict between the trajectory tracking and the stability control, where state inputs are yaw velocity wr, center-of-mass side slip angle β, lateral displacement Y, heading angle φ, front wheel steering angle δf and lateral acceleration αy; and an action output is the additional yaw moment weighting coefficient α(0<α<1). In this case, the path tracking accuracy can be ensured with a stable control on the vehicle. The design principles of a reward function of the coordination controller are described as follows.
Finally, the reward function of the coordination controller is r=r1+r2+r3;
The yaw moment increment Δu(k+0|k) at a (k+0)th moment in the control time domain is selected to act on the system to obtain a yaw moment u(k) at a current moment k, where u(k)=u(k−1)+Δu(k+0|k).
An additional yaw moment ΔM is determined according to the yaw moment u(k) and the additional yaw moment weighting coefficient α, where ΔM=αu(k).
After obtaining the output additional jaw moment, the drive-brake-combined method is adopted to convert it into longitudinal forces on four wheels of the vehicle. By adopting the combination of driving and braking, the longitudinal force on the four wheels be reasonably utilized, which can avoid the tire wear caused by braking or driving of a single wheel, and ensure that the speed of the vehicle is unchanged during the control process, thereby reducing the burden of the driver. The relationship between the longitudinal forces at the center of each wheel is as follows:
where Fxfl, Fxrl, Fxfr and Fxrr represent longitudinal forces on a left front wheel, a left rear wheel, a right front wheel and a right rear wheel, respectively, and the longitudinal forces on the four wheels satisfy the following constraints:
where when ΔM>0, Fxfl=Fxrl<0 and Fxfr=Fxrr>0; when ΔM<0, Fxfl=Fxrl>0 and Fxfr=Fxrr<0; and d represents a wheelbase.
where Tmax represents the maximum torque of the motor, and r represents a radius of a wheel.
By using the drive-brake combined strategy, the longitudinal force acting on the center of each wheel can be finally obtained to achieve the distribution of the additional yaw moment.
In an embodiment, when the vehicle is in the destabilized state, the second yaw moment increment of the vehicle is determined, and the path tracking control is performed based on the second yaw moment increment through the following steps.
An objective function J is constructed:
where Np represents a prediction time domain; Nc represents a control time domain; Y(k) represents a predicted value of an output of the vehicle in the prediction time domain Np; k represents a current moment; Yref( ) represents a reference value of the output; ΔU(k) represents a sequence of a yaw moment increment at a current moment k; Y(k+j|k) represents a predicted value of the output at a (k+j)th moment when the current moment is k; Yref(k+j|k) represents a reference value of the output at the (k+j)th moment when the current moment is k; Δu(k+i|k) represents a yaw moment increment at a (k+i)th moment when the current moment is k; and Q and R represent weight matrices of the output and a control increment, respectively.
The objective function J; is solved to determine the yaw moment increment Δu(k+i|k) at each moment within the control time domain when the objective function J reaches a minimum value.
The yaw moment increment Δu(k+0|k) at a (k+0)th moment in the control time domain is selected to act on the system to obtain a yaw moment u(k) at a current moment k, where u(k)=u(k−1)+Δu(k+0|k).
An additional yaw moment ΔM is determined according to the yaw moment u(k) and the additional yaw moment weighting coefficient α, where ΔM=αu(k).
A longitudinal force on each wheel of the vehicle is determined based on the additional yaw moment ΔM in a drive-brake-combined manner.
In this embodiment, the specific calculation of the longitudinal force on each wheel of the vehicle refers to the calculation method mentioned in the aforementioned embodiment where the vehicle is in a critical-destabilized state, and will not be repeated herein.
Based on the same inventive conception as the aforementioned path tracking control method, the present disclosure also provides a path tracking control device corresponding thereto.
The lateral stability state determination module 210 is configured to determine a lateral stability state of a vehicle, where the lateral stability state comprises a stable state, a critical-destabilized state, and a destabilized state.
The path tracking control module 220 is configured to perform path tracking control on the vehicle according to the lateral stability state of the vehicle, determine a front wheel steering increment of the vehicle when the vehicle is in the stable state, determine a front wheel steering of the vehicle based on the front wheel steering increment of the vehicle, determine a first yaw moment increment and an additional yaw moment weighting coefficient of the vehicle when the vehicle is in the critical-destabilized state, determine a first additional yaw moment based on the first yaw moment increment and the additional yaw moment weighting coefficient, determine a first longitudinal force on each wheel of the vehicle based on the first additional yaw moment, determine a second yaw moment increment of the vehicle when the vehicle is in the destabilized state, determine a second additional yaw moment based on the second yaw moment increment, and determine a second longitudinal force on each wheel based on the second additional yaw moment.
The present disclosure also provides a computer-readable storage medium. The computer-readable storage medium is configured to store a computer program, and the computer program is configured to be executed by a processor to implement the aforementioned path tracking control method.
The present disclosure also provides a computer program product, which includes a computer program or a computer instruction, where the computer program or the computer instruction is configured to be executed by a processor to implement the aforementioned path tracking control method.
In the embodiments provided herein, it should be understood that the disclosed devices and methods may also be realized in other ways. The device embodiments described above are merely schematic. For example, the flow chart and the block diagram in the accompanying drawings show the architecture, functionality, and operation of possible implementations of devices, methods, and computer program products according to a plurality of embodiments of the present application. In this regard, each box in the flow chart or the block diagram may represent a module, a program segment, or a portion of codes, which contains one or more executable instructions for implementing a prescribed logical function. It should also be noted that in some implementations as substitutions, the functions labeled in the boxes may also occur in a different order than those labeled in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or in reverse order, depending on the involved function. Moreover, each box in the block diagram and/or flowchart, and combinations of boxes in the block diagram and/or flowchart, may be implemented with a specialized hardware-based system that performs the specified function or action, or may be implemented with a combination of specialized hardware and computer instructions.
In addition, the various function modules in various embodiments of the present application may be integrated together to form a separate part, or the individual modules may stand alone, or two or more modules may be integrated to form a separate part.
The functions may be stored in a computer-readable storage medium if implemented as software function modules and sold or used as a separate product. Based on this, the technical solutions of the present application may be embodied in the form of a software product, which is essentially or in part a contribution to the prior art, or part of the technical solution may be embodied in the form of a software product. The computer program product is stored in a storage medium, and includes a series of instructions to make a computer device (a personal computer, a server, or a network device, etc.) to carry out all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium can store program codes, and can be a USB flash drive, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM), a diskette or a compact disc.
Described above are merely various embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions within the scope of the technology disclosed in the present application can be easily obtained by one of ordinary skilled in the art, and shall be included in the scope of protection of the present application. Therefore, the scope of protection of the present application shall be defined by the claims.
Number | Date | Country | Kind |
---|---|---|---|
202211509662.2 | Nov 2022 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2023/118321, filed on Sep. 12, 2023, which claims the benefit of priority from Chinese Patent Application No. 202211509662.2, filed on Nov. 29, 2022. The content of the aforementioned application, including any intervening amendments thereto, is incorporated herein by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
5742917 | Matsuno | Apr 1998 | A |
20030163237 | Kim | Aug 2003 | A1 |
20100211256 | Takenaka | Aug 2010 | A1 |
20170291638 | Gupta | Oct 2017 | A1 |
20210188252 | Lu | Jun 2021 | A1 |
20210213935 | Lu | Jul 2021 | A1 |
20220185293 | Choi | Jun 2022 | A1 |
20220379893 | Li | Dec 2022 | A1 |
Number | Date | Country |
---|---|---|
109795502 | May 2019 | CN |
110979303 | Apr 2020 | CN |
110979304 | Apr 2020 | CN |
111923908 | Nov 2020 | CN |
112440979 | Mar 2021 | CN |
112572410 | Mar 2021 | CN |
112606826 | Apr 2021 | CN |
112644457 | Apr 2021 | CN |
112793560 | May 2021 | CN |
113320542 | Aug 2021 | CN |
114454871 | May 2022 | CN |
114572191 | Jun 2022 | CN |
114734983 | Jul 2022 | CN |
114802200 | Jul 2022 | CN |
115805939 | Mar 2023 | CN |
3805057 | Apr 2021 | EP |
101558761 | Oct 2015 | KR |
Entry |
---|
Mingyang Wu et al., “Yaw moment control of electric vehicles based on model predictive theory using Laguerre functions”, Journal of Chongqing University, Jan. 15, 2018, vol. 41, No. 1, pp. 61-69. |
Yihu Wu et al., “A Simulation of Fuzzy Control to Improve Vehicle Yaw Stability Combined Yaw Moment Control and Active Front Steering”, Computing Technology and Automation, Dec. 15, 2007, vol. 26, No. 4, pp. 34-40. |
Long Chen et al., “Stable Tracking Control of Autonomous Vehicles at Extreme Conditions”, Automotive Engineering, Aug. 25, 2020, vol. 42, No. 8, pp. 1016-1026. |
Number | Date | Country | |
---|---|---|---|
20240253604 A1 | Aug 2024 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2023/118321 | Sep 2023 | WO |
Child | 18625974 | US |