Trajectory tracking and transverse stability control method and device for electric vehicle and storage medium

By combining deep reinforcement learning with the Stanley and DRL methods, the front wheel angle and additional yaw moment control quantities are calculated, and tire adhesion utilization is optimized to solve the collaborative problem in trajectory tracking and lateral stability control of distributed drive electric vehicles, and improve Improve the system's robustness and fault tolerance.

CN118560458APending Publication Date: 2024-08-30GUANGXI UNIV
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410667287.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology has collaborative control problems in the trajectory tracking and lateral stability control of distributed drive electric vehicles. It is difficult to balance trajectory tracking accuracy and lateral stability, and the control system has insufficient robustness and fault tolerance.

Method used

The deep reinforcement learning method is combined with Stanley rule control and DRL optimization control to calculate the expected vehicle center of mass side slip angle and yaw angular velocity by obtaining vehicle sensor information and reference trajectories. The Stanley algorithm and DRL algorithm are used to calculate the front wheel rotation angle and additional yaw moment. Control the amount and perform torque distribution through an optimal distribution algorithm that minimizes tire adhesion utilization.

Benefits of technology

The trajectory tracking accuracy and lateral stability are improved, the robustness and fault tolerance of the control system are enhanced, and better tracking performance and lateral stability are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560458A
    Figure CN118560458A
Patent Text Reader

Abstract

The invention discloses a trajectory tracking and transverse stability integrated control method and device for an electric vehicle and a storage medium. The method comprises the steps that S1, vehicle-mounted sensor information and a reference trajectory of the distributed driving electric vehicle are obtained; s2, performing trajectory tracking through vehicle-mounted sensor information and a reference trajectory by adopting a Stanley algorithm to obtain an expected front wheel turning angle; s3, a DRL algorithm is adopted to obtain a corresponding reward through the environment information to update a control strategy, and additional yaw moment control quantity output is obtained; and S4, carrying out distribution calculation on the additional yawing moment control quantity through an optimal distribution algorithm for minimizing the tire attachment utilization rate to obtain the driving torque of each hub motor at the current moment. According to the invention, integrated control of trajectory tracking and transverse stability of the distributed driving electric vehicle is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electric vehicles, and in particular relates to a trajectory tracking and lateral stability integrated control method, device and storage medium for an electric vehicle. Background Art

[0002] In order to give full play to the advantages of distributed drive and enable the chassis dynamics control system to work in coordination and maximize its working efficiency, designing an effective stability control method has become the focus of research. Based on the different directions of the influence of each control function on vehicle dynamics, vehicle stability control can be divided into three categories: longitudinal dynamic control (along the longitudinal axis of the vehicle body, mainly including the drive and braking subsystems), vertical dynamic control (along the direction perpendicular to the earth, mainly including the suspension subsystem), and lateral dynamic control (along the direction perpendicular to the longitudinal and vertical planes, including the steering subsystem). Longitudinal stability control is mainly achieved through traction control (TCS), drive anti-skid control (ASR), anti-lock braking control (ABS) and other technologies. Direct yaw moment control (DYC) and active front steering control (AFS) are common methods for vehicle lateral (yaw) stability. Traditional DYC requires the ABS system to apply different braking forces to the wheels on both sides, thereby forming a direct yaw moment acting on the vehicle body to achieve yaw stability control. Active suspension control (AS) and anti-roll control (ARC) have a strong influence on the vertical and lateral motion of the vehicle respectively.

[0003] With the continuous maturity of steer-by-wire, drive-by-wire and brake-by-wire technologies, the theory and technology of chassis integrated dynamics control are developing rapidly, and the dynamic control of autonomous vehicles is gradually developing towards integrated control. In order to further improve the dynamic control effect of autonomous vehicles, it is necessary to consider the coupling characteristics of the vehicle's lateral, longitudinal and vertical motions. The literature proposes a coordinated control strategy for the longitudinal and lateral stability of AFS and DYC based on the LQR method. This method establishes a functional relationship between the tire cornering stiffness and the road adhesion coefficient, and divides the working range of the two subsystems by establishing a phase plane through the center of mass slip angle-center of mass slip angular velocity. Under the action of tire-road, there is also a coupling effect of control variables between lateral stability and roll stability. The literature adopts a centralized control framework to design an MPC controller that considers lateral, longitudinal and roll, and designs a variable weight coefficient based on the rollover index to achieve coordination of various objectives. Due to the strong coupling of the vehicle's directional motion, if only one of them is controlled separately, it is difficult to take into account the overall driving effect. Therefore, it is necessary to further study the multi-task and multi-objective collaborative control problem for the distributed drive chassis domain controller. However, in the collaborative control process, there will inevitably be conflicts between the controls for different goals, so it is necessary to conduct in-depth discussions on the collaborative control methods between the goals. The current research on solving the collaborative control problem mainly includes distributed control architecture and hierarchical control architecture. Distributed control designs multiple controllers for multiple tasks and goals, and uses the threshold method established based on the designed stability parameters to switch the current working controller, thereby switching the control target to achieve collaborative control. The hierarchical control framework designs multi-level controllers, and its control instructions become more and more detailed from top to bottom, and the feedback information becomes more and more refined from bottom to top. The monitoring agencies at each level have a subordinate relationship, so the hierarchical control architecture is most widely used in chassis domain control.

[0004] In recent years, the coordinated control of trajectory tracking and stability of four-wheel independent drive vehicles has also attracted the attention of researchers. The literature designs an upper-level MPC controller for four-wheel independent drive vehicles with lateral position deviation and heading deviation as output, front wheel angle and additional yaw moment as control variables, and designs a lower-level tire force distribution control law to distribute the additional yaw moment. Compared with the joint controller using PID upper-level trajectory tracking control and LQR lower-level torque distribution, it achieves higher lateral position and heading angle tracking accuracy. Chen Long's team at Jiangsu University in China proposed a trajectory tracking control method based on nonlinear model predictive control (NMPC) for four-wheel drive-front-wheel steering intelligent vehicles. Using a hierarchical control method, the upper-level controller calculates the expected longitudinal force, lateral force and yaw moment based on NMPC, and the lower-level controller solves the optimal distribution of four-wheel tire forces based on the obstacle function method. Under large curvature turning conditions, it is proved that the proposed longitudinal and lateral comprehensive trajectory tracking control method has improved tracking accuracy and driving stability. The literature addresses the problem of cumulative error of the prediction model in the prediction time domain by constructing a consistency optimization problem, constructing a time domain decomposition and update solution method for the MPC optimization problem, and improving the accuracy of the prediction model and the control effect by applying a four-degree-of-freedom nonlinear vehicle dynamics model. By comprehensively considering the accuracy of the trajectory tracking of the distributed drive vehicle and the lateral, yaw, and roll stability, a hierarchical control structure was established to achieve the trajectory tracking and stability coordinated control of the distributed drive electric bus.

[0005] In order to address the limitations of existing methods, the present invention aims to make full use of model-free deep reinforcement learning methods to improve the effectiveness and robustness of the control process. The inventors try to combine a hybrid Stanley-based rule control method with a DRL-based optimization control method to improve training efficiency; and use a deep reinforcement learning (DRL) method that simultaneously considers trajectory tracking accuracy and lateral stability to improve the effectiveness and robustness of the integrated control strategy. Summary of the invention

