Autonomous driving vehicle control method, device and medium based on model predictive control
By using a personalized constraint programming model based on model predictive control in autonomous vehicles, the driver's operating characteristics are analyzed and personalized constraint conditions are constructed, which solves the problem of failing to consider the driver's personalized characteristics in the existing technology and achieves a better High reliability and personalized control effect.
Patent Information
- Application Number
- CN202210926045.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-08-03
AI Technical Summary
Existing autonomous vehicle decision-making and planning methods fail to fully consider the individual characteristics of different drivers, resulting in subjective bias in research results and failure to meet the needs of personalized services.
A personalized constraint programming model based on model predictive control (MPC) is used to analyze the driver's operation history data, calculate the probability distribution of his personalized driving operation characteristics, construct personalized constraint conditions, and introduce the MPC control module to output the lateral sum The longitudinal control amount is adjusted in combination with the PID feedback channel, and the control mode is switched according to the driving scene.
It realizes personalized constraints of autonomous vehicle trajectory tracking control, improves trust in automated driving, promotes the development of personalized control, and can better reflect the driver's operating personality.
Smart Images

Figure CN115366914B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of autonomous driving control and relates to a control method, electronic equipment and storage medium for an autonomous driving vehicle. Background Art
[0002] With the continuous development of the automobile industry and the rapid increase in the number of cars, cars have brought convenience to travel while also causing problems such as traffic accidents and traffic congestion. The development of autonomous vehicles provides new solutions to these problems. The development of autonomous vehicles will upgrade my country's traditional transportation system and change the relationship between people, vehicles and roads. In existing research, the decision-making and planning of autonomous vehicles rarely consider the differences between different drivers. In actual road traffic, the vehicle operation characteristics of different drivers are different. Therefore, it is necessary to analyze the actual operation data of the driver, study the personalized characteristics of the driver, and design and develop personalized autonomous driving vehicle decision-making, planning and control systems based on personalized characteristics. Exploring traffic safety from the perspective of driver style has gradually become a research hotspot.
[0003] At present, the research on personalized driving is still mainly at the level of driving style research. The traditional driving style research method based on evaluation scales and questionnaires is highly subjective, and the research results are inevitably biased. Domestic and foreign researchers have turned to using more objective actual driving data to extract the driver's operating characteristics and conduct driving style research based on this. At present, intelligent transportation systems are developing in a more refined and personalized direction, seeking to provide personalized services for drivers / passengers. Therefore, the classification of only one or several driving styles cannot meet the needs of this development trend. It is necessary to study the personalized characteristics of different drivers based on their operating characteristics. Summary of the invention
[0004] In response to the above problems, the present invention provides an autonomous driving vehicle control method, electronic device and storage medium based on model predictive control, which can realize personalized constraints on trajectory tracking control of autonomous driving vehicles and reflect the driver's operating personality.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A method for controlling an autonomous driving vehicle based on model predictive control comprises the steps of optimizing the constraint conditions of the model predictive control using a chance constraint programming model, the steps comprising:
[0007] S101, calculating the probability distribution of the personalized driving operation characteristics of the target driver;
[0008] S102: Construct personalized constraint conditions according to the probability distribution and confidence level.
[0009] Preferably, in step S102, the personalized constraint conditions in the car-following scenario are constructed as follows:
[0010]
[0011] Among them, T max and T min denote the minimum and maximum headway of the target driver, Θ T and θ a They represent the probability distribution of the target driver’s headway limit value and longitudinal acceleration limit value in the following scenario, β represents the confidence level, and T t represents the headway of the vehicle at the current time t, a(t) represents the longitudinal acceleration of the vehicle at the current time t, and a max Indicates the maximum longitudinal acceleration of the target driver.
[0012] Preferably, in step S102, the personalized constraint conditions in the lane change scenario are constructed as follows:
[0013]
[0014] Among them, r(t) represents the angular acceleration of the vehicle at the current time t, r max represents the maximum value of the target driver's yaw angular acceleration, θ r represents the probability distribution of the target driver’s yaw acceleration limit value in the lane changing scenario, and β represents the confidence level.
[0015] Preferably, in step S101, the personalized driving operation characteristics of the target driver include headway and longitudinal acceleration in a car-following scenario and yaw acceleration in a turning scenario. Optionally, these personalized driving operation characteristics are obtained by analyzing the target driver's driving operation history data.
[0016] Preferably, in step S101, probability distributions of the headway time limit value, the longitudinal acceleration limit value, and the yaw angular acceleration limit value are calculated according to the means and variances of the headway time limit value, the longitudinal acceleration limit value, and the yaw angular acceleration limit value, respectively.
[0017] Preferably, in step S103, the personalized constraint condition is introduced into the MPC control module, and the MPC control module outputs a lateral control amount and a longitudinal control amount, wherein the lateral control amount includes the front wheel angle, and the longitudinal control amount includes the desired speed and acceleration.
[0018] Preferably, the automatic driving vehicle control method further comprises the following steps:
[0019] S201. Perform feedback correction on the lateral control amount of the vehicle based on the deviation value between the predicted position at the previous moment and the actual position of the vehicle at the current moment.
[0020] By introducing a feedback channel and utilizing the motion deviation of the controlled vehicle, the MPC is feedback-adjusted to eliminate the steady-state error of the controller.
[0021] More preferably, the autonomous driving vehicle control method further comprises the following steps:
[0022] S202: Convert the target vehicle speed and target acceleration output by the model predictive control algorithm into a corrected longitudinal control variable of the vehicle using a lower-level PID controller.
[0023] Preferably, the automatic driving vehicle control method further comprises the following steps:
[0024] S300, switching the control mode of the vehicle according to whether there is an obstacle and the front wheel turning angle of the vehicle;
[0025] If the front wheel steering angle of the vehicle is less than the set threshold and there is no obstacle, the weight of longitudinal control is greater than that of lateral control;
[0026] If the front wheel turning angle of the vehicle is greater than the set threshold and there is no obstacle vehicle, the weight of the lateral control is greater than the longitudinal control;
[0027] If the front wheel turning angle of the vehicle is greater than the set threshold and there is an obstacle vehicle, the vehicle is laterally controlled while taking collision avoidance into consideration.
[0028] In different driving scenarios, the vehicle has different requirements for lateral and longitudinal control. The vehicle control mode is switched according to whether there are obstacles and the size of the vehicle's front wheel turning angle. The control effect is smoother during the switching process of turning-straight-turning, avoiding lateral and longitudinal movement shocks during scene switching.
[0029] The present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the autonomous driving vehicle control method as described above.
[0030] The present invention also provides a storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the automatic driving vehicle control method as described above.
[0031] The present invention adopts the above solution, which has the following advantages compared with the prior art:
[0032] The control method and control system of the autonomous driving vehicle of the present invention fully consider the personalized characteristics of the driver, and introduce the operating characteristics of different drivers into the MPC control algorithm based on the chance constraint model, so that the autonomous driving can reflect the driver's operating personality, which greatly improves people's trust in automated driving and promotes the development of personalized control of autonomous driving vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0034] Figure 1 A flowchart for constructing personalized constraints for vehicle trajectory tracking control according to an embodiment of the present invention.
[0035] Figure 2 2 is a control framework diagram according to an embodiment of the present invention.
[0036] Figure 3 4 is a control mode switching decision diagram according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art. It should be noted that the description of these embodiments is used to help understand the present invention, but does not constitute a limitation of the present invention.
[0038] As mentioned above, in view of the defects of the prior art, the inventor of this case has proposed the technical solution of the present invention after long-term research and extensive practice. The present invention will be more completely understood through the following specific implementations that should be read together with the accompanying drawings. Detailed embodiments of the present invention are disclosed herein; however, it should be understood that the disclosed embodiments are only exemplary of the present invention, and the present invention can be embodied in various forms. Therefore, the specific functional details disclosed herein should not be interpreted as being restrictive, but only as the basis of the claims and as a representative basis for teaching technicians in the field to adopt the present invention in different ways in any appropriate detailed embodiment.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art. If a definition used herein conflicts or is inconsistent with a definition in other public documents, the definition used herein shall prevail.
[0040] This embodiment provides an autonomous driving vehicle control method based on Model Predictive Control (MPC), which fully considers the personalized characteristics of the driver and proposes to introduce the operating characteristics of different drivers into the MPC control algorithm based on the chance constraint model in the traditional model predictive control algorithm. Constraints are one of the main factors affecting the control effect of the MPC algorithm. By analyzing the driver's historical operation data, the constraints of the MPC algorithm are optimized, and the personalized characteristics of the driver are introduced into the trajectory tracking control of the autonomous driving vehicle, so that it can reflect the driver's operating personality. This has greatly improved people's trust in automated driving and promoted the development of personalized control of autonomous driving vehicles.
[0041] The stochastic programming method is used to solve planning problems with random parameters. The probability function is used to describe the uncertainty in the objective function and the constraints. The chance constrained programming model is mainly used to solve planning problems with uncertainties in the constraints. Therefore, the present invention selects this model to optimize the constraints of the MPC algorithm so that it can reflect the driver's operating personality. The core idea of the algorithm is to allow the optimized constraints to float, and the probability of the floating is not less than a certain confidence level β. The model is:
[0042]
[0043] Among them, J(x,u) is the objective function of the MPC controller, P represents the driver's operation characteristic probability, and β represents the confidence level.
[0044] The personalized operating characteristics of different drivers generally follow the law of normal distribution. Therefore, we only need to obtain the mean and variance of the operating variables to calculate the corresponding probability distribution law. Therefore, the constraints of the MPC algorithm are optimized through the probability model so that it can reflect the individual characteristics of the driver. Following and lane changing are the two most common working conditions on the actual road. For following and lane changing, personalized MPC control constraints are constructed.
[0045] Therefore, the automatic driving vehicle control method specifically includes the step of optimizing the constraint conditions of the model predictive control using the above-mentioned chance constraint programming model. Figure 1 As shown, this step specifically includes:
[0046] S100: Acquire the target driver's driving operation history data, analyze it, and obtain the target driver's personalized driving operation characteristics, including: headway and longitudinal acceleration in a car-following scenario, and yaw angular acceleration in a turning scenario.
[0047] S101. Calculate the probability distribution of the personalized driving operation characteristics of the target driver; specifically, calculate the corresponding probability distribution according to the mean and variance of each type of personalized driving operation characteristics, such as the probability distribution of the headway limit value, the probability distribution of the longitudinal acceleration limit value, and the probability distribution of the yaw angular acceleration limit value.
[0048] S102: constructing personalized constraint conditions in a car-following scenario and a lane-changing scenario according to the probability distribution and the confidence level.
[0049] The specific description is as follows.
[0050] 1. In the car-following scenario, the personalized constraints of the MPC algorithm are:
[0051]
[0052] Among them, T max and T min Represent the minimum and maximum headway of the target driver, a max Indicates the maximum longitudinal acceleration of the target driver.
[0053] The personalized constraints are sorted as follows:
[0054]
[0055] Among them, Θ T and θ a They respectively represent the probability distribution of the target driver’s headway and longitudinal acceleration limit values in the following scenario.
[0056] 2. In the lane-changing scenario, the personalized constraints of the MPC algorithm are:
[0057] P(r(t)≤r max )≥β
[0058] Among them, r max is the maximum value of the yaw angular acceleration of the target driver.
[0059] The personalized constraints in the lane-changing scenario are summarized as follows:
[0060]
[0061] Among them, Θ r Represents the probability distribution of the target driver's yaw acceleration limit value in the lane changing scenario.
[0062] According to the normal distribution law of the personalized acceleration in the driver's following scenario, the headway and the yaw acceleration limit value in the lane changing scenario, the deterministic constraints in the MPC algorithm are converted into probabilistic constraints that take into account randomness through the above method. According to the given confidence level β, the probabilistic constraints are converted into inequality constraints, i.e. the personalized constraints mentioned above, by reflecting the probability distribution of the driver's personality characteristic variables. These personalized constraints are input into the MPC controller as the constraints of the MPC algorithm, and the longitudinal and lateral control quantities of the controlled vehicle are output. How the MPC algorithm outputs the control quantity of the vehicle according to the constraints is not the core content of the present invention, and it is a known technology in the art, so it will not be elaborated here.
[0063] The automatic driving vehicle control method of this embodiment also includes the following steps:
[0064] S201, performing feedback correction on the lateral control amount of the vehicle based on the deviation value between the predicted position at the last moment and the actual position of the vehicle at the current moment;
[0065] S202: Convert the target vehicle speed and target acceleration output by the model predictive control algorithm into a corrected longitudinal control variable of the vehicle using a lower-level PID controller.
[0066] The PID feedback channel is further introduced into the autonomous driving vehicle control algorithm, and the motion deviation of the controlled vehicle is used to perform feedback adjustment on the traditional MPC algorithm to eliminate the steady-state error of the controller. Figure 2 The feedback MPC control method of this embodiment is shown, where (X p,t ,Y p,t ) represents the target trajectory at time t, δ t represents the front wheel angle, Y p,k-T , Y k-T They represent the predicted lateral position and actual lateral position of the previous step at time t, respectively, and U pid,t represents the output control quantity of the PID controller at time t, v des represents the expected speed, a des represents the expected acceleration, T t Represents the output longitudinal control quantity of the controlled vehicle, V t Indicates the longitudinal velocity of the controlled vehicle at time t. Figure 2 As shown, planner 1 outputs the target trajectory (X p,t ,Y p,t ), the MPC feedforward controller 2 performs a feedforward control based on the trajectory and outputs the lateral control amount of the controlled vehicle 3, the front wheel steering angle δ t and the desired longitudinal control velocity v des , acceleration a des Furthermore, a PID feedback path is introduced to use the lateral control deviation value Upid,t To correct the control quantity δ output by MPC t Specifically, the PID controller 4 is based on the deviation value U of the predicted position at the previous time t-1 and the actual position of the vehicle at the current time t pid,t The lateral control amount δ t Feedback correction is performed, and the corrected lateral control amount is δ t +U pid,t In longitudinal control, the MPC feedforward controller 2 outputs the target vehicle speed v des and target acceleration a des ; According to the longitudinal target speed and acceleration, a lower-level PID controller is used to convert it into the longitudinal control amount T of vehicle 3 t (Throttle opening and brake cylinder pressure).
[0067] Furthermore, the autonomous driving vehicle control method further comprises the following steps:
[0068] S300: Switch the control mode of the vehicle according to whether there is an obstacle and the front wheel turning angle of the vehicle.
[0069] In different driving scenarios, the vehicle has different requirements for lateral and longitudinal control. This embodiment switches the vehicle's control mode according to whether there are obstacles and the size of the vehicle's front wheel turning angle. The inventor simulated the mode switching controller based on the hybrid automaton. From the simulation results, it can be seen that the controller with switching decision has a smoother control effect during the switching process of turning-straight-turning, while the controller without switching will have lateral and longitudinal movement oscillations during the scene switching process.
[0070] Specific as Figure 3 As shown, depending on whether there is an obstacle and the front wheel turning angle value δ of the vehicle real , the vehicle control mode is switched in different traffic environments. Specifically, a threshold δ is set threshold , when δ real <δ threshold And when there is no obstacle vehicle, the weight of the controller's longitudinal control is greater; when δ real >δ threhold When there is no obstacle vehicle, the controller has a greater weight on lateral control; when δ real >δ threhold In addition to lateral control, the longitudinal vehicle controller must also take collision avoidance into consideration when there are obstacles.
[0071] This embodiment proposes to introduce a PID feedback channel into the traditional model predictive control algorithm to improve the dynamic and steady-state performance of the traditional MPC algorithm; a controller switching method for typical driving scenarios is designed, which can switch the controller when facing different scenarios to improve the controller's adaptability to the environment. The personalized characteristics of the driver are fully considered, and the operating characteristics of different drivers are introduced into the MPC algorithm in the form of constraints based on the opportunity constraint model, so that the control result can reflect personalized characteristics.
[0072] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the autonomous driving vehicle control method as described above.
[0073] The present invention also provides a storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the automatic driving vehicle control method as described above.
[0074] It should be understood that parts not elaborated in detail in this specification belong to the prior art.
[0075] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0076] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0077] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0078] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims
1. A method for controlling an autonomous driving vehicle based on model predictive control, characterized in that: The method comprises the steps of optimizing the constraints of the model predictive control using a chance constrained programming model, the steps comprising: S101, calculating the probability distribution of the personalized driving operation characteristics of the target driver; S102, constructing personalized constraint conditions according to the probability distribution and confidence level; In step S102, the personalized constraint conditions in the car-following scenario are constructed as follows: ; in, and represent the maximum and minimum headway time of the target driver, and They represent the probability distribution of the target driver’s headway limit value and longitudinal acceleration limit value in the following scenario, Indicates confidence, Indicates the current time of the vehicle t Headway Indicates the current time of the vehicle t The longitudinal acceleration, represents the maximum longitudinal acceleration of the target driver; In step S102, the personalized constraint conditions in the lane change scenario are constructed as follows: ; in, Indicates the current time of the vehicle t The angular acceleration of the swing, represents the maximum value of the target driver's yaw angular acceleration, represents the probability distribution of the target driver's yaw acceleration limit value in the lane-changing scenario, Indicates confidence level; In step S101, the personalized driving operation characteristics of the target driver include headway and longitudinal acceleration in a following scenario and yaw angular acceleration in a turning scenario; In step S101, the probability distributions of the headway time limit value, the longitudinal acceleration limit value, and the yaw angular acceleration limit value are calculated according to the means and variances of the headway time limit value, the longitudinal acceleration limit value, and the yaw angular acceleration limit value, respectively.
2. The automatic driving vehicle control method according to claim 1, characterized in that: The automatic driving vehicle control method further comprises the following steps: S103, introducing the personalized constraint condition into the model predictive control algorithm, and outputting a lateral control variable and a longitudinal control variable, wherein the lateral control variable includes a front wheel steering angle, and the longitudinal control variable includes a desired speed and acceleration.
3. The automatic driving vehicle control method according to claim 1 or 2, characterized in that: The automatic driving vehicle control method further comprises the following steps: S201. Perform feedback correction on the lateral control amount of the vehicle based on the deviation value between the predicted position at the previous moment and the actual position of the vehicle at the current moment.
4. The automatic driving vehicle control method according to claim 3, characterized in that: The automatic driving vehicle control method further comprises the following steps: S202: Convert the target vehicle speed and target acceleration output by the model predictive control algorithm into a corrected longitudinal control variable of the vehicle using a lower-level PID controller.
5. The automatic driving vehicle control method according to claim 1, characterized in that: The automatic driving vehicle control method further comprises the following steps: S300. Switch the control mode of the vehicle according to whether there is an obstacle and the front wheel turning angle of the vehicle; if the front wheel turning angle of the vehicle is less than a set threshold and there is no obstacle, the weight of longitudinal control is greater than that of lateral control; if the front wheel turning angle of the vehicle is greater than the set threshold and there is no obstacle vehicle, the weight of lateral control is greater than that of longitudinal control; if the front wheel turning angle of the vehicle is greater than the set threshold and there is an obstacle vehicle, the vehicle is controlled laterally while taking collision avoidance into consideration.
6. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, wherein: The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the autonomous driving vehicle control method as described in any one of claims 1 to 5.
7. A storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the automatic driving vehicle control method as described in any one of claims 1 to 5.
