A predictive control method for lateral and longitudinal coupled vehicle platooning based on reinforcement learning algorithm

By combining the nonlinear magic formula tire model and the lane keeping model, and using reinforcement learning algorithms and distributed control frameworks, a local predictive controller is designed to solve the problem of control accuracy under the horizontal and vertical coupling effects in vehicle formations and achieve a more efficient vehicle formation control.

CN115454065BActive Publication Date: 2024-09-06JILIN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211087600.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2024-09-06
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

Under working conditions involving greater acceleration, greater lateral and longitudinal forces, or lower road adhesion coefficients, the existing vehicle formation control methods have significant lateral and longitudinal coupling effects, resulting in reduced tracking performance of decoupled control and reduced control accuracy, making it difficult to implement Accurate vehicle formation.

Method used

A horizontal and vertical coupled vehicle formation predictive control method based on reinforcement learning algorithms is used, combined with the nonlinear magic formula tire model and lane keeping model, to build a distributed control framework, design a local predictive controller for each following vehicle, and use reinforcement learning algorithms to solve the optimal problem. Optimize the control strategy and optimize the strategy through actor-critic neural network.

Benefits of technology

It achieves vehicle formation control that is more in line with the nonlinear, multivariable, and strong coupling characteristics of the vehicle system, improves control accuracy and efficiency, avoids the limitations of traditional decoupling control, and enhances the stability and safety of the vehicle formation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115454065B
    Figure CN115454065B
Patent Text Reader

Abstract

The present invention belongs to the field of automobile control technology, and discloses a predictive control method for a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, including: S1. Combining a 3-DOF vehicle dynamics model that takes into account a nonlinear magic formula tire model with a lane keeping model to establish a vehicle queue model; S2. Constructing a distributed control framework, and designing a local predictive controller for each following vehicle under the control framework based on the vehicle queue model; S3. Solving the optimal control strategy of the local predictive controller using a reinforcement learning algorithm, and applying the optimal control strategy to the target following vehicle. The present invention completes the lateral and longitudinal coupling modeling of vehicle formations, and takes into account the nonlinear characteristics of tires, so that the present invention is more in line with the nonlinear, multivariable, and strongly coupled characteristics of vehicle systems; in addition, the present invention also transforms the global optimization problem of vehicle formations into a local optimization problem of each following vehicle, avoiding the burden of centralized control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automobile control, and in particular relates to a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm. Background Art

[0002] In the past few decades, the rapid increase in the number of cars has brought great challenges to energy security and traffic safety. According to the National Highway Traffic Safety Administration, about 84% of traffic accidents are caused by human factors. Vehicle platooning can significantly reduce traffic accidents caused by driver fatigue and misoperation, thereby improving road traffic safety. In addition, vehicle platooning (especially heavy truck platooning) can reduce air resistance between vehicles, thereby reducing emissions and fuel consumption, and improving road capacity. It is precisely because of these potential benefits that vehicle platoon control has attracted more and more scholars.

[0003] The research contents of vehicle platooning mainly include longitudinal control and lateral control. Among them:

[0004] The goal of longitudinal control is to achieve the desired speed of vehicles in the platoon and maintain the desired distance between adjacent vehicles;

[0005] The task of lateral control is to keep the vehicles in the platoon moving along the designated lane.

[0006] Existing research on vehicle platoon control mostly adopts decoupled control methods, that is, separately designing lateral controllers and longitudinal controllers to achieve lateral lane keeping and longitudinal speed tracking. Specifically, the methods used for lateral control mainly include PID control, fuzzy control, H∞ robust control, etc., and the methods used for longitudinal control mainly include sliding mode control, adaptive control, model predictive control, etc.

[0007] In summary, although the decoupling strategy achieves a certain degree of vehicle formation control, the vehicle system is a nonlinear, multivariable, and strongly coupled system. When it comes to working conditions with greater acceleration, greater lateral and longitudinal forces, or lower road adhesion coefficients, its lateral and longitudinal coupling effects become particularly significant. At this time, the tracking performance of the decoupling control may be reduced, and the control accuracy will be significantly reduced accordingly, which may cause vehicle collisions and inability to achieve formation.