[0006] In order to address the limitations of the above-mentioned existing methods, the present invention provides a trajectory tracking and lateral stability integrated control method, device, and storage medium for an electric vehicle, aiming to make full use of a model-free deep reinforcement learning method to improve the effectiveness and robustness in the control process, and adopt a hybrid Stanley-based rule control method and a DRL-based optimization control method to improve the training efficiency; a deep reinforcement learning (DRL) method that simultaneously considers trajectory tracking accuracy and lateral stability is adopted to improve the effectiveness and robustness of the integrated control strategy, so as to solve the trajectory tracking and lateral stability integrated control problem of distributed drive electric vehicles.

[0007] In order to achieve the above object, the specific scheme of the present invention is:

[0008] An integrated control method for trajectory tracking and lateral stability of an electric vehicle comprises the following steps:

[0009] S1, obtaining the on-board sensor information and reference trajectory of the distributed drive electric vehicle;

[0010] S2, calculating the expected vehicle center of mass sideslip angle and the expected yaw rate, and calculating the lateral error, heading angle error, the difference between the expected vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the expected yaw rate and the actual yaw rate between the current vehicle and the reference trajectory based on the vehicle-mounted sensor information and the reference trajectory in step S1;

[0011] S3, using the Stanley algorithm to calculate the desired front wheel steering angle control amount through the lateral error and heading angle error described in step S2; using the DRL algorithm to obtain the additional yaw moment control amount through the environmental information of the lateral error, heading angle error, the difference between the desired vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the desired yaw angular velocity and the actual yaw angular velocity between the vehicle at the current moment and the reference trajectory described in step S2, and update the control strategy according to the corresponding reward;

[0012] S4, the additional yaw moment control amount of step S3 is distributed and calculated by using a QP algorithm for optimizing distribution with the tire adhesion utilization minimized, so as to obtain the current moment torque of each wheel.

[0013] Furthermore, the calculation formula of the desired vehicle center of mass sideslip angle and the desired yaw rate in step S2 is as follows:

[0014]

[0015] In the formula, v x is the longitudinal velocity of the vehicle; rd and β rd are the expected values ​​of the vehicle's center of mass sideslip angle and yaw rate respectively; K is the stability coefficient; δ f represents the desired front wheel steering angle control amount; m is the vehicle mass; l f and l r C is the distance from the front and rear axles of the vehicle to the center of mass; f and C r is the lateral stiffness of the front and rear axles of the vehicle; L is the length from the center of the front axle to the center of the rear axle of the vehicle.

[0016] Furthermore, the calculation formula of the desired front wheel steering angle control amount in step S3 is as follows:

[0017]

[0018] In the formula, δ f represents the desired front wheel steering angle control amount; ey represents the lateral distance between the vehicle center and the reference trajectory; ψ e represents the heading angle error between the vehicle heading angle and the centerline of the reference trajectory; k represents the adjustable hyperparameter of the Stanley algorithm; v represents the longitudinal vehicle speed.

[0019] Furthermore, the calculation formula of the additional yaw moment control amount in step S3 is as follows:

[0020]

[0021] a t ={ΔM z}

[0022] In the formula, ΔM z represents the additional yaw moment control amount; is the actor network θ in the reinforcement learning process μ′ Calculate the current state s t The action under the load is expressed as the additional yaw moment control quantity; ξ is the added noise interference; θ μ′ It is the actor network.

[0023] Furthermore, the reward formula in step S3 is as follows:

[0024]

[0025] In the formula, x(t)=[e y (t);ψ e (t); Δβ(t); Δγ(t)] is the vehicle state, Q is the weight matrix of control performance; in order to reduce the change of control quantity, u(t)=ΔM z Add rewards, and R is the weight matrix of the control amount.

[0026] Furthermore, the additional yaw moment control amount in step S3 is distributed and calculated by the QP algorithm of optimal distribution with the tire adhesion utilization minimized, and the formula is as follows:

[0027]

[0028] Where J represents the objective function; u = [T fl T fr T rl T rr ] T is the optimization vector of the QP controller, which represents the torque of the four wheels at the current moment; is the weight matrix of the optimization vector; ζ=diag{ζ1,ζ2} is the weight matrix, ζ1 and ζ2 are the additional yaw moment control amount ΔM z and the longitudinal required driving torque Ttot The weight coefficient of s is the additional yaw moment control value ΔM z and the longitudinal required driving torque T tot The expected value of , K is the gain matrix.

[0029] A fault-tolerant control device for an electric vehicle actuator, the device comprising:

[0030] An acquisition module, used to acquire on-board sensor information and reference trajectory of a distributed drive electric vehicle;

[0031] A tracking module is used to track the vehicle using the Stanley algorithm through the vehicle sensor information and the reference trajectory to obtain the desired front wheel steering angle control value;

[0032] A stability control module is used to perform lateral stability control by using a DRL algorithm through environmental information such as a lateral error between the current moment vehicle and a reference trajectory, a heading angle error, a difference between a desired vehicle center of mass sideslip angle and an actual vehicle center of mass sideslip angle, and a difference between a desired yaw angular velocity and an actual yaw angular velocity, to obtain a desired additional yaw moment control amount;

[0033] A calculation module is used to calculate the additional yaw moment control amount based on the determination of the vehicle-mounted sensor information and the QP algorithm of the optimal allocation based on the minimization of the tire adhesion utilization rate, so as to obtain the current moment driving torque of each wheel;

[0034] The control module is used to control the output torque of the hub motor of the distributed drive electric vehicle according to the current torque of each wheel.

[0035] An application of the trajectory tracking and lateral stability integrated control method or the electric vehicle actuator fault-tolerant control device in a distributed drive electric vehicle with front-wheel drive steering.

[0036] A computer-readable storage medium stores instructions, which are loaded and executed by a processor to implement the electric vehicle trajectory tracking and lateral stability integrated control method as described.

[0037] A distributed drive electric vehicle comprises a processor and a memory, wherein instructions are stored in the memory and the instructions are loaded and executed by the processor to implement the electric vehicle trajectory tracking and lateral stability integrated control method as described.

[0038] Advantages of the present invention

[0039] 1. The electric vehicle trajectory tracking and lateral stability integrated control method of the present invention calculates the expected front wheel angle control amount according to the lateral error and heading angle error of the front axle center from the nearest path point during the distributed drive electric vehicle trajectory tracking control process by the Stanley method; at the same time, the DRL algorithm is used to obtain the additional yaw moment control amount by comprehensively considering the trajectory tracking accuracy and stability performance indicators according to the environmental information; during the learning process of the DRL algorithm, the agent obtains the expected front wheel angle control amount according to the current environmental information and the currently learned strategy, and updates the strategy according to the reward obtained, and obtains the optimal control strategy through continuous iteration. The Stanley method, a rule control method, is combined with the DRL method to improve the learning efficiency in the DRL learning process. Finally, the additional yaw moment control amount is calculated based on the optimization allocation algorithm based on the minimization of tire adhesion utilization to obtain the current moment torque of each wheel. Thereby, the distributed drive electric vehicle has better tracking performance and lateral stability during the trajectory tracking process, and the fault tolerance and robustness of the control system are effectively improved through the integrated control method of the hierarchical architecture.

[0040] 2. The present invention uses a rule control method based on the Stanley method as a benchmark AFS method to improve the DRL training efficiency; at the same time, trajectory tracking accuracy and lateral stability are considered as the state and reward of the DRL method to improve the controller performance; and the environmental characteristics are randomized during the training process to improve the controller robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 The present invention is a flow chart of the integrated control method of trajectory tracking and lateral stability of an electric vehicle.

[0043] Figure 2 It is a schematic diagram of the trajectory tracking motion of the vehicle of the present invention.

