Trajectory tracking control method and device for autonomous driving vehicle based on hierarchical constraints

Through the hierarchical constraint method of Udwadia-Kalaba theory, the constraints of autonomous vehicles are decomposed, a dynamic model is established and an adaptive controller is designed, which solves the trajectory tracking control problem of autonomous vehicles under non-ideal constraints and achieves accurate parking. Track control.

CN115268464BActive Publication Date: 2024-09-24SHANDONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211022631.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2024-09-24
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

There are complete and non-holonomic constraints during the movement of autonomous vehicles, and it is difficult to obtain dynamic equations and constraint forces at the same time, resulting in trajectory tracking control errors. The existing methods based on D'Alembert's principle are not suitable for non-ideal situations.

Method used

The hierarchical constraint method based on Udwadia-Kalaba theory is used to divide the constraints into structural constraints and motion constraints. By establishing the dynamic model of the autonomous vehicle and the two-layer constraint force, a self-adjusting leakage adaptive robust controller is designed to achieve Trajectory tracking control.

Benefits of technology

It effectively reduces the trajectory tracking error, achieves accurate parking trajectory control of autonomous vehicles, simplifies the modeling process, and improves the accuracy and effectiveness of control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115268464B
    Figure CN115268464B
Patent Text Reader

Abstract

The present invention discloses a trajectory tracking control method and device for an autonomous driving vehicle based on hierarchical constraints, which belongs to the field of vehicle control technology. The method includes the following steps: establishing a dynamic equation of an autonomous driving vehicle without constraints; obtaining a second-order dynamic equation with structural constraints, and establishing a dynamic model of an autonomous driving vehicle system with parameter uncertainty; establishing a second-order constraint equation according to the parking trajectory of the autonomous driving vehicle, and calculating its motion constraint force and constraint matrix; designing a self-adjusting leakage adaptive robust controller and a suitable adaptive rate to obtain corresponding control parameters; based on the obtained dynamic equation and control parameters, performing trajectory tracking control on the autonomous driving vehicle for automatic parking. The device includes a first establishment module, a second establishment module, a third establishment module, a fourth establishment module, and a trajectory tracking control module. The trajectory tracking control method and device of the present invention are simpler, more effective, and more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of vehicle control technology, and specifically relates to a trajectory tracking control method and device for an autonomous driving vehicle based on hierarchical constraints. Background Art

[0002] The establishment of an autonomous vehicle model is the key to trajectory tracking control. The modeling methods are usually divided into two categories: kinematic modeling and dynamic modeling. Since kinematic modeling ignores the influence of dynamics, the effective moving speed is reduced and errors are generated. Especially when the vehicle model moves at a fast speed and the input of the control signal changes significantly, the error will not only lead to additional calculations for path planning, but also cause it to deviate from the predetermined trajectory. In order to reduce the tracking error when the vehicle is moving and achieve accurate control performance, it is necessary to establish a dynamic model of the autonomous vehicle. Since Lagrange described motion constraints, many motion constraint equations based on the D'Alembert principle have been proposed. The motion constraint equations based on the D'Alembert principle are applicable to many situations, but not to situations where the constraints are non-holonomic or non-ideal.

[0003] The autonomous driving vehicle system itself and during its motion process will have complete constraints and incomplete constraints, and the number of constraint forces is greater than 2, so it is difficult to obtain its dynamic equations and constraint forces at the same time. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a method and device for dynamic modeling and trajectory tracking control of an autonomous driving vehicle based on hierarchical constraints, which divides the constraints (complete constraints and incomplete constraints) into first-level constraints and second-level constraints, and performs dynamic modeling and trajectory tracking control based on the Udwadia-Kalaba theory.

[0005] The technical solution of the present invention is as follows:

[0006] A trajectory tracking control method for an autonomous driving vehicle based on hierarchical constraints, which divides the constraints of the autonomous driving vehicle system into structural constraints and motion constraints, and uses a hierarchical method based on the Udwadia-Kalaba theory to simultaneously obtain the dynamic model of the autonomous driving vehicle system and the two-layer constraints of structure and motion, and realizes the parking trajectory tracking control of the autonomous driving vehicle by restricting the movement of the two centers of mass of the front wheel and the rear wheel. The method specifically includes the following steps:

[0007] Step 1: Establish a dynamic model of the autonomous driving vehicle system without constraints;

[0008] Step 2: Establish a second-order structural constraint equation based on the structural characteristics of the autonomous driving vehicle, calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous driving vehicle with structural constraints, and then establish a dynamic model of the autonomous driving vehicle system with parameter uncertainty;

[0009] Step 3: Based on the second-order dynamic equation with uncertainty, a second-order motion constraint equation is established according to the parking trajectory of the autonomous driving vehicle, and its motion constraint force is calculated;

[0010] Step 4: Design a self-adjusting leakage adaptive robust controller and a self-adjusting adaptation rate, obtain corresponding control parameters, and perform trajectory tracking control on the autonomous driving vehicle;

[0011] Step 5: Based on the dynamic equations obtained above and the designed controller, the automatic parking trajectory tracking control is performed on the self-driving car.

[0012] Furthermore, the specific process of step 1 is: establishing a dynamic model of the unconstrained autonomous driving vehicle system based on Newtonian mechanics:

[0013]

[0014] Where M is the inertial mass matrix, q is the position coordinate variable, is the second-order derivative of the position coordinate variable, Q is the given force of the autonomous vehicle; and M, q, Q are defined as follows:

[0015]