[0008] In addition, most of the current research on vehicle platooning is based on the assumption of linear tires, which are only valid in local areas of the entire vehicle operating range. When the vehicle drives out of this area (such as avoiding obstacles), the nonlinearity and lateral and longitudinal coupling effects of the vehicle system will also be significantly enhanced, resulting in the inability to accurately match the decoupling control with the vehicle's emergency control. Summary of the invention

[0009] In view of this, in order to solve the problems raised in the above background technology and to achieve the purpose of the present invention, a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm is provided.

[0010] To achieve the above object, the present invention provides the following technical solutions:

[0011] A predictive control method for a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, comprising:

[0012] S1. Combine the 3-DOF vehicle dynamics model taking into account the nonlinear magic formula tire model with the lane keeping model to establish a vehicle platoon model

[0013] x i (k+1)=f(x i (k),u i (k)); where x i (k) is the state quantity, u i (k) is the input quantity;

[0014] S2. Build a distributed control framework and design a local prediction controller for each following vehicle based on the vehicle platoon model under the control framework

[0015]

[0016] In the formula, k is the current time, k+i is the i-th time in the prediction time domain, and x i (·) is the predicted state, r i (·) is the ideal state, and represents the vehicle’s assumed trajectory state, Through inter-vehicle communication, T p For the prediction time domain, Q i , F i , G i , R i is the weight matrix;

[0017] S3. Utilize a reinforcement learning algorithm to solve the optimal control strategy of the local predictive controller, and apply the optimal control strategy to the target following vehicle.

[0018] Preferably, the tire lateral force in the nonlinear magic formula tire model is calculated using the following magic formula:

[0019] Where α is the tire slip angle, and B, C, D, and E are simulation parameters.

[0020] Preferably, the 3-DOF vehicle dynamics model is expressed as:

[0021] All parameters in the formula are i th The parameters of the car, and

[0022] are longitudinal velocity, lateral velocity and yaw rate respectively, F i x is the longitudinal force, are the lateral forces of the front and rear wheels, m i is the vehicle mass, I i z is the moment of inertia of the vehicle around the z-axis, δ i is the front wheel turning angle, a i ,b i are the distances from the center of mass to the front and rear axles, respectively.

[0023] Preferably, the lane keeping model is expressed as:

[0024]

[0025] In the formula, is the expected heading angular velocity, L is the preview distance, is the longitudinal inter-vehicle distance error, is the lateral position error between the vehicle and the lane line, is the heading angle error between the vehicle heading angle and the road tangent.

[0026] Combining the 3-DOF vehicle dynamics model with the lane keeping model, we get the vehicle platoon model:

[0027]

[0028] Take the state quantity Control volume After discretizing the above model, we can get x i (k+1)=f(x i (k),u i (k)).

[0029] Preferably, when solving the optimal control strategy of the local predictive controller using a reinforcement learning algorithm:

[0030] Build and train the actor strategy function neural network to optimize the strategy parameters; specifically, when optimizing the strategy parameters, the actor strategy function neural network adopts T p A network consisting of radial basis functions approximates T p The actor strategy function neural network takes state s as input and action a as output;

[0031] Build and train a critic value function neural network to evaluate the pros and cons of the current control strategy optimized by the actor strategy function neural network; specifically, when evaluating the pros and cons of the current control strategy, the critic value function neural network uses T p The evaluation is performed by a network composed of radial basis functions, and the critic value function neural network takes the state s and the action a as input and the state-action value q(s,a) as output;

[0032] The optimal control strategy is obtained according to the alternating convergence of the actor strategy function neural network and the critic value function neural network.

[0033] Preferably, the basis vectors φ(x) and ψ(x) in the actor strategy function neural network and the critic value function neural network are both radial basis functions, and

[0034]

[0035] In the formula, κ is set to 1, {x i ,i=1,2,…M} is the center of radial basis function, and M is the number of hidden layers.

[0036] Preferably, the radial basis function center is obtained by normalization processing:

[0037]

[0038] In the formula, x normalize is the normalized data, x collect is the collected data, x max With x min are the maximum and minimum values ​​of the collected data respectively;

[0039] The collected data is: a strategy is randomly given within a control input range, and input data and output data of the vehicle platoon model are obtained through simulation collection.

[0040] Specifically, when alternate convergence is used to obtain the optimal control strategy:

[0041] Initialize the actor strategy function neural network weight θ and the critic value function neural network weight ω;

[0042] The actor strategy function neural network obtains action a according to the current state s of the target following vehicle, and applies action a to the target following vehicle to obtain a new state s′ and an immediate reward r;

[0043] The actor strategy function neural network obtains a new action a′ according to the new state s′;

[0044] The critic value function neural network evaluates and scores actions a and a′ to obtain q(s,a) and q(s′,a′), and then calculates the predicted value q(s,a) and expected value y of the critic value function neural network according to the Bellman equation. t The error between TDerror: TDerror = y t -q(s,a),y t =r+γq(s′,a′);

[0045] The gradient descent method is used to minimize and iteratively update the weight θ and the weight ω to obtain the optimal control strategy And L(θ)=q(s,a),

[0046] Preferably, in the prediction time domain, the optimal control strategy U i * Acts on target following vehicles.

[0047] Compared with the prior art, the present invention has the following beneficial effects:

[0048] (1) The present invention completes the lateral and longitudinal coupling modeling of vehicle formations and takes into account the nonlinear characteristics of tires. Compared with the traditional decoupling control method, the present invention is more in line with the nonlinear, multivariable, and strongly coupled characteristics of vehicle systems. In addition, under the distributed model predictive control framework, a local predictive controller is designed for each following vehicle, thereby converting the global optimization problem of the vehicle formation into a local optimization problem of each following vehicle, avoiding the burden of centralized control.

[0049] (2) The present invention adopts a reinforcement learning actor-critic algorithm for strategy optimization. Specifically, the actor network is used to approach or approximate the optimal control strategy by alternating critic training (strategy evaluation) and actor training (strategy improvement). Compared with the common policy-based learning method, the present invention can achieve a single-step update of the strategy, thereby reducing the number of iterative learning times.

[0050] (3) The present invention uses the hidden layer space composed of radial basis functions to perform high-dimensional mapping on the input data, so that the original linearly inseparable problem becomes linearly separable, thereby using a linear optimization strategy to adjust the weights. The network learning speed is fast, which effectively improves the efficiency of solving the optimization problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 is a schematic diagram of the 3-DOF vehicle dynamics model of the present invention;

[0052] Figure 2A map table reflecting the relationship curve between tire slip angle and tire lateral force simulated by the present invention;

[0053] Figure 3 is a control flow chart of the local predictive controller of the present invention;

[0054] Figure 4 is a structural diagram of the reinforcement learning algorithm of the present invention;

[0055] Figure 5 This is a network structure diagram constructed by the radial basis function of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] A predictive control method for a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, comprising:

[0058] S1. The 3-DOF vehicle dynamics model considering the nonlinear magic formula tire model is combined with the lane keeping model to establish a vehicle platoon model;

[0059] in:

[0060] like Figure 1 As shown, the 3-DOF vehicle dynamics model is expressed as

[0061] All parameters in the formula are i th The parameters of the car, and

[0062] are the longitudinal velocity, lateral velocity and yaw rate respectively, is the longitudinal force, are the lateral forces of the front and rear wheels, m i is the vehicle mass, is the moment of inertia of the vehicle around the z-axis, δ i is the front wheel turning angle, a i ,b i are the distances from the center of mass to the front and rear axles, respectively.

[0063] The tire lateral force in the nonlinear magic formula tire model is calculated using the following magic formula:

[0064]

[0065] Where α is the tire slip angle, and B, C, D, and E are simulation parameters.

[0066] Specifically, when considering the nonlinear magic formula tire model, the vertical loads of the front and rear tires are first calculated, and then the interpolation method is used to obtain the vertical loads of the front and rear tires. Figure 2 The relationship curve between tire slip angle and tire lateral force is obtained, and then the parameters B, C, D, and E can be obtained by fitting the curve to the magic formula of the tire.

[0067] The lane keeping model is expressed as:

[0068]

[0069] In the formula, is the expected heading angular velocity, L is the preview distance, is the longitudinal inter-vehicle distance error, is the lateral position error between the vehicle and the lane line, is the heading angle error between the vehicle heading angle and the road tangent.

[0070] In summary, by combining the above 3-DOF vehicle dynamics model with the lane keeping model, the vehicle platoon model can be obtained as follows:

[0071]

[0072] Take the state Control volume Take the sampling time T s , after discretizing the above vehicle platoon model, the discrete form of the vehicle platoon model can be obtained: i (k+1)=f(x i (k),u i (k)); where x i (k) is the state quantity, u i (k) is the input quantity.

[0073] S2. Construct a distributed control framework, and design a local prediction controller for each following vehicle based on the vehicle platoon model under the control framework:

[0074]

[0075] In the formula, k is the current time, k+i is the i-th time in the prediction time domain, and x i (·) is the predicted state, r i (·) is the ideal state, and represents the vehicle’s assumed trajectory state, Through inter-vehicle communication, T p For the prediction time domain, Q i , Fi , G i , R i is a weight matrix, where the hypothetical input for each vehicle is defined as follows:

[0076]

[0077] The hypothetical trajectory can be calculated from the hypothetical input:

[0078]

[0079] S3. Using a reinforcement learning algorithm to solve the optimal control strategy of the local predictive controller, and applying the optimal control strategy to the target following vehicle through the local predictive controller:

[0080] (31) Build the actor strategy function neural network and the critic value function neural network

[0081] Specific, combined Figure 4 The structure shown in the figure sets the actor strategy function neural network and the critic value function neural network structure as follows:

[0082] The actor strategy function neural network uses T p A network consisting of radial basis functions approximates T p Step Optimal Strategy;

[0083] The critic value function neural network adopts T p The evaluation is performed by a network consisting of radial basis functions;

[0084] Where T p The network structure composed of radial basis functions is as follows Figure 5 As shown, in the approximate optimal strategy, the actor strategy function neural network takes the state s as input and the action a as output, and in the evaluation, the critic value function neural network takes the state s and action a as input and the state-action value q(s,a) as output.

[0085] Preferably, the basis vectors φ(x) and ψ(x) in the actor strategy function neural network and the critic value function neural network are both radial basis functions, and

[0086]

[0087] In the formula, κ is set to 1, {x i ,i=1,2,…M} is the center of radial basis function, and M is the number of hidden layers.

[0088] The radial basis function center is obtained by normalization:

[0089]

[0090] In the formula, x normalize is the normalized data, x collect is the collected data, x max With x min are respectively the maximum value and the minimum value in the collected data; specifically, the collected data are: a strategy is randomly given within a control input range, and the input data and output data of the vehicle queue model are obtained through simulation collection.

[0091] (32) Training the actor strategy function neural network and the critic value function neural network

[0092] Initialize the actor strategy function neural network weight θ and the critic value function neural network weight ω;

[0093] The actor policy function neural network obtains action a according to the current state s of the target following vehicle, and applies action a to the target following vehicle to obtain a new state s′ and an immediate reward r;

[0094] The actor strategy function neural network obtains a new action a′ based on the new state s′;

[0095] The critic value function neural network evaluates and scores actions a and a′ to obtain q(s,a) and q(s′,a′), and then calculates the predicted value q(s,a) and expected value y of the critic value function neural network according to the Bellman equation. t The error between TDerror: TDerror = y t -q(s,a),y t =r+γq(s′,a′);

[0096] In order to minimize the value function obtained by the action output by the actor policy function neural network, the value function q(s,a) is taken as the loss function L(θ) of the actor policy function neural network, that is, L(θ) = q(s,a), and the weight θ is iteratively updated using the gradient descent method; in order to make the scoring of the critic value function neural network more accurate, the loss function of the critic value function neural network is taken And the gradient descent method is used to iteratively update the weight ω; specifically, when the number of iterative updates or the accuracy meets the preset conditions, the optimal control strategy U is obtained. i * .

[0097] (33) The above-mentioned actor strategy function neural network and critic value function neural network are applied to solve the optimal control strategy of the local predictive controller after completing the training, and the optimal control strategy U solved by them in the prediction time domain is i * The target following vehicle is acted upon by the local predictive controller.

