Vehicle trajectory tracking controller parameter self-learning method and device

By decoupling vehicle motion control into feedforward and feedback control, and utilizing deep learning algorithms and driver data for parameter self-learning, the problem of low parameter learning efficiency in existing vehicle trajectory tracking controllers is solved, achieving the effect of rapid deployment of autonomous driving algorithm controllers.

CN117572764BActive Publication Date: 2026-11-24TSINGHUA UNIVERSITY
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing vehicle trajectory tracking controller parameter learning process requires cumbersome manual parameter tuning, which is inefficient and costly, making it difficult to deploy quickly in autonomous driving systems.

Method used

By decoupling the vehicle motion control quantity into feedforward control quantity and feedback control quantity, deep learning algorithms are used to learn the feedforward and feedback control coefficients respectively, and the parameters are self-learned by combining driver data. A deep neural network is designed to output the optimal steering wheel control quantity.

Benefits of technology

It enables rapid self-learning of vehicle trajectory tracking controller parameters, reduces the complexity of controller parameter learning, and improves the deployment efficiency and reliability of autonomous driving algorithm controllers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117572764B_ABST
    Figure CN117572764B_ABST
Patent Text Reader

Abstract

This application relates to a method and apparatus for self-learning parameters of a vehicle trajectory tracking controller. The method includes: based on a preset vehicle motion controller, decoupling the control quantity into feedforward and feedback control; designing experiments and algorithms for data-driven parameter self-learning; and designing the experiments and algorithms as follows: setting a random curved path corresponding to free driving as the first target driving path, collecting information such as path curvature, steering wheel angle, and vehicle speed at different speeds as tracking error-free data to learn feedforward control; setting a preset straight line as the second target trajectory, collecting data on the driver's journey from different initial states to the target trajectory, including tracking error, vehicle speed, and steering wheel angle, as feeding-free tracking data to learn feedback control; and designing a deep neural network to learn the feedforward and feedback control coefficients or the feedforward and feedback steering angles, respectively, to achieve controller parameter self-learning. This solves the problems of low efficiency and high cost associated with traditional controller deployment methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of autonomous driving technology, and in particular to a method and apparatus for self-learning parameters of a vehicle trajectory tracking controller. Background Technology

[0002] Motion control is the core and essential module of autonomous driving systems. There are many types of traditional motion control algorithms, such as PID control, anti-targeting control, and forward preview control. However, they all share a common problem: adjusting the algorithm parameters is very cumbersome and time-consuming.

[0003] Taking the PID algorithm as an example, such as Figure 1 As shown, it includes a proportional adjustment coefficient K. P Integral adjustment coefficient K I and differential adjustment coefficient K D Furthermore, the coefficients are sensitive to changes in speed. When the speed changes to a certain extent, the parameters need to be adjusted. If 30 vehicle speed data are considered, then 90 parameters need to be manually determined, requiring a lot of manpower and time for parameter calibration. Taking forward preview control as an example, it has a typical feedforward-feedback structure. Usually, there are 4 feedback coefficients and 30-80 feedforward coefficients (related to the selection of the forward prediction time domain). If 30 vehicle speed data are considered, then 1200-2500 parameters need to be adjusted.

[0004] In practical controller design, the above parameters are generally not adjusted directly. Instead, vehicle parameters such as the vehicle's center of gravity position, moment of inertia relative to the center of gravity, and tire steering stiffness are usually identified first. Then, a performance function is designed, and the corresponding feedback and feedforward coefficients are calculated using preview control theory.

[0005] For intelligent vehicle trajectory tracking controllers with a feedforward-feedback structure, such as the forward preview control algorithm, this algorithm can be divided into two parts: feedback control and feedforward control. Both control parts are affected by the driving speed. For the forward preview control algorithm, the main challenges of using a model-based controller design method are as follows:

[0006] (1) This method requires knowing the precise parameters of the vehicle, such as the vehicle's moment of inertia and tire steering stiffness. However, vehicle parameters are difficult to measure and require expensive equipment and a series of complex experiments to determine.

[0007] (2) Given that the relevant parameters have been measured, the state weight matrix and control weight matrix of the algorithm's control law need to be determined manually. Therefore, after obtaining the basic parameters of the vehicle, it is still necessary to conduct a large number of experiments to determine the appropriate state weight matrix and control weight matrix, and the parameter tuning process is very complicated.

[0008] Furthermore, during the design or learning process of the controller, the deviation information between the vehicle's actual trajectory and the reference trajectory is required. However, natural driving data does not have a visible or recordable reference trajectory, but only exists in the driver's mind. Control error data cannot be recorded, making it difficult to learn specific controller parameters.