[0016] Where t is time, m is the mass of the car, in kg; I1 is the overall moment of inertia of the car, and I2 is the moment of inertia of the front wheels of the car. The units of I1 and I2 are both kg·m 2 ; (x, y) is the position of the rear wheel mass center C of the car in the coordinate system, x is the position component of the rear wheel mass center C of the car on the X axis, y is the position component of the rear wheel mass center C of the car on the Y axis, and the units of x and y are both m; θ is the rotation angle of the car, is the turning angle of the right front wheel of the car, θ and The unit of all is °; is the first-order derivative of the position coordinate variable, Q1, Q2, Q3, Q4 are the components of the given force Q.

[0017] Furthermore, the specific process of step 2 is:

[0018] Step 2.1: Obtain the first-level constraint structure constraints based on the vehicle structure system:

[0019]

[0020]

[0021] In the formula, is the first-order derivative of the Y-axis position component y, is the first-order derivative of the X-axis position component x, is the first-order derivative of the car's rotation angle θ, v is the car's speed, in m / s; l is the distance between the front and rear wheels, in m; z is half the distance between the left and right wheels, in m;

[0022] Among them, the car speed v is:

[0023]

[0024] Step 2.2: Differentiate (2) and (3) with respect to time t to obtain their second-order equations:

[0025]

[0026]

[0027] in, is the second-order derivative of x, is the second-order derivative of y, is the second-order derivative of θ, for The first derivative of ;

[0028] Step 2.3: The structural constraints of the autonomous vehicle are expressed as a matrix equation:

[0029]

[0030] In the formula,

[0031]

[0032] A s is the coefficient matrix of the structural constraint matrix, b s is the second-order structural constraint matrix;

[0033] Step 2.4: Structural constraints on the autonomous vehicle according to the Udwadia-Kalaba theory for:

[0034]

[0035] Therefore, the dynamic equation of the autonomous driving vehicle with structural constraints is:

[0036]

[0037] Step 2.5: Consider the uncertainty of the parameters and integrate (9) to obtain the kinetic model with parameter uncertainty in step 2 as follows:

[0038]

[0039] Where M is the inertial mass matrix, q is the position coordinate variable, is the first-order derivative of q, is the second-order derivative of q, σ is the uncertain parameter, t is the time, C is the Coriolis force or centrifugal force, and τ is the control force.

[0040] Furthermore, the specific process of step 3 is:

[0041] Step 3.1, determine the second-level motion constraint according to the trajectory tracked by the autonomous driving system, and realize the parking trajectory tracking control of the autonomous driving vehicle by limiting the movement of the front wheel center of mass and the rear wheel center of mass to achieve the desired goal; the parking trajectory equations of the rear wheel center of mass C and the front wheel center of mass C1 of the autonomous driving vehicle are:

[0042] y=0.2771x 3 -0.081x 4 +0.0063x 5 (11)

[0043]

[0044] Among them, (x1, y1) is the position of the center of mass of the front wheel of the car C1 in the coordinate system, x1 is the position component of the center of mass of the front wheel of the car C1 on the X axis, x1 = x + l cosθ, y1 ​​is the position component of the center of mass of the front wheel of the car C1 on the Y axis, y1 = y + l sinθ, and the units of x1 and y1 are both m;

[0045] Step 3.2: Differentiate (11) and (12) with respect to time t to obtain their first-order and second-order equations; the first-order equations are:

[0046]

[0047]

[0048] In the formula,

[0049] The second-order equations are:

[0050]

[0051]

[0052] in,

[0053] Step 3.3: The motion constraints of the autonomous vehicle are expressed as first-order matrix equations and second-order matrix equations; the first-order matrix equation is:

[0054]

[0055] The second-order matrix equation is:

[0056]

[0057] In the formula,

[0058] A m is the coefficient matrix of the motion constraint matrix, c m is the first-order motion constraint matrix, b m is the second-order motion constraint matrix;

[0059] Where H = 0.8313x 2 -0.324x 3 +0.0315x 4 ,

[0060] J = 0.8313x 2 +1.6626xl cosθ+0.8313l 2 cos 2 θ-0.324x 3 -0.972x 2 l cosθ-0.972xl 2 cos 2 θ-0.324l 3 cos 3 θ+0.0315x 4 +0.126x 3 l cosθ+0.189x 2 l 2 cos 2 θ+0.126xl 3 cos 3 θ+0.0315l 4 cos 4 θ,

[0061]

[0062]

[0063]

[0064] Step 3.4: According to the Udwadia-Kalaba theory, the motion constraint for:

[0065]

[0066] In the formula, + represents the generalized inverse of the matrix.

[0067] Furthermore, the specific process of step 4 is as follows:

[0068] Step 4.1: Substitute the mass matrix M(q,σ,t) and the Coriolis force matrix Divided into a nominal part and an uncertain part:

[0069]

[0070]

[0071] In the formula, and are the nominal parts of the mass matrix M and the Coriolis force matrix C, respectively, ΔM and ΔC are the uncertain parts of the mass matrix M and the Coriolis force matrix C, respectively;

[0072] make

[0073]

[0074]

[0075] In the formula, is the inverse of the nominal part of the mass matrix M, M -1 is the inverse of the mass matrix M, D represents the inverse of the nominal part of the mass matrix M, and ΔD represents the difference between the inverse of the mass matrix and the inverse of the nominal part of the mass matrix;

[0076] Step 4.2: According to the above requirements, the nominal control forces p1 and p2 of the controller are determined as:

[0077]

[0078]