[0098] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A predictive control method for lateral and longitudinal coupled vehicle formation based on reinforcement learning algorithm, It is characterized in that include: S1. Combine the 3-DOF vehicle dynamics model taking into account the nonlinear magic formula tire model with the lane keeping model to establish a vehicle platoon model x i (k+1)=f(x i (k),u i (k)); where x i (k) is the state quantity, u i (k) is the input quantity; S2. Build a distributed control framework and design a local prediction controller for each following vehicle based on the vehicle platoon model under the control framework In the formula, k is the current time, k+i is the i-th time in the prediction time domain, and x i (·) is the predicted state, r i (·) is the ideal state, and represents the vehicle’s assumed trajectory state, Through inter-vehicle communication, T p For the prediction time domain, Q i , F i , G i , R i is the weight matrix; S3. Utilize a reinforcement learning algorithm to solve the optimal control strategy of the local predictive controller, and apply the optimal control strategy to the target following vehicle through the local predictive controller.

2. According to claim 1, a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, It is characterized in that The tire lateral force in the nonlinear magic formula tire model is calculated using the following magic formula: F i y =Dsin(Carctan(Bα-E(Bα-arctanBα))); Where α is the tire slip angle, and B, C, D, and E are simulation parameters.

3. According to claim 2, a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, It is characterized in that The 3-DOF vehicle dynamics model is expressed as: All parameters in the formula are i th The parameters of the car, and are longitudinal velocity, lateral velocity and yaw rate respectively, F i x is the longitudinal force, F i yf ,F i yr are the lateral forces of the front and rear wheels, m i is the vehicle mass, is the moment of inertia of the vehicle around the z-axis, δ i is the front wheel turning angle, a i ,b i are the distances from the center of mass to the front and rear axles, respectively.

4. According to claim 3, a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, It is characterized in that The lane keeping model is expressed as: In the formula, is the expected heading angular velocity, L is the preview distance, is the longitudinal inter-vehicle distance error, is the lateral position error between the vehicle and the lane line, is the heading angle error between the vehicle heading angle and the road tangent.

5. According to claim 1, a method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm, It is characterized in that When solving the optimal control strategy of the local predictive controller using the reinforcement learning algorithm: Build and train the actor policy function neural network to optimize policy parameters; Build and train a critic value function neural network to evaluate the quality of the current control strategy optimized by the actor strategy function neural network; The optimal control strategy is obtained according to the alternating convergence of the actor strategy function neural network and the critic value function neural network.

6. The method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm according to claim 5, Features: When optimizing the policy parameters, the actor policy function neural network adopts T p A network consisting of radial basis functions approximates T p The actor strategy function neural network takes state s as input and action a as output; When evaluating the pros and cons of the current control strategy, the critic value function neural network adopts T p The evaluation is performed by a network composed of radial basis functions, and the critic value function neural network takes the state s and the action a as input and the state-action value q(s,a) as output.

7. The method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm according to claim 6, Features: The basis vectors φ(x) and ψ(x) in the actor strategy function neural network and the critic value function neural network are both radial basis functions, and In the formula, κ is set to 1, {x i ,i=1,2,…M} is the center of radial basis function, and M is the number of hidden layers.

8. The method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm according to claim 7, It is characterized in that The radial basis function center is obtained by normalization processing: In the formula, x normalize is the normalized data, x collect is the collected data, x max With x min are the maximum and minimum values ​​of the collected data respectively; The collected data is: a strategy is randomly given within a control input range, and input data and output data of the vehicle queue model are obtained through simulation collection.

9. The method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm according to claim 8, It is characterized in that When alternate convergence is used to obtain the optimal control strategy: Initialize the actor strategy function neural network weight θ and the critic value function neural network weight ω; The actor strategy function neural network obtains action a according to the current state s of the target following vehicle, and applies action a to the target following vehicle to obtain a new state and immediate reward r; The actor policy function neural network is based on the new state Get new actions The critic value function neural network is responsible for the action a and Evaluate and score to get q(s,a) and Then, the predicted value q(s,a) and the expected value y of the critic value function neural network are calculated according to the Bellman equation. t The error between TDerror: TDerror = y t -q(s,a), The gradient descent method is used to minimize and iteratively update the weight θ and the weight ω to obtain the optimal control strategy And the loss functions of iterative updates of weights θ and ω are: L(θ) = q(s, a), 10. The method for predicting and controlling a lateral and longitudinal coupled vehicle formation based on a reinforcement learning algorithm according to claim 9, Features: In the prediction time domain, the optimal control strategy is Acts on target following vehicles.