Vehicle constraint following trajectory tracking control method based on adaptive preview distance

Through the combination of adaptive preview distance and constraint following robust controller, the problem of insufficient robustness and accuracy in vehicle trajectory tracking control is solved, and higher trajectory tracking performance and robustness are achieved.

CN118707953APending Publication Date: 2024-09-27TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728111.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing vehicle trajectory tracking control methods have deficiencies in robustness and tracking accuracy, especially the selection of preview distances, which results in large tracking errors.

Method used

The vehicle constrained following trajectory tracking control method based on adaptive preview distance is adopted. By obtaining the actual vehicle speed, road curvature and road adhesion coefficient, combined with the single-point pre-anchor model and constrained following robust controller, the preview point position coordinates are determined and calculated. Front wheel rotation angle to achieve higher trajectory tracking accuracy and robustness.

Benefits of technology

It improves the robustness and accuracy of vehicle trajectory tracking control, effectively resists parameter perturbations and external interference, and reduces tracking errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707953A
    Figure CN118707953A
Patent Text Reader

Abstract

The invention relates to a vehicle transverse constraint following trajectory tracking control method based on an adaptive preview distance, and the method comprises the steps: determining the position coordinates of a preview point according to the obtained actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchoring model; inputting the position coordinates of the preview point into a pre-established constraint following robust controller for constraining a tracking trajectory of a vehicle system, and determining a front wheel turning angle; and performing transverse trajectory tracking processing on the vehicle system according to the front wheel rotation angle. According to the method, the optimal preview distance is selected by establishing the single-point pre-anchoring model, the performance of the controller can be effectively improved, the constraint following robust controller is combined, the uncertainty problems of parameter perturbation, external interference and the like can be effectively resisted, and good robustness is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent vehicle dynamics control, and in particular to a vehicle constraint following trajectory tracking control method based on adaptive preview distance. Background Art

[0002] With the rapid development of intelligent vehicle technology and computer technology, the degree of automation of autonomous driving is constantly improving. As one of the key technologies of autonomous driving, vehicle trajectory tracking technology can help human drivers drive vehicles and avoid the loss of life and property caused by traffic accidents. Therefore, it is widely used. Trajectory tracking control is generally divided into preview and non-preview. The preview distance can affect the tracking performance of the vehicle. Reasonable selection of the preview distance can improve the trajectory tracking control performance of the vehicle.

[0003] At present, the vehicle trajectory tracking control methods can be mainly divided into two types: model-free control and model-based control. However, both of the above tracking control methods have the problems of poor robustness and low tracking accuracy. Summary of the invention

[0004] Based on this, it is necessary to provide a vehicle constrained following trajectory tracking control method based on adaptive preview distance that can improve robustness and tracking accuracy in response to the above technical problems.

[0005] In a first aspect, the present application provides a vehicle constraint following trajectory tracking control method with adaptive preview distance, the method comprising:

[0006] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0007] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0008] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0009] In one embodiment, the above-mentioned determining the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model includes:

[0010] The actual vehicle speed, the actual road curvature and the actual road adhesion coefficient are input into the pre-trained adaptive preview point distance model to obtain the preview point distance;

[0011] The distance of the preview point is input into the single-point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point.

[0012] In one embodiment, the training process of the adaptive preview point distance model includes:

[0013] Obtain a training sample set; the training sample set includes multiple training samples and labels corresponding to each pair of training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance;

[0014] The neural network model is trained based on the training sample set to obtain an adaptive preview point distance model.

[0015] In one embodiment, the process of obtaining the above-mentioned tag includes:

[0016] For each training sample, determining an initial fitness value of the vehicle system based on a pre-constructed fitness function;

[0017] An optimization process is performed based on the initial fitness value to obtain a target fitness value, and the target fitness value is determined as the label corresponding to the training sample.

[0018] In one embodiment, the process of establishing the fitness function includes:

[0019] Determine the road error index, road boundary constraint index, instability boundary constraint index and weight coefficient respectively;

[0020] A fitness function is established based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient.

[0021] In one embodiment, the above-mentioned respectively determining the road error index, the road boundary constraint index, and the instability boundary constraint index includes:

[0022] Obtaining a lateral error of a vehicle system and determining a road error index based on the lateral error; and

[0023] Determining a boundary constraint function according to the lateral error, and determining a road boundary constraint index according to the boundary constraint function; and

[0024] The instability boundary constraint index is determined according to the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing stability analysis on the vehicle system.

[0025] In one embodiment, the step of inputting the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel steering angle includes:

[0026] According to the position coordinates of the preview point, the equality constraint and the nominal underactuated system, a servo constraint control item, an error feedback control item and an adaptive robust control item are determined respectively;

[0027] The front wheel steering angle is determined according to the servo constraint control term, the error feedback control term and the adaptive robust control term.

[0028] In one embodiment, the process of establishing the constraint following robust controller includes:

[0029] Establish initial system lateral dynamics model and tire model;

[0030] Perform piecewise affine processing on the tire model under pure side slip to obtain the side slip angles of the front and rear tires;

[0031] Determine the target system lateral dynamics model according to the initial system lateral dynamics model and the front and rear tire slip angles;

[0032] The state variables in the lateral dynamics model of the target system are transformed to obtain a constraint following robust controller.

[0033] In one embodiment, the initial system lateral dynamics model includes lateral degrees of freedom and lateral degrees of freedom, and the process of establishing the initial system lateral dynamics model includes:

[0034] The initial system lateral dynamics model is determined according to the vehicle dynamics equations along the lateral degree of freedom and the transverse degree of freedom of the vehicle respectively.

[0035] In a second aspect, the present application also provides a vehicle constraint following trajectory tracking control device with adaptive preview distance, the device comprising:

[0036] A position coordinate acquisition module is used to determine the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model;