[0009] In summary, the existing vehicle trajectory tracking controller parameter learning process requires a complex manual parameter tuning process, resulting in low efficiency and high cost for controller parameter optimization and calibration. A better approach is through data-driven parameter self-learning; however, under natural driving conditions, the system cannot know or record control error data, making it difficult to learn specific controller feedback parameters. These factors contribute to the time-consuming and labor-intensive deployment of autonomous driving algorithm controllers, necessitating optimization. Summary of the Invention

[0010] This application provides a self-learning method and apparatus for vehicle trajectory tracking controller parameters to solve the problems of low efficiency and high cost in traditional controller deployment methods.

[0011] The first aspect of this application provides a self-learning method for vehicle trajectory tracking controller parameters, comprising the following steps: based on a preset vehicle motion controller, decoupling the control quantity of the target vehicle into a feedforward control quantity and a feedback control quantity; performing parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity of the target vehicle, and controlling the target vehicle to drive through the optimal steering wheel control quantity.

[0012] Optionally, in one embodiment of this application, the step of decoupling the control quantity of the target vehicle into a feedforward control quantity and a feedback control quantity based on a preset vehicle motion controller includes: setting the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle based on the preset vehicle motion controller; calculating the feedforward control coefficient vector through a preset feedforward coefficient deep learning algorithm according to the first target driving path and the control law of the preset forward preview algorithm; and calculating the feedforward control quantity according to the feedforward control coefficient vector.

[0013] Optionally, in one embodiment of this application, the step of decoupling the control quantity of the target vehicle into a feedforward control quantity and a feedback control quantity based on a preset vehicle motion controller further includes: setting a preset straight trajectory as a second target driving path of the target vehicle based on the preset vehicle motion controller; calculating a feedback control coefficient vector using a preset feedback coefficient deep learning algorithm based on the second target driving path and the control law; and calculating the feedback control quantity based on the feedback control coefficient vector.

[0014] Optionally, in one embodiment of this application, the step of performing parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively includes: setting the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle; collecting all free driving data corresponding to the first target driving path; dividing all the free driving data into multiple data segments based on the preview time domain; using each data segment as a training sample, taking the vehicle speed and path curvature at each discrete moment in each data segment as the first input state, and taking the steering wheel angle at the start of each data segment as the first supervision signal, training the forward preview algorithm to obtain the feedforward control coefficient or the feedforward steering angle.

[0015] Optionally, in one embodiment of this application, the step of performing parameter self-learning operations on the feedforward control quantity and the feedback control quantity to obtain the optimal steering wheel control quantity of the target vehicle includes: setting a preset straight trajectory as the second target driving path of the target vehicle; controlling the target vehicle to drive towards the second target driving path according to different initial states of the target vehicle, generating multiple driver feedback control paths; recording the free driving data corresponding to each moment in each driver feedback control path, wherein the free driving data includes the vehicle speed and steering wheel angle of the target vehicle; calculating the tracking error data of the target vehicle at each moment based on the second target driving path and the driver driving path; using the tracking error data and the vehicle speed as the second input state, and the steering wheel angle as the second supervision signal, training the forward preview algorithm to obtain the feedback control coefficient or feedback angle; and calculating the optimal steering wheel control quantity according to a preset calculation strategy based on the feedforward control coefficient or the feedforward angle and the feedback control coefficient or the feedback angle.

[0016] A second aspect of this application provides a vehicle trajectory tracking controller parameter self-learning device, comprising: a decoupling module, used to decouple the control quantity of a target vehicle into a feedforward control quantity and a feedback control quantity based on a preset vehicle motion controller; and a control module, used to perform parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity of the target vehicle, and to control the target vehicle to drive through the optimal steering wheel control quantity.

[0017] Optionally, in one embodiment of this application, the decoupling module includes: a first setting unit, configured to set a random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle based on a preset vehicle motion controller; a first calculation unit, configured to calculate a feedforward control coefficient vector using a preset feedforward coefficient deep learning algorithm according to the first target driving path and the control law of a preset forward preview algorithm; and a second calculation unit, configured to calculate the feedforward control quantity based on the feedforward control coefficient vector.

[0018] Optionally, in one embodiment of this application, the decoupling module further includes: a second setting unit, configured to set a preset straight trajectory as a second target driving path of the target vehicle based on the preset vehicle motion controller; a third calculation unit, configured to calculate a feedback control coefficient vector based on the second target driving path and the control law using a preset feedback coefficient deep learning algorithm; and a fourth calculation unit, configured to calculate the feedback control quantity based on the feedback control coefficient vector.

[0019] Optionally, in one embodiment of this application, the control module includes: a third setting unit, configured to set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle; a collection unit, configured to collect all free driving data corresponding to the first target driving path; a division unit, configured to divide all the free driving data based on the preview time domain to obtain multiple data segments; and a first training unit, configured to use each data segment as a training sample, with the vehicle speed and path curvature at each discrete moment in each data segment as the first input state, and the steering wheel angle at the start of each data segment as the first supervision signal, to train the forward preview algorithm to obtain feedforward control coefficients or feedforward steering angle.