[0079] Where P∈R m×m , P>0 is a constant coefficient matrix, κ>0 is a control constant; A is the coefficient matrix of the motion constraint matrix m The transpose of

[0080] Step 4.3: Determine the control force p3 of the controller according to the uncertainty of the autonomous driving car during driving.

[0081]

[0082] In the formula, is an unknown constant and satisfies γ and is the control parameter of p3;

[0083] make Since adaptive robust control does not know α, an adaptive parameter is introduced Replace α to complete the adjustment of the control force p3;

[0084] Step 4.4, design self-adjusting adaptation rate:

[0085]

[0086] In the formula, is the adaptive parameter, L1 and L2 are the control parameters of the self-adjusting adaptation rate, ε is the leakage term parameter, p is the number of leakage term parameters, p ≥ 1, and ε0 is the first leakage term parameter.

[0087] Furthermore, in step 5, when the autonomous driving car moves along a predetermined trajectory, the driving torque and steering torque of the car when parking are obtained according to the dynamic equations and control parameters, and the car is subjected to closed-loop feedback control according to the actual torque in the actual situation, so that the autonomous driving car can automatically park along the predetermined parking trajectory.

[0088] Furthermore, the autonomous driving vehicle system controls the movement and steering of the autonomous driving vehicle by a self-adjusting leakage type adaptive robust controller. First, the relevant signals are transmitted to the self-adjusting leakage type adaptive robust controller according to the predetermined motion trajectory given by the autonomous driving vehicle. The self-adjusting leakage type adaptive robust controller sends instructions to the motor driver to drive the motor to work; the motor driver compares the actual torque with the given torque to realize feedback control, so that the car can automatically park according to the preset trajectory.

[0089] A hierarchical constraint-based trajectory tracking control device for an autonomous driving vehicle adopts the above-mentioned hierarchical constraint-based trajectory tracking control method for an autonomous driving vehicle, and the device includes a first establishment module, a second establishment module, a third establishment module, a fourth establishment module and a trajectory tracking control module; wherein,

[0090] The first building module is used to establish the unconstrained dynamic model of the autonomous driving vehicle system described in formula (1);

[0091] The second establishment module is used to establish a second-order structural constraint equation according to the structural characteristics of the autonomous driving vehicle, calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous driving vehicle with structural constraints, and establish a dynamic model of the autonomous driving vehicle system with parameter uncertainty; the specific process is:

[0092] According to the automobile structural system, the two structural constraints described in formulas (2) and (3) are obtained;

[0093] Differentiate (2) and (3) twice with respect to time t to obtain the second-order structural constraint equations described in formulas (5) and (6);

[0094] Determine the structural constraints of the autonomous vehicle according to formula (7);

[0095] According to the Udwadia-Kalaba theory, the structural constraint force described in formula (8) is determined;

[0096] Determine the second-order dynamic equation of the autonomous vehicle with structural constraints according to formula (9);

[0097] Considering the uncertainty of parameters, a dynamic model with parameter uncertainty as described in formula (10) is established;

[0098] The third building module is used to establish a second-order constraint equation based on the obtained dynamic equation with uncertainty and the parking trajectory of the autonomous driving vehicle, and to calculate its motion constraint force; the specific process is as follows:

[0099] Determine the parking trajectory equations of the front wheel mass center and the rear wheel mass center of the autonomous driving vehicle according to formulas (11) and (12);

[0100] Differentiating (11)(12) once and twice with respect to time t respectively obtains the first-order equations described in formulas (13)(14) and the second-order equations described in formulas (15)(16);

[0101] The motion constraints of the autonomous vehicle are determined according to formulas (17) and (18):

[0102] According to the Udwadia-Kalaba theory, the motion restraint force described in formula (19) is determined;

[0103] The fourth building block is used to design a self-adjusting leakage adaptive robust controller to perform trajectory tracking control on the autonomous vehicle. The specific process is as follows:

[0104] Perform the splitting described in formula (20)(21) and obtain (22)(23);

[0105] According to the above-mentioned values, the control forces p1 and p2 are determined according to formulas (24) and (25);

[0106] Determine the control force p3 according to formula (26);

[0107] Design the self-regulating adaptation rate described in formula (27);

[0108] The trajectory tracking control module performs trajectory tracking control on the autonomous driving vehicle for automatic parking based on the dynamic equations obtained above and the designed controller; when the autonomous driving vehicle moves along a predetermined parking trajectory, the driving torque and steering torque of the vehicle during parking are obtained according to the dynamic equations and the controller, and combined with the actual torque, a closed-loop feedback control is formed to make the vehicle move along the predetermined parking trajectory.

[0109] Beneficial technical effects brought by the present invention:

[0110] Constraints include complete constraints and incomplete constraints. The present invention introduces the Udwadia-Kalaba theory, a method that can handle complete constraints and incomplete constraints, to study the trajectory tracking control method of the autonomous driving vehicle system. At the same time, a hierarchical modeling method is used to divide the constraints into structural constraints (first-level constraints) and motion constraints (second-level constraints), thereby simultaneously obtaining the dynamic model of the autonomous driving vehicle system and two layers of constraints (structural constraints and motion constraints), thereby realizing the trajectory tracking control of the autonomous driving vehicle. By limiting the movement of the two centers of mass, the front wheel center of mass and the rear wheel center of mass, the parking trajectory tracking control of the autonomous driving vehicle can be better realized, and the desired goal can be better achieved. The trajectory tracking control method and device of the present invention are simpler, more effective, and more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0111] Figure 1 is a schematic diagram of the overall structure of a car according to an embodiment of the present invention;