[0044] Figure 3 Schematic diagram of the seven-degree-of-freedom vehicle model of the present invention.

[0045] Figure 4 It is a schematic diagram of the integrated control method of trajectory tracking and lateral stability of a distributed drive electric vehicle of the present invention.

[0046] Figure 5The invention discloses a lateral stability control strategy framework of a distributed drive electric vehicle based on a TD3 algorithm.

[0047] Figure 6 It is a reward comparison diagram of the training process of the method of the present invention under the DLC working condition; Figure (a) represents the training reward diagram of the hybrid DRL method and the pure DRL method; Figure (b) is the reward curve diagram of the S-TD3 and S-DDPG algorithms.

[0048] Figure 7 The figures are the experimental results of the method of the present invention on different road adhesion coefficients; Figure (a) shows the tracking effect of the reference trajectory under the S-TD3 and NC methods at different adhesion rates; Figures (b), (c), and (d) respectively show the yaw phase diagrams of the S-TD3 and NC methods at different adhesion rates; Figures (e), (f), and (g) show that the method S-TD3 proposed in the present application shows a smaller lateral acceleration diagram.

[0049] Figure 8 These are experimental result diagrams of different vehicle speeds provided by the present invention: Figure (a) shows the tracking effect diagram of the reference trajectory under the S-TD3 and NC methods at different speeds; Figures (b), (c), and (d) show the yaw phase diagrams of the S-TD3 and NC methods at different speeds; Figures (e), (f), and (g) show that the method S-TD3 proposed in the present application shows a more stable lateral acceleration diagram.

[0050] Fig. 9 It is a graph of experimental results under extreme working conditions of the present invention; wherein, (a) shows the tracking trajectories of the control method of the present invention and the S-MPC method; (b) and (c) show the output graphs of the controller for the front wheel steering angle and the external yaw moment; (d) is a phase diagram of the center of mass sideslip angle-yaw rate of the control method of the present invention and the S-MPC method; and (e) is a diagram of the lateral acceleration of the method of the present invention.

[0051] Fig.10 (a) and Fig.10 (b) are torque distribution diagrams of this specific embodiment and the S-MPC method respectively.

[0052] Fig.11 The test results of the real vehicle of the present invention are as follows: (a) is the 4WID-AEVs real vehicle test platform; (b) is the vehicle speed diagram; (c) is the front steering angle diagram; (d) is the external yaw moment diagram; and (e) is the tire torque output diagram.

[0053] Fig.12 It is a structural block diagram of the actuator fault-tolerant control device of the electric vehicle of the present invention. DETAILED DESCRIPTION

[0054] The present invention is further explained below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that this specific embodiment is not intended to limit the scope of rights of the present invention.

[0055] like Figures 1 to 12 As shown, this specific embodiment provides an integrated control method for electric vehicle trajectory tracking and lateral stability, which is applied to a distributed drive electric vehicle using front-wheel drive steering, and includes the following steps:

[0056] S1, obtaining the on-board sensor information and reference trajectory of the distributed drive electric vehicle;

[0057] Specifically, a plurality of on-board sensors are configured on the distributed drive electric vehicle, and information is collected through the plurality of on-board sensors to obtain on-board sensor information. The on-board sensor information includes the longitudinal speed of the vehicle, the lateral speed of the vehicle, the yaw rate of the vehicle, the lateral stiffness of the front and rear axles of the vehicle, the front wheel turning angle, the side slip angle of the center of mass of the vehicle, the moment of inertia of the vehicle, the lateral error between the center of mass of the vehicle and the reference trajectory, the heading angle error between the vehicle heading angle and the center line of the trajectory, the side slip angle of the center of mass of the vehicle, and the yaw rate. The reference trajectory is a pre-set trajectory, and the distributed drive electric vehicle needs to travel according to the reference trajectory.

[0058] S2, calculating the expected vehicle center of mass sideslip angle and expected yaw rate during the steering process according to the vehicle bicycle model formula, and calculating the lateral error, heading angle error, the difference between the expected vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the expected yaw rate and the actual yaw rate between the vehicle and the reference trajectory at the current moment according to the on-board sensor information and the reference trajectory in step S1;

[0059] The vehicle trajectory tracking process can be summarized as a Markov decision process (MDP). In this process, the mechanism is based on the current state information s t Make a decision and take action a t After the environment generates feedback based on this action, the mechanism obtains new state information s t+1 and reward r t+1 , and update the strategies in turn.

[0060] The state information can be defined as two parts: one is the trajectory tracking accuracy index including the lateral error e y and heading angle error ψ e , another lateral stability index includes the vehicle center of mass sideslip angle β and yaw rate γ. The action is defined as the additional yaw moment control amount ΔM z Therefore, the additional yaw moment control amount ΔM z The formula can be expressed in the reinforcement learning process as:

[0061]

[0062] In formula (1), Δβ=β des -β represents the difference between the actual value and the expected value of the vehicle's center of mass side slip angle, and ∫Δβ is the integral of the difference between the actual value and the expected value of the vehicle's center of mass side slip angle, Δγ=γ des -γ represents the difference between the actual value and the expected value of the yaw rate, and ∫Δγ is the integral of the difference between the actual value and the expected value of the yaw rate.

[0063] The expected values ​​of the vehicle's center of mass sideslip angle and yaw rate can be calculated using the vehicle bicycle model:

[0064]

[0065] In formula (2), v x is the longitudinal velocity of the vehicle; rd and β rd are the expected values ​​of the vehicle's center of mass sideslip angle and yaw rate respectively; K is the stability coefficient; δ f represents the desired front wheel steering angle control amount; m is the vehicle mass; l f and l r C is the distance from the front and rear axles of the vehicle to the center of mass; f and C r is the lateral stiffness of the front and rear axles of the vehicle; L is the length from the center of the front axle to the center of the rear axle. K is the stability coefficient and can be expressed as:

[0066]

[0067] In formula (3), C f and C r is the lateral stiffness of the front and rear axles of the vehicle; m is the vehicle mass; L is the length from the center of the front axle to the center of the rear axle; l f and l r It is the distance from the front and rear axles of the vehicle to the center of mass.

[0068] At the same time, since the maximum lateral acceleration of the vehicle is limited by the road adhesion coefficient, the desired vehicle center of mass sideslip angle and the desired yaw rate must satisfy:

[0069]

[0070] Here μ is the road adhesion coefficient; γ dmax is the maximum value of the center of mass sideslip angle obtained by constraint; β dmax is the maximum yaw angular velocity obtained by constraint; g is the gravitational acceleration; v x is the longitudinal velocity of the vehicle; l f and l ris the distance from the front and rear axles of the vehicle to the center of mass; L is the length from the center of the front axle to the center of the rear axle; C f and C r is the lateral stiffness of the front and rear axles of the vehicle.

[0071] In summary, the desired vehicle center of mass sideslip angle and the desired yaw rate can be expressed as:

[0072]

[0073] In formula (5), γ des is the desired center of mass sideslip angle selected; γ d is the expected sideslip angle of the center of mass calculated by the model; γ dmax is the maximum value of the center of mass sideslip angle obtained by constraint; β des is the desired yaw rate selected; β d is the expected yaw rate calculated by the model; β dmax is the maximum yaw rate obtained by constraint.

[0074] S3, using the Stanley algorithm to calculate the desired front wheel steering angle control amount through the lateral error and heading angle error described in step S2; using the DRL algorithm to obtain the additional yaw moment control amount through the environmental information of the lateral error, heading angle error, the difference between the desired vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the desired yaw angular velocity and the actual yaw angular velocity between the vehicle at the current moment and the reference trajectory described in step S2, and update the control strategy according to the corresponding reward;

