Centralized design method for motion planning control of autonomous vehicle

The nonlinear model predictive controller designed using parallel computing and variable prediction step size methods solves the real-time computing challenge in the integrated design of motion planning and motion control modules for autonomous vehicles, improving vehicle safety and computational efficiency.

CN117111469BActive Publication Date: 2026-11-24JILIN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311070829.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-24
Publication Date
2026-11-24
Estimated Expiration
2043-08-24

AI Technical Summary

Technical Problem

The motion planning module and motion control module of autonomous vehicles have nonlinear strong coupling and multi-objective optimization requirements in their integrated design, which makes it difficult to meet the real-time computing requirements. In particular, when designing nonlinear model predictive controllers, the computational burden and complexity increase, affecting vehicle safety.

Method used

A parallel computing approach is adopted, using the steepest descent method based on computational graphs to optimize the nonlinear model predictive controller. The controller is designed by combining the variable prediction step size method and performed in parallel on the FPGA platform to achieve real-time optimization of motion planning and motion control.

Benefits of technology

It improves the safety and computational efficiency of autonomous vehicles, simplifies vehicle models, reduces computational complexity, and enables real-time optimization solutions for motion planning and motion control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117111469B_ABST
    Figure CN117111469B_ABST
Patent Text Reader

Abstract

This invention relates to the field of autonomous driving technology and provides a centralized design method for motion planning and control of autonomous vehicles. The method includes: acquiring road environment information, obstacle location information, global path information, reference lateral velocity information, and vehicle pose information; establishing a vehicle kinematics and dynamics model based on the acquired vehicle pose information; establishing a road and obstacle model by combining the road environment information and obstacle location information, and establishing an overall optimization objective function based on corresponding constraints; and predicting the real-time solution capability of the controller in a real vehicle using the steepest descent method based on a computational graph, and performing optimization. This solution integrates the motion planning module and motion control module of the autonomous vehicle and improves the online computational performance of the nonlinear model predictive controller through parallel computing methods, achieving real-time optimization of motion planning and motion control, thereby improving the safety of autonomous vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of autonomous driving technology, and in particular relates to a centralized design method for motion planning and control of autonomous vehicles. Background Technology

[0002] Autonomous driving technology offers advantages such as improved road traffic efficiency and enhanced driving safety, and has become a strategic choice for the transformation and upgrading of my country's automotive industry. An autonomous driving system mainly comprises four modules: environmental perception, behavioral decision-making, motion planning, and motion control. Among these, the motion planning module and the motion control module are key technologies for autonomous vehicles. After receiving global planning and behavioral decision-making information from the upper layer, the motion planning module performs local path motion planning for the area ahead of the vehicle, thereby generating a trajectory with path and speed information. The motion control module, based on the desired driving trajectory provided by the motion planning module and the vehicle's real-time status feedback, controls the corresponding chassis actuators to achieve precise tracking of the desired trajectory.

[0003] For autonomous vehicles, safety is always the most important consideration. While the layered design of motion planning and motion control modules achieves good planning and control results, safety remains compromised due to information discrepancies arising from the layered control. Integrating the motion planning and motion control modules in an autonomous vehicle design reduces interference caused by information discrepancies between modules, thus significantly improving system safety. Applying this approach to autonomous vehicles is an effective method for enhancing driving safety. However, integrated motion planning and control design also introduces strong nonlinearity, strong coupling, and multi-objective optimization requirements. Therefore, it is necessary to consider using nonlinear model predictive control (MMDC) to better address these issues. When using MMDC to centrally design the motion planning and motion control modules, the following main problems arise:

[0004] The motion planning module and motion control module of autonomous vehicles have different sampling and computation time requirements. When the nonlinear model predictive controller is designed based on the motion planning frequency, it is difficult to meet the precise control of autonomous vehicles. When the predictive controller is designed based on the sampling frequency of motion control, the computational burden and computational complexity of the controller will gradually increase with the increase of the prediction time domain, making it difficult to optimize the controller in real time.

[0005] Currently, when optimizing nonlinear model predictive controllers, it is difficult to perform parallel computation due to the coupling effect between time domains. As the time domain increases, the overall computational burden is difficult to meet the real-time computing requirements. Summary of the Invention