[0112] Figure 2 is a route map for simulating automatic parking of a car according to an embodiment of the present invention;

[0113] Figure 3 is a flow chart of a method for hierarchical modeling according to an embodiment of the present invention;

[0114] Figure 4 is a flow chart of a trajectory tracking control method for an autonomous driving vehicle based on hierarchical constraints according to an embodiment of the present invention;

[0115] Figure 5 is an overall structural diagram of an automatic driving vehicle controller according to an embodiment of the present invention;

[0116] Figure 6It is a road map of the parking trajectory tracked by the rear wheel mass center point C and the front wheel mass center point C1 of the vehicle in the embodiment of the present invention;

[0117] Figure 7 Schematic diagram of a trajectory tracking control device for an autonomous driving vehicle based on hierarchical constraints according to an embodiment of the present invention. DETAILED DESCRIPTION

[0118] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0119] In order to better realize the trajectory tracking control of the constrained mechanical system, the present invention introduces the Udwadia-Kalaba theory, which is a concise, explicit and non-coupled motion equation of the constraint force system proposed by Udwadia and Kalaba. The biggest difference between the UK equation and other motion equations is that the UK equation does not need to determine the Lagrange coefficients or other difficult-to-obtain parameters. It is particularly difficult to obtain the Lagrange coefficients of the system with non-holonomic constraints, and the difficulty of solving it increases with the increase of degrees of freedom; the UK equation does not use linearization or approximation methods for dynamic modeling and controller design.

[0120] The present invention proposes a hierarchical modeling method based on the Udwadia-Kalaba theory. In this method, the constraints are divided into structural constraints and motion constraints according to whether they change with the trajectory. Based on this method, the dynamic equations and constraint forces of the constraint system can be obtained simultaneously.

[0121] The embodiment of the present invention selects a front-wheel drive four-wheel automatic driving vehicle to track a target trajectory, and conducts a simulation experiment. The simulation results show that the method is simple, effective and accurate, and the trajectory tracking result is consistent with the theory.

[0122] like Figure 1 As shown in the figure, the four-wheeled self-driving car moves on a horizontal plane, and the coordinate system is the geodetic coordinate system XOY. The front wheels are driving wheels, and the rear wheels are driven wheels that support the car and move with the traction of the front wheels. There is pure rolling between the wheels and the ground. Among them, (x, y) is the coordinate of the center of mass of the rear wheels of the car, point C, (x1, y1) is the coordinate of the center of mass of the front wheels of the car, point C1, θ is the direction angle of the car's rotation, is the steering angle of the left front wheel, is the steering angle of the right front wheel, v is the speed of the car, l is the distance between the front and rear wheels, η is the Ackerman angle, z is half of the distance between the left and right wheels, and T is the center of the circle when the car turns.

[0123] like Figure 2 As shown, the parking trajectory equation of the four-wheel autonomous driving car approximately fits the route shown in the figure, and the car will complete the automatic parking process according to this trajectory route (the dotted line in the figure is the trajectory route).

[0124] like Figure 3 and Figure 4 As shown in the figure, a trajectory tracking control method for an autonomous driving vehicle based on hierarchical constraints is provided. The dynamic model of the autonomous driving vehicle system is established based on the Udwadia-Kalaba theory, and the dynamic model and two layers of constraints (structural constraints and motion constraints) of the autonomous driving vehicle system are simultaneously obtained by using a hierarchical modeling method. Specifically, the method includes the following steps:

[0125] Step 1: Establish the unconstrained dynamic model of the autonomous driving vehicle system. The specific process is:

[0126] According to Newtonian mechanics, the dynamic model of the unconstrained autonomous driving vehicle system is established:

[0127]

[0128] Where M is the inertial mass matrix, q is the position coordinate variable, is the second-order derivative of the position coordinate variable, Q is the given force of the autonomous vehicle; and M, q, Q are defined as follows:

[0129]

[0130] Where t is time, m is the mass of the car, in kg; I1 is the overall moment of inertia of the car, and I2 is the moment of inertia of the front wheels of the car. The units of I1 and I2 are both kg·m 2 ; (x, y) is the position of the rear wheel mass center C of the car in the coordinate system, x is the position component of the rear wheel mass center C of the car on the X axis, y is the position component of the rear wheel mass center C of the car on the Y axis, and the units of x and y are both m; θ is the rotation angle of the car, is the steering angle of the right front wheel, θ and The unit of all is °; is the first-order derivative of the position coordinate variable, Q1, Q2, Q3 and Q4 are the components of the given force Q.

[0131] Step 2: According to the structural characteristics of the autonomous vehicle, a second-order structural constraint equation is established to calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous vehicle with structural constraints, and then establish a dynamic model of the autonomous vehicle system with parameter uncertainty. The specific process is:

[0132] Step 2.1: According to the vehicle structure system, the first level of constraints, namely structural constraints, are obtained:

[0133]

[0134]

[0135] In the formula, is the first-order derivative of the Y-axis position component y, is the first-order derivative of the X-axis position component x, is the first-order derivative of the car's rotation angle θ, v is the car's speed, in m / s; l is the distance between the front and rear wheels, in m; z is half the distance between the left and right wheels, in m;

[0136] Among them, the car speed v is:

[0137]

[0138] Step 2.2: Differentiate (2) and (3) with respect to time t to obtain their second-order equations:

[0139]

[0140]

[0141] in, is the second-order derivative of x, is the second-order derivative of y, is the second-order derivative of θ, for The first derivative of ;

[0142] Step 2.3: The structural constraints of the autonomous vehicle can be expressed as a matrix equation:

[0143]

[0144] In the formula,

[0145]

[0146] A s is the coefficient matrix of the structural constraint matrix, b s is the second-order structural constraint matrix.

[0147] Step 2.4: According to the Udwadia-Kalaba theory, the structural constraint force of the autonomous vehicle is:

[0148]

[0149] Therefore, the dynamic equation of the autonomous driving vehicle with structural constraints is:

[0150]

[0151] Step 2.5: Consider the uncertainty of the parameters and integrate (9) to obtain the kinetic model with parameter uncertainty in step 2 as follows:

[0152]

[0153] Where M is the inertial mass matrix, q is the position coordinate variable, is the first-order derivative of q, is the second-order derivative of q, σ is the uncertain parameter, t is the time, C is the Coriolis force or centrifugal force, and τ is the control force.

[0154] Step 3: Based on the uncertain second-order dynamic equation, establish the second-order motion constraint equation according to the parking trajectory of the autonomous vehicle, and calculate its motion constraint force. The specific process is:

[0155] Step 3.1, determine the second-level motion constraint based on the trajectory tracked by the autonomous driving system. By limiting the movement of the front wheel center of mass and the rear wheel center of mass, the parking trajectory tracking control of the autonomous driving vehicle can be better achieved, and the desired goal can be better achieved. The parking trajectory equations of the rear wheel center of mass C and the front wheel center of mass C1 of the autonomous driving vehicle are:

[0156] y=0.2771x 3 -0.081x 4 +0.0063x 5 (11)

[0157]

[0158] Among them, (x1, y1) is the position of the rear wheel mass center C1 of the car in the coordinate system, x1 is the position component of the rear wheel mass center C1 of the car on the X-axis, x1=x+l cosθ, y1 ​​is the position component of the rear wheel mass center C1 of the car on the Y-axis, y1=y+l sinθ, and the units of x1 and y1 are both m.

[0159] Step 3.2: Differentiate (11) and (12) with respect to time t to obtain their first-order and second-order equations; the first-order equations are:

[0160]

[0161]

[0162] in,

[0163] The second-order equations are:

[0164]

[0165]

[0166] in,

[0167] Step 3.3: The motion constraints of the autonomous vehicle are expressed as first-order matrix equations and second-order matrix equations; the first-order matrix equation is:

[0168]

[0169] The second-order matrix equation is:

[0170]

[0171] In the formula,

[0172] A m is the coefficient matrix of the motion constraint matrix, c m is the first-order motion constraint matrix, b m is the second-order motion constraint matrix;

[0173] Where H = 0.8313x 2 -0.324x 3 +0.0315x 4 ,

[0174] J = 0.8313x 2 +1.6626xl cosθ+0.8313l 2 cos 2 θ-0.324x 3 -0.972x 2 l cosθ-0.972xl 2 cos 2 θ-0.324l 3 cos 3 θ+0.0315x 4 +0.126x 3 l cosθ+0.189x 2 l 2 cos 2 θ+0.126xl 3 cos 3 θ+0.0315l 4 cos 4 θ,

[0175] K=-0.8313x 2 l sinθ-1.6626xl 2 sinθcosθ-0.8313l3 sinθcos 2 θ+0.324x 3 l sinθ+0.972x 2 l 2 sinθcosθ+0.972xl 2 sinθcos 2 θ+0.324l 4 sinθcos 3 θ-0.0315x 4 l sinθ-0.126x 3 l 2 sinθcosθ-0.189x 2 l 3 sinθcos 2 θ-0.126xl 4 sinθcos 3 θ-0.0315 sinθcos 4 θ-l cosθ,

[0176]

[0177]

[0178] Step 3.4: According to the Udwadia-Kalaba theory, the motion constraint is:

[0179]

[0180] In the formula, + represents the generalized inverse of the matrix.

[0181] Step 4: Design a self-adjusting leakage adaptive robust controller and a suitable self-adjusting adaptation rate, obtain the corresponding control parameters, and perform trajectory tracking control. The self-adjusting leakage adaptive robust controller specifically includes the constraint force p1 of the system obtained under the ideal constraint, which is used to adjust the control force p2 that is incompatible with the initial conditions and the control force p3 that is used to adjust the uncertainty of the system. The specific process is:

[0182] Step 4.1: Substitute the mass matrix M(q,σ,t) and the Coriolis force matrix Divided into a nominal part and an uncertain part:

[0183]

[0184]

[0185] In the formula, and are the nominal parts of the mass matrix M and the Coriolis force matrix C, respectively, and ΔM and ΔC are the uncertain parts of the mass matrix M and the Coriolis force matrix C, respectively.

[0186] make

[0187]

[0188]

[0189] In the formula, is the inverse of the nominal part of the mass matrix M, M -1 is the inverse of the mass matrix M, D is the inverse of the nominal part M, ΔD is the difference between the inverse of the mass matrix and the inverse of the nominal part of the mass matrix;

[0190] Step 4.2: According to the above requirements, the nominal control forces p1 and p2 of the controller are determined as:

[0191]

[0192]

[0193] Where P∈R m×m , P>0 is a constant coefficient matrix, κ>0 is a control constant; A is the coefficient matrix of the motion constraint matrix m The transpose of

[0194] Step 4.3: Determine the control force p3 of the adaptive robust controller based on the uncertainty of the autonomous vehicle during driving:

[0195]

[0196] In the formula, is an unknown constant and satisfies γ and is the control parameter of p3.