[0020] Optionally, in one embodiment of this application, the control module includes: a fourth setting unit, configured to set a preset straight-line trajectory as the second target driving path of the target vehicle; a generation unit, configured to control the target vehicle to drive towards the second target driving path according to different initial states of the target vehicle, generating multiple driver feedback control paths; a recording unit, configured to record free driving data corresponding to each moment in each driver feedback control path, wherein the free driving data includes the vehicle speed and steering wheel angle of the target vehicle; a fifth calculation unit, configured to calculate the tracking error data of the target vehicle at each moment based on the second target driving path and the driver driving path; a second training unit, configured to use the tracking error data and the vehicle speed as a second input state, and the steering wheel angle as a second supervision signal to train the forward preview algorithm to obtain feedback control coefficients or feedback angles; and a sixth calculation unit, configured to calculate the optimal steering wheel control amount based on the feedforward control coefficients or the feedforward angles and the feedback control coefficients or feedback angles, according to a preset calculation strategy.

[0021] A third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle trajectory tracking controller parameter self-learning method as described in the above embodiments.

[0022] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described self-learning method for vehicle trajectory tracking controller parameters.

[0023] Therefore, the embodiments of this application have the following beneficial effects:

[0024] The embodiments of this application can decouple the control quantity into feedforward and feedback control by pre-setting a vehicle motion controller. Experiments and algorithms are designed to perform data-driven parameter self-learning. The experiment and algorithm design is as follows: a random curved path corresponding to free driving is set as the first target driving path. Information such as path curvature, steering wheel angle, and vehicle speed at different speeds is collected as tracking error-free data to learn feedforward control. A straight line is pre-set as the second target trajectory. Data on the driver's journey from different initial states to the target trajectory, including tracking error, vehicle speed, and steering wheel angle, is collected as feedforward-free tracking data to learn feedback control. A deep neural network is designed and learns the feedforward and feedback control coefficients or steering angles respectively, realizing controller parameter self-learning. This allows for the determination of various parameters of the vehicle trajectory tracking controller in a short time, greatly reducing the complexity of controller parameter learning and facilitating the rapid deployment of autonomous driving algorithm controllers on vehicles. Thus, the problems of low efficiency and high cost of traditional controller deployment methods are solved.

[0025] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0026] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0027] Figure 1 A schematic diagram of the parameter determination process for a PID algorithm;

[0028] Figure 2 This is a flowchart of a self-learning method for vehicle trajectory tracking controller parameters provided in an embodiment of this application;

[0029] Figure 3 A schematic diagram of vehicle trajectory tracking error is provided for one embodiment of this application;

[0030] Figure 4 A schematic diagram of a feedforward gain learning process is provided for one embodiment of this application;

[0031] Figure 5 A schematic diagram of a feedback gain learning process is provided for one embodiment of this application;

[0032] Figure 6 A schematic diagram illustrating the execution logic of a self-learning method for vehicle trajectory tracking controller parameters, provided as an embodiment of this application;

[0033] Figure 7 This is an example diagram of a vehicle trajectory tracking controller parameter self-learning device according to an embodiment of this application;

[0034] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0035] Among them, 10-vehicle trajectory tracking controller parameter self-learning device; 101-decoupling module, 102-control module; 801-memory, 802-processor, 803-communication interface. Detailed Implementation

[0036] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0037] The following describes a vehicle trajectory tracking controller parameter self-learning method and apparatus according to embodiments of this application with reference to the accompanying drawings. Addressing the problems mentioned in the background art, this application provides a vehicle trajectory tracking controller parameter self-learning method. In this method, by pre-setting a vehicle motion controller, the control quantity is decoupled into feedforward and feedback control. Experiments and algorithms are designed to perform data-driven parameter self-learning. The experiment and algorithm design are as follows: a random curved path corresponding to free driving is set as the first target driving path, and information such as path curvature, steering wheel angle, and vehicle speed at different speeds is collected as tracking error-free data to learn feedforward control; a straight line is pre-set as the second target trajectory, and data on the driver driving towards the target trajectory from different initial states, including tracking error, vehicle speed, and steering wheel angle, is collected as feedforward-free tracking data to learn feedback control; a deep neural network is designed and feedforward and feedback control coefficients or steering angles are learned respectively to achieve controller parameter self-learning. This allows for the determination of various parameters of the vehicle trajectory tracking controller in a short time, greatly reducing the complexity of controller parameter learning and facilitating the rapid deployment of autonomous driving algorithm controllers on vehicles. Thus, the problems of low efficiency and high cost of traditional controller deployment methods are solved.

[0038] Specifically, Figure 2 This is a flowchart illustrating a self-learning method for vehicle trajectory tracking controller parameters provided in an embodiment of this application.

[0039] like Figure 2 As shown, the self-learning method for vehicle trajectory tracking controller parameters includes the following steps:

[0040] In step S201, based on the preset vehicle motion controller, the control quantity of the target vehicle is decoupled into feedforward control quantity and feedback control quantity.

[0041] The embodiments of this application can employ a vehicle motion controller with a feedforward-feedback structure, decoupling the feedback control quantity and the feedforward control quantity, thereby designing corresponding data acquisition methods and parameter learning methods to ensure the smooth implementation of subsequent feedback control and feedforward control data-driven parameter self-learning.

[0042] Optionally, in one embodiment of this application, based on a preset vehicle motion controller, the control quantity of the target vehicle is decoupled into a feedforward control quantity and a feedback control quantity, including: based on the preset vehicle motion controller, setting the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle; calculating the feedforward control coefficient vector through a preset feedforward coefficient deep learning algorithm according to the control law of the first target driving path and the preset forward preview algorithm; and calculating the feedforward control quantity according to the feedforward control coefficient vector.

[0043] Those skilled in the art should understand that, for intelligent vehicle trajectory tracking controllers with a feedforward-feedback structure, such as forward preview control, the algorithm can be denoted as δ(k) = f1(v, x(k)) + f2(v, C). R (k)), where f1(v, x(k)) is the feedback control quantity, f2(v, C) is the feedback control quantity, and C is the feedback control quantity. R (k) is the feedforward control variable.

[0044] Specifically, the forward preview control algorithm is a special model predictive control algorithm with analytical solutions. By constructing an extended LQR problem, the control law can be analytically solved, thereby achieving accurate, smooth, and efficient trajectory tracking. Preview control is mainly based on a two-degree-of-freedom vehicle dynamics model. A typical two-degree-of-freedom dynamics model is shown below:

[0045]

[0046] Where k1 and k2 represent the total lateral stiffness of the front and rear wheels of the car, respectively, β is the sideslip angle of the car's center of mass, a and b are the distances from the center of mass to the front and rear axles, respectively, and ω r The yaw rate of the car is represented by v and v'. x Indicates the lateral and longitudinal speeds of a car, m and I. z Let v represent the vehicle's mass and rotational inertia, respectively. Let y and ω represent v in the above equation. r Represented as ( (This refers to the vehicle's yaw angle), after adjustment, we can obtain:

[0047]

[0048] The corresponding error equation is:

[0049]

[0050] Based on the above derivation, if we minimize the difference between the reference path and the trajectory expected by the vehicle dynamics model within the observable range, such as... Figure 3 As shown; then, by generating the optimal steering online, the MPC method for autonomous driving control can be obtained; however, since the optimization equations must be solved repeatedly in each step, this leads to a heavy computational load, and for nonlinear MPC, if the initial values ​​are not suitable, optimization failure may occur, which is not conducive to practical applications; therefore, it is proposed to change the system path c R By incorporating the system state, the path tracing problem is transformed into an augmented linear quadratic problem. This means that the method can achieve path tracing performance similar to MPC with a relatively light computational load, similar to LQR. The corresponding optimal control problem is:

[0051]

[0052] x(k+1)=Ax(k)+Bδ(k)+Dc R (k)

[0053] Based on the forward preview control algorithm, its optimal control law is:

[0054] δ(k)=-K b x(k)-K f C R (k)

[0055] in,

[0056] K b = (R+B) T PB) -1 B T PA

[0057]

[0058] P = Q + ξPA

[0059]

[0060] ξ=A T (I+PBR -1 B T ) -1

[0061] In the formula, Q is the state variable weight matrix, R is the control variable weight matrix, and P and P C The matrix is ​​a new matrix obtained when the partial derivative of the cost function is zero. A, B, and D are the coefficient matrices in the error equation derived from the vehicle dynamics model.

[0062] In actual implementation, embodiments of this application can use any path the vehicle travels as the target path. In this case, the vehicle has no driving error, i.e., the feedback term x(k) is 0. Therefore, the feedback control quantity is also 0, and the control law of the forward preview control algorithm can be expressed as δ(k) = -K. f C R (k) makes the front wheel steering angle no longer related to the feedback control quantity, thereby decoupling the controller feedforward control parameters.

[0063] Since the related function forms of the unknown feedforward control quantity and the above factors are unknown, and the feedforward gain may exhibit nonlinear changes when the vehicle speed changes, in actual execution, for each set vehicle speed, the embodiments of this application can obtain the feedforward gain at a single speed by using a multi-layer feedforward coefficient deep learning algorithm, inputting the vehicle speed v and the feedforward quantity, and then using interpolation to obtain the feedforward gain at each speed, calculating the feedforward control coefficient vector, and outputting the feedforward control quantity (i.e., the steering wheel angle caused by the feedforward quantity).