[0037] The turning angle determination module is used to input the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel turning angle; the constraint following robust controller is constructed based on the equality constraint; the equality constraint is used to constrain the tracking trajectory of the vehicle system;

[0038] The trajectory tracking module is used to perform lateral trajectory tracking processing on the vehicle system according to the front wheel steering angle.

[0039] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0040] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0041] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0042] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0043] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0044] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0045] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0046] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0047] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0048] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0049] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0050] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0051] The above-mentioned vehicle lateral constraint following trajectory tracking control method based on adaptive preview distance determines the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model; the position coordinates of the preview point are input into a pre-established constraint following robust controller for constraining the tracking trajectory of the vehicle system, the front wheel turning angle is determined, and finally the vehicle system is subjected to lateral trajectory tracking processing according to the front wheel turning angle. The embodiment of the present application can effectively improve the performance of the controller by establishing a single-point pre-anchor model to select the optimal preview distance, and also combines a constraint following robust controller to effectively resist uncertainty problems such as parameter perturbations and external interference, and has good robustness. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is an application environment diagram of a vehicle constraint following trajectory tracking control method with adaptive preview distance in one embodiment;

[0053] Figure 2 It is a flow chart of a vehicle constraint following trajectory tracking control method with adaptive preview distance in one embodiment;

[0054] Figure 3 A schematic diagram of a flow chart of determining the position coordinates of a preview point in one embodiment;

[0055] Figure 4 A structural diagram of a BP neural network in one embodiment;

[0056] Figure 5 1 is a flow chart of a training process of an adaptive preview point distance model in one embodiment;

[0057] Figure 6 A flowchart of a process for obtaining a tag in one embodiment;

[0058] Figure 7 A schematic diagram of a flow chart of a sparrow search algorithm in one embodiment;

[0059] Figure 8 A schematic diagram of a process of establishing a fitness function in an embodiment;

[0060] Fig. 9 is a phase plane image based on the sideslip angle and yaw rate of the center of mass in one embodiment;

[0061] Fig.10 A schematic diagram of a process for determining a front wheel steering angle in one embodiment;

[0062] Fig.11 A schematic diagram of vehicle path tracking control based on preview in one embodiment;

[0063] Fig.12A flowchart of a process for establishing a constrained following robust controller in one embodiment;

[0064] Fig.13 A schematic diagram of PWA fitting in one embodiment;

[0065] Fig.14 is a schematic diagram of an initial system lateral dynamics model of a vehicle in one embodiment;

[0066] Fig.15 It is a structural block diagram of a vehicle constraint following trajectory tracking control device with adaptive preview distance in one embodiment;

[0067] Fig.16 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0069] First of all, before specifically introducing the technical solution of the embodiments of the present application, the technical background based on the embodiments of the present application is introduced.

[0070] With the development of autonomous driving technology, vehicle trajectory tracking control is a current research hotspot. Trajectory tracking control is generally divided into preview and non-preview. The preview-based tracking control method is widely used because it is more in line with real operating habits and has high accuracy. The preview distance is an important input parameter of the preview-based tracking controller. It is related to characteristics such as vehicle speed, road adhesion coefficient and road curvature, and can affect the vehicle's tracking performance. Reasonable selection of the preview distance can improve the vehicle's trajectory tracking control performance.

[0071] The path tracking control of the vehicle should meet the requirements of accuracy, stability and ride comfort. Domestic and foreign scholars have conducted a lot of research on this. At present, the trajectory tracking control methods of the vehicle can be mainly divided into two types: model-free control methods and model-based control methods. Model-free control mainly includes pure tracking algorithm (pure control), PID control, Stanly control and neural network control. Model-based control methods mainly include control, LQR control, model predictive control (MPC) and constrained following control. Among the model-free control methods, the geometric tracking pure tracking algorithm has a simple structure and does not need to consider the kinematic model and dynamic model of the vehicle, but compared with the model-based control method, the accuracy is not high and the robustness to external interference is poor. Among the model-based control algorithms, LQR and MPC have smaller lateral tracking errors. MPC needs to perform optimization calculations in each sampling cycle, which requires a lot of computing resources and time. Compared with the model-free control method and LQR, the constrained following control method has higher tracking accuracy and better real-time performance than MPC, but it has high requirements for the selection of preview distance. Smaller or larger preview distances will produce large tracking errors.

[0072] Based on this, the present application provides a vehicle constrained following trajectory tracking control method based on adaptive preview distance, aiming to solve the above technical problems.

[0073] The vehicle constraint following trajectory tracking control method based on adaptive preview distance provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 determines the position coordinates of the preview point based on the actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model; the position coordinates of the preview point are input into the pre-established constraint following robust controller for constraining the tracking trajectory of the vehicle system, the front wheel turning angle is determined, and finally the vehicle system is tracked laterally according to the front wheel turning angle. Among them, the terminal 102 can be but is not limited to a vehicle-mounted system, a vehicle system terminal, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0074] In an exemplary embodiment, Figure 2 As shown, the embodiment of the present application provides a vehicle constraint following trajectory tracking control method with adaptive preview distance, and the method is applied to Figure 1 The terminal in is taken as an example to illustrate, including the following S201 to S203. Among them:

[0075] S201, determining the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model.

[0076] Among them, road curvature is a parameter that describes the curvature of a road curve, and can be used to indicate the straightness of a road or the curvature of a curve. The road adhesion coefficient is the ratio of the adhesion to the normal pressure of the wheel (the direction perpendicular to the road surface).