[0197] make Since adaptive robust control does not require knowledge of α, an adaptive parameter is introduced To replace α, complete the adjustment of the control force p3.

[0198] Step 4.4, design self-adjusting adaptation rate:

[0199]

[0200] In the formula, is the adaptive parameter, L1 and L2 are the control parameters of the self-adjusting adaptive rate, ε is the leakage term parameter, p is the number of leakage term parameters, p ≥ 1, and ε0 is the first leakage term parameter. With The increase of Reduce, so that increases, and the second It can also prevent Over-increasing can achieve better control at a lower cost.

[0201] Step 5: Based on the dynamic equations and control parameters obtained above, the automatic parking trajectory tracking control is performed on the automatic driving vehicle;

[0202] When the autonomous driving car moves along a predetermined trajectory, the driving torque and steering torque of the car when parking are obtained according to the dynamic equations and control parameters. According to the actual torque in actual conditions, the car is subjected to closed-loop feedback control, so that the autonomous driving car can automatically park along the predetermined parking trajectory.

[0203] like Figure 5 As shown in FIG, the autonomous driving vehicle system is controlled by a self-adjusting leakage adaptive robust controller to control the movement and steering of the autonomous driving vehicle. First, the relevant signal is transmitted to the self-adjusting leakage adaptive robust controller according to the predetermined motion trajectory given by the autonomous driving vehicle. The self-adjusting leakage adaptive robust controller sends instructions to the motor driver to drive the motor to work. The motor driver compares the actual torque with the given torque to realize feedback control, so that the car can park automatically according to the preset trajectory.

[0204] In order to prove the feasibility of the method of the present invention, a simulation experiment was conducted. In the experiment, a four-wheeled automatic driving car model was selected, and the basic parameters of the car model are shown in Table 1.

[0205] Table 1 Meaning and value assignment of parameters of autonomous driving vehicles

[0206] parameter value Self-driving car quality m=1000kg The rotational inertia of the autonomous vehicle <![CDATA[I1=200kg·m 2 ]]> Front wheel rotation inertia of autonomous vehicles <![CDATA[I2=50kg·m 2 ]]> Wheel radius r=0.3m The uncertainties of autonomous vehicle quality Δm=200 cos 0.5t Uncertain part of the rotational inertia of the autonomous vehicle <![CDATA[ΔI1=40 cos 0.5t]]> Uncertain part of the inertia of the front wheels of an autonomous vehicle <![CDATA[ΔI2=20 cos 0.5t]]> Half the distance between the left and right wheels of an autonomous vehicle z=2m The distance between the front and rear wheels of an autonomous vehicle l=4m

[0207] The simulation results of the four-wheeled autonomous vehicle model tracking the predetermined parking trajectory are shown in the figure below. Figure 6 As shown in the figure, x is the position component of the rear wheel mass center C and the front wheel mass center C1 on the X axis, and y is the position component of the rear wheel mass center C and the front wheel mass center C1 on the Y axis. It can be seen that the four-wheeled vehicle can track the predetermined trajectory well. The results show that this method is simple, effective, and accurate, and the results are consistent with the theory.

[0208] like Figure 7 As shown, the present invention provides a trajectory tracking control device for an autonomous driving vehicle based on hierarchical constraints, which adopts the above control method. The control device includes a first establishment module, a second establishment module, a third establishment module, a fourth establishment module and a trajectory tracking control module; the specific contents are as follows:

[0209] The first building module is used to establish the unconstrained dynamic model of the autonomous driving vehicle system described in formula (1);

[0210] The second establishment module is used to establish a second-order structural constraint equation according to the structural characteristics of the autonomous driving vehicle, calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous driving vehicle with structural constraints, and establish a dynamic model of the autonomous driving vehicle system with parameter uncertainty; the specific process is:

[0211] According to the automobile structural system, the two structural constraints described in formulas (2) and (3) are obtained;

[0212] Differentiate (2) and (3) twice with respect to time t to obtain the second-order structural constraint equations described in formulas (5) and (6);

[0213] Determine the structural constraints of the autonomous vehicle according to formula (7);

[0214] According to the Udwadia-Kalaba theory, the structural constraint force described in formula (8) is determined;

[0215] Determine the second-order dynamic equation of the autonomous vehicle with structural constraints according to formula (9);

[0216] Considering the uncertainty of parameters, a dynamic model with parameter uncertainty as described in formula (10) is established;

[0217] The third building module is used to establish a second-order constraint equation based on the obtained dynamic equation with uncertainty and the parking trajectory of the autonomous driving vehicle, and to calculate its motion constraint force; the specific process is as follows:

[0218] Determine the parking trajectory equations of the front wheel mass center and the rear wheel mass center of the autonomous driving vehicle according to formulas (11) and (12);

[0219] Differentiating (11)(12) once and twice with respect to time t respectively obtains the first-order equations described in formulas (13)(14) and the second-order equations described in formulas (15)(16);

[0220] The motion constraints of the autonomous vehicle are determined according to formulas (17) and (18):

[0221] According to the Udwadia-Kalaba theory, the motion restraint force described in formula (19) is determined;

[0222] The fourth building block is used to design a self-adjusting leakage adaptive robust controller to perform trajectory tracking control on the autonomous vehicle. The specific process is as follows:

[0223] Perform the splitting described in formula (20)(21) and obtain (22)(23);

[0224] According to the above-mentioned values, the control forces p1 and p2 are determined according to formulas (24) and (25);

[0225] Determine the control force p3 according to formula (26);

[0226] Design the self-regulating adaptation rate described in formula (27);