[0064] It is important to note that during the parameter identification process, such as Figure 4 As shown, for the identification of feedforward gain, in addition to learning the feedforward gain and then interpolating and fitting it at a single speed, we can also use a neural network to directly learn the feedforward control quantity, or express the feedforward gain as a function related to its number of terms and speed, and obtain the feedforward gain at each speed by learning the parameters of this function; for the identification of feedback gain, we can also use a neural network to directly obtain the feedback control quantity, without making specific limitations here.

[0065] Optionally, in one embodiment of this application, the control quantity of the target vehicle is decoupled into a feedforward control quantity and a feedback control quantity based on a preset vehicle motion controller, and further includes: setting a preset straight trajectory as a second target driving path of the target vehicle based on the preset vehicle motion controller; calculating a feedback control coefficient vector using a preset feedback coefficient deep learning algorithm based on the second target driving path and the control law; and calculating a feedback control quantity based on the feedback control coefficient vector.

[0066] It should be noted that, in embodiments of this application, any straight road can also be set as the target path. Analysis of the forward preview algorithm control law shows that when a vehicle travels towards a straight road in any initial state, its feedforward term C... R If δ(k) is 0, then the feedforward control input is also 0, and the control law of the forward preview control algorithm can be expressed as δ(k) = -K. b x(k), at this point, the front wheel steering angle of the vehicle is no longer related to the feedforward control quantity, thus achieving decoupling of the controller feedback control parameters.

[0067] Since the correlation function form between the feedback control quantity and the aforementioned factors is unknown, the change in feedback gain is non-linear under varying vehicle speed. Therefore, in order to fit this non-linear relationship, embodiments of this application can construct a multi-layer feedback coefficient deep learning algorithm, such as... Figure 5 As shown, the feedback control coefficient vector is calculated using a multi-layer feedback coefficient deep learning algorithm, and the feedback control quantity is output.

[0068] In step S202, parameter self-learning operations are performed on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity of the target vehicle, and the target vehicle is controlled to drive by the optimal steering wheel control quantity.

[0069] After decoupling the control quantity of the target vehicle into feedforward control quantity and feedback control quantity, embodiments of this application can further utilize the feedforward control quantity and feedback control quantity to complete the self-learning of the forward preview controller parameters through corresponding operations, so as to use the vehicle forward preview controller to output the optimal steering wheel control quantity of the vehicle, such as... Figure 6 As shown, this improves the efficiency of parameter learning and enhances the safety and reliability of vehicle operation.

[0070] Optionally, in one embodiment of this application, parameter self-learning operations are performed on the feedforward control quantity and the feedback control quantity, respectively, including: setting the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle; collecting all free driving data corresponding to the first target driving path; dividing all free driving data based on the preview time domain to obtain multiple data segments; using each data segment as a training sample, taking the vehicle speed and path curvature at each discrete moment in each data segment as the first input state, and taking the steering wheel angle at the start of each data segment as the first supervision signal, training the forward preview algorithm to obtain the feedforward control coefficient or the feedforward steering angle.

[0071] It should be noted that drivers can accumulate rich data by driving the vehicle on as many curves as possible and driving for as long distances as possible, and repeat this process in multiple speed ranges. In the embodiments of this application, the random curve path corresponding to free driving can be set as the target driving path of the vehicle, and the random curve path can be processed by data segmentation. The vehicle speed in each segment is in a speed range, and each segment can be set with 150 measurement points. Free driving data information such as path points, steering wheel angle, and vehicle speed corresponding to each measurement point is collected. The free driving data is divided into a large number of data segments according to the preview time domain. Each segment is used as a training sample. The vehicle speed and path curvature at each discrete moment are used as input states, and the steering wheel angle at the beginning of the segment is used as the supervision signal to train the forward preview algorithm, thereby obtaining the feedforward control coefficient or feedforward angle.

[0072] Therefore, the embodiments of this application can complete the parameter self-learning of the forward preview algorithm using only a few hours of driving data. In addition, since the embodiments of this application adopt a data-driven method, parameters such as vehicle rotational inertia and steering stiffness are not required, thus avoiding a complicated parameter tuning process.

[0073] Optionally, in one embodiment of this application, parameter self-learning operations are performed on the feedforward control quantity and the feedback control quantity respectively, and the optimal neural network model is selected from them and combined into a vehicle trajectory tracking controller. Thus, the optimal steering wheel control quantity of the target vehicle is obtained based on the feedforward, feedback, and vehicle speed, including: setting a preset straight trajectory as the second target driving path of the target vehicle; controlling the target vehicle to drive towards the second target driving path according to different initial states of the target vehicle, generating multiple driver feedback control paths; recording the free driving data corresponding to each moment in each driver feedback control path, wherein the free driving data includes the vehicle speed and steering wheel angle of the target vehicle; calculating the tracking error data of the target vehicle at each moment based on the second target driving path and the driver driving path; using the tracking error data and vehicle speed as the second input state, and the steering wheel angle as the second supervision signal, training the forward preview algorithm to obtain the feedback control coefficient or feedback angle; and calculating the optimal steering wheel control quantity based on the feedforward control coefficient or feedforward angle and the feedback control coefficient or feedback angle according to a preset calculation strategy.