[0075] The Stanley algorithm is a trajectory tracking algorithm for unmanned vehicles developed by Stanford University. Its principle is to calculate the desired front wheel steering angle control value through feedback control based on the lateral error and heading angle error between the center of the front axle and the nearest path point.

[0076] Specifically, the Stanley trajectory tracking calculation formula is created based on the vehicle sensor information and the reference trajectory, including the following steps:

[0077] The trajectory tracking model is constructed based on the vehicle sensor information and the reference trajectory (see Figure 2 ), the lateral distance between the vehicle center and the reference trajectory is defined as e y , the heading angle error between the vehicle heading angle and the reference trajectory centerline is defined as ψ e , and their derivatives can be expressed as formula (6).

[0078]

[0079] In formula (6), v y is the lateral velocity of the vehicle, vx is the longitudinal velocity of the vehicle, β is the sideslip angle of the vehicle center of mass, γ is the yaw rate of the vehicle, and ρ is the radian of the reference trajectory. e The angles of and β are very small and close to 0, so it can be deduced that cos(ψ e )≈1, sin(ψ e )≈ψ e And tan(β)≈β. So based on β≈v y / v x The trajectory tracking model can be obtained.

[0080] According to Stanley's formula, the expected front wheel steering angle control amount can be calculated as:

[0081]

[0082] In formula (7), δ f represents the desired front wheel steering angle control amount; e y represents the lateral distance between the vehicle center and the reference trajectory; ψ e represents the heading angle error between the vehicle heading angle and the centerline of the reference trajectory; k represents the adjustable hyperparameter of the Stanley algorithm; v represents the longitudinal vehicle speed.

[0083] The DRL (Deep Reinforcement Learning) algorithm obtains rewards through continuous interaction between the intelligent agent and the environment (i.e. taking actions), thereby continuously optimizing its own action strategy in the hope of maximizing its long-term benefits (the sum of rewards).

[0084] The specific steps of obtaining the additional yaw moment control amount include:

[0085] Establishing a vehicle dynamics model: To solve the integrated control problem in distributed drive electric vehicles, it is necessary to build a control-oriented vehicle dynamics model that ignores forward tilt and roll, only considers front wheel steering, and each wheel hub is equipped with a hub motor (see Figure 3 ):

[0086]

[0087] In formula (8), m is the vehicle mass, l f and l r is the distance from the front and rear axles of the vehicle to the center of mass, I z is the vehicle's moment of inertia around the z axis, v y Indicates the lateral velocity of the vehicle; v x Indicates the longitudinal speed of the vehicle; F y Indicates the total lateral force on the vehicle; F yf Indicates the total lateral force on the front wheels of the vehicle; F yrIndicates the total lateral force on the rear wheels of the vehicle; M z represents the vehicle yaw moment; Represents the vehicle's yaw angular acceleration; these parameters can be obtained from the on-board sensor information.

[0088] In formula (8), F yf and F yr It can be expressed as:

[0089]

[0090] In formula (9), C f and C r F is the cornering stiffness of the front and rear axles of the vehicle; yfl Indicates the lateral force on the left front wheel of the vehicle; F yfr Indicates the lateral force on the right front wheel of the vehicle; F yrl Indicates the lateral force on the left rear wheel of the vehicle; F yrr Indicates the lateral force on the right rear wheel of the vehicle; α f Indicates the side slip angle of the front tire; α r Indicates the side slip angle of the rear tire.

[0091] In formula (9), α f and α r represents the side slip angle of the front and rear tires, which can be expressed as:

[0092]

[0093] In formula (10), β represents the vehicle center of mass sideslip angle; l f and l r is the distance from the front and rear axles of the vehicle to the center of mass; δ f represents the desired front wheel steering angle control amount; v x Indicates the longitudinal speed of the vehicle;

[0094] Then the vehicle lateral kinematics formula is written as:

[0095]

[0096] In formula (11), m is the vehicle mass; v y is the lateral velocity of the vehicle; v x is the longitudinal velocity of the vehicle; C f and C r is the cornering stiffness of the front and rear axles of the vehicle; γ is the yaw rate of the vehicle; represents the vehicle's yaw acceleration; β represents the vehicle's center of mass sideslip angle; l f and l r ΔM is the distance from the front and rear axles of the vehicle to the center of mass; zis the additional yaw moment control amount; δ is the front wheel steering angle of the vehicle, and the additional yaw moment control amount ΔM z It can be generated by the difference in longitudinal force between the left and right tires and can be expressed as:

[0097]

[0098] In formula (12), ΔM z Indicates the additional yaw moment control amount; d s Indicates the vehicle wheelbase; F xfl Indicates the longitudinal force on the left wheel of the front axle; F xfr Indicates the longitudinal force on the left wheel of the front axle; F xrl Indicates the longitudinal force on the left wheel of the rear axle; F xrr Indicates the longitudinal force on the right wheel of the rear axle.

[0099] The tire longitudinal force can be calculated as:

[0100]

[0101] Here F xfl Indicates the longitudinal force on the left wheel of the front axle; F xfr Indicates the longitudinal force on the left wheel of the front axle; F xrl Indicates the longitudinal force on the left wheel of the rear axle; F xrr represents the longitudinal force on the right wheel of the rear axle; T is the driving torque of the motor of each tire hub, r w is the tire radius.

[0102] In this specific embodiment, a DRL controller using a double-delayed deep deterministic policy gradient algorithm (TD3) is used to output the additional yaw moment control variable. Figure 4 .

[0103] When solving the lateral stability control problem involved in this specific embodiment, it can be abstracted into a Markov decision process (MDP) problem, which includes elements such as a state set, an action set, a state transfer function, and a reward.

[0104] During the training process, the upper-level lateral stability controller is used as a learning agent to output additional yaw torque control commands in real time and pass them to the lower-level torque distribution controller. After receiving the torque control commands of each wheel motor drive from the torque distribution controller, the four-wheel drive electric vehicle updates the vehicle state information. During each iteration, the MDP generates new rewards based on the real-time state of the vehicle. Through multiple iterations, the agent continuously updates its network parameters and strategies to obtain higher reward values ​​and thus optimize the performance of the controller.

[0105] In general, the Markov decision process can be represented as a five-element structure, namely MDP = {S, A, P, R, λ}. In this structure, S represents the state set of MDP, A represents the action set of MDP, P represents the state transfer function, R represents the reward, and λ represents the discount factor.

[0106] In the DRL algorithm proposed in this specific embodiment, the state set is the real-time state information of the vehicle, including the lateral error, heading angle error, center of mass sideslip angle and yaw rate, etc. during the vehicle trajectory tracking process, as well as their differential and integral functions. The action set is the additional yaw moment control command output by the controller. The state set and action set of the system are respectively expressed as follows:

[0107]

[0108] In formula (14), e y and ψ e Represents the lateral error and heading angle error during vehicle trajectory tracking, and ∫e y Represent their differential and integral forms respectively; β represents the vehicle's center of mass sideslip angle; Δγ represents the difference between the expected yaw rate and the actual value. ΔM z Represents the additional yaw moment control amount.

[0109] In the reinforcement learning algorithm, the set benefit reward is closely related to the final control effect. In order to improve the lateral stability control performance, the vehicle trajectory tracking accuracy and lateral stability control are included in the reward function. At the same time, in order to ensure the smooth output of the additional yaw moment control amount, it is necessary to limit the difference in the control command before and after.