[0006] The purpose of this invention is to provide a centralized design method for motion planning and control of autonomous vehicles. It aims to integrate the motion planning module and motion control module of autonomous vehicles and improve the online computing performance of the nonlinear model predictive controller through parallel computing methods, so as to realize the real-time optimization solution of motion planning and motion control, thereby improving the safety of autonomous vehicles.

[0007] This invention is implemented as follows: a centralized design method for motion planning and control of autonomous vehicles, the method comprising:

[0008] It acquires road environment information and obstacle location information, and obtains corresponding global path information and reference lateral velocity information based on the behavior planning layer, while acquiring vehicle pose information through vehicle sensors;

[0009] A vehicle kinematics and dynamics model is established based on the obtained vehicle pose information and then simplified.

[0010] A road and obstacle model is established by combining road environment information and obstacle location information, and an overall optimization objective function is established by combining the corresponding constraints.

[0011] The real-time solution capability of the controller in a real vehicle is predicted by the steepest descent method based on the computational graph, and the solution is optimized.

[0012] First, vehicle kinematics and dynamics models are established in both the inertial coordinate system and the vehicle's center-of-mass coordinate system. Then, road boundary line models, lane line models, and road centerline models are established using the artificial potential field method. Furthermore, based on the different sampling frequency requirements of the motion planning module and the motion control module, and taking into account the computational burden and complexity, a nonlinear predictive controller for motion planning and control of autonomous vehicles is designed using the variable prediction step size method.

[0013] Then, in the real-time optimization solution of the nonlinear model predictive controller, the steepest descent method based on the computational graph is used for optimization, which mainly includes four modules: forward propagation, back propagation, dynamic programming, and gradient descent. In forward propagation, the future state of the vehicle is predicted by discretizing the nonlinear model, and its intermediate variables are stored, while the objective function for each time domain is calculated. In back propagation, the gradients of the single-time-domain objective function with respect to the corresponding control and state variables are obtained by combining the intermediate variables stored in forward propagation. In dynamic programming, the gradients of the overall objective function with respect to all time-domain control and state variables are divided into subproblems, and the corresponding gradient values ​​are calculated using dynamic programming equations. Iterative optimization is then performed using the steepest descent method to obtain a feasible solution to the optimization problem.

[0014] Finally, to improve the real-time performance of the algorithm in the vehicle controller, the parallel computing characteristics of FPGA were considered, and it was used as the algorithm implementation platform. Since there is no coupling between the various time-domain backpropagation modules of the algorithm, it can be accelerated by iteratively expanding them. Considering that there are a large number of matrix operations in the algorithm, it is accelerated by iterative pipelined pacing. Based on the iterative pipelined pacing, the backpropagation module is expanded in parallel to maximize the acceleration of the algorithm's computational efficiency.

[0015] The beneficial effects of the embodiments of the present invention are:

[0016] This solution integrates the motion planning module and motion control module of autonomous vehicles and improves the online computing performance of the nonlinear model predictive controller through parallel computing methods, thereby achieving real-time optimization and solution of motion planning and motion control, thus improving the safety of autonomous vehicles, while simplifying the vehicle model and reducing the computational complexity.

[0017] Meanwhile, to accelerate the real-time optimization and solution capability of nonlinear model predictive control, this scheme uses the steepest descent method of computational graph for rapid iterative optimization, which greatly improves computational efficiency. Attached Figure Description

[0018] Figure 1 This is a block diagram of a centralized controller for motion planning and motion control provided in an embodiment of the present invention;

[0019] Figure 2 This is a framework diagram of the gradient descent algorithm based on a computational graph provided in an embodiment of the present invention;

[0020] Figure 3 This is a planning and control path diagram under stationary obstacles provided in an embodiment of the present invention;

[0021] Figure 4 The simulation curves for static obstacle planning and control provided in the embodiments of the present invention are shown. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0023] It is understood that the terms "first," "second," etc., used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are used only to distinguish one element from another. For example, without departing from the scope of this application, a first script may be referred to as a second script, and similarly, a second script may be referred to as a first script.

[0024] like Figure 1 As shown, a centralized design method for motion planning and control of autonomous vehicles is described, the method comprising:

[0025] It acquires road environment information and obstacle location information, and obtains corresponding global path information and reference lateral velocity information based on the behavior planning layer, while acquiring vehicle pose information through vehicle sensors;

[0026] A vehicle kinematics and dynamics model is established based on the obtained vehicle pose information and then simplified.

[0027] A road and obstacle model is established by combining road environment information and obstacle location information, and an overall optimization objective function is established by combining the corresponding constraints.

[0028] The real-time solution capability of the controller in a real vehicle is predicted by the steepest descent method based on the computational graph, and the solution is optimized.

[0029] By neglecting the influence of vertical motion and aerodynamics on the vehicle's motion characteristics, and assuming the vehicle as a rigid body system while ignoring the coupling effect of the suspension, the vehicle's kinematic and dynamic models are simplified. Based on the vehicle's positional inertia and dynamic characteristics, the corresponding kinematic and dynamic models can be obtained in both the vehicle's inertial coordinate system and its center-of-mass coordinate system.

[0030] Based on the vehicle's posture inertia and dynamic characteristics, kinematic and dynamic models of the vehicle are established in both the vehicle's inertial coordinate system and the vehicle's center-of-mass coordinate system.

[0031] In the inertial coordinate system, the kinematic equations are:

[0032]

[0033] Where, x o y o These are the horizontal and vertical coordinates in the vehicle's inertial coordinate system, v x v y ψ represents the longitudinal velocity of the vehicle's center of gravity, the lateral velocity, and the vehicle's yaw angle, respectively.

[0034] Subsequently, dynamic analysis was performed on the vehicle's longitudinal, lateral, and yaw three degrees of freedom, resulting in the simplified three-degree-of-freedom dynamic equations of the vehicle:

[0035]

[0036] Among them, F xr F xf These are the resultant longitudinal forces on the front and rear axles of the vehicle, respectively, where δ is the front wheel steering angle, and l f , l rThese are the distances from the vehicle's center of gravity to the front and rear axles, respectively, where m is the vehicle's weight, and I is the weight. z Let F be the moment of inertia of the vehicle about the z-axis. yf F yr The resultant lateral forces on the front and rear axles of the tire are calculated using a brush model. The calculation formula is as follows:

[0037]

[0038] Where i represents f and r, respectively, which are the variables corresponding to the front and rear wheels of the vehicle, and α i The tire slip angle is calculated using the following formula:

[0039]

[0040] Among them, C ai F is the tire lateral stiffness, μ is the road adhesion coefficient, and F is the tire lateral stiffness. zf F zr These are the resultant vertical loads on the tires of the front and rear axles of the vehicle, respectively, and their calculation formula is as follows:

[0041]

[0042] Where g is the acceleration due to gravity, h cg For the vehicle's center of gravity height, l fr This is the distance between the front and rear axles of the vehicle.

[0043] After the perception system obtains road environment information, it establishes road models and obstacle models respectively.

[0044] Considering that road boundaries cannot be crossed, a mathematical model of the road boundary line is established, and the model formula is as follows:

[0045]

[0046] Among them, g road_j k represents the coefficients of the boundary line road function. road_j The coefficients are used for the rapid decrease in the value of the exponential function, y roa d _ j is the coordinate of the boundary line in the geodetic coordinate system; j = 1 or 2 indicates the road boundary line. o Let ξ be the vehicle's Y-axis position in the inertial coordinate system, and let ξ be used to avoid collisions in numerical calculations that could cause the denominator to be zero.

[0047] To avoid vehicles frequently changing lanes while driving, a mathematical model is established for the road lane markings. The model formula is as follows:

[0048]

[0049] Among them, g div_jLet k be the lane divider function coefficient. Considering different user habits, select appropriate lane divider coefficients for lane-changing decisions in a three-lane scenario. div_j represents the function coefficients for road lane dividers, where j is 1 or 2;

[0050] After the vehicle performs obstacle avoidance and lane change, it still needs to maintain lane centering. Therefore, the potential field value is minimum at the lane centerline. A mathematical model is established for this point, and the model formula is as follows:

[0051] M3 = -g keep cos(2π / lanewidy o (8)

[0052] Among them, g keep Here, lanewid represents the function coefficients, and lanewid represents the lane width.

[0053] Simultaneously, an obstacle model is established, and the different effects of lateral and longitudinal positions on vehicle safety during vehicle movement are considered. Therefore, its potential field model formula is:

[0054]

[0055] Among them, g obs K represents the obstacle coefficient. ob1 k ob2 Based on the different characteristic coefficients of the obstacle in the horizontal and vertical directions, x ob y ob Let x be the position of the obstacle vehicle, ξ be a constant to prevent the denominator from being zero, and x be the position of the obstacle vehicle. lim y lim These represent the effective range of the obstacle vehicle's potential field.

[0056] When the road is free of obstacles, the vehicle directly tracks the global path and plans and tracks according to the expected longitudinal speed given by the behavior decision layer. When there are obstacles, the autonomous vehicle replans the path and tracks in real time to avoid collisions. At this time, the path and the controller output control quantity are as smooth as possible. Different control optimization objective functions are established according to the above requirements.

[0057] Future state prediction is performed by discretizing the vehicle model, considering the average distribution of torque between the front and rear axles. Under Euler forward discretization, the prediction model formula is as follows:

[0058]

[0059] Based on the behavioral decision-making layer planning information, the controller design objective formula is:

[0060] A1=||v x (k+i)-v ref (k+i)||2 A2 = ||y(k+i) - Y ref (k+i)|| 2 (11)

[0061] Among them, v x (k+i), v ref (k+i) represent the longitudinal predicted velocity and longitudinal reference velocity in time domain i, respectively. The lateral displacement and global lateral position of the vehicle in time domain i are determined by y(k+i) and Y. ref (k+i) represents;

[0062] When a vehicle encounters an obstacle, considering the vehicle's future state under the influence of the obstacle's potential field and the road's potential field, it begins to avoid the obstacle. In lane-changing obstacle avoidance scenarios, it is necessary to consider moving away from the boundary line, maintaining lane centering after the lane change, and minimizing the lane-changing process as much as possible. The formula for calculating the lane-changing process is as follows:

[0063]

[0064] A4 = -g keep cos(2π / lanewidy o_i (13)

[0065]

[0066] Considering the impact of obstacle vehicles on the driving of autonomous vehicles in all future time domains, the calculation formula is as follows:

[0067]

[0068] When replanning and controlling the trajectory, the smoothness of vehicle movement must also be considered. The calculation formula is as follows:

[0069]

[0070] A8=||δ(k+i|k)-δ(k+i-1|k)|| 2 +||F x (k+i|k)-F x (k+i-1|k)|| 2 (17)

[0071] When designing motion planning and motion control for autonomous vehicles, the objective function is described as follows:

[0072]

[0073] st|x o -x ob |<x lim ,|y o -yob |y lim

[0074] F xmin ≤F x ≤F xmax δ min ≤δ≤δ max (18)

[0075] Among them, F xmin F xmax and δ min δ max These are the range constraints for the driving force and the front wheel steering angle actuators, respectively.

[0076] In the design of nonlinear model predictive controllers, the planning module needs to predict the vehicle's state for the next 3 seconds. Therefore, a larger discrete time is generally used to reduce its computational burden. However, in the control module, a larger discrete time is not conducive to precise control, so a smaller discrete time is required. Considering the different discrete time requirements and computational burden of different modules, a small prediction step size is used in the first part of the predictive control action to meet the precise control requirements, while a larger prediction step size is used in the second part to predict the future state and meet the planning requirements. The overall design adopts a centralized controller using a variable prediction step size method.

[0077] To accelerate the real-time optimization solution capability of nonlinear model predictive control, this invention proposes a rapid iterative optimization method based on the steepest descent method of computational graphs, the overall block diagram of which is shown below. Figure 2 As shown;

[0078] When optimizing a nonlinear model predictive controller using a computational graph-based optimization algorithm, the objective function is decomposed into multiple time-domain objective functions according to the model predictive control principle. Each time-domain objective function is calculated sequentially via forward propagation. After obtaining the corresponding calculated values, the gradient of each time-domain objective function with respect to the control and state variables is calculated via backpropagation. Finally, the gradient of the overall objective function with respect to each time-domain control and state variable is obtained using dynamic programming, and the steepest descent method is used for iterative optimization. Notably, there is no coupling between the different time domains during backpropagation, allowing for parallel computation within a parallel computing unit to reduce algorithm computation time and improve overall real-time performance.

[0079] The k-time domain control quantity and state quantity are stored, and when predicting the future state using equation (10), the intermediate quantity and predicted quantity are stored. The storage formula is expressed as:

[0080]

[0081] u k =[F x (k),δ(k)] (20)

[0082] T k =[α f (k),α r (k),F zf (k),F zr (k)] (21)

[0083] F yk =[F yf (k),F yr (k)] (22)

[0084]

[0085]

[0086] Where, x k Let u be the time-domain state variable of k. k Let T be the control variable at time k. k and F yk These are the intermediate force and the tire lateral force used to calculate the tire lateral force, respectively. and x k+1 These are the continuous state variables of the simplified vehicle model and the predicted state variables after Euler discretization, respectively.

[0087] After calculating and storing the relevant quantities in the k-time domain, calculate the various optimization objectives and the overall objective function of the k-time domain objective function according to equations (11) to (17) and store them in equations (25) and (26). The storage formula is as follows:

[0088] J k+1 =[A1,A2,A3,A4,A5,A6,A7,A8] (25)

[0089]

[0090] After obtaining all intermediate time-domain quantities and the objective function value, the gradient of the single-time-domain objective function with respect to the control and state variables is calculated through backpropagation. The formula for calculating the gradient of the single-time-domain objective function with respect to the control variable is as follows:

[0091]

[0092] in, Let be the gradient of the k-time domain objective function with respect to each optimization objective. The gradient of a single optimization objective with respect to the control variable is calculated using the following formula:

[0093]

[0094] Among them, the left side To optimize the target for u kThe global partial derivative, on the right side To optimize objective A i Except for u k Explicit partial derivatives of external variables treated as constants. The gradient of a single optimization objective with respect to the discretely predicted state variables. To predict the gradient of the state variable with respect to the control variable, the calculation formula is as follows:

[0095]

[0096] in, To predict the gradient of a state variable with respect to a continuous state variable, The gradient of the continuous state variable with respect to the control variable is calculated using the following formula:

[0097]

[0098] in, The gradient of the continuous state quantity with respect to the tire lateral force. This is the gradient of the tire lateral force with respect to intermediate variables. The gradient of the intermediate variable with respect to the control quantity;

[0099] Therefore, the gradient of a single time-domain objective function with respect to the control variable can be calculated through backpropagation. The formula for calculating the gradient of a single time-domain objective function with respect to the state variable is:

[0100]

[0101] in, The gradient of a single time-domain objective function with respect to a single optimization objective is consistent with the gradient of a single time-domain objective function with respect to the control input. The gradient of a single optimization objective with respect to the state variables is calculated using the following formula:

[0102]

[0103] in, For a single optimization objective, predict the gradient of the state variables. To predict the gradient of a state variable with respect to another state variable, the calculation formula is as follows:

[0104]

[0105] Among them, the left side To predict the gradient of a state variable with respect to the overall state variable, the right side shows the gradient of the predicted state variable with respect to the displayed state variable, only considering the gradient of the predicted state variable. The gradient of a continuous state variable with respect to the previous time-domain state variable is calculated using the following formula:

[0106]

[0107] Among them, the right side The state gradient is expressed in the continuous state quantity pair. The gradient of the continuous state quantity with respect to the lateral force of the tire. This represents the gradient of the tire lateral force with respect to intermediate variables, consistent with the gradient of the single-time-domain objective function with respect to the control variable. It is the gradient of the intermediate variable with respect to the state variable;

[0108] Therefore, the gradient of the single-time-domain objective function with respect to the state variables can be obtained through backpropagation.

[0109] like Figure 3 , 4 As shown, the optimization solution specifically includes:

[0110] After obtaining the gradient of the single-time-domain objective function with respect to the control and state variables through backpropagation, it is also necessary to calculate the gradient of the overall objective function with respect to all time-domain control and state variables.

[0111] At this point, the overall objective function contains gradients to be calculated at all time points, making manual optimization difficult. Therefore, dynamic programming is used to transform it into a subproblem. Considering the coupling between the subsequent time-domain state variables and all previous time-domain control and state variables, the dynamic programming equation obtained through backpropagation is:

[0112]

[0113]

[0114] Where i = 1…N p To predict the time domain, we also consider the relationship between the objective function J and N. p Time-domain state variables At that time, it did not exist. Item, in calculation hour, Since the term does not exist, a matrix of all zeros is added for both.

[0115] After obtaining the gradients of the objective function with respect to all time-domain control and state variables using dynamic programming, the local minimum of the objective function is obtained through iterative optimization using the steepest descent method. The calculation formula is as follows:

[0116]

[0117] Where s is the search step size factor, u 00 For control sequences.

[0118] In the joint simulation experiment using MATLAB and CarSim, the planning and control effect is as follows: Figure 3 , 4As shown in the simulation curves, under the control of the centralized controller, the autonomous vehicle can avoid obstacles relatively well. When there are no obstacles, the autonomous vehicle maintains lane centering under the combined influence of the global path and the lane-one centering potential field. Upon encountering a stationary obstacle, the vehicle begins to replan its path under the influence of the obstacle's potential field. After the autonomous vehicle avoids an obstacle and moves to the second lane, it maintains lane centering in the second lane due to the influence of the lane-two centering potential field, ultimately driving on the center line of lane-two, avoiding the dangerous situations that might arise from frequent lane changes. In the above operating conditions, the output of the centralized controller and the state variables of the braking driving vehicle are as follows: Figure 4 As shown in the figure, under the optimization of the centralized controller and the steepest descent method based on the computational graph, the vehicle's longitudinal speed can smoothly track the desired longitudinal speed. During driving, the lateral speed, yaw angle, and yaw rate change slowly, resulting in good vehicle handling stability. The controller output is as follows. Figure 4 As shown in (e) and (f), the controller output is smooth, ensuring the vehicle's driving safety.

[0119] In the backpropagation part of the algorithm, there is no coupling relationship between the gradient calculations of the control and state variables for each time-domain objective function, thus allowing for parallel acceleration. FPGA devices can be hardware-programmed, allowing the algorithm to be deployed on the FPGA and accelerated according to its characteristics, maximizing the acceleration of the algorithm's real-time performance.

[0120] Based on the parallelizability of the algorithm, it is accelerated by different parallel expansion factors. The acceleration time compared to the standard algorithm is shown in Table 1. As can be seen from the table, the steepest descent method based on computational graphs proposed in this invention continuously increases its speedup compared to the standard algorithm when solving centralized control problems in planning control, as the parallel expansion factor of the backpropagation expansion part increases.

[0121] Table 1: Computation Time and Resource Consumption under Parallel Deployment

[0122] plan BRAM DSP FF LUT Time (ms) acceleration ratio Serial implementation 485 2199 93805 236117 14.09 1 Parallel twice 813 3532 158464 393539 9.26 1.52 Parallel four times 1423 6398 266736 678641 6.72 2.10 Parallel eight times 2639 11530 48851 1248919 5.45 2.59 Parallel ten times 3251 14199 601821 1542814 4.78 2.95

[0123] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.

[0124] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0125] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.

[0127] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A centralized design method for motion planning control of an autonomous vehicle, characterized in that, The method includes: It acquires road environment information and obstacle location information, and obtains corresponding global path information and reference lateral velocity information based on the behavior planning layer, while acquiring vehicle pose information through vehicle sensors; A vehicle kinematics and dynamics model is established based on the obtained vehicle pose information and then simplified. A road and obstacle model is established by combining road environment information and obstacle location information, and an overall optimization objective function is established by combining the corresponding constraints. The real-time solution capability of the controller in a real vehicle is predicted by the steepest descent method based on the computation graph, and the solution is optimized. The establishment of the overall optimization objective function by combining the corresponding constraints specifically includes: By discretizing the vehicle model to predict its future state, and considering the average distribution of torque between the front and rear axles, the prediction model formula under Euler forward discretization is as follows: (10) wherein, are the distances from the vehicle center of mass to the front and rear axles, respectively, is the vehicle weight, is the vehicle moment of inertia about the z-axis; Based on the behavioral decision-making layer planning information, the controller design objective formula is: (11) in, They are respectively Longitudinal prediction velocity and longitudinal reference velocity in the time domain. The time-domain vehicle lateral displacement and global lateral position are determined by express; When a vehicle encounters an obstacle, considering the vehicle's future state under the influence of the obstacle's potential field and the road's potential field, it begins to avoid the obstacle. In lane-changing obstacle avoidance scenarios, it is necessary to move away from the boundary line, maintain lane centering after the lane change, and minimize the lane-changing process. The formula for calculating the lane-changing process is as follows: (12) (13) (14) Considering the impact of obstacle vehicles on the autonomous vehicle's operation across all future time domains, the calculation formula is as follows: (15) in, These are the horizontal and vertical coordinates in the vehicle's inertial coordinate system, respectively. , Location of the vehicle obstructing the road; When replanning and controlling the trajectory, the smoothness of vehicle movement must also be considered. The calculation formula is as follows: (16) (17) When designing motion planning and motion control centrally for autonomous vehicles, the objective function is described as follows: (18) in, and These are the range constraints for the driving force and the front wheel steering angle actuators, respectively. The real-time solution capability of the controller in a real vehicle, predicted by the steepest descent method based on computational graphs, specifically includes: The k-time domain control quantity and state quantity are stored, and when predicting the future state using equation (10), the intermediate quantity and predicted quantity are stored. The storage formula is expressed as follows: (19) (20) (21) (22) (23) (24) in, Let k be the time-domain state variable. The control quantity at time k. and These are the intermediate force and the tire lateral force used to calculate the tire lateral force, respectively. and These are the continuous state variables of the simplified vehicle model and the predicted state variables after Euler discretization, respectively. After calculating and storing the relevant quantities in the k-time domain, calculate the various optimization objectives and the overall objective function of the k-time domain objective function according to equations (11) to (17) and store them in equations (25) and (26). The storage formula is as follows: (25) (26) After obtaining all intermediate time-domain quantities and the objective function value, the gradient of the single-time-domain objective function with respect to the control and state variables is calculated through backpropagation. The formula for calculating the gradient of the single-time-domain objective function with respect to the control variable is as follows: (27) in, Let be the gradient of the k-time domain objective function with respect to each optimization objective. The gradient of a single optimization objective with respect to the control variable is calculated using the following formula: (28) Among them, the left side To optimize the target The global partial derivative, on the right side To optimize the target Except Explicit partial derivatives of external variables treated as constants. The gradient of a single optimization objective with respect to the discretely predicted state variables. To predict the gradient of the state variable with respect to the control variable, the calculation formula is as follows: (29) in, To predict the gradient of a state variable with respect to a continuous state variable, The gradient of the continuous state variable with respect to the control variable is calculated using the following formula: (30) in, The gradient of the continuous state quantity with respect to the tire lateral force. This is the gradient of the tire lateral force with respect to intermediate variables. The gradient of the intermediate variable with respect to the control quantity; Therefore, the gradient of a single time-domain objective function with respect to the control variable can be calculated through backpropagation. The formula for calculating the gradient of a single time-domain objective function with respect to the state variable is: (31) in, The gradient of a single time-domain objective function with respect to a single optimization objective is consistent with the gradient of a single time-domain objective function with respect to the control input. The gradient of a single optimization objective with respect to the state variables is calculated using the following formula: (32) in, For a single optimization objective, predict the gradient of the state variables. To predict the gradient of a state variable with respect to another state variable, the calculation formula is as follows: (33) Among them, the left side To predict the gradient of a state variable with respect to the overall state variable, the right side shows the gradient of the predicted state variable with respect to the displayed state variable, only considering the gradient of the predicted state variable. The gradient of a continuous state variable with respect to the previous time-domain state variable is calculated using the following formula: (34) Among them, the right side To express the state gradient in continuous state variables for continuous state variables. The gradient of the continuous state quantity with respect to the lateral force of the tire. This represents the gradient of the tire lateral force with respect to intermediate variables, consistent with the gradient of the single-time-domain objective function with respect to the control variable. It is the gradient of the intermediate variable with respect to the state variable; Therefore, the gradient of the single-time-domain objective function with respect to the state variables can be obtained through backpropagation.

2. The method according to claim 1, characterized in that, The process of establishing and simplifying a vehicle kinematics and dynamics model based on the obtained vehicle pose information specifically includes: Based on the vehicle's posture inertia and dynamic characteristics, kinematic and dynamic models of the vehicle are established in both the vehicle's inertial coordinate system and its center of mass coordinate system. In the inertial coordinate system, the kinematic equations are: (1) in, These are the horizontal and vertical coordinates in the vehicle's inertial coordinate system, respectively. These are the vehicle's longitudinal velocity, lateral velocity, and yaw angle, respectively. Subsequently, dynamic analysis was performed on the vehicle's longitudinal, lateral, and yaw three degrees of freedom, resulting in the simplified three-degree-of-freedom dynamic equations of the vehicle: (2) in, These are the resultant longitudinal forces on the front axle and the resultant longitudinal forces on the rear axle of the vehicle, respectively. For the front wheel steering angle, These are the distances from the vehicle's center of gravity to the front and rear axles, respectively. For vehicle weight, Let Z be the moment of inertia of the vehicle about the z-axis. The resultant lateral forces on the front and rear axles of the tires are calculated using a brush model, and the calculation formula is as follows: (3) in, Represent That is, the variables corresponding to the front and rear wheels of the vehicle. The tire slip angle is calculated using the following formula: (4) in, For tire lateral stiffness, The road surface adhesion coefficient, These are the resultant vertical loads on the tires of the front and rear axles of the vehicle, respectively, and their calculation formula is as follows: (5) in, It is the acceleration due to gravity. The height of the vehicle's center of gravity. This is the distance between the front and rear axles of the vehicle.

3. The method according to claim 1, characterized in that, The process of establishing a road and obstacle model by combining road environment information and obstacle location information specifically includes: Considering that road boundaries cannot be crossed, a mathematical model of the road boundary line is established, and the model formula is as follows: (6) in, For the boundary line road function coefficients, The coefficients are used to facilitate the rapid decrease in the value of the exponential function. The coordinates of the boundary line in the geodetic coordinate system are... 1 or 2 represents the road boundary line. Let Y be the vehicle's position in the inertial coordinate system. Used to avoid collisions in numerical calculations that could result in a denominator of zero; To avoid vehicles frequently changing lanes while driving, a mathematical model is established for the road lane markings. The model formula is as follows: (7) in, The lane divider function coefficients are used to select lane divider coefficients for lane-changing decisions in a three-lane scenario, taking into account different user habits. These are the coefficients of the road lane divider function. It can be 1 or 2; After the vehicle performs obstacle avoidance and lane change, it still needs to maintain lane centering. Therefore, the potential field value is minimum at the lane centerline. A mathematical model is established for this point, and the model formula is as follows: (8) in, For function coefficients, Lane width; Simultaneously, an obstacle model is established, and the different effects of lateral and longitudinal positions on vehicle safety during vehicle movement are considered. Therefore, its potential field model formula is: (9) in, The obstacle coefficient, , Based on the different characteristic coefficients of the obstacle in the horizontal and vertical directions, , Location of the vehicle with the obstacle. To prevent constants with a denominator of zero, These represent the effective range of the obstacle vehicle's potential field.

4. The method according to claim 1, characterized in that, The optimization solution process specifically includes: The overall objective function is transformed by dynamic programming to find gradients at all time points. Considering the coupling between the state variables in the later time domain and all previous time domain control and state variables, the dynamic programming equation is obtained by combining backpropagation: (35) (36) Where i= To predict the time domain, and simultaneously consider the solution of the objective function right Time-domain state variables At that time, it did not exist. Item, in calculation hour, Since the term does not exist, a matrix of all zeros is added for both. After obtaining the gradient of the objective function with respect to all time-domain control and state variables through dynamic programming, the local minimum value of the objective function is obtained through iterative optimization using the steepest descent method.

Citation Information

Patent Citations

  • Automatic driving vehicle decision-making and regulation control method considering safety boundary constraint

    CN116048081A

  • Vehicle Control

    US20110029235A1