[0074] As one possible approach, embodiments of this application can determine a straight target path. The human driver first deviates the vehicle from the target path, and then, based on driving experience, drives the vehicle from different initial states to the target path, generating multiple paths corresponding to pure driver feedback control. To ensure the generalization of the training results, the deviation paths are diversified as much as possible during this process, and the process is repeated in multiple speed ranges.

[0075] Furthermore, embodiments of this application can remove the portion of the driving path that deviates from the straight target path in each driving path, and set several measurement points for the portion close to the target path, recording the position, heading angle, speed, and steering wheel angle information of each measurement point at each time. Based on the straight target path and the driver's driving path, the distance and direction tracking error of the vehicle at each measurement point at each time and its first-order variables (i.e., the heading error, lateral error, and their derivatives with respect to time for each measurement point) are calculated. The calculated tracking error and vehicle speed data are used as input states, and the steering wheel angle is used as a supervision signal to train the forward preview algorithm, obtain the feedback control coefficient or feedback angle amount, and calculate the optimal steering wheel control amount based on the feedforward control coefficient or feedforward angle amount and the feedback control coefficient or feedback angle amount, combined with the control law formula of the forward preview control algorithm.

[0076] Therefore, the embodiments of this application can realize rapid self-learning of the parameters of the forward preview control algorithm based on the feedforward-feedback structure, and output the optimal control parameters that anthropomorphize the vehicle, thereby ensuring the reliability and intelligence level of the vehicle.

[0077] According to the vehicle trajectory tracking controller parameter self-learning method proposed in this application embodiment, the control quantity is decoupled into feedforward and feedback control by pre-setting the vehicle motion controller. Experiments and algorithms are designed to perform data-driven parameter self-learning. The experiment and algorithm design is as follows: a random curved path corresponding to free driving is set as the first target driving path, and information such as path curvature, steering wheel angle, and vehicle speed at different speeds are collected as tracking error-free data to learn feedforward control; a straight line is preset as the second target trajectory, and data of the driver driving from different initial states to the target trajectory, including tracking error, vehicle speed, and steering wheel angle, are collected as feeding error-free tracking data to learn feedback control; a deep neural network is designed and feedforward and feedback control coefficients are learned respectively to realize controller parameter self-learning. This allows the various parameters of the vehicle trajectory tracking controller to be determined in a short time, greatly reducing the complexity of controller parameter learning and facilitating the rapid deployment of autonomous driving algorithm controllers on vehicles.

[0078] Secondly, the self-learning device for vehicle trajectory tracking controller parameters according to an embodiment of this application is described with reference to the accompanying drawings.

[0079] Figure 7 This is a block diagram of a vehicle trajectory tracking controller parameter self-learning device according to an embodiment of this application.

[0080] like Figure 7 As shown, the vehicle trajectory tracking controller parameter self-learning device 10 includes a decoupling module 101 and a control module 102.

[0081] The decoupling module 101 is used to decouple the control quantity of the target vehicle into feedforward control quantity and feedback control quantity based on the preset vehicle motion controller.

[0082] The control module 102 is used to perform parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity of the target vehicle, and control the target vehicle to drive through the optimal steering wheel control quantity.

[0083] Optionally, in one embodiment of this application, the decoupling module 101 includes: a first setting unit, a first calculation unit, and a second calculation unit.

[0084] The first setting unit is used to set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle based on the preset vehicle motion controller.

[0085] The first calculation unit is used to calculate the feedforward control coefficient vector based on the first target driving path and the control law of the preset forward preview algorithm, using a preset feedforward coefficient deep learning algorithm.

[0086] The second calculation unit is used to calculate the feedforward control quantity based on the feedforward control coefficient vector.

[0087] Optionally, in one embodiment of this application, the decoupling module 101 further includes: a second setting unit, a third calculation unit, and a fourth calculation unit.

[0088] The second setting unit is used to set a preset straight trajectory as the second target driving path of the target vehicle based on a preset vehicle motion controller.

[0089] The third calculation unit is used to calculate the feedback control coefficient vector based on the second target driving path and control law using a preset feedback coefficient deep learning algorithm.

[0090] The fourth calculation unit is used to calculate the feedback control quantity based on the feedback control coefficient vector.

[0091] Optionally, in one embodiment of this application, the control module 102 includes: a third setting unit, a data acquisition unit, a division unit, and a first training unit.

[0092] The third setting unit is used to set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle.

[0093] The data acquisition unit is used to collect all free driving data corresponding to the first target driving path.

[0094] The segmentation unit is used to divide all free driving data based on the preview time domain, resulting in multiple data segments.

