A method for controlling automatic driving vehicle to enter a parking space by reversing
Through the terminalless model predictive control algorithm, combined with vehicle state switching conditions, the automatic driving vehicle reversing and warehousing control is optimized, solving the trajectory deviation problem caused by the separation of path planning and vehicle control, achieving high-precision reversing and warehousing effects, and saving money. amount of calculation.
Patent Information
- Application Number
- CN202210623541.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing automatic driving vehicle reversing and parking control, path planning and vehicle control are implemented by different algorithms, resulting in deviations between the actual trajectory and the planned trajectory, increasing the risk of traffic accidents, and the standard model predictive control algorithm is difficult to solve in the terminal set. The feasible range is reduced.
The terminalless model predictive control algorithm is used to optimize the path planning and vehicle control by designing the vehicle state switching conditions and combining the vehicle yaw angle and position to achieve high-precision control of reversing into the warehouse, simplifying the calculation amount and control structure.
It achieves high-precision path planning and control for reversing and warehousing autonomous vehicles, avoiding trajectory deviations, saving calculations, improving system stability and control accuracy, and ensuring a safe reversing and warehousing process.
Smart Images

Figure CN114771578B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automatic driving vehicle control, and in particular relates to a method for controlling an automatic driving vehicle to reverse into a garage. Background Art
[0002] As a cutting-edge technology, autonomous driving can reduce traffic accidents and free the driver's hands. According to incomplete statistics, more than 20% of traffic accidents are caused by parking. One reason is that the driver has poor control sense when reversing, and it is difficult to park accurately through the irregular rearview mirror image; another reason is that with the development of urbanization, there are more and more private cars, and urban roads and parking lots have become congested, which increases the difficulty and danger of reversing into the garage. Therefore, it is very necessary to study the path planning and vehicle control problems of autonomous driving vehicles reversing into the garage.
[0003] Path planning is a technology that seeks an optimal strategy to control an autonomous vehicle to accurately drive from an initial position to a target position. Autonomous vehicle control is a technology that controls the accelerator, brake, and steering wheel to make the autonomous vehicle drive along the planned path. However, since the path planning and vehicle control of autonomous vehicles are completed by different modules, there is a deviation between the actual trajectory and the planned trajectory, which may lead to traffic accidents. Therefore, it is of great significance to achieve path planning and vehicle control through the same algorithm.
[0004] Model predictive control algorithms handle hard constraints and predict future states by solving optimization problems in a finite time domain. Since solving optimization problems requires a huge amount of computation, the algorithm was originally used in the power generation industry and the oil industry with long sampling periods. With the improvement of the computing power of on-board computers, the algorithm has also been applied to the control of vehicles driven by it. However, the terminal set of the standard model predictive control algorithm is sometimes difficult to solve, and the conservative terminal set greatly reduces the feasible range of the model predictive control algorithm. In existing research results, the terminalless model predictive control algorithm has been applied to the point stabilization problem of wheeled robots. The point stabilization problem of wheeled robots is the combination of path planning and tracking control. Unlike robot mobile control, robot movement can complete many actions that are difficult for autonomous vehicles to achieve, while the steering angle of autonomous vehicles is limited. In addition, more complex vehicle state constraints need to be considered in the problem of autonomous vehicles reversing into the garage. Therefore, it is challenging to achieve path planning and vehicle control at the same time by improving the terminalless model predictive control algorithm. Summary of the invention
[0005] In view of the defect that the existing autonomous driving vehicles need to use different algorithms to realize path planning and vehicle control respectively when reversing into a garage, the present invention proposes a reversing control method for autonomous driving vehicles, which realizes path planning and high-precision control of the autonomous driving vehicles when reversing into a garage by using a terminal-free model predictive control algorithm.
[0006] The present invention is achieved by utilizing the following technical solutions:
[0007] A method for controlling a reverse parking space of an automatic driving vehicle, the method comprising the following steps:
[0008] Step 1: Establish a discretized model of the autonomous driving vehicle:
[0009]
[0010] Where ξ(k) is the vehicle state, u(k) is the vehicle control input, x(k) and y(k) are the X-axis component and Y-axis component of the center point of the vehicle's rear axle in the geodetic coordinate system, θ(k) is the vehicle's yaw angle, v(k) is the vehicle's speed, δ(k) is the vehicle's front wheel deflection angle, and T s is the sampling period, L is the vehicle wheelbase, f() represents the functional relationship, and k is the sampling time in continuous time t;
[0011] Step 2: Based on the actual reversing scenario, design vehicle control input constraints and vehicle state constraints;
[0012] Step 3, based on the autonomous driving vehicle discretization model of step 1 and the vehicle state constraints of step 2, design a terminalless model predictive control algorithm with the vehicle yaw angle and vehicle position as switching conditions;
[0013] Step 4, according to the feasible trajectory of the vehicle reversing into the garage, solve the minimum stable prediction time domain of the terminalless model predictive control algorithm based on the vehicle state switching condition; if there are multiple feasible trajectories for the vehicle reversing into the garage, solve the minimum stable prediction time domain under each feasible trajectory of the vehicle reversing into the garage respectively; finally, the minimum stable prediction time domain takes the smaller value of the two minimum stable prediction time domains.
[0014] The step 2 further includes the following processing:
[0015] Step 2.1, design vehicle control input constraints: the vehicle speed needs to take into account the vehicle mechanical structure and the reversing scenario, and the absolute values of the vehicle's maximum forward speed and maximum reversing speed are both set to v; at the same time, the vehicle's front wheel deflection angle is constrained by the vehicle's mechanical structure, and the absolute values of the front wheel's maximum left deflection angle and the front wheel's maximum right deflection angle are both set to δ;
[0016] Step 2.2, design vehicle state constraints: decompose the vehicle position constraint into two rectangular vehicle position constraints; the angle period is 2π, so the vehicle yaw angle constraint range is set to [-π,π].
[0017] The step 3 specifically includes the following processing:
[0018] If the position of the rear axle center point of the vehicle starts from one of the decomposition areas in the feasible reversing area, the target point O is set as the reference point of the geodetic coordinate system considering the rear overhang length of the vehicle. When the prediction time τ=k, k+1,..., k+N-1, the design optimization problem is expressed as:
[0019]
[0020]
[0021]
[0022]
[0023]
[0024] Among them, N is the prediction time domain, Input constraints for vehicle control, is the vehicle prediction control input at the prediction time τ obtained at the sampling time k, is the predicted state of the vehicle at the predicted time τ obtained at the sampling time k, is the predicted state of the vehicle at the predicted time k obtained at the sampling time k, that is, the state of the vehicle at the sampling time k;
[0025] The cost function expression is as follows:
[0026]
[0027] The vehicle predicts the state and vehicle predictive control input Adding a cost function makes the vehicle state change in the direction of approaching the target state faster, q 1 ,q 2 ,q 3 ,r 1 ,r 2 is a positive definite weight coefficient. Each weight coefficient is used to determine the weight of each state when solving the optimization problem. The current vehicle state is obtained through the inertial navigation system.
[0028] The switching condition is that the center point of the vehicle's rear axle enters another decomposition area and the absolute value of the vehicle's yaw angle θ(k) is less than a fixed value. When the vehicle state meets the switching condition, the target point O′ is set as the reference point of the earth coordinate system. At the same time, the cost function of the optimization problem and the vehicle state constraint are switched to obtain a predictive control input sequence with the minimum combined state error and input error after the target point is switched. The algorithm implementation steps are as follows:
[0029] Select the appropriate optimization problem based on whether the current vehicle state meets the switching conditions;
[0030] Solve the optimization problem to obtain the optimal predictive control input sequence;
[0031] The optimal predictive control input u * (k|k) acts on the autonomous driving vehicle for one sampling period;
[0032] Let k=k+1 and return to the first step.
[0033] The step 4 specifically includes the following processing:
[0034] If the components of the initial vehicle state ξ(0) satisfy and There are two feasible trajectories for the vehicle to reverse into the parking space, which are composed of a straight line and an arc. The first feasible trajectory is that the vehicle first drives along a straight line for a distance and then drives along an arc for a distance. The second feasible trajectory is that the vehicle first drives along an arc for a distance and then drives along a straight line for a distance.
[0035] The radius of the arc in the first feasible trajectory is The length of the straight line segment is The minimum number of steps for a vehicle to reverse along a straight line is The length of the arc is The minimum number of reverse steps for a vehicle to travel along an arc is
[0036] When the forecast time When the stability coefficient c τ It is expressed as:
[0037]
[0038] Among them, q 1 ,q 2 ,q 3 ,r 1 All are positive definite weight coefficients, and the minimum initial cost s = q 1 x 2 (0)+q 2 y 2 (0)+q 3 θ2 (0), T s is the sampling period, is the length of the straight line segment in the first feasible trajectory, is the minimum number of reverse steps for the vehicle to travel in a straight line in the first feasible trajectory;
[0039] When the forecast time When the stability coefficient c τ It is expressed as:
[0040]
[0041] Among them, r 1 and r 2 are all positive definite weight coefficients, R is the arc radius in the first feasible trajectory, is the minimum number of reverse steps for the vehicle to travel along the arc in the first feasible trajectory;
[0042] satisfy The smallest integer N 1 That is, the minimum stable prediction time domain under the first feasible trajectory;
[0043] The radius of the arc in the second feasible trajectory is Arc length The minimum number of steps for a vehicle to reverse along an arc is in is the upper limit of the absolute value of the vehicle speed; the length of the straight line segment Where R′ is the arc radius in the second feasible trajectory, and the minimum number of reversing steps for the vehicle to travel along a straight line is
[0044] When the forecast time When the stability coefficient c′ τ The value is expressed as:
[0045]
[0046] When the forecast time When the stability coefficient c′ τ The value is expressed as:
[0047]
[0048] satisfy The smallest integer N 2 That is, it is the minimum stable prediction time domain under the second feasible trajectory;
[0049] Finally, the minimum stable prediction horizon takes the smaller value of the two minimum stable prediction horizons.
[0050] Compared with the prior art, the present invention applies the terminalless model predictive control algorithm to the reversing into a parking space problem by switching the optimization problem, and realizes the path planning and tracking control of automatic driving, which not only ensures the reversing effect but also saves the amount of calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is an overall flow chart of a method for controlling a reverse parking space of an automatic driving vehicle according to the present invention;
[0052] Figure 2 This is the motion model diagram of the autonomous driving vehicle;
[0053] Figure 3 It is a schematic diagram of the reversing parking motion model;
[0054] Figure 4 It is a structural block diagram of the terminalless model predictive control algorithm based on vehicle state switching conditions;
[0055] Figure 5 A reverse parking trajectory diagram according to an embodiment of the present invention;
[0056] Figure 6 This is a state diagram of reversing into a garage according to an embodiment of the present invention;
[0057] Reference numerals:
[0058] 1. 2. The rectangular dotted frame decomposed within the feasible reversing area, 3. The reversing track, 4. The garage edge line. DETAILED DESCRIPTION
[0059] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0060] like Figure 1 As shown, it is an overall flow chart of a method for controlling a reverse parking space of an automatic driving vehicle according to the present invention.
[0061] Step 1: Establish a discretized model of the autonomous driving vehicle; Figure 2 The figure below shows the motion model of an autonomous driving vehicle: Assuming that the front and rear wheels of the vehicle are rigid bodies, the vehicle only moves in the direction of wheel rolling, and the deflection angles of the left and right tires of the vehicle are consistent, the kinematic equation established with the center point of the rear axle of the vehicle is:
[0062]
[0063] Where x(t) and y(t) are the X-axis component and Y-axis component of the center point of the rear axle of the vehicle in the geodetic coordinate system, θ(t) is the vehicle yaw angle, and v(t) is the vehicle speed;
[0064] The geometric relationship between the center point of the front axle and the center point of the rear axle of the vehicle is:
[0065]
[0066] Among them, x f (t) and y f (t) is the X-axis component and Y-axis component of the center point of the rear axle of the vehicle at the current time t in the geodetic coordinate system, L is the wheelbase of the vehicle, L w is the width of the vehicle body, L f is the front overhang of the vehicle, L r The rear overhang of the vehicle.
[0067] In the case of no lateral wheel slip, the center points of the front and rear axles of the vehicle both satisfy the nonholonomic constraints:
[0068]
[0069] Among them, δ(t) is the front wheel deflection angle of the vehicle;
[0070] After the simultaneous derivation of the above formulas (1) to (3), the kinematic equation of the center point of the rear axle of the vehicle is rewritten as:
[0071]
[0072] Where, ω(t) is the vehicle yaw rate;
[0073] By forward Euler method with sampling period T s Discretize the kinematic equations into:
[0074]
[0075] Among them, the vehicle state in column vector form ξ(k)=[x(k),y(k),θ(k)] T , vehicle control input u(k)=[v(k),δ(k)] T , f() represents the functional relationship, k is the sampling time in continuous time t;
[0076] Step 2: Design vehicle control input constraints and vehicle state constraints based on the actual reversing parking scenario;
[0077] Step 2.1, design vehicle control input constraints: The vehicle speed needs to take into account the vehicle mechanical structure and reversing scenario. The absolute values of the vehicle's maximum forward speed and maximum reversing speed are set to At the same time, the vehicle's front wheel deflection angle is constrained by the vehicle's mechanical structure, and the absolute values of the maximum left deflection angle and the maximum right deflection angle of the front wheel are set to The vehicle control input constraints are expressed as:
[0078]
[0079] Step 2.2, design vehicle state constraints: Figure 3 The figure shows the schematic diagram of the reversing parking motion model. a and L b They are the length and width of the garage, and the shunting area is composed of L c and L d The rectangular box indicates that reversing needs to be completed within the feasible reversing area of the "convex" shape, and the vehicle body cannot touch the outer edge line, so the vehicle position constraint setting needs to take into account the vehicle width and rear overhang length, and shrink the feasible reversing area inward. In addition, in order to optimize and reduce the difficulty of solving the problem caused by the non-convexity of the vehicle position constraint, the "convex"-shaped feasible reversing area is decomposed into two overlapping rectangular dotted boxes 1 and 2 to represent the vehicle position constraints; the angle period is 2π, so the vehicle yaw angle constraint range is set to [-π,π], and the two vehicle state constraints before and after the switch are expressed as:
[0080]
[0081]
[0082] in, To switch the bounds of the front rectangular vehicle position constraint, is the limit of the rectangular vehicle position constraint after switching;
[0083] Step 3, designing a terminalless model predictive control algorithm with the vehicle yaw angle and the vehicle position as switching conditions according to the autonomous driving vehicle discretization model (5) of step 1 and the vehicle state constraints of step 2;
[0084] Combination Figure 3 The reversing motion model for parking is as follows: if the center point of the rear axle of the vehicle starts from the rectangular dashed box 2 decomposed in the feasible reversing area, the target point O is set as the reference point of the earth coordinate system considering the rear overhang length of the vehicle. In the optimization problem, it is necessary to consider the vehicle discretization model, vehicle state constraints and vehicle control input constraints to obtain the prediction control input sequence with the minimum combined state error and input error in the prediction time domain. When the prediction time τ=k, k+1,..., k+N, the designed optimization problem is expressed as:
[0085]
[0086] Among them, N is the prediction time domain, Input constraints for vehicle control, is the predicted control input at the prediction time τ obtained at the sampling time k, is the predicted state at the prediction time τ obtained at the sampling time k, is the predicted state of the vehicle at the predicted time k obtained at the sampling time k, that is, the state of the vehicle at the sampling time k;
[0087] The cost function expression is as follows:
[0088]
[0089] The vehicle predicts the state and vehicle predictive control input Adding a cost function makes the vehicle state change in the direction of approaching the target state faster, q 1 ,q 2 ,q 3 ,r 1 ,r 2 is a positive definite weight coefficient. Each weight coefficient is used to determine the weight of each state when solving the optimization problem. The current vehicle state is obtained through the inertial navigation system.
[0090] The rear axle center point of the vehicle enters the rectangular dotted frame 1 and the absolute value of the vehicle yaw angle θ(k) is less than As the switching condition of this algorithm; when the vehicle state meets the switching condition, the target point O′ is set as the reference point of the geodetic coordinate system; when the prediction time τ=k, k+1,..., k+N-1, the designed optimization problem is switched to:
[0091]
[0092] The algorithm implementation steps are:
[0093] Step 1: Select the appropriate optimization problem based on whether the current vehicle state meets the switching conditions.
[0094] Step 2: Solve the optimization problem to obtain the optimal predictive control input sequence
[0095] {u * (k|k),u * (k+1|k),…,u * (k+N-1|k)}.
[0096] Step 3: Input the optimal predictive control into u * (k|k) acts on the autonomous driving vehicle for one sampling period.
[0097] Step 4: Set k=k+1 and return to step 1.
[0098] like Figure 4 As shown, it is a schematic diagram of the terminalless model predictive control algorithm based on the vehicle state switching condition. The terminalless model predictive control algorithm based on the vehicle state switching condition has the advantages of simple structure, small amount of calculation and easy parameter adjustment;
[0099] Step 4, solve the minimum stable prediction horizon of the terminalless model predictive control algorithm based on the vehicle state switching condition:
[0100] If the components of the initial vehicle state ξ(0) satisfy and There are two feasible trajectories for the vehicle to reverse into a parking space, consisting of a straight line and an arc: the vehicle first drives along a straight line for a distance, and then drives along an arc for a distance, forming the first feasible trajectory; the vehicle first drives along an arc for a distance, and then drives along a straight line for a distance, forming the second feasible trajectory.
[0101] The radius of the arc in the first feasible trajectory is The length of the straight line segment is The minimum number of steps for a vehicle to reverse along a straight line is The length of the arc is The minimum number of steps for a vehicle to reverse along an arc is
[0102] When the forecast time When the stability coefficient c τ It is expressed as:
[0103]
[0104] Among them, q 1 ,q 2 ,q 3 ,r 1 All are positive definite weight coefficients, and the minimum initial cost s = q 1 x 2 (0)+q 2 y 2 (0)+q 3 θ 2 (0), T s is the sampling period, is the length of the straight line segment in the first feasible trajectory, is the minimum number of reverse steps for the vehicle to travel in a straight line in the first feasible trajectory;
[0105] When the forecast time When the stability coefficient c τ It is expressed as:
[0106]
[0107] Among them, r 2 is the positive definite weight coefficient, R is the arc radius in the first feasible trajectory, is the minimum number of reversing steps for the vehicle in the first feasible trajectory to travel along the arc. It is worth noting that when the prediction time hour
[0108] satisfy The smallest integer N 1 That is, the minimum stable prediction time domain under the first feasible trajectory;
[0109] The radius of the arc in the second feasible trajectory is Arc length The minimum number of steps for a vehicle to reverse along an arc is in is the upper limit of the absolute value of the vehicle speed; the length of the straight line segment Where R′ is the arc radius in the second feasible trajectory, and the minimum number of reversing steps for the vehicle to travel along a straight line is
[0110] When the forecast time When the stability coefficient c′ τ The value is expressed as:
[0111]
[0112] When the forecast time When the stability coefficient c′ τ The value is expressed as:
[0113]
[0114] satisfy The smallest integer N 2 That is, it is the minimum stable prediction time domain under the second feasible trajectory;
[0115] Ultimately, as long as the prediction horizon N is greater than the smaller of the two minimum stable prediction horizons, the system stability can be guaranteed.
[0116] The uniqueness of this design method lies in that the terminal-free model predictive control algorithm is applied to the reversing problem by switching the optimization problem, while realizing the path planning and tracking control of autonomous driving, which not only ensures the reversing effect but also saves the amount of calculation.
[0117] Compared with the prior art, the present invention has the following advantages:
[0118] 1. Traditional parking-reversing algorithms often use two algorithms to achieve path planning and vehicle control respectively. The model predictive control algorithm has the advantages of feedback correction, rolling optimization and future planning. It can be used to achieve path planning and complete vehicle control, thereby avoiding traffic accidents caused by vehicles failing to keep up with the planned trajectory.
[0119] 2. The standard model predictive control algorithm needs to add terminal constraints to ensure stability, but the terminal constraints of complex systems are difficult to obtain, and the more conservative terminal constraints will reduce the feasible space of the optimization problem to varying degrees. The terminal-free model predictive control algorithm can avoid these problems;
[0120] 3. Using one algorithm to realize planning and control simultaneously saves the time of information transmission and multi-algorithm solution. The vehicle state constraint of the reversing parking problem is non-convex, and directly applying it to the optimization problem will increase the difficulty of solution. The vehicle state constraint of the reversing parking problem can be divided into two convex vehicle state constraints. By switching the vehicle state constraints through judgment conditions, the computational burden of model predictive control is reduced.
[0121] 4. The present invention adopts a terminalless model predictive control algorithm based on vehicle state switching conditions. Its controller has a simple structure and its parameters have distinct physical meanings. It is convenient to set parameters through experimental phenomena, which enhances the versatility of the algorithm. Therefore, it is very suitable for the planning and control of autonomous driving vehicles reversing into garages.
[0122] The method of the present invention does not rely on the precise mathematical model of the autonomous driving vehicle, and can simultaneously realize the path planning and vehicle control of reversing into the garage, and finally reverses into the garage safely and accurately, and the control accuracy can reach:
[0123] Lateral error Longitudinal error Yaw angle error 0.011m -0.036m 0.008rad
[0124] Embodiment: An autonomous driving platform is used as an experimental platform. The main components of the autonomous driving platform include: a Nuvo industrial computer equipped with a Core i5 processor, an inertial navigation system of Qianxun Positioning Co., Ltd., a rear-view camera system of Huaxin Micro Communication Technology Co., Ltd., etc.
[0125] The control objectives are set as follows:
[0126] Reference quantity: both reference state and reference control input are 0;
[0127] The garage used as the experimental platform is a standard garage with a length and width of 5.3m and 2.2m respectively. The surrounding area is relatively open and has the conditions for safe experiments. After the experiment starts, the vehicle is reversed into the garage with point O as the reference point. When the vehicle reaches point S and meets the vehicle state switching condition, the reference point is changed to point O′ to continue solving the optimization problem and implement control. Figure 5 As shown in FIG. 1 , it is a reverse parking trajectory diagram of an embodiment of the present invention. In the whole reverse parking process, a reverse parking trajectory 3 is formed, and the vehicle body does not touch the garage edge line 4. Figure 6 , which is a state diagram of reversing into a parking space according to an embodiment of the present invention, wherein each state decreases monotonically and eventually converges to a reference value zero state.
[0128] The non-terminal model predictive control algorithm was used to conduct a reverse parking experiment. After repeated debugging of the control parameters q 1 ,q 2 ,q 3 ,r 1 ,r 2 , which can realize the path planning and vehicle control of the autonomous driving vehicle reversing into the garage, as shown in Table 1, is the parking accuracy.
[0129] Table 1
[0130] Lateral error Longitudinal error Yaw angle error 0.011m -0.036m 0.008rad
Claims
1. A method for controlling a reverse parking space of an automatic driving vehicle, characterized in that: The method comprises the following steps: Step 1: Establish a discretized model of the autonomous driving vehicle: Where ξ(k) is the vehicle state, u(k) is the vehicle control input, x(k) and y(k) are the X-axis component and Y-axis component of the center point of the vehicle's rear axle in the geodetic coordinate system, θ(k) is the vehicle's yaw angle, v(k) is the vehicle's speed, δ(k) is the vehicle's front wheel deflection angle, and T s is the sampling period, L is the vehicle wheelbase, f() represents the functional relationship, k is the sampling time in continuous time t, and the vehicle state in column vector form ξ(k)=[x(k),y(k),θ(k)] T , vehicle control input u(k)=[v(k),δ(k)] T ; Step 2: Based on the actual reversing scenario, design vehicle control input constraints and vehicle state constraints; Step 3, based on the autonomous driving vehicle discretization model of step 1 and the vehicle state constraints of step 2, design a terminalless model predictive control algorithm with the vehicle yaw angle and vehicle position as switching conditions; Step 4, according to the feasible trajectory of the vehicle reversing into the garage, solve the minimum stable prediction time domain of the terminalless model predictive control algorithm based on the vehicle state switching condition; if there are multiple feasible trajectories for the vehicle reversing into the garage, solve the minimum stable prediction time domain under each feasible trajectory of the vehicle reversing into the garage respectively; finally, the minimum stable prediction time domain takes the smaller value of the two minimum stable prediction time domains.
2. The method for controlling the reverse parking of an automatic driving vehicle according to claim 1, characterized in that: The step 2 further includes the following processing: Step 2.1, design vehicle control input constraints: The vehicle speed needs to take into account the vehicle mechanical structure and reversing scenario. The absolute values of the vehicle's maximum forward speed and maximum reversing speed are set to At the same time, the vehicle's front wheel deflection angle is constrained by the vehicle's mechanical structure, and the absolute values of the maximum left deflection angle and the maximum right deflection angle of the front wheel are set to Step 2.2, design vehicle state constraints: decompose the vehicle position constraint into two rectangular vehicle position constraints; the angle period is 2π, so the vehicle yaw angle constraint range is set to [-π,π]; The two vehicle state constraints before and after the switch are expressed as: in, To switch the bounds of the front rectangular vehicle position constraint, is the limit of the rectangular vehicle position constraint after switching.
3. The method for controlling the reverse parking of an automatic driving vehicle according to claim 2, characterized in that: The step 3 specifically includes the following processing: If the position of the rear axle center point of the vehicle starts from one of the decomposition areas in the feasible reversing area, the target point O is set as the reference point of the geodetic coordinate system considering the rear overhang length of the vehicle. When the prediction time τ=k, k+1,..., k+N-1, the design optimization problem is expressed as: Among them, N is the prediction time domain, Input constraints for vehicle control, is the vehicle prediction control input at the prediction time τ obtained at the sampling time k, is the predicted state of the vehicle at the predicted time τ obtained at the sampling time k, is the predicted state of the vehicle at the predicted time k obtained at the sampling time k, that is, the state of the vehicle at the sampling time k; The cost function expression is as follows: The vehicle predicts the state and vehicle predictive control input Add a cost function to change the vehicle state in the direction of approaching the target state faster. q1, q2, q3, r1, r2 are positive definite weight coefficients. Each weight coefficient is used to determine the proportion of each state when solving the optimization problem. The current vehicle state is obtained through the inertial navigation system. The position of the center point of the vehicle's rear axle enters another decomposition area and the absolute value of the vehicle's yaw angle θ(k) is less than a fixed value as the switching condition: when the vehicle state meets the switching condition, the target point O′ is set as the reference point of the geodetic coordinate system; when the prediction time τ=k, k+1,..., k+N-1, the designed optimization problem is switched to: The implementation steps are as follows: Select the appropriate optimization problem based on whether the current vehicle state meets the switching conditions; Solve the optimization problem to obtain the optimal predictive control input sequence; The optimal predictive control input u * (k|k) acts on the autonomous driving vehicle for one sampling period; Let k=k+1 and return to the first step.
4. The method for controlling the reverse parking of an automatic driving vehicle according to claim 1, characterized in that: The step 4 specifically includes the following processing: If the components of the initial vehicle state ξ(0) satisfy and There are two feasible trajectories for the vehicle to reverse into the parking space, which are composed of a straight line and an arc. The first feasible trajectory is that the vehicle first drives along a straight line for a distance and then drives along an arc for a distance. The second feasible trajectory is that the vehicle first drives along an arc for a distance and then drives along a straight line for a distance. The radius of the arc in the first feasible trajectory is The length of the straight line segment is The minimum number of steps for a vehicle to reverse along a straight line is The length of the arc is The minimum number of steps for a vehicle to reverse along an arc is When the forecast time When the stability coefficient c τ It is expressed as: Among them, q1, q2, q3, r1 are all positive weight coefficients, and the minimum initial cost s = q1x 2 (0)+q2y 2 (0)+q3θ 2 (0), T s is the sampling period, is the length of the straight line segment in the first feasible trajectory, is the minimum number of reverse steps for the vehicle to travel in a straight line in the first feasible trajectory; When the forecast time When the stability coefficient c τ It is expressed as: Among them, r1 and r2 are both positive definite weight coefficients, R is the arc radius in the first feasible trajectory, is the minimum number of reverse steps for the vehicle to travel along the arc in the first feasible trajectory; satisfy The minimum integer N1 is the minimum stable prediction time domain under the first feasible trajectory; The radius of the arc in the second feasible trajectory is Arc length The minimum number of reverse steps for a vehicle to travel along an arc is in is the upper limit of the absolute value of the vehicle speed; the length of the straight line segment , where R′ is the arc radius in the second feasible trajectory, and the minimum number of reversing steps for the vehicle to travel along a straight line is When the forecast time When the stability coefficient c τ ′ value is expressed as: When the forecast time When the stability coefficient c τ ′ value is expressed as: satisfy The minimum integer N2 is the minimum stable prediction time domain under the second feasible trajectory; Finally, the minimum stable prediction horizon takes the smaller value of the two minimum stable prediction horizons.
Citation Information
Patent Citations
Trajectory tracking control method for unmanned autonomous vehicle
CN113467470A
Intelligent vehicle path tracking method with preview characteristic based on model predictive control
CN114326709A