[0227] The trajectory tracking control module performs trajectory tracking control of the automatic parking of the self-driving car based on the dynamic equations and control parameters obtained above;

[0228] When the autonomous driving car moves along a predetermined parking trajectory, the driving torque and steering torque of the car when parking are obtained according to the dynamic equations and control parameters, and combined with the actual torque, a closed-loop feedback control adjustment is formed to make it move along the predetermined parking trajectory.

[0229] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.

Claims

1. A trajectory tracking control method for an autonomous driving vehicle based on hierarchical constraints, characterized in that: The constraints of the autonomous driving vehicle system are divided into structural constraints and motion constraints. Based on the Udwadia-Kalaba theory and a hierarchical method, the dynamic model of the autonomous driving vehicle system and the structural and motion constraints are simultaneously obtained. At the same time, the parking trajectory tracking control of the autonomous driving vehicle is achieved by restricting the movement of the front wheel center of mass and the rear wheel center of mass. The specific steps include: Step 1: Establish a dynamic model of the autonomous driving vehicle system without constraints; Step 2: Establish a second-order structural constraint equation based on the structural characteristics of the autonomous driving vehicle, calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous driving vehicle with structural constraints, and then establish a dynamic model of the autonomous driving vehicle system with parameter uncertainty; Step 3: Based on the second-order dynamic equation with uncertainty, a second-order motion constraint equation is established according to the parking trajectory of the autonomous driving vehicle, and its motion constraint force is calculated; Step 4: Design a self-adjusting leakage adaptive robust controller and a self-adjusting adaptation rate, obtain corresponding control parameters, and perform trajectory tracking control on the autonomous driving vehicle; Step 5: Based on the dynamic equations obtained above and the designed controller, the automatic parking trajectory tracking control is performed on the automatic driving vehicle; The specific process of step 1 is: establish a dynamic model of the unconstrained autonomous driving vehicle system based on Newtonian mechanics: Where M is the inertial mass matrix, q is the position coordinate variable, is the second-order derivative of the position coordinate variable, Q is the given force of the autonomous vehicle; and M, q, Q are defined as follows: Where t is time, m is the mass of the car, in kg; I1 is the overall moment of inertia of the car, and I2 is the moment of inertia of the front wheels of the car. The units of I1 and I2 are both kg·m 2 ; (x, y) is the position of the rear wheel mass center C of the car in the coordinate system, x is the position component of the rear wheel mass center C of the car on the X axis, y is the position component of the rear wheel mass center C of the car on the Y axis, and the units of x and y are both m; θ is the rotation angle of the car, is the turning angle of the right front wheel of the car, θ and The unit of all is °; is the first-order derivative of the position coordinate variable, Q1, Q2, Q3, Q4 are the components of the given force Q; The specific process of step 2 is: Step 2.1: Obtain the first-level constraint structure constraints based on the vehicle structure system: In the formula, is the first-order derivative of the Y-axis position component y, is the first-order derivative of the X-axis position component x, is the first-order derivative of the car's rotation angle θ, v is the car's speed, in m / s; l is the distance between the front and rear wheels, in m; z is half the distance between the left and right wheels, in m; Among them, the car speed v is: Step 2.2: Differentiate (2) and (3) with respect to time t to obtain their second-order equations: in, is the second-order derivative of x, is the second-order derivative of y, is the second-order derivative of θ, for The first derivative of ; Step 2.3: The structural constraints of the autonomous vehicle are expressed as a matrix equation: In the formula, A s is the coefficient matrix of the structural constraint matrix, b s is the second-order structural constraint matrix; Step 2.4: Structural constraints on the autonomous vehicle according to the Udwadia-Kalaba theory for: Therefore, the dynamic equation of the autonomous driving vehicle with structural constraints is: Step 2.5: Consider the uncertainty of the parameters and integrate (9) to obtain the kinetic model with parameter uncertainty in step 2 as follows: Where M is the inertial mass matrix, q is the position coordinate variable, is the first-order derivative of q, is the second-order derivative of q, σ is the uncertain parameter, t is the time, C is the Coriolis force or centrifugal force, and τ is the control force; The specific process of step 3 is as follows: Step 3.1, determine the second-level motion constraint according to the trajectory tracked by the autonomous driving system, and realize the parking trajectory tracking control of the autonomous driving vehicle by limiting the movement of the front wheel center of mass and the rear wheel center of mass to achieve the desired goal; the parking trajectory equations of the rear wheel center of mass C and the front wheel center of mass C1 of the autonomous driving vehicle are: y=0.2771x 3 -0.081x 4 +0.0063x 5 (11) Among them, (x1, y1) is the position of the center of mass of the front wheel of the car C1 in the coordinate system, x1 is the position component of the center of mass of the front wheel of the car C1 on the X axis, x1 = x + lcosθ, y1 ​​is the position component of the center of mass of the front wheel of the car C1 on the Y axis, y1 = y + lsinθ, and the units of x1 and y1 are both m; Step 3.2: Differentiate (11) and (12) with respect to time t to obtain their first-order and second-order equations; the first-order equations are: In the formula, The second-order equations are: in, Step 3.3: The motion constraints of the autonomous vehicle are expressed as first-order matrix equations and second-order matrix equations; the first-order matrix equation is: The second-order matrix equation is: In the formula, A m is the coefficient matrix of the motion constraint matrix, c m is the first-order motion constraint matrix, b m is the second-order motion constraint matrix; Where H = 0.8313x 2 -0.324x 3 +0.0315x 4 , J=0.8313x 2 +1.6626xlcosθ+0.8313l 2 cos 2 θ-0.324x 3 -0.972x 2 lcosθ-0.972xI 2 cos 2 θ-0.324l 3 cos 3 θ+0.0315x 4 +0.126x 3 lcosθ+0.189x 2 l 2 cos 2 θ+0.126xl 3 cos 3 θ+0.0315l 4 cos 4 I, Step 3.4: According to the Udwadia-Kalaba theory, the motion constraint for: In the formula, + represents the generalized inverse of the matrix; The specific process of step 4 is as follows: Step 4.1: Substitute the mass matrix M(q,σ,t) and the Coriolis force matrix Divided into a nominal part and an uncertain part: In the formula, and are the nominal parts of the mass matrix M and the Coriolis force matrix C, respectively, ΔM and ΔC are the uncertain parts of the mass matrix M and the Coriolis force matrix C, respectively; make In the formula, is the inverse of the nominal part of the mass matrix M, M -1 is the inverse of the mass matrix M, D represents the inverse of the nominal part of the mass matrix M, and ΔD represents the difference between the inverse of the mass matrix and the inverse of the nominal part of the mass matrix; Step 4.2: According to the above requirements, determine the nominal control forces p1 and p2 of the controller as: Where P∈R m×m , P>0 is a constant coefficient matrix, k>0 is a control constant; A is the coefficient matrix of the motion constraint matrix m The transpose of Step 4.3: Determine the control force p3 of the controller according to the uncertainty of the autonomous driving car during driving. In the formula, is an unknown constant and satisfies γ and is the control parameter of p3; make Since adaptive robust control does not know α, an adaptive parameter is introduced Replace α to complete the adjustment of the control force p3; Step 4.4, design self-adjusting adaptation rate: In the formula, is the adaptive parameter, L1 and L2 are the control parameters of the self-adjusting adaptation rate, ε is the leakage term parameter, p is the number of leakage term parameters, p ≥ 1, ε0 is the first leakage term parameter; In step 5, when the autonomous driving car moves along a predetermined trajectory, the driving torque and steering torque of the car when parking are obtained according to the dynamic equation and control parameters, and the car is subjected to closed-loop feedback control according to the actual torque in actual conditions, so that the autonomous driving car automatically parks along the predetermined parking trajectory; The autonomous driving vehicle system controls the movement and steering of the autonomous driving vehicle by a self-adjusting leakage type adaptive robust controller. First, the relevant signals are transmitted to the self-adjusting leakage type adaptive robust controller according to the predetermined motion trajectory given by the autonomous driving vehicle. The self-adjusting leakage type adaptive robust controller sends instructions to the motor driver to drive the motor to work; the motor driver compares the actual torque with the given torque to realize feedback control, so that the car can automatically park according to the preset trajectory.