[0095] The first training unit is used to train the forward preview algorithm by taking each data segment as a training sample, using the vehicle speed and path curvature at each discrete moment in each data segment as the first input state, and the steering wheel angle at the start of each data segment as the first supervision signal, to obtain the feedforward control coefficient or feedforward steering angle.

[0096] Optionally, in one embodiment of this application, the control module 102 further includes: a fourth setting unit, a generation unit, a recording unit, a fifth calculation unit, a second training unit, and a sixth calculation unit.

[0097] The fourth setting unit is used to set the preset straight-line trajectory as the second target driving path of the target vehicle.

[0098] The generation unit is used to control the target vehicle to drive towards the second target driving path based on the initial state of different target vehicles, and to generate multiple driver feedback control paths.

[0099] The recording unit is used to record the free driving data corresponding to each moment in each driver feedback control path. The free driving data includes the target vehicle's speed and steering wheel angle.

[0100] The fifth calculation unit is used to calculate the tracking error data of the target vehicle at each time step based on the second target driving path and the driver's driving path.

[0101] The second training unit is used to train the forward preview algorithm by taking the tracking error data and vehicle speed as the second input state and the steering wheel angle as the second supervision signal, so as to obtain the feedback control coefficient or feedback steering angle.

[0102] The sixth calculation unit is used to calculate the optimal steering wheel control quantity based on the feedforward control coefficient or feedforward steering angle and the feedback control coefficient or feedback steering angle, according to a preset calculation strategy.

[0103] It should be noted that the foregoing explanation of the self-learning method for vehicle trajectory tracking controller parameters also applies to the self-learning device for vehicle trajectory tracking controller parameters in this embodiment, and will not be repeated here.

[0104] According to the vehicle trajectory tracking controller parameter self-learning device proposed in this application embodiment, by presetting the vehicle motion controller, based on the decoupling characteristics of the physical meaning of feedforward and feedback quantities, the control quantity is decoupled into feedforward and feedback control. Experiments and algorithms are designed to perform data-driven parameter self-learning. The experiment and algorithm design is as follows: a random curved path corresponding to free driving is set as the first target driving path, and information such as path curvature, steering wheel angle, and vehicle speed at different speeds are collected as tracking error-free data to learn feedforward control; a straight line is preset as the second target trajectory, and data of the driver driving from different initial states to the target trajectory, including tracking error, vehicle speed, and steering wheel angle, are collected as feeding error-free tracking data to learn feedback control; a deep neural network is designed and feedforward and feedback control coefficients are learned respectively to realize controller parameter self-learning. Thus, the various parameters of the vehicle trajectory tracking controller can be determined in a short time, which greatly reduces the complexity of controller parameter learning and helps to realize the rapid deployment of autonomous driving algorithm controllers on vehicles.

[0105] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may include:

[0106] The memory 801, the processor 802, and the computer program stored on the memory 801 and capable of running on the processor 802.

[0107] When the processor 802 executes the program, it implements the self-learning method for vehicle trajectory tracking controller parameters provided in the above embodiments.

[0108] Furthermore, electronic devices also include:

[0109] Communication interface 803 is used for communication between memory 801 and processor 802.

[0110] The memory 801 is used to store computer programs that can run on the processor 802.

[0111] The memory 801 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0112] If the memory 801, processor 802, and communication interface 803 are implemented independently, then the communication interface 803, memory 801, and processor 802 can be interconnected via a bus to complete communication between them. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be divided into address buses, data buses, control buses, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0113] Optionally, in a specific implementation, if the memory 801, processor 802, and communication interface 803 are integrated on a single chip, then the memory 801, processor 802, and communication interface 803 can communicate with each other through an internal interface.

[0114] The processor 802 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0115] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described self-learning method for vehicle trajectory tracking controller parameters.

[0116] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0117] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0118] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0119] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0120] It should be understood that the various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0121] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0122] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0123] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A self-learning method for vehicle trajectory tracking controller parameters, characterized in that, Includes the following steps: Based on the preset vehicle motion controller, the control quantity of the target vehicle is decoupled into feedforward control quantity and feedback control quantity; The feedforward control quantity and the feedback control quantity are subjected to parameter self-learning operation respectively to obtain the optimal steering wheel control quantity of the target vehicle, and the target vehicle is controlled to drive by the optimal steering wheel control quantity. The step of decoupling the control quantity of the target vehicle into feedforward control quantity and feedback control quantity based on the preset vehicle motion controller includes: Based on a preset vehicle motion controller, the random curve path corresponding to the free driving of the target vehicle is set as the first target driving path of the target vehicle. Based on the first target driving path and the control law of the preset forward preview algorithm, the feedforward control coefficient vector is calculated by the preset feedforward coefficient deep learning algorithm. The feedforward control quantity is calculated based on the feedforward control coefficient vector; The parameter self-learning operation performed on the feedforward control quantity and the feedback control quantity respectively includes: Set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle; Collect all free driving data corresponding to the first target driving path; Based on the preview time domain, all the free driving data is divided into multiple data segments; Each data segment is used as a training sample. The vehicle speed and path curvature at each discrete moment in each data segment are used as the first input state. The steering wheel angle at the start of each data segment is used as the first supervision signal to train the forward preview algorithm and obtain the feedforward control coefficient or feedforward steering angle.