[0110] r t =(-(x(t) T ·Q·x(t))-(Δu(t) T ·R·Δu(t)) (15)

[0111] In formula (15), x(t) = [e y (t);ψ e (t); β(t); Δγ(t)] represents the vehicle state information, Q is the control weight matrix; Δu(t) represents the difference between the control command before and after the additional yaw moment control quantity, and R is the action weight matrix.

[0112] In each iteration, the discounted reward is a comprehensive consideration of all the cumulative rewards from the beginning of training to a certain end point in the future. In order to reflect the depreciation of future rewards over time, we introduced a discount factor and constructed a mathematical expression for the discounted reward based on it:

[0113] U t =rt +λ·r t+1 +λ 2 ·r t+2 +…+λ k ·r t+k =r t +λ·U t+1 (16)

[0114] In formula (16), r t represents the reward value at time t, r t+1 、r t+2 、r t+k Same as above and so on; U t+1 represents the cumulative collection at time t+1; λ represents the weight coefficient of the reward;

[0115] The DRL algorithm used in this specific embodiment is the TD3 algorithm. The TD3 algorithm is an improved version of the DDPG algorithm. Both use a neural network with an actor-critic structure to train the agent. In this structure, the critic network is responsible for estimating the Q-value function and evaluating the performance of a given action, which is similar to the DQN algorithm; while the actor network is used to estimate the policy π function, which directly determines the yaw torque control command at the next moment. The DDPG algorithm may overestimate the Q-value function during training, resulting in suboptimal strategies. In order to reduce the overestimation of the Q-value function, the TD3 algorithm has been modified as follows:

[0116] (1) Dual critic networks: The TD3 algorithm learns two identical critic networks and uses the minimum function for estimation during the policy update process, thereby avoiding overestimation of the Q-value function.

[0117] (2) Target-policy smoothing: When updating the policy, small noise is added to the target action, making it less likely that the policy will exploit actions with high Q-value estimates.

[0118] (3) Delayed actor network updates: The update frequency of the actor network is lower than that of the critic network. This is done to avoid oscillations in the actor network caused by unstable critic network updates.

[0119] The steps of each training step in the TD3 algorithm are as follows: when passing through the actor network θ μ′ Calculate the current state s t Next action , a noise interference ξ is added to the action output to explore the optimal action as extensively as possible (e.g. Figure 5, step 1). The reason for adding noise is that the TD3 agent tends to choose the deterministic action output with the highest probability. This tendency may reduce the willingness to explore unknown actions, making the learning process prone to fall into the dilemma of local optimality.

[0120]

[0121] In order to prevent noise from causing extreme or unreasonable actions in the action output, the noise needs to be properly limited.

[0122]

[0123] The “clip” character indicates a clipping operation, which means that the noise needs to be limited to a certain range, that is, [-c,c].

[0124] Distributed drive electric vehicles execute the control commands output by the integrated control strategy and obtain the next state s t+1 Then, the experience (s t ,a t ,r,s t+1 ) is stored in the experience pool (such as Figure 5 , step 2) for subsequent use. Next, a small number of experience samples (s t ,a t ,r,s t+1 ) i , and pass these samples to the actor network and the critic network so that the network parameters can be updated and optimized in a timely manner (such as Figure 5 , step 3).

[0125] The TD3 algorithm cleverly uses two sets of critic networks ( and ) to estimate the Q value respectively, and only the smallest Q value is selected to update the target policy value. The two networks use different initial values ​​when initialized, and in each iteration, only the smallest Q value is used to update the target policy. This mechanism helps to guide the next estimated Q value closer to the actual value, thereby effectively solving the problem of cumulative error that may occur in the TD target value (such as Figure 5 , step 4).

[0126]

[0127] Among them, (·') represents the target network parameters.

[0128] By minimizing the loss function To update the two critic network parameters (such as Figure 5 , steps 5 and 6).

[0129]

[0130] Perform online parameter updates on the critic network by learning the factor α Q to achieve (such as Figure 5 , step 7).

[0131]

[0132] Subsequently, the actor network parameters are updated by following the sampled policy gradient to maximize the expected cumulative discounted reward.

[0133]

[0134] in, represents the gradient of the critic network output to the action calculated by the actor network, and The gradient of the actor network output with respect to the actor network parameters (such as Figure 5 , steps 8 and 9).

[0135] The weight coefficients of the online actor network can also be learned by the factor α μ Update (such as Figure 5 , step 10).

[0136]

[0137] After the weight coefficients of the online network are updated, the weight coefficients of the target network can also be soft-updated by similar means. It is worth emphasizing that in order to ensure the stability of the learning process, the soft update factor should be maintained at a small level, usually satisfying the specific condition 0<τ<<1 (such as Figure 5 , step 11).

[0138]

[0139] S4, calculating the additional yaw moment control amount of step S3 through the optimization objective function of minimizing tire adhesion utilization, and obtaining the current moment torque of each wheel.

[0140] When the sum of the adhesion utilization rates of the tires is minimum, the handling stability of the vehicle is better. Therefore, this specific embodiment sets an optimized QP algorithm based on the goal of minimizing the tire adhesion utilization rate, and reasonably distributes the driving torque of each wheel through the optimized QP algorithm.

[0141] After obtaining the control command of the additional yaw moment control, the lower-level torque distribution controller can be established to distribute the torque. The task of the lower-level torque distribution controller is to solve the optimal torque distribution under multiple constraints to satisfy the additional yaw moment control ΔM. z and the longitudinal required driving torque T tot requirements.

[0142] However, another key factor to consider when it comes to vehicle motion control is tire-road friction. To ensure optimal adhesion, it is important that the tire forces at each tire stay away from the boundaries of the corresponding friction ellipse. To achieve this, an objective optimization function based on minimizing tire adhesion utilization is established.

[0143]

[0144] Where μ is the road adhesion coefficient, F xij 、F yij and F zij They are the longitudinal force, lateral force and vertical load on each wheel.

[0145] The longitudinal force of each wheel of a distributed drive electric vehicle can be controlled independently, but the lateral force is mainly controlled by the steering system. For ease of calculation, the optimization objective function is simplified to

[0146]

[0147] In formula (26), μ is the road adhesion coefficient; F xij 、F yij and F zij are the longitudinal force, lateral force and vertical load on each wheel. In order to solve the torque distribution optimization algorithm, an effective solution must not only meet the requirements of the generalized force and the external yaw moment, but also be subject to the maximum output torque of the hub motor and the road adhesion conditions. Therefore, the constraint condition is

[0148]

[0149] In formula (27), F xfl Indicates the longitudinal force on the left wheel of the front axle; F xfr Indicates the longitudinal force on the left wheel of the front axle; F xrl Indicates the longitudinal force on the left wheel of the rear axle; F xrr represents the longitudinal force on the right wheel of the rear axle; T is the driving torque of the motor of each tire hub, r w is the tire radius; ΔM z is the additional yaw moment control quantity; d sis the vehicle wheelbase. At the same time, the optimization objective function needs to meet the target control torque requirement through the tire longitudinal torque. Quadratic programming (QP) is used to solve the driving torque of each wheel hub motor.

[0150]

[0151] Where u = [T fl T fr T rl T rr ] T is the optimization vector of the QP controller, which represents the driving torque output of each wheel hub motor.

[0152] is the weight matrix of the optimization vector. ζ=diag{ζ1,ζ2} is the weight matrix, ζ1 and ζ2 are the additional yaw moment control amount ΔM z and the longitudinal required driving torque T tot The weight coefficient of s is the additional yaw moment control value ΔM z and the longitudinal required driving torque T tot The expected value of , K is the gain matrix, can be expressed as:

[0153]

[0154] This form of optimal torque distribution problem is a convex quadratic programming problem, and this specific embodiment will use the active set method to solve it.

[0155] In summary, the actuator integrated control method of the electric vehicle provided in this embodiment is applied in the process of trajectory tracking control of the distributed drive electric vehicle. The desired front wheel steering angle control amount is calculated according to the lateral error and heading angle error of the front axle center from the nearest path point by the Stanley method; at the same time, the additional yaw moment control amount is obtained by comprehensively considering the trajectory tracking accuracy and stability performance indicators according to the DRL algorithm based on the environmental information; finally, the additional yaw moment control amount is calculated based on the optimization allocation algorithm that minimizes the tire adhesion utilization rate, and the current moment torque of each wheel is obtained. Thus, the distributed drive electric vehicle has good tracking performance and lateral stability in the process of trajectory tracking, and the fault tolerance and robustness of the control system are effectively improved through the integrated control method of the hierarchical architecture.

[0156] The following is a simulation experiment analysis of the above integrated control method:

[0157] 1. Experimental setup

[0158] Experimental platform: This specific embodiment uses MATLAB / Simulink simulation modeling software for simulation, which verifies the effectiveness of the above-mentioned integrated control method. The decision not to use the high-fidelity CarSim simulation modeling software stems from practical considerations. Specifically, the resource-intensive nature of CarSim, coupled with the iterative learning requirements of DRL, results in an exponentially longer training time to achieve the optimal strategy. Therefore, it is chosen to utilize a high-precision dynamic model of the 4WID-AEV built based on real vehicle data. This model ensures the required simulation accuracy while avoiding the computational burden associated with CarSim, thereby achieving a more efficient and practical DRL training process.

[0159] The training process was carried out with the help of an AMD Ryzen 95900HX and Radeon Graphics CPU@3.3GHz workstation, where the vehicle system and control strategy were built using MATLAB / Simulink.

[0160] Experimental vehicle parameters and operating conditions: The vehicle parameter information used in the experiment is shown in Table 1. A commonly used driving cycle, namely the dual lane change (DLC) maneuver, is used as a test cycle, and its trajectory is expressed in XY coordinates, see formula (30).

[0161] Table 1 Vehicle parameters

[0162]

[0163]

[0164] Benchmark Methods: Three baseline methods are implemented to evaluate the progress of the proposed method. The first baseline involves a pure DRL approach where AFS and DYC are integrated only through DRL. The purpose of this DRL method is to derive the control strategy for the front wheel steering angle and external yaw moment. The second baseline uses only the Stanley method without the DYC controller and is denoted as NC. This baseline is used to study the impact of the DYC controller on the system performance. The third baseline combines the Stanley method with the MPC algorithm as a DYC controller and is labeled as S-MPC. This baseline is specifically designed for comparison with the proposed method.

[0165] 2. DRL training performance

[0166] To demonstrate the adaptability of the proposed hybrid DRL method, we incorporate randomness into the simulated environment during training. At the beginning of each episode, the environment's set vehicle speed is set to a randomly varying value between 30-90 km / h. In addition, at the beginning of each episode, the road adhesion coefficient is also set to a randomly varying value between 0.35-0.85.

[0167] First, the proposed hybrid DRL-based integrated control strategy is evaluated against the pure DRL baseline. As shown in Table 2, a fair comparison can be achieved by using the same hyperparameters. The training reward is Figure 6 As shown in (a), the hybrid DRL method outperforms the pure DRL baseline in terms of learning efficiency and performance. By comparing the reward curves, it can be seen that the hybrid DRL method achieves higher reward values ​​and converges faster than the pure DRL method. These results show that combining a simple rule-based trajectory tracking control module improves the learning efficiency and control performance of DRL. Although having the DRL agent simultaneously learn the front wheel steering angle and the additional lateral yaw moment increases the complexity of the problem, a careful design of the reward function is required to achieve better results.

[0168] Next, the performance of different DRL agents for generating the front wheel steering angle using the StanleyAFS controller is compared while using various DRL methods as the DYC controller. Specifically, a comparison of the DDPG and TD3 algorithms under DLC conditions is implemented, denoted as S-DDPG and S-TD3, respectively. The training results are shown in Figure 6 (b) The reward curves of the S-TD3 and S-DDPG algorithms show that the training process of S-TD3 exhibits greater stability compared to S-DDPG. This highlights the effectiveness of S-TD3 in addressing the delayed update problem in the actor network. Although S-TD3 may take longer to converge, it ultimately achieves a higher average reward after convergence. These findings suggest that the dual critic network in TD3 successfully mitigates the overestimation of Q-values, contributing to its superior performance.

[0169] Table 2. Mechanism hyperparameters

[0170]

[0171] In summary, the proposed hybrid DRL method shows superior performance compared to the pure DRL method, which combines rule-based control with DRL. Therefore, the distributed drive electric vehicle integrated control strategy based on hybrid DRL is selected. In addition, the performance of the S-TD3 algorithm is better than the S-DDPG algorithm and is the preferred algorithm. Therefore, the Stanley method is combined with TD3 as the method proposed in this specific embodiment.

[0172] 3. Test performance evaluation

[0173] The post-trained control policies are tested to evaluate their performance in trajectory tracking, driving stability, adaptability, and robustness. This evaluation aims to further assess the practicality of the proposed hybrid DRL approach.

[0174] Experimental test of different road adhesion coefficients: In this test, we simulated the DLC maneuver under different conditions. The initial and target values ​​of the vehicle longitudinal speed were set to 60km / h, while the road adhesion coefficient was changed to 0.35, 0.55, and 0.85.

[0175] Table 3 presents the numerical analysis results of the lateral error and heading error measured by mean absolute error (MAE) and integrated absolute error (IAE), and shows the details of trajectory tracking, as well as the comparison of vehicle lateral stability indicators under different conditions between the proposed method (S-TD3) and the method without DYC (NC). Without DYC control, the effectiveness of the control gradually decreases as the road adhesion coefficient decreases. However, after introducing DRL-based DYC control, the proposed method improves the accuracy of trajectory tracking control, especially with more significant effects under low adhesion coefficient conditions.

[0176] Table 3 Comparison of different methods under various road adhesion coefficients

[0177]

[0178] It is worth noting that under the condition of a road adhesion coefficient of 0.35, the proposed method reduces the MAE and IAE of the lateral error by 21.94% and 26.8%, respectively. Similarly, for the heading angle error, the MAE and IAE are reduced by 52.9% and 67.8%, respectively. Figure 8 In the phase plane diagrams of the center of mass slip angle-yaw rate shown in (a) to (g), both methods have similar vehicle yaw rate magnitudes, but the proposed method has a smaller center of mass slip angle, which demonstrates its ability to enhance vehicle lateral stability under different road adhesion coefficients. This conclusion is also evident in the figure, where the proposed S-TD3 method exhibits a smaller lateral acceleration. Together, these results demonstrate the robustness of the proposed method trained and evaluated under various road adhesion coefficients.

[0179] Experimental test at different vehicle speeds: In this test, the initial value and target value of the vehicle longitudinal speed were set to 60, 72 and 90 km / h respectively, and the road adhesion coefficient was 0.85.

[0180] Table 4 shows the numerical analysis results of the lateral error and heading error. In addition, the table illustrates the details of trajectory tracking and the comparison between the S-TD3 and NC methods in terms of vehicle yaw stability indicators under different conditions. After the introduction of DYC control, the lateral error during trajectory tracking remains roughly unchanged, while the heading error is significantly reduced. At a vehicle speed of 60 km / h, the IAE and MAE of the proposed method are reduced by 48.62% and 93.99%, respectively, compared with the NC method. Similarly, at a speed of 72 km / h, the proposed method reduces the IAE by 40.62% and the MAE by 26.68% compared with the non-controlled method. Moreover, when the speed reaches 90 km / h, the proposed method demonstrates a 21.6% reduction in IAE and a 7.03% reduction in MAE compared with the non-controlled method. In addition, when checking Figure 8 When the sideslip angle-yaw rate phase plane and lateral acceleration are plotted in (a) to (g), it is clear that as the vehicle speed increases, its lateral stability decreases during the DLC maneuver. It is found that the S-TD3 method significantly improves the vehicle's lateral stability.

[0181] Table 4 Comparison of different methods at various vehicle speeds

[0182]

[0183] Without predicting the operating conditions in advance, the training strategy in DRL, as a model-free control method, improves driving stability and tracking accuracy under different road adhesion coefficients and different speeds. In summary, the above experimental results show that the method has high robustness under different conditions.

[0184] 4. Effectiveness Analysis

[0185] To further emphasize the effectiveness of the proposed strategy, its control performance is compared with the DYC control based on the MPC algorithm in a scenario involving low road adhesion coefficient and high speed. In this test, the initial and target values ​​of the vehicle longitudinal speed are both set to 60 km / h, and the road adhesion coefficient is set to 0.35.

[0186] Fig. 9 The simulation results for a low-adhesion road are shown. Fig. 9 (a) shows the tracking trajectories of the two methods, indicating that both the proposed method and the S-MPC method have high tracking accuracy, but the tracking accuracy of this method is higher. Fig. 9(b) and (c) show the controller outputs for the front wheel steering angle and external yaw moment. It can be observed that the proposed method generates an external lateral yaw moment at 1 second and exhibits a smaller gradient at about 2.5 seconds than the S-MPC method due to the global optimization capability obtained through DRL learning. Therefore, the proposed S-TD3 method shows the smallest front wheel steering angle, demonstrating its superior control performance. In addition, Fig. 9 The β-yaw phase plane in (d) proves that the sideslip angle range of the proposed method and the S-MPC method is similar, but the proposed method shows a relatively smaller vehicle yaw rate, indicating that the proposed method has higher stability during cornering. Fig. 9 As shown in (e), the proposed method achieves a relatively small lateral acceleration, further confirming its stability and control effect. These results show that the proposed method has higher lateral stability compared with the S-MPC method.

[0187] Fig.10 The torque distribution results of each wheel hub motor are shown. It can be observed that both the present specific embodiment and the S-MPC method output the correct driving torque command to each wheel hub motor after passing through the lower layer torque distribution optimization controller.

[0188] In summary, the experimental comparison between DRL and MPC revealed a striking similarity in the control strategies. Both the present specific embodiment and the S-MPC method demonstrated improved trajectory tracking performance and stability, validating the effectiveness of DRL in DYC of four-wheel drive vehicles. Notably, DRL showed superior performance over MPC on some metrics. A key highlight is the inherent nature of DRL as a model-free learning method. This eliminates the need to pre-acquire or predict vehicle dynamics and operating conditions. Instead, DRL continuously refines the control strategy through iterative training, enabling it to adapt to different conditions. In contrast, model-based control methods, while proficient in achieving reliable stability control and accurate trajectory tracking, rely heavily on accurate dynamic models for prediction. We highlight the unique advantages of model-free DRL in distributed drive electric vehicle DYC applications. DRL's ability to dynamically adapt to changing conditions without the need to pre-acquire dynamic information makes it a promising approach to enhance distributed drive electric vehicles.

[0189] 5. Actual vehicle experiment

[0190] In the previous experiment, the effectiveness of the proposed strategy was verified by simulation, which belongs to the software-in-the-loop testing method. The method of this specific embodiment uses a virtual controller to test the effectiveness of the proposed strategy in a virtual vehicle model. However, this method can neither verify the processing speed of the vehicle controller nor the impact of the CAN bus communication cycle on the real-time calculation and control effect of the control strategy. In the upcoming experiment, the proposed strategy will be verified on a real vehicle to verify its effectiveness in a real-world environment.

[0191] The 4WID AEV real vehicle test platform used in this specific embodiment is shown in the figure below. The hardware components include a host (PC), a real-time machine and PIX's Robobus 4WIDAEVs. The real-time machine in the real vehicle test platform is a rapid control prototyping system developed by Speedgoat. It is equipped with a Celeron 2GHz 4-core 4GB RAM processor. On the host PC, the control strategy was established using MATLAB Simulink and C++ code was generated. After the CAN bus is configured, the code will be transferred to the Speedgoat real-time machine. The Speedgoat machine and the vehicle control unit (VCU) in the Robobus communicate information through the CAN bus, so that control commands can be input and related state variables can be fed back. The communication cycle of the CAN bus is 10ms.

[0192] In order to verify the effectiveness of the proposed strategy in real vehicle testing, the vehicle will be tested in the dynamic load coefficient (DLC) mode according to the specifications of the international standard ISO 388-1:1991. The test will be conducted exclusively on dry asphalt pavement with a high friction coefficient road. The results of the actual vehicle test are shown in the figure. It can be seen that during the DLC process, the proposed strategy will generate corresponding external yaw torque according to the changes in vehicle state information, thereby improving the lateral stability of the vehicle. At the same time, during Fig.11 In (e), it can be observed that when there is an external yaw moment control input, the torque distribution of the vehicle's four-wheel drive is also adjusted. The results preliminarily show that the stability control strategy based on the DRL-based DYC strategy can be applied to actual vehicles.

[0193] like Fig.12 As shown, this specific embodiment provides a structural block diagram of an electric vehicle actuator fault-tolerant control device for an electric vehicle trajectory tracking and lateral stability integrated control method, and the electric vehicle actuator fault-tolerant control device is applied to a distributed drive electric vehicle using front-wheel drive steering. The electric vehicle actuator integrated control device includes:

[0194] An acquisition module, used to acquire on-board sensor information and reference trajectory of a distributed drive electric vehicle;

[0195] The tracking module calculates the lateral error and heading angle error between the vehicle and the reference trajectory at the current moment according to the vehicle-mounted sensor information and the reference trajectory; and calculates the desired front wheel steering angle control amount through the lateral error and heading angle error according to the Stanley algorithm formula.

[0196] The calculation module uses the DRL algorithm to obtain the additional yaw moment control amount through environmental information, and updates the control strategy according to the corresponding reward; and calculates the additional yaw moment control amount based on the optimal allocation QP algorithm that minimizes tire adhesion utilization to obtain the current moment torque of each wheel;

[0197] Specifically, the expected center of mass slip angle and expected yaw rate in the steering process are calculated according to the vehicle bicycle model formula, and the lateral error, heading angle error, difference between the expected center of mass slip angle and the actual center of mass slip angle, and difference between the expected yaw rate and the actual yaw rate between the vehicle and the reference track are calculated according to the vehicle sensor information and the reference track; the expected additional yaw moment control amount is obtained according to the learned strategy. The optimization objective function is solved by the quadratic programming method to obtain the current driving torque of each wheel.

[0198] The control module is used to control the output torque of the hub motor of the distributed drive electric vehicle according to the current driving torque of each wheel.

[0199] In summary, the actuator fault-tolerant control device of the electric vehicle provided by the embodiment of the present invention calculates the front wheel steering angle control command according to the lateral error and heading angle error of the front axle center from the nearest path point in the process of trajectory tracking control of the distributed drive electric vehicle through the Stanley method; at the same time, the DRL algorithm is used to obtain the additional yaw moment control amount according to environmental information and comprehensively considers the trajectory tracking accuracy and stability performance indicators; finally, the additional yaw moment control amount is calculated based on the optimization allocation algorithm that minimizes the tire adhesion utilization rate to obtain the current moment torque of each wheel. Therefore, the distributed drive electric vehicle has better tracking performance and lateral stability in the process of trajectory tracking, and the fault tolerance and robustness of the control system can be effectively improved through the integrated control method of the layered architecture.

[0200] This specific embodiment provides a computer-readable storage medium, in which instructions are stored. The instructions are loaded and executed by a processor to implement the above-mentioned trajectory tracking and lateral stability integrated control method of the electric vehicle.

[0201] A distributed drive electric vehicle comprises a processor and a memory, wherein instructions are stored in the memory and the instructions are loaded and executed by the processor to implement the above-mentioned electric vehicle trajectory tracking and lateral stability integrated control method.

Claims

1. An integrated control method for trajectory tracking and lateral stability of an electric vehicle, characterized in that: The steps include: S1, obtaining the on-board sensor information and reference trajectory of the distributed drive electric vehicle; S2, calculating the expected vehicle center of mass sideslip angle and the expected yaw rate, and calculating the lateral error, heading angle error, the difference between the expected vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the expected yaw rate and the actual yaw rate between the current vehicle and the reference trajectory based on the vehicle-mounted sensor information and the reference trajectory in step S1; S3, using the Stanley algorithm to calculate the desired front wheel steering angle control amount through the lateral error and heading angle error described in step S2; using the DRL algorithm to obtain the additional yaw moment control amount through the environmental information of the lateral error, heading angle error, the difference between the desired vehicle center of mass sideslip angle and the actual vehicle center of mass sideslip angle, and the difference between the desired yaw angular velocity and the actual yaw angular velocity between the vehicle at the current moment and the reference trajectory described in step S2, and update the control strategy according to the corresponding reward; S4, the additional yaw moment control amount of step S3 is distributed and calculated by using a QP algorithm for optimizing distribution with the tire adhesion utilization minimized, so as to obtain the current moment torque of each wheel.

2. The trajectory tracking and lateral stability integrated control method according to claim 1, characterized in that: The calculation formula of the desired vehicle center of mass sideslip angle and the desired yaw rate in step S2 is as follows: In the formula, v x is the longitudinal velocity of the vehicle; rd and β rd are the expected values ​​of the vehicle's center of mass sideslip angle and yaw rate respectively; K is the stability coefficient; δ f represents the desired front wheel steering angle control amount; m is the vehicle mass; l f and l r C is the distance from the front and rear axles of the vehicle to the center of mass; f and C r is the lateral stiffness of the front and rear axles of the vehicle; L is the length from the center of the front axle to the center of the rear axle of the vehicle.

3. The trajectory tracking and lateral stability integrated control method according to claim 1, characterized in that: The calculation formula of the desired front wheel steering angle control amount in step S3 is as follows: In the formula, δ f represents the desired front wheel steering angle control amount; e y represents the lateral distance between the vehicle center and the reference trajectory; ψ e represents the heading angle error between the vehicle heading angle and the centerline of the reference trajectory; k represents the adjustable hyperparameter of the Stanley algorithm; v represents the longitudinal vehicle speed.

4. The trajectory tracking and lateral stability integrated control method according to claim 1, characterized in that: The calculation formula of the additional yaw moment control amount in step S3 is as follows: a t ={ΔM z } Where, ΔM z represents the additional yaw moment control amount; is the actor network θ in the reinforcement learning process μ′ Calculate the current state s t The action under the load is expressed as the additional yaw moment control quantity; ξ is the added noise interference; θ μ′ It is the actor network.

5. The trajectory tracking and lateral stability integrated control method according to claim 1, characterized in that: The formula for the reward in step S3 is as follows: In the formula, x(t)=[e y (t);ψ e (t); Δβ(t); Δγ(t)] is the vehicle state, Q is the weight matrix of control performance; in order to reduce the change of control quantity, u(t)=ΔM z Add rewards, and R is the weight matrix of the control amount.

6. The trajectory tracking and lateral stability integrated control method according to claim 1, characterized in that: The additional yaw moment control amount in step S3 is distributed by the QP algorithm of optimal distribution with the tire adhesion utilization minimized. The formula for calculating the torque of each wheel at the current moment is as follows: Where J represents the objective function; u = [T fl T fr T rl T rr ] T is the optimization vector of the QP controller, which represents the torque of the four wheels at the current moment; is the weight matrix of the optimization vector; ζ=diag{ζ1,ζ2} is the weight matrix, ζ1 and ζ2 are the additional yaw moment control amount ΔM z and the longitudinal required driving torque T tot The weight coefficient of s is the additional yaw moment control value ΔM z and the longitudinal required driving torque T tot The expected value of , K is the gain matrix.

7. A fault-tolerant control device for an electric vehicle actuator, characterized in that: The device comprises: An acquisition module, used to acquire on-board sensor information and reference trajectory of a distributed drive electric vehicle; A tracking module is used to track the vehicle using the Stanley algorithm through the vehicle sensor information and the reference trajectory to obtain the desired front wheel steering angle control value; A stability control module is used to perform lateral stability control by using a DRL algorithm through environmental information such as a lateral error between the current moment vehicle and a reference trajectory, a heading angle error, a difference between a desired vehicle center of mass sideslip angle and an actual vehicle center of mass sideslip angle, and a difference between a desired yaw angular velocity and an actual yaw angular velocity, to obtain a desired additional yaw moment control amount; A calculation module is used to calculate the additional yaw moment control amount based on the determination of the vehicle-mounted sensor information and the QP algorithm of the optimal allocation based on the minimization of the tire adhesion utilization rate, so as to obtain the current moment driving torque of each wheel; The control module is used to control the output torque of the hub motor of the distributed drive electric vehicle according to the current torque of each wheel.

8. Application of the trajectory tracking and lateral stability integrated control method according to claims 1 to 6 or the electric vehicle actuator fault-tolerant control device according to claim 7 in a distributed drive electric vehicle with front-wheel drive steering.

9. A computer-readable storage medium, characterized in that: The storage medium stores instructions, which are loaded and executed by the processor to implement the electric vehicle trajectory tracking and lateral stability integrated control method as described in any one of claims 1 to 6.

10. A distributed drive electric vehicle, characterized in that: The distributed drive electric vehicle includes a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the electric vehicle trajectory tracking and lateral stability integrated control method as described in any one of claims 1 to 6.

Citation Information

Cited By

  • Stable control system and method for drive-by-wire chassis distributed driving vehicle

    CN118876949A

  • Path tracking method and system for front-wheel steering and rear-wheel distributed driving vehicle

    CN119636769A

  • Steering control method and equipment for distributed wheel set independent drive steering drive-by-wire chassis

    CN120246079A

  • Steering control method for distributed driving pilotless automobile

    CN120716692A

  • Trajectory control method, device and equipment for vehicle sailing in water and vehicle

    CN122411448A