2. A trajectory tracking control device for an autonomous driving vehicle based on hierarchical constraints, characterized in that: The method for controlling the trajectory tracking of an autonomous driving vehicle based on hierarchical constraints as claimed in claim 1 is adopted, wherein the device comprises a first establishing module, a second establishing module, a third establishing module, a fourth establishing module and a trajectory tracking control module; wherein, The first building module is used to establish the unconstrained dynamic model of the autonomous driving vehicle system described in formula (1); The second establishment module is used to establish a second-order structural constraint equation according to the structural characteristics of the autonomous driving vehicle, calculate its structural constraint force, obtain the second-order dynamic equation of the autonomous driving vehicle with structural constraints, and establish a dynamic model of the autonomous driving vehicle system with parameter uncertainty; the specific process is: According to the automobile structural system, the two structural constraints described in formulas (2) and (3) are obtained; Differentiate (2) and (3) twice with respect to time t to obtain the second-order structural constraint equations described in formulas (5) and (6); Determine the structural constraints of the autonomous vehicle according to formula (7); According to the Udwadia-Kalaba theory, the structural constraint force described in formula (8) is determined; Determine the second-order dynamic equation of the autonomous vehicle with structural constraints according to formula (9); Considering the uncertainty of parameters, a dynamic model with parameter uncertainty as described in formula (10) is established; The third building module is used to establish a second-order constraint equation based on the obtained dynamic equation with uncertainty and the parking trajectory of the autonomous driving vehicle, and to calculate its motion constraint force; the specific process is as follows: Determine the parking trajectory equations of the front wheel mass center and the rear wheel mass center of the autonomous driving vehicle according to formulas (11) and (12); Differentiating (11)(12) once and twice with respect to time t respectively obtains the first-order equations described in formulas (13)(14) and the second-order equations described in formulas (15)(16); The motion constraints of the autonomous vehicle are determined according to formulas (17) and (18): According to the Udwadia-Kalaba theory, the motion restraint force described in formula (19) is determined; The fourth building block is used to design a self-adjusting leakage adaptive robust controller to perform trajectory tracking control on the autonomous vehicle. The specific process is as follows: Perform the splitting described in formula (20)(21) and obtain (22)(23); According to the above-mentioned values, the control forces p1 and p2 are determined according to formulas (24) and (25); Determine the control force p3 according to formula (26); Design the self-regulating adaptation rate described in formula (27); The trajectory tracking control module performs trajectory tracking control on the autonomous driving vehicle for automatic parking based on the dynamic equations obtained above and the designed controller; when the autonomous driving vehicle moves along a predetermined parking trajectory, the driving torque and steering torque of the vehicle during parking are obtained according to the dynamic equations and the controller, and combined with the actual torque, a closed-loop feedback control is formed to make the vehicle move along the predetermined parking trajectory.