2. The method according to claim 1, characterized in that, The method of decoupling the control quantity of the target vehicle into feedforward control quantity and feedback control quantity based on the preset vehicle motion controller also includes: Based on the preset vehicle motion controller, the preset straight trajectory is set as the second target driving path of the target vehicle; Based on the second target driving path and the control law, a feedback control coefficient vector is calculated using a preset feedback coefficient deep learning algorithm. The feedback control quantity is calculated based on the feedback control coefficient vector.

3. The method according to claim 1, characterized in that, The step of performing parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity for the target vehicle includes: Set a preset straight trajectory as the second target driving path of the target vehicle; Based on the different initial states of the target vehicles, control the target vehicles to drive towards the second target driving path, and generate multiple driver feedback control paths; Record the free driving data corresponding to each moment in each driver feedback control path, wherein the free driving data includes the vehicle speed and steering wheel angle of the target vehicle; Based on the second target driving path and the driver's driving path, the tracking error data of the target vehicle at each time moment is calculated; Using the tracking error data and the vehicle speed as the second input state and the steering wheel angle as the second supervision signal, the forward preview algorithm is trained to obtain the feedback control coefficient or feedback steering angle. Based on the feedforward control coefficient or the feedforward steering angle and the feedback control coefficient or the feedback steering angle, the optimal steering wheel control amount is calculated according to a preset calculation strategy.

4. A self-learning device for vehicle trajectory tracking controller parameters, characterized in that, include: The decoupling module is used to decouple the control quantity of the target vehicle into feedforward control quantity and feedback control quantity based on the preset vehicle motion controller; The control module is used to perform parameter self-learning operations on the feedforward control quantity and the feedback control quantity respectively to obtain the optimal steering wheel control quantity of the target vehicle, and control the target vehicle to drive through the optimal steering wheel control quantity; The decoupling module includes: The first setting unit is used to set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle based on the preset vehicle motion controller. The first calculation unit is used to calculate the feedforward control coefficient vector based on the first target driving path and the control law of the preset forward preview algorithm through a preset feedforward coefficient deep learning algorithm. The second calculation unit is used to calculate the feedforward control quantity based on the feedforward control coefficient vector. The control module includes: The third setting unit is used to set the random curve path corresponding to the free driving of the target vehicle as the first target driving path of the target vehicle. The data acquisition unit is used to collect all free driving data corresponding to the first target driving path; The segmentation unit is used to divide all the free driving data based on the preview time domain to obtain multiple data segments; The first training unit is used to train the forward preview algorithm by taking each data segment as a training sample, using the vehicle speed and path curvature at each discrete moment in each data segment as the first input state, and the steering wheel angle at the start of each data segment as the first supervision signal, to obtain the feedforward control coefficient or feedforward steering angle.

5. The apparatus according to claim 4, characterized in that, The decoupling module further includes: The second setting unit is used to set the preset straight trajectory as the second target driving path of the target vehicle based on the preset vehicle motion controller. The third calculation unit is used to calculate the feedback control coefficient vector based on the second target driving path and the control law by using a preset feedback coefficient deep learning algorithm. The fourth calculation unit is used to calculate the feedback control quantity based on the feedback control coefficient vector.

6. The apparatus according to claim 4, characterized in that, The control module includes: The fourth setting unit is used to set a preset straight-line trajectory as the second target driving path of the target vehicle; The generation unit is used to control the target vehicle to drive towards the second target driving path according to different initial states of the target vehicle, and generate multiple driver feedback control paths; A recording unit is used to record the free driving data corresponding to each moment in each driver feedback control path, wherein the free driving data includes the vehicle speed and steering wheel angle of the target vehicle; The fifth calculation unit is used to calculate the tracking error data of the target vehicle at each time step based on the second target driving path and the driver's driving path; The second training unit is used to train the forward preview algorithm by taking the tracking error data and the vehicle speed as the second input state and the steering wheel angle as the second supervision signal, so as to obtain the feedback control coefficient or feedback angle amount. The sixth calculation unit is used to calculate the optimal steering wheel control amount based on the feedforward control coefficient or the feedforward steering angle and the feedback control coefficient or the feedback steering angle, according to a preset calculation strategy.

7. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the vehicle trajectory tracking controller parameter self-learning method as described in any one of claims 1-3.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the self-learning method for vehicle trajectory tracking controller parameters as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Vehicle control method, device and equipment and automatic driving vehicle

    CN113183957A