[0077] In the embodiment of the present application, the actual vehicle speed, the actual road curvature, and the actual road adhesion coefficient can be sent to the terminal by the vehicle system, or can be input to the terminal by the back-end personnel. After the terminal obtains the actual vehicle speed, the actual road curvature, and the actual road adhesion coefficient, the actual vehicle speed, the actual road curvature, and the actual road adhesion coefficient are directly input into the single-point pre-anchor model, or the actual vehicle speed, the actual road curvature, and the actual road adhesion coefficient are input into the single-point pre-anchor model after data processing. The single-point pre-anchor model outputs the position coordinates of the preview point according to the actual vehicle speed, the actual road curvature, and the actual road adhesion coefficient.

[0078] S202: Input the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel steering angle.

[0079] Among them, the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system.

[0080] In an embodiment of the present application, based on the position coordinates of the preview point obtained in the above embodiment, the terminal inputs the position coordinates of the preview point into a pre-established constraint following robust controller to perform trajectory tracking constraints. The constraint following robust controller can directly output the front wheel turning angle according to the corresponding relationship between the position coordinates and the front wheel turning angle, or calculate the front wheel turning angle from a function constructed by the position coordinate input.

[0081] S203: Perform lateral trajectory tracking processing on the vehicle system according to the front wheel steering angle.

[0082] In an embodiment of the present application, based on the front wheel steering angle obtained in the above embodiment, the terminal inputs the front wheel steering angle into the actuator of the vehicle system, so that the actuator changes the angle of the wheel according to the front wheel steering angle to achieve vehicle control.

[0083] The above-mentioned vehicle lateral constraint following trajectory tracking control method based on adaptive preview distance determines the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model; the position coordinates of the preview point are input into a pre-established constraint following robust controller for constraining the tracking trajectory of the vehicle system, the front wheel turning angle is determined, and finally the vehicle system is subjected to lateral trajectory tracking processing according to the front wheel turning angle. The embodiment of the present application can effectively improve the performance of the controller by establishing a single-point pre-anchor model to select the optimal preview distance, and also combines a constraint following robust controller to effectively resist uncertainty problems such as parameter perturbations and external interference, and has good robustness.

[0084] In an exemplary embodiment, based on the above embodiment, see Figure 3 The embodiment of the present application relates to a process of determining the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model, including the following S301 to S302. Among them:

[0085] S301, inputting the actual vehicle speed, the actual road curvature and the actual road adhesion coefficient into a pre-trained adaptive preview point distance model to obtain the preview point distance.

[0086] In the embodiment of the present application, the adaptive preview point distance model can use a BP neural network (BackPropagation, error back propagation), which is a multi-layer feedforward network trained by error back propagation (abbreviated as error back propagation). Figure 4 As shown in the figure, the BP neural network has a three-layer structure, including an input layer, an output layer and a hidden layer 2. The input is the road adhesion coefficient, vehicle speed and road curvature, and the output is the optimal preview point distance L. During the vehicle driving process, the vehicle speed, road adhesion coefficient and road curvature can be obtained based on the information collected by the sensor, and then input into the trained BP neural network, and an optimal preview distance can be output in real time, so that the preview distance can be adaptively changed with this information.

[0087] S302: Input the preview point distance into the single-point pre-anchor model to perform aiming point prediction processing to obtain the position coordinates of the preview point.

[0088] In an embodiment of the present application, based on the preview point distance obtained in the above embodiment, the terminal can input the preview point distance into the single point pre-anchor model, thereby outputting the preview point coordinates corresponding to the preview point distance.

[0089] The embodiment of the present application determines the preview point through a predetermined preview point model, and can effectively improve the performance of the controller by selecting the optimal preview distance.

[0090] In an exemplary embodiment, based on the above embodiment, see Figure 5 The training process of the adaptive preview point distance model in the embodiment of the present application includes the following S401 to S402. Among them:

[0091] S401, obtaining a training sample set.

[0092] The training sample set includes multiple training samples and labels corresponding to each pair of training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance.

[0093] In the embodiment of the present application, the terminal can obtain the preview distance input by the backstage personnel, and then obtain the sample vehicle speed, sample road curvature and sample adhesion coefficient according to the dynamic response of the vehicle. The training sample set automatically generated by the model can also be obtained.

[0094] S402, training a neural network model based on the training sample set to obtain an adaptive preview point distance model.

[0095] In the embodiment of the present application, based on the training sample set obtained in the above embodiment, the terminal inputs the sample vehicle speed, sample road curvature and sample adhesion coefficient into the initial adaptive preview point distance model, and obtains the output preview distance. The loss value between the output actual preview distance and the sample distance corresponding to the label is calculated, and when the loss value is less than the preset value, the adaptive preview point distance model is obtained.

[0096] In the embodiment of the present application, the output preview distance can be made more accurate by training the adaptive preview point distance model.

[0097] In an exemplary embodiment, based on the above embodiment, see Figure 6 The tag acquisition process of the embodiment of the present application includes the following S501 to S502. Among them:

[0098] S501 : For each training sample, determine an initial fitness value of the vehicle system based on a pre-constructed fitness function.

[0099] Among them, the fitness function is an indicator used to evaluate the quality of an individual or solution, and it is evaluated based on the objective function of the problem being solved.

[0100] In an embodiment of the present application, based on the training samples obtained in the above embodiment, the terminal can input the training samples into a pre-constructed fitness function for individual evaluation and index calculation to obtain an initial fitness value of the vehicle system.

[0101] S502, performing optimization processing based on the initial fitness value to obtain a target fitness value, and determining the target fitness value as a label corresponding to the training sample.

[0102] In the embodiment of the present application, since the method of online search for the optimal preview distance may consume a lot of time, real-time performance is very important in the actual driving process of the vehicle. In order to solve the above problem, an offline search is used, and then the three factors most related to the preview distance, namely vehicle speed, road curvature and road adhesion coefficient, are used as features, and the preview distance obtained by the search is used as a label for BP neural network training. Figure 7 As shown, the population is initialized and the population size is set to n. At the end of each iteration process, the fitness value is calculated according to the vehicle response, and the historical optimal solution of each particle is calculated until the optimal solution meets the iteration end condition.

[0103] In the embodiment of the present application, by adopting an iterative calculation method, the preview distance is adjusted according to the vehicle response and the fitness function to obtain the optimal preview distance as a label, so that the trained model output accuracy is higher.

[0104] In an exemplary embodiment, based on the above embodiment, see Figure 8 The present application embodiment relates to a fitness function establishment process including the following S601 to S602. Among them:

[0105] S601, respectively determining a road error index, a road boundary constraint index, an instability boundary constraint index and a weight coefficient.

[0106] Among them, the road error index, road boundary constraint index and instability boundary constraint index are determined by the error between the vehicle system and the expected path during the response process.

[0107] In the embodiment of the present application, the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient can be input by the backend personnel, or calculated by a pre-built model.

[0108] S602, establishing a fitness function based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient.

[0109] In the embodiment of the present application, based on the above embodiment, the initial fitness value of the vehicle system is determined by inputting the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient into formula (1).

[0110] …… ...

[0111] in, is the weight coefficient, J1 is the road error index, J2 is the road boundary constraint index, and J3 is the instability boundary constraint index.

[0112] In the embodiments of the present application, by constructing a fitness function, the quality of individuals in a genetic algorithm and a particle swarm algorithm can be evaluated and can also be used to track the progress of the algorithm.

[0113] In an exemplary embodiment, based on the above embodiment, the embodiment of the present application involves a process of respectively determining a road error index, a road boundary constraint index, and an instability boundary constraint index, including:

[0114] Obtain the lateral error of the vehicle system, and determine the road error index based on the lateral error; determine the boundary constraint function based on the lateral error, and determine the road boundary constraint index based on the boundary constraint function; and determine the instability boundary constraint index based on the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing a stability analysis on the vehicle system.

[0115] In the embodiment of the present application, the terminal can obtain the lateral error of the vehicle system, input the lateral error into formula (2), and obtain the road error index. Then, the boundary constraint function can be determined by formula (3) based on the lateral error, and then the boundary constraint function is input into formula (4) to obtain the road boundary constraint index. Finally, the front wheel turning angle and the maximum front wheel turning angle are used to determine the instability boundary constraint index and input it into formula (5) to obtain the instability boundary constraint index. The above formula is as follows:

[0116] …… ...

[0117] in, is the lateral error, and J1 can ensure the tracking accuracy of the system, indicating the path tracking capability.

[0118] …… ...

[0119] …… ...

[0120] Among them, g is the boundary constraint function. The closer the vehicle is to the boundary, the larger the g value is. It is very dangerous when the vehicle exceeds the boundary condition. J2 represents the safety guarantee during driving. is the distance from the centerline to the boundary. In the non-boundary constraint segment, ,when , .

[0121] …… ...

[0122] in, is the maximum front wheel turning angle of the vehicle with only front wheel steering, is the actual front wheel steering angle, when The larger the value, the greater the front wheel turning angle of the vehicle. The closer , Represents the stability of the vehicle.

[0123] Furthermore, the fitness function of the sparrow search algorithm is The vehicle's limit front wheel steering angle value is included in , and the vehicle's limit front wheel steering angle value under the active front wheel steering system can be obtained by analyzing the vehicle's stability.

[0124] Under low adhesion, high speed and large front wheel turning conditions, the vehicle's stable region is very likely to change, and even bifurcation may occur (i.e., the type and number of fixed points in the phase plane change). In order to analyze the stability of the vehicle, a two-degree-of-freedom vehicle model based on the sideslip angle and yaw rate is first established as shown in formula (6):

[0125] …… ...

[0126] In order to express the lateral force more accurately, the magic tire formula is used to fit the tire lateral force. The fitted lateral force formula (7) is:

[0127] ……… (7)

[0128] In the embodiment of the present application, a phase plane image based on the sideslip angle and the yaw angular velocity of the center of mass can also be drawn. The phase plane image is as follows: Fig. 9 As shown, it can be seen from the image that there is a stable fixed point in the image. The position of the fixed point can be obtained by solving the following equation (8).

[0129] …… ...

[0130] By linearizing the vehicle's two-degree-of-freedom model, we can obtain the matrix A as formula (9):

[0131] …… ...

[0132] The stability of the fixed point can be determined by the characteristic root of the matrix A. The characteristic equation of the matrix is ​​formula (10):

[0133] …… ...

[0134] The stability of the system is mainly related to the characteristic root of the characteristic equation. and When the real parts of are all less than 0, the system can be stable.

[0135] As the front wheel steering angle increases, the fixed point gradually changes from a stable point to an unstable point. During the increase of the front wheel steering angle, there is a limit value of the front wheel steering angle. At this time, the front wheel steering angle value is called the limit front wheel steering angle, which is recorded as The stability of the fixed point is not only related to the front wheel steering angle, but also to the vehicle speed and the road adhesion coefficient. As the vehicle speed increases and the road adhesion coefficient decreases, the stable area of ​​the phase plane becomes smaller, the fixed point tends to be unstable more easily, and the vehicle is prone to instability.

[0136] As the front wheel turning angle increases and decreases, the position of the fixed point will also change accordingly. In the phase plane, there is a stable equilibrium point, and two saddle point equilibriums also exist. As the front wheel turning angle increases, the stable equilibrium point moves from (0,0) to one side until the two equilibrium points converge and bifurcate. When the front wheel turning angle is positive, the equilibrium point will move to the left until a bifurcation occurs, at which point the equilibrium point changes from a stable state to an unstable state. A constant maximum yaw rate will be generated at the stable equilibrium point, at which point the vehicle can achieve steady-state steering. After a bifurcation occurs, the stable point becomes an unstable point, at which point the yaw rate will tend to infinity. The front wheel turning angle when a bifurcation occurs is called the maximum front wheel turning angle .

[0137] The embodiment of the present application constructs a fitness function so that the system can select the preview distance with the best individual indicator as a label, so that the trained model output has a higher accuracy.

[0138] In an exemplary embodiment, based on the above embodiment, see Fig.10 The embodiment of the present application relates to a process of inputting the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel turning angle, including the following S701 to S702. Among them:

[0139] S701, determining a servo constraint control item, an error feedback control item and an adaptive robust control item respectively according to the position coordinates of the preview point, the equality constraint and the nominal underactuated system.

[0140] In the embodiment of the present application, the vehicle path tracking control based on preview is as follows Fig.11 As shown:

[0141] The vehicle trajectory tracking control problem can be equivalent to making the vehicle lateral error and yaw angle error Both tend to 0. When tracking the desired path, the vehicle error is defined as formula (11):

[0142] …… ...

[0143] In the formula, is the curvature of the target path, is the position vector of the matching point, is the position vector at the center of mass of the vehicle, is the unit normal vector at the matching point.

[0144] The preview error can be expressed as formula (12):

[0145] …… ...

[0146] Where L is the preview distance, and the preview error can be simplified as formula (13):

[0147] …… ...

[0148] In order to make the vehicle track the desired path, the following error function is defined:

[0149] …………(14)

[0150] in , By solving the above differential equation, we can obtain formula (15).

[0151] …… ...

[0152] From the above equation, we can see that as time t increases, the preview error and .when When , we can get the following equation as shown in formula (16):

[0153] …… ...

[0154] By solving a nonhomogeneous first-order linear differential equation: We can get that, with , .because is a small enough number, so when , can be approximated to 0. , we can know and will tend to 0. The defined error function is written in the form of an equality constraint as shown in formula (17):

[0155] …… ...

[0156] Where A and c are obtained as formula (18):

[0157] …………(18)

[0158] Taking partial derivatives of the above formula we can obtain formula (19):

[0159] …… (19)

[0160] in, is the rate of change of the road curvature. By using the known nominal underactuated system and the equality constraints satisfied by the corresponding system, a servo control input can be designed to ensure that the nominal underactuated system meets the equality constraints. The nominal underactuated system is formula (20):

[0161] …… ...

[0162] According to UK theory, the following servo constraint control input can be obtained as formula (21):

[0163] ……………………(twenty one)

[0164] In order to ensure that the nominal vehicle system satisfies the second-order equality constraint, the next step is to design the error feedback control term to eliminate the initial deviation and consider the uncertainty. and adaptive robust control .

[0165] According to UK theory, the adaptive robust control term can be obtained and Formula (22)

[0166] ………………(twenty two)

[0167] in, is a known function, as shown in formula (23).

[0168] ………………………(twenty three)

[0169] in, , , and is a determined constant.

[0170] S702, determining the front wheel steering angle according to the servo constraint control item, the error feedback control item and the adaptive robust control item.

[0171] In the embodiment of the present application, based on the above embodiment, the total control quantity U of the constraint following controller is defined as formula (24):

[0172] ……………………………………………(twenty four)

[0173] Among them, the total control quantity U is the determinant of the front wheel steering angle.

[0174] In the embodiment of the present application, the servo constraint control term, the error feedback control term and the adaptive robust control term are input into the total control input to determine the front wheel steering angle.

[0175] In the embodiment of the present application, an equality constraint is constructed according to the requirements in the trajectory tracking control process, and a constraint following robust controller is designed through the established equality constraint and dynamic model. The controller mainly consists of two parts, namely, a servo control term of the nominal system and an additional compensation term for processing uncertainty and initial deviation. The constraint following trajectory tracking controller based on preview distance adaptation can effectively improve the trajectory tracking accuracy of the constraint following robust controller.

[0176] In an exemplary embodiment, based on the above embodiment, see Fig.12 The present application embodiment relates to a process of establishing a constraint following robust controller, which includes the following steps S801 to S804. Among them:

[0177] S801, establishing an initial system lateral dynamics model and tire model.

[0178] In the embodiment of the present application, the initial system lateral dynamics model and tire model can be drawn by background personnel or automatically generated by the terminal.

[0179] S802, performing piecewise affine processing on the tire model under pure slip to obtain the front and rear tire slip angles.

[0180] In the embodiment of the present application, in order to take into account both the calculation accuracy and real-time performance of the controller, the magic tire formula under pure side slip is approximated by piecewise affine as shown in formula (25):

[0181] …… ...

[0182] in, , Respectively, front and rear wheels; , is the segmentation point of the sideslip angle in the piecewise affine tire model; is the upper bound of the sideslip angle constraint; is the slope of the first linear region, , and , are the slope and intercept respectively.

[0183] The vertical load of the tire is 3187.16N, and the PWA fitting is as follows: Fig.13 shown.

[0184] The tire cornering force after piecewise affine transformation is given by formula (26):

[0185] …… ...

[0186] in, and are the slopes in the piecewise affine models of the front and rear wheels, , when the tire force is in the linear region, , ; and are the intercepts of the piecewise affine models of the front and rear wheels, respectively.

[0187] The sideslip angles of the front and rear wheels are respectively expressed as formula (27):

[0188] …… ...

[0189] S803: Determine a target system lateral dynamics model according to the initial system lateral dynamics model and the front and rear tire slip angles.

[0190] In the embodiment of the present application, combined with the above formula, the vehicle lateral dynamics model combined with PWA fitting can be obtained as formula (28):

[0191] …… ...

[0192] Take the generalized coordinate vector , the system model is as formula (29):

[0193] ………(29)

[0194] in, represents the uncertainty of the parameters, is the parameter matrix.

[0195] Substituting the parameters of formula (5) into formula (6), the specific expression of the system model can be obtained as formula (30):

[0196] ……………………(30)

[0197] Where a1, a2 and a5 are represented by formula (31):

[0198] …… ...

[0199] The parameters in the formula are often difficult to accurately identify. By decomposing the parameter matrix into a nominal part and an unknown uncertainty part, the complex uncertainty problem of the lateral dynamic system can be solved. The parameter matrix can be decomposed into formula (32):

[0200] …… ...

[0201] in, , , and is the unknown uncertainty part, , , and is the nominal part. The parameter matrices of the uncertainty and nominal parts are continuous, and the uncertainty part is bounded. ,make , , .

[0202] S804, performing state variable conversion processing on the state variables in the lateral dynamics model of the target system to obtain a constraint following robust controller.

[0203] In an embodiment of the present application, based on the lateral dynamics model of the target system obtained in the above embodiment, the state variables in the lateral dynamics model of the target system are converted into state variables containing the equality constraint q to obtain a constraint following robust controller.

[0204] In the embodiment of the present application, the magic tire formula is piecewise affine, and the tire force after piecewise affine is added to the modeling of the two degrees of freedom of the vehicle, which can take into account both the modeling accuracy and the calculation efficiency of the controller. By constructing a constraint following robust controller, it can effectively resist uncertainty problems such as parameter perturbation and external interference, and has good robustness.

[0205] In an exemplary embodiment, based on the above embodiments, the initial system lateral dynamics model of the embodiment of the present application includes lateral degrees of freedom and lateral degrees of freedom. The embodiment of the present application involves the process of establishing the initial system lateral dynamics model, including: determining the initial system lateral dynamics model according to the vehicle dynamics equations of the vehicle along the lateral degrees of freedom and the lateral degrees of freedom, respectively.

[0206] In the present application embodiment, first establish Fig.14 The initial system lateral dynamics model of the vehicle shown includes two degrees of freedom: lateral and yaw.

[0207] The lateral dynamics model of the vehicle is formula (33):

[0208] …………(33)

[0209] in, and are the longitudinal and lateral velocities of the vehicle, respectively. is the acceleration along the y-axis; m is the mass of the vehicle; is the front wheel turning angle; and are the distances from the center of mass to the front axle and the rear axle respectively; and are the front and rear tire cornering forces respectively; is the yaw angle; is the moment of inertia; M is the yaw moment around the Z axis.

[0210] In the embodiment of the present application, an initial system lateral dynamics model is constructed to obtain subsequent calculation parameters.

[0211] In an exemplary embodiment, based on the above embodiment, the method of the embodiment of the present application further includes the following steps:

[0212] Step 1: Obtain the lateral error of the vehicle system, determine the road error index according to the lateral error; determine the boundary constraint function according to the lateral error, and determine the road boundary constraint index according to the boundary constraint function; and determine the instability boundary constraint index according to the front wheel turning angle and the maximum front wheel turning angle;

[0213] Step 2: Establish a fitness function based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient;

[0214] Step 3: For each training sample, determine the initial fitness value of the vehicle system based on the pre-constructed fitness function; perform optimization processing based on the initial fitness value to obtain the target fitness value, and determine the target fitness value as the label corresponding to the training sample;

[0215] Step 4: Obtain labels of multiple sample vehicle speeds, sample road curvatures, sample adhesion coefficients, and corresponding sample distances in the training sample set; train a neural network model based on the training sample set to obtain an adaptive preview point distance model;

[0216] Step 5: Determine the initial system lateral dynamics model according to the vehicle dynamics equations along the lateral degree of freedom and the transverse degree of freedom of the vehicle respectively;

[0217] Step 6: Establish the initial system lateral dynamics model and tire model; perform piecewise affine processing on the tire model under pure side slip to obtain the front and rear tire side slip angles; determine the target system lateral dynamics model based on the initial system lateral dynamics model and the front and rear tire side slip angles; perform state variable conversion processing on the state variables in the target system lateral dynamics model to obtain a constrained following robust controller;

[0218] Step 7: Input the actual vehicle speed, the actual road curvature and the actual road adhesion coefficient into the pre-trained adaptive preview point distance model to obtain the preview point distance; input the preview point distance into the single point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point;

[0219] Step 8: According to the position coordinates of the preview point, the equation constraints and the nominal under-actuated system, the servo constraint control item, the error feedback control item and the adaptive robust control item are determined respectively; the front wheel steering angle is determined according to the servo constraint control item, the error feedback control item and the adaptive robust control item; and the vehicle system is subjected to lateral trajectory tracking processing according to the front wheel steering angle.

[0220] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0221] Based on the same inventive concept, the embodiment of the present application also provides an adaptive preview distance vehicle constraint following trajectory tracking control device for implementing the above-mentioned adaptive preview distance vehicle constraint following trajectory tracking control method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more adaptive preview distance vehicle constraint following trajectory tracking control devices provided below can refer to the limitations of the adaptive preview distance vehicle constraint following trajectory tracking control method above, and will not be repeated here.

[0222] In one embodiment, Fig.15 As shown, a vehicle constraint following trajectory tracking control device 900 with adaptive preview distance is provided, comprising:

[0223] The position coordinate acquisition module 901 is used to determine the position coordinate of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0224] The turning angle determination module 902 is used to input the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel turning angle; the constraint following robust controller is constructed based on the equality constraint; the equality constraint is used to constrain the tracking trajectory of the vehicle system;

[0225] The trajectory tracking module 903 is used to perform lateral trajectory tracking processing on the vehicle system according to the front wheel steering angle.

[0226] In one embodiment, the position coordinate acquisition module includes:

[0227] A distance determination unit, used for inputting the actual vehicle speed, the actual road curvature and the actual road adhesion coefficient into a pre-trained adaptive preview point distance model to obtain the preview point distance;

[0228] The coordinate determination unit is used to input the preview point distance into the single-point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point.

[0229] In one embodiment, the above device further comprises:

[0230] The sample acquisition module is used to acquire a training sample set; the training sample set includes a plurality of training samples and labels corresponding to each pair of training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance;

[0231] The model determination module is used to train the neural network model based on the training sample set to obtain an adaptive preview point distance model.

[0232] In one embodiment, the above device further comprises:

[0233] A fitness determination module, for determining an initial fitness value of the vehicle system based on a pre-built fitness function for each training sample;

[0234] The label determination module is used to perform optimization processing based on the initial fitness value to obtain a target fitness value, and determine the target fitness value as a label corresponding to the training sample.

[0235] In one embodiment, the above device further comprises:

[0236] An index determination module, used to respectively determine a road error index, a road boundary constraint index, an instability boundary constraint index and a weight coefficient;

[0237] The function determination module is used to establish a fitness function based on a road error index, a road boundary constraint index, an instability boundary constraint index and a weight coefficient.

[0238] In one embodiment, the indicator determination module includes:

[0239] A first index acquisition unit, configured to acquire a lateral error of a vehicle system and determine a road error index according to the lateral error; and

[0240] a second index obtaining unit, configured to determine a boundary constraint function according to the lateral error, and determine a road boundary constraint index according to the boundary constraint function; and

[0241] The third indicator acquisition unit is used to determine the instability boundary constraint indicator according to the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing stability analysis on the vehicle system.

[0242] In one embodiment, the above-mentioned turning angle determination module includes:

[0243] A control item determination unit is used to determine a servo constraint control item, an error feedback control item and an adaptive robust control item according to the position coordinates of the preview point, the equality constraint and the nominal underactuated system;

[0244] The steering angle determination unit is used to determine the front wheel steering angle according to the servo constraint control item, the error feedback control item and the adaptive robust control item.

[0245] In one embodiment, the above device further comprises:

[0246] A model determination module is used to establish an initial system lateral dynamics model and a tire model;

[0247] An angle determination module, used to perform piecewise affine processing on the tire model under pure side slip to obtain the side slip angles of the front and rear tires;

[0248] A target model determination module, used for determining a target system lateral dynamics model according to an initial system lateral dynamics model and front and rear tire side slip angles;

[0249] The controller determination module is used to perform state variable conversion processing on the state variables in the lateral dynamics model of the target system to obtain a constraint following robust controller.

[0250] In one embodiment, the initial system lateral dynamics model includes lateral degrees of freedom and lateral degrees of freedom, and the apparatus further includes:

[0251] The initial model determination module is used to determine the initial system lateral dynamics model according to the vehicle dynamics equations along the lateral degree of freedom and the transverse degree of freedom of the vehicle respectively.

[0252] Each module in the above-mentioned vehicle constraint following trajectory tracking control device with adaptive preview distance can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0253] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.16As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a vehicle constraint following trajectory tracking control method with an adaptive preview distance is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0254] Those skilled in the art will understand that Fig.16 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0255] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0256] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0257] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0258] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0259] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0260] The actual vehicle speed, the actual road curvature and the actual road adhesion coefficient are input into the pre-trained adaptive preview point distance model to obtain the preview point distance;

[0261] The distance of the preview point is input into the single-point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point.

[0262] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0263] Obtain a training sample set; the training sample set includes multiple training samples and labels corresponding to each pair of training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance;

[0264] The neural network model is trained based on the training sample set to obtain an adaptive preview point distance model.

[0265] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0266] For each training sample, determining an initial fitness value of the vehicle system based on a pre-constructed fitness function;

[0267] An optimization process is performed based on the initial fitness value to obtain a target fitness value, and the target fitness value is determined as the label corresponding to the training sample.

[0268] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0269] Determine the road error index, road boundary constraint index, instability boundary constraint index and weight coefficient respectively;

[0270] A fitness function is established based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient.

[0271] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0272] Obtaining a lateral error of a vehicle system and determining a road error index based on the lateral error; and

[0273] Determining a boundary constraint function according to the lateral error, and determining a road boundary constraint index according to the boundary constraint function; and

[0274] The instability boundary constraint index is determined according to the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing stability analysis on the vehicle system.

[0275] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0276] According to the position coordinates of the preview point, the equality constraint and the nominal underactuated system, a servo constraint control item, an error feedback control item and an adaptive robust control item are determined respectively;

[0277] The front wheel steering angle is determined according to the servo constraint control term, the error feedback control term and the adaptive robust control term.

[0278] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0279] Establish initial system lateral dynamics model and tire model;

[0280] Perform piecewise affine processing on the tire model under pure side slip to obtain the side slip angles of the front and rear tires;

[0281] Determine the target system lateral dynamics model according to the initial system lateral dynamics model and the front and rear tire slip angles;

[0282] The state variables in the lateral dynamics model of the target system are transformed to obtain a constraint following robust controller.

[0283] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0284] The initial system lateral dynamics model is determined according to the vehicle dynamics equations along the lateral degree of freedom and the transverse degree of freedom of the vehicle respectively.

[0285] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0286] Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model;

[0287] The position coordinates of the preview point are input into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on equality constraints; the equality constraints are used to constrain the tracking trajectory of the vehicle system;

[0288] The vehicle system performs lateral trajectory tracking based on the front wheel steering angle.

[0289] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0290] The actual vehicle speed, the actual road curvature and the actual road adhesion coefficient are input into the pre-trained adaptive preview point distance model to obtain the preview point distance;

[0291] The distance of the preview point is input into the single-point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point.

[0292] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0293] Obtain a training sample set; the training sample set includes multiple training samples and labels corresponding to each pair of training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance;

[0294] The neural network model is trained based on the training sample set to obtain an adaptive preview point distance model.

[0295] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0296] For each training sample, determining an initial fitness value of the vehicle system based on a pre-constructed fitness function;

[0297] An optimization process is performed based on the initial fitness value to obtain a target fitness value, and the target fitness value is determined as the label corresponding to the training sample.

[0298] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0299] Determine the road error index, road boundary constraint index, instability boundary constraint index and weight coefficient respectively;

[0300] A fitness function is established based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient.

[0301] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0302] Obtaining a lateral error of a vehicle system and determining a road error index based on the lateral error; and

[0303] Determining a boundary constraint function according to the lateral error, and determining a road boundary constraint index according to the boundary constraint function; and

[0304] The instability boundary constraint index is determined according to the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing stability analysis on the vehicle system.

[0305] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0306] According to the position coordinates of the preview point, the equality constraint and the nominal underactuated system, a servo constraint control item, an error feedback control item and an adaptive robust control item are determined respectively;

[0307] The front wheel steering angle is determined according to the servo constraint control term, the error feedback control term and the adaptive robust control term.

[0308] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0309] Establish initial system lateral dynamics model and tire model;

[0310] Perform piecewise affine processing on the tire model under pure side slip to obtain the side slip angles of the front and rear tires;

[0311] Determine the target system lateral dynamics model according to the initial system lateral dynamics model and the front and rear tire slip angles;

[0312] The state variables in the lateral dynamics model of the target system are transformed to obtain a constraint following robust controller.

[0313] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0314] The initial system lateral dynamics model is determined according to the vehicle dynamics equations along the lateral degree of freedom and the transverse degree of freedom of the vehicle respectively.

[0315] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0316] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, 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.

[0317] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A vehicle constraint following trajectory tracking control method based on adaptive preview distance, characterized in that: The method comprises: Determine the position coordinates of the preview point based on the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and the pre-established single-point pre-anchor model; Inputting the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel steering angle; the constraint following robust controller is constructed based on an equality constraint; the equality constraint is used to constrain the tracking trajectory of the vehicle system; The vehicle system is subjected to lateral trajectory tracking processing according to the front wheel steering angle.

2. The method according to claim 1, characterized in that The method of determining the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model includes: Inputting the actual vehicle speed, the actual road curvature and the actual road surface adhesion coefficient into a pre-trained adaptive preview point distance model to obtain a preview point distance; The preview point distance is input into the single point pre-anchor model for aiming point prediction processing to obtain the position coordinates of the preview point.

3. The method according to claim 2, characterized in that The training process of the adaptive preview point distance model includes: Acquire a training sample set; the training sample set includes a plurality of training samples and labels corresponding to each pair of the training samples; the training samples include sample vehicle speed, sample road curvature and sample adhesion coefficient, and the labels include sample distance; The neural network model is trained based on the training sample set to obtain the adaptive preview point distance model.

4. The method according to claim 3, characterized in that The process of obtaining the label includes: For each of the training samples, determining an initial fitness value of the vehicle system based on a pre-constructed fitness function; An optimization process is performed based on the initial fitness value to obtain a target fitness value, and the target fitness value is determined as a label corresponding to the training sample.

5. The method according to claim 4, characterized in that The process of establishing the fitness function includes: Determine the road error index, road boundary constraint index, instability boundary constraint index and weight coefficient respectively; The fitness function is established based on the road error index, the road boundary constraint index, the instability boundary constraint index and the weight coefficient.

6. The method according to claim 5, characterized in that The method of respectively determining the road error index, the road boundary constraint index, and the instability boundary constraint index comprises: Acquiring a lateral error of a vehicle system, and determining the road error index according to the lateral error; and Determining a boundary constraint function according to the lateral error, and determining the road boundary constraint index according to the boundary constraint function; and The instability boundary constraint index is determined according to the front wheel turning angle and the maximum front wheel turning angle; the maximum front wheel turning angle is obtained by performing a stability analysis on the vehicle system.

7. The method according to claim 1, characterized in that The step of inputting the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel steering angle comprises: Determining a servo constraint control term, an error feedback control term, and an adaptive robust control term, respectively, according to the position coordinates of the preview point, the equation constraint, and the nominal underactuated system; The front wheel steering angle is determined according to the servo constraint control term, the error feedback control term and the adaptive robust control term.

8. The method according to any one of claims 1 to 7, characterized in that: The establishment process of the constraint following robust controller includes: Establish initial system lateral dynamics model and tire model; Perform piecewise affine processing on the tire model under pure side slip to obtain the side slip angles of the front and rear tires; Determining a target system lateral dynamics model according to the initial system lateral dynamics model and the front and rear tire slip angles; The state variables in the lateral dynamics model of the target system are subjected to state variable conversion processing to obtain the constraint following robust controller.

9. The method according to claim 8, characterized in that The initial system lateral dynamics model includes lateral degrees of freedom and lateral degrees of freedom. The process of establishing the initial system lateral dynamics model includes: The initial system lateral dynamics model is determined according to the vehicle dynamics equations of the vehicle along the lateral degree of freedom and the transverse degree of freedom, respectively.

10. A vehicle constraint following trajectory tracking control device with adaptive preview distance, characterized in that: The device comprises: A position coordinate acquisition module is used to determine the position coordinates of the preview point according to the acquired actual vehicle speed, actual road curvature, actual road adhesion coefficient and a pre-established single-point pre-anchor model; A turning angle determination module, used for inputting the position coordinates of the preview point into a pre-established constraint following robust controller to determine the front wheel turning angle; the constraint following robust controller is constructed based on an equality constraint; the equality constraint is used to constrain the tracking trajectory of the vehicle system; The trajectory tracking module is used to perform lateral trajectory tracking processing on the vehicle system according to the front wheel turning angle.