[go: up one dir, main page]

CN110598311B - A Trajectory Tracking Method for Autonomous Driving Vehicles - Google Patents

A Trajectory Tracking Method for Autonomous Driving Vehicles Download PDF

Info

Publication number
CN110598311B
CN110598311B CN201910846823.9A CN201910846823A CN110598311B CN 110598311 B CN110598311 B CN 110598311B CN 201910846823 A CN201910846823 A CN 201910846823A CN 110598311 B CN110598311 B CN 110598311B
Authority
CN
China
Prior art keywords
vehicle
front wheel
true
wheel inclination
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910846823.9A
Other languages
Chinese (zh)
Other versions
CN110598311A (en
Inventor
蔡则鹏
苏成悦
方泽彬
黄鸿谦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201910846823.9A priority Critical patent/CN110598311B/en
Publication of CN110598311A publication Critical patent/CN110598311A/en
Application granted granted Critical
Publication of CN110598311B publication Critical patent/CN110598311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
    • B60W30/18Propelling the vehicle
    • B60W30/18172Preventing, or responsive to skidding of wheels
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0019Control system elements or transfer functions
    • B60W2050/0028Mathematical models, e.g. for simulation
    • B60W2050/0031Mathematical model of the vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention relates to a track tracking method, in particular to a track tracking method for an automatic driving vehicle; in particular, it is disclosed to add a virtual representation of the front wheel inclination δ actually acting on an autonomous vehicle to the cost function of a predictive model true The model is used as a cost-effective amount for model prediction control, so that the wheel slip of the vehicle is prevented and corrected, and the track tracking effect is improved; since the wheel slip phenomenon mainly occurs when the model of the vehicle deviates from the ideal model, that is, the wheel inclination deviates from the driving track of the vehicle, the virtual front wheel inclination δ is determined true As a cost-effective amount, the problem of wheel slip is effectively solved.

Description

一种自动驾驶车辆轨迹跟踪方法A Trajectory Tracking Method for Autonomous Driving Vehicles

技术领域technical field

本发明涉及一种轨迹跟踪方法,具体涉及一种自动驾驶车辆轨迹跟踪方法。The invention relates to a trajectory tracking method, in particular to a trajectory tracking method for an automatic driving vehicle.

背景技术Background technique

自动驾驶的关键技术依次可以分为环境感知、行为决策、路径规划和运动控制,其中运动控制主要有两种基本设计方法,一种是基于驾驶员模拟的方法,另一种是基于动力学建模的控制方法。基于动力学建模的控制方法中被广泛研究和应用的车辆控制方法是模型预测控制,其可以对准时性、舒适性以及节能性指标进行优化,从而得出最优化的控制;另外,比起传统的串环PID控制、预瞄跟踪控制、线性模型预测控制以及线性二次型LQR控制,其计算精度高、鲁棒性强、超调小、跟踪效果好。The key technologies of autonomous driving can be divided into environmental perception, behavioral decision-making, path planning and motion control. There are two basic design methods for motion control, one is based on driver simulation, and the other is based on dynamic construction. mode control method. Among the control methods based on dynamic modeling, the vehicle control method that has been widely studied and applied is model predictive control, which can optimize the indicators of punctuality, comfort and energy saving to obtain the optimal control; in addition, compared with The traditional serial loop PID control, preview tracking control, linear model predictive control and linear quadratic LQR control have high calculation accuracy, strong robustness, small overshoot and good tracking effect.

然而,目前的大多数基于模型预测控制都是仅仅依靠其鲁棒性,控制过程中如果自动驾驶车辆发生驶出或激转等偏移于参考模型的情况下(即存在侧滑的情况)需要自动驾驶车辆的行为决策来减少偏移设定轨迹的问题,但不能对模型的偏差进行很好补偿,从而不能避免自动驾驶车辆驶出或激转等偏移于参考模型的现象的发生。However, most of the current model-based predictive control only relies on its robustness. During the control process, if the autonomous vehicle runs out or spins and deviates from the reference model (that is, there is a side slip), it needs to be The behavioral decision of the autonomous vehicle can reduce the problem of offsetting the set trajectory, but it cannot compensate for the deviation of the model well, so that the phenomenon that the autonomous vehicle is deviating from the reference model cannot be avoided, such as driving out or spinning.

发明内容SUMMARY OF THE INVENTION

本发明目的在于克服现有技术的不足,提供一种自动驾驶车辆轨迹跟踪方法,该方法能够在自动驾驶车辆发生驶出或激转等偏离参考模型的情况下,通过增加反映偏移的指标对原有的模型预测控制进行优化,通过模型预测控制自身即可有效控制自动驾驶车辆尽可能向准确的模型靠近,防止打滑。The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide a method for tracking the trajectory of an automatic driving vehicle. The original model predictive control is optimized, and the model predictive control itself can effectively control the autonomous vehicle to approach the accurate model as much as possible to prevent slippage.

本发明的目的通过以下技术方案实现:The object of the present invention is achieved through the following technical solutions:

一种自动驾驶车辆轨迹跟踪方法,其特征在于,包括以下步骤:A method for tracking the trajectory of an autonomous vehicle, comprising the following steps:

S1:建立地面坐标系和机体坐标系,对车辆进行动力学建模;车辆的动力学模型如下:S1: Establish a ground coordinate system and an airframe coordinate system to model the vehicle dynamics; the vehicle dynamics model is as follows:

Figure GDA0003642516430000021
Figure GDA0003642516430000021

其中,x、y分别为地面坐标系下自动驾驶车辆质心的x轴、y轴坐标,ψ为地面坐标系下自动驾驶车辆的航向角,v为自动驾驶车辆的前进速度,a为自动驾驶车辆的前进加速度,t表示当前时刻的量,t+1表示下一时刻的量,Lf为前轮和后轮之间的轴距;δtrue为虚拟量,表示当前真实前轮倾角,是车辆在当前行驶方向下假设前轮没有打滑状态下对应的前轮倾角;Among them, x and y are the x-axis and y-axis coordinates of the center of mass of the autonomous vehicle in the ground coordinate system, respectively, ψ is the heading angle of the autonomous vehicle in the ground coordinate system, v is the forward speed of the autonomous vehicle, and a is the autonomous vehicle. The forward acceleration of , t represents the amount at the current moment, t+1 represents the amount at the next moment, L f is the wheelbase between the front wheel and the rear wheel; δ true is a virtual amount, indicating the current real front wheel inclination, which is the vehicle The front wheel inclination angle corresponding to the assumption that the front wheel does not slip under the current driving direction;

S2:获取机体自身状态向量Xt以及上一次输出向量Ut-1;其中,S2: Obtain the body's own state vector X t and the last output vector U t-1 ; where,

Xt=[x,y,ψ,v]T (2)X t = [x, y, ψ, v] T (2)

Ut-1=[at-1,δt-1] (3)U t-1 =[a t-1 , δ t-1 ] (3)

δ为自动驾驶车辆的前轮倾角;当需要计算下一时刻的机体自身状态向量Xt+1时,将该时刻的Xt代入到公式(1)中,即可算出下一时刻的Xt+1的相关参数xt+1、yt+1、ψt+1以及vt+1δ is the inclination angle of the front wheels of the autonomous vehicle; when it is necessary to calculate the body state vector X t+1 at the next moment, the X t at the moment is substituted into the formula (1), and the X t at the next moment can be calculated. +1 related parameters x t+1 , y t+1 , ψ t+1 and v t+1 ;

S3:获取虚拟量,该虚拟量为当前真实前轮倾角δtrueS3: Obtain a virtual quantity, which is the current real front wheel inclination δ true ;

S4:通过采样获取离散的航点路径P,并对该航点路径P进行插值计算,以长度l分别得出xref,yref,ψref,vref,即获得连续轨迹f(P);其中,S4: Obtain the discrete waypoint path P by sampling, and perform interpolation calculation on the waypoint path P, and obtain xref , yref , ψref , vref with the length l respectively, that is, obtain the continuous trajectory f(P); in,

Figure GDA0003642516430000022
Figure GDA0003642516430000022

代入下列公式,通过设定参考速度v获得离散型的航点路径P′,其中P′包含N个点的状态;Substitute into the following formula to obtain a discrete waypoint path P' by setting the reference speed v, where P' contains the states of N points;

P′=[X1,X2,…,XN]T (5)P'=[X 1 , X 2 , ..., XN] T (5)

Xn=[f1(ln) f2(ln) f3(ln) f4(ln)] (6)X n =[f 1 (l n ) f 2 (l n ) f 3 (l n ) f 4 (l n )] (6)

ln=(n+1)×v×dt (7)l n =(n+1)×v×dt (7)

其中,n为取的点的标号;Among them, n is the label of the point taken;

S5:根据自身状态Xt和航点路径P′,通过计算模型预测代价函数J的最小值获取当前时刻的加速度at和当前时刻的前轮倾角δt,从而获得最优输出向量为当前输出向量UtS5: According to the own state X t and the waypoint path P', the acceleration at the current moment and the front wheel inclination angle δ t at the current moment are obtained by calculating the minimum value of the model prediction cost function J , so as to obtain the optimal output vector as the current output vector U t ;

其中,模型预测代价函数J的计算公式如下:Among them, the calculation formula of the model prediction cost function J is as follows:

Figure GDA0003642516430000031
Figure GDA0003642516430000031

其中,N为模型预测控制计算步长,w表示各个指标的权重,其中每个指标的权重可根据实际情况赋值;Among them, N is the model predictive control calculation step size, w represents the weight of each indicator, and the weight of each indicator can be assigned according to the actual situation;

S6:输出向量Ut作用于自动驾驶车辆,重复S2到S6。S6: The output vector U t acts on the autonomous vehicle, and repeats S2 to S6.

本发明的一个优选方案,在S3中,获取当前真实前轮倾角δtrue的方法如下:In a preferred solution of the present invention, in S3, the method for obtaining the current true front wheel inclination angle δ true is as follows:

首先,通过几何关系可得:First, through the geometric relationship, we can get:

Figure GDA0003642516430000032
Figure GDA0003642516430000032

故:Therefore:

Figure GDA0003642516430000033
Figure GDA0003642516430000033

其中R为前轮倾角为δtrue时的转弯半径,Lf为前轮和后轮之间的轴距,dψ表示两个时间间隔的航向角差,dx表示两个时间间隔x坐标差,dy表示两个时间间隔y坐标差,dt表示时间间隔,ω为车辆的角速度。where R is the turning radius when the front wheel inclination is δ true , L f is the wheelbase between the front and rear wheels, dψ is the heading angle difference between the two time intervals, dx is the x coordinate difference between the two time intervals, and dy Represents the y coordinate difference between two time intervals, dt represents the time interval, and ω is the angular velocity of the vehicle.

优选地,通过公式(9)和(10)获得大量的δtrue、Xt和Ut数据,并通过多元最小二乘多项式拟合得出近似的函数g;其中,函数g与Xt中的x,y,ψ都没有关系,与这一时刻的输出向量Ut、速度vt、加速度at和前轮倾角δt以及上一时刻的输出向量Ut-1、速度vt-1、加速度at-1以及真实前轮倾角

Figure GDA0003642516430000041
有关;即可得出:Preferably, a large amount of δ true , X t and U t data are obtained by formulas (9) and (10), and an approximate function g is obtained by multivariate least squares polynomial fitting; x, y, ψ have nothing to do with the output vector U t , velocity v t , acceleration a t and front wheel inclination δ t at this moment, as well as the output vector U t-1 , velocity v t-1 , Acceleration a t-1 and true front wheel inclination
Figure GDA0003642516430000041
related; it follows that:

Figure GDA0003642516430000042
Figure GDA0003642516430000042

同时,可以简化计算得出:At the same time, the calculation can be simplified to get:

Figure GDA0003642516430000043
Figure GDA0003642516430000043

最后再通过多元最小二乘多项式拟合得出函数g。Finally, the function g is obtained by multivariate least squares polynomial fitting.

本发明的一个优选方案,其中,在S2中,通过传感器滤波获取当前机体自身状态向量XtIn a preferred solution of the present invention, in S2, the current state vector X t of the body itself is obtained through sensor filtering.

本发明的一个优选方案,在S4中,通过路径规划器获取航点路径P。In a preferred solution of the present invention, in S4, the waypoint path P is obtained through the path planner.

本发明与现有技术相比具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1、当车辆的模型和理想的模型有一定偏差时,主要是发生车轮打滑现象,即车轮倾角与车辆的行使轨迹存在偏差;此时将虚拟的用于表示真正作用于自动驾驶车辆的前轮倾角δtrue作为模型预测控制的一个代价量,从而提高实际运行的车辆模型与预设理想模型的重合度,有利于防止和纠正车辆的车轮打滑,提高轨迹跟踪效果。1. When there is a certain deviation between the model of the vehicle and the ideal model, the phenomenon of wheel slippage mainly occurs, that is, there is a deviation between the wheel inclination and the driving trajectory of the vehicle; at this time, the virtual is used to represent the front wheel that really acts on the autonomous vehicle. The inclination angle δ true is used as a cost of model predictive control, so as to improve the coincidence of the actual running vehicle model and the preset ideal model, which is beneficial to prevent and correct the wheel slip of the vehicle and improve the trajectory tracking effect.

2、本发明只在原来的模型预测控制中添加多一个代价量δtrue,对模型的计算量影响小,并且效果好。2. The present invention only adds one more cost value δ true in the original model predictive control, which has little influence on the calculation amount of the model and has a good effect.

附图说明Description of drawings

图1为本发明的自动驾驶车辆轨迹跟踪方法的车辆轨迹处理示意图。FIG. 1 is a schematic diagram of the vehicle trajectory processing of the automatic driving vehicle trajectory tracking method of the present invention.

图2为本发明的自动驾驶车辆轨迹跟踪方法的车辆模型示意图。FIG. 2 is a schematic diagram of a vehicle model of the method for tracking the trajectory of an autonomous vehicle according to the present invention.

图3为本发明的自动驾驶车辆轨迹跟踪方法的车辆轨迹跟踪系统示意图。FIG. 3 is a schematic diagram of a vehicle trajectory tracking system of the method for tracking a trajectory of an autonomous vehicle according to the present invention.

图4为本发明的自动驾驶车辆轨迹跟踪方法中的δt和δtrue的示意图。FIG. 4 is a schematic diagram of δ t and δ true in the automatic driving vehicle trajectory tracking method of the present invention.

具体实施方式Detailed ways

下面结合实施例和附图对本发明作进一步描述,但本发明的实施方式不仅限于此。The present invention will be further described below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.

参见图1-图4,本实施例的自动驾驶车辆轨迹跟踪方法,包括以下步骤:Referring to FIG. 1 to FIG. 4 , the method for tracking the trajectory of an autonomous driving vehicle in this embodiment includes the following steps:

S1:建立地面坐标系(xoy)1和机体坐标系(x’o’y’)2,对车辆进行动力学建模;车辆的动力学模型如下:S1: Establish the ground coordinate system (xoy) 1 and the body coordinate system (x'o'y') 2 to model the vehicle dynamics; the vehicle dynamics model is as follows:

Figure GDA0003642516430000051
Figure GDA0003642516430000051

其中,x、y分别为地面坐标系1下自动驾驶车辆质心的x轴、y轴坐标,ψ为地面坐标系下自动驾驶车辆的航向角,v为自动驾驶车辆的前进速度,a为自动驾驶车辆的前进加速度,t表示当前时刻的量,t+1表示下一时刻的量,Lf为前轮和后轮之间的轴距;δtrue为虚拟量,表示当前真实前轮倾角,是车辆在当前行驶方向下假设前轮没有打滑状态下对应的前轮倾角。Among them, x and y are the x-axis and y-axis coordinates of the center of mass of the autonomous vehicle in the ground coordinate system 1, respectively, ψ is the heading angle of the autonomous vehicle in the ground coordinate system, v is the forward speed of the autonomous vehicle, and a is the autonomous driving. The forward acceleration of the vehicle, t is the amount at the current moment, t+1 is the amount at the next moment, L f is the wheelbase between the front and rear wheels; δ true is a virtual amount, indicating the current real front wheel inclination, is In the current driving direction of the vehicle, it is assumed that the corresponding front wheel inclination angle of the front wheel is not slipping.

S2:通过传感器滤波(或滤波器)获取机体自身状态向量Xt,通过系统的记录信息,获取上一次输出向量Ut-1;其中,S2: Obtain the state vector X t of the body itself through sensor filtering (or filter), and obtain the last output vector U t-1 through the recorded information of the system; wherein,

Xt=[x,y,ψ,v]T (2)X t = [x, y, ψ, v] T (2)

Ut-1=[at-1,δt-1] (3)U t-1 =[a t-1 , δ t-1 ] (3)

δ为自动驾驶车辆的前轮倾角;当需要计算下一时刻的机体自身状态向量Xt+1时,将该时刻的Xt代入到公式(1)中,即可算出下一时刻的Xt+1的相关参数xt+1、yt+1、ψt+1以及vt+1δ is the inclination angle of the front wheels of the autonomous vehicle; when it is necessary to calculate the body state vector X t+1 at the next moment, the X t at the moment is substituted into the formula (1), and the X t at the next moment can be calculated. +1 related parameters x t+1 , y t+1 , ψ t+1 and v t+1 .

S3:通过观测器获取虚拟量,该虚拟量为当前真实前轮倾角δtrue;其中,观测器的具体模型如下:S3: Obtain a virtual quantity through the observer, which is the current real front wheel inclination δ true ; the specific model of the observer is as follows:

首先,通过几何关系可得:First, through the geometric relationship, we can get:

Figure GDA0003642516430000061
Figure GDA0003642516430000061

故:Therefore:

Figure GDA0003642516430000062
Figure GDA0003642516430000062

其中R为前轮倾角为δtrue时的转弯半径,Lf为前轮和后轮之间的轴距,dψ表示两个时间间隔的航向角差,dx表示两个时间间隔x坐标差,dy表示两个时间间隔y坐标差,dt表示时间间隔,ω为车辆的角速度。where R is the turning radius when the front wheel inclination is δ true , L f is the wheelbase between the front and rear wheels, dψ is the heading angle difference between the two time intervals, dx is the x coordinate difference between the two time intervals, and dy Represents the y coordinate difference between two time intervals, dt represents the time interval, and ω is the angular velocity of the vehicle.

另外,通过公式(9)和(10)获得大量的δtrue、Xt和Ut数据,并通过多元最小二乘多项式拟合得出近似的函数g;其中,函数g与Xt中的x,y,ψ都没有关系,与这一时刻的输出向量Ut、速度vt、加速度at和前轮倾角δt以及上一时刻的输出向量Ut-1、速度vt-1、加速度at-1以及真实前轮倾角

Figure GDA0003642516430000063
有关;即可得出:
Figure GDA0003642516430000064
In addition, a large number of δ true , X t and U t data are obtained through formulas (9) and (10), and an approximate function g is obtained by multivariate least squares polynomial fitting; where the function g and x in X t , y, ψ have nothing to do with the output vector U t , velocity v t , acceleration at t and front wheel inclination δ t at this moment, as well as the output vector U t-1 , velocity v t-1 , acceleration at the previous moment a t-1 and true front wheel inclination
Figure GDA0003642516430000063
related; it follows that:
Figure GDA0003642516430000064

同时,可以简化计算得出:At the same time, the calculation can be simplified to get:

Figure GDA0003642516430000065
Figure GDA0003642516430000065

最后再通过多元最小二乘多项式拟合得出函数g。这样,能够直接通过函数g获取每个时刻中的当前真实前轮倾角δtrue,简化了计算量,有利于提高计算效率。Finally, the function g is obtained by multivariate least squares polynomial fitting. In this way, the current real front wheel inclination angle δ true at each moment can be obtained directly through the function g, which simplifies the amount of calculation and is beneficial to improving the calculation efficiency.

S4:参见图2,通过路径规划器采样获取离散的航点路径P3,并对该航点路径P3进行插值计算,以长度l分别得出xref,yref,ψref,vref,即获得连续轨迹f(P)4;其中,S4: Referring to Figure 2, the discrete waypoint path P3 is obtained by sampling the path planner, and the waypoint path P3 is interpolated to obtain x ref , y ref , ψ ref , v ref with the length l respectively, that is, to obtain continuous trajectory f(P)4; where,

Figure GDA0003642516430000071
Figure GDA0003642516430000071

代入下列公式,通过设定参考速度v获得离散型的航点路径P′5,其中P′5包含N个点的状态;Substitute into the following formula to obtain a discrete waypoint path P'5 by setting the reference speed v, where P'5 contains the states of N points;

P′=[X1,X2,…,XN]T (5)P'=[X 1 , X 2 , . . . , X N ] T (5)

Xn=[f1(ln) f2(ln) f3(ln) f4(ln)] (6)X n =[f 1 (l n ) f 2 (l n ) f 3 (l n ) f 4 (l n )] (6)

ln=(n+1)×v×dt (7)l n =(n+1)×v×dt (7)

其中,n为取的点的标号。Among them, n is the label of the point to be taken.

S5:根据自身状态Xt和航点路径P′5,通过计算模型预测代价函数J的最小值获取当前时刻的加速度at和当前时刻的前轮倾角δt,从而获得最优输出向量为当前输出向量UtS5: According to the own state X t and the waypoint path P'5, the acceleration at the current moment and the front wheel inclination angle δ t at the current moment are obtained by calculating the minimum value of the model prediction cost function J , so as to obtain the optimal output vector as the current output vector U t ;

其中,模型预测代价函数J的计算公式如下:Among them, the calculation formula of the model prediction cost function J is as follows:

Figure GDA0003642516430000072
Figure GDA0003642516430000072

其中,N为模型预测控制计算步长,w表示各个指标的权重,其中每个指标的权重可根据实际情况赋值。Among them, N is the calculation step size of model predictive control, and w represents the weight of each indicator, and the weight of each indicator can be assigned according to the actual situation.

S6:输出向量Ut作用于自动驾驶车辆,重复S2到S6。S6: The output vector U t acts on the autonomous vehicle, and repeats S2 to S6.

参见图4,当车辆前轮发生打滑状态时,车辆的前轮方向与车轮应该处于的方向不一致,也即车辆的前轮方向与车辆的行驶方向v不一致;但是车辆前轮本应该所在的方向是能够通过计算或其他方式获取的,因此此时通过引入一个虚拟量δtrue(当前真实前轮倾角),表示为车辆的前轮本应该所在的方向,并且将上述两者之间的偏差值

Figure GDA0003642516430000081
包含在代价函数中进行计算,从而在整个模型预测控制中解决了关于车轮打滑的问题,使得车辆轨迹跟踪更加准确。图4中的方框表示车辆前轮。Referring to Figure 4, when the front wheel of the vehicle is in a slipping state, the direction of the front wheel of the vehicle is inconsistent with the direction the wheel should be in, that is, the direction of the front wheel of the vehicle is inconsistent with the driving direction of the vehicle v car ; The direction can be obtained by calculation or other methods, so at this time, by introducing a virtual quantity δ true (the current true front wheel inclination angle), it is expressed as the direction where the front wheels of the vehicle should be, and the deviation between the above two value
Figure GDA0003642516430000081
It is included in the cost function for calculation, thus solving the problem of wheel slip in the whole model predictive control, making the vehicle trajectory tracking more accurate. The boxes in Figure 4 represent the front wheels of the vehicle.

上述为本发明较佳的实施方式,但本发明的实施方式并不受上述内容的限制,其他的任何未背离本发明的精神实质与原理下所做的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above is the preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned content, and any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention, All should be equivalent replacement modes, which are all included in the protection scope of the present invention.

Claims (5)

1. A method for tracking the trajectory of an autonomous vehicle, comprising the steps of:
s1: establishing a ground coordinate system and a body coordinate system, and performing dynamic modeling on the vehicle; the vehicle dynamics model is as follows:
Figure FDA0003642516420000011
wherein x and y are respectively the x-axis and y-axis coordinates of the center of mass of the autopilot vehicle in the ground coordinate system, psi is the heading angle of the autopilot vehicle in the ground coordinate system, v is the forward speed of the autopilot vehicle, a is the forward acceleration of the autopilot vehicle, t represents the current time quantity, t +1 represents the next time quantity, L f Is the wheelbase between the front and rear wheels; delta true The real front wheel inclination angle is a virtual quantity, represents the current real front wheel inclination angle, and is the corresponding front wheel inclination angle of the vehicle under the condition that the front wheel is not in a slipping state in the current driving direction;
s2: obtaining self state vector X of body t And last output vector U t-1 (ii) a Wherein,
X t =[x,y,ψ,v] T (2)
U t-1 =[a t-1 ,δ t-1 ] (3)
delta is the front wheel inclination of the autonomous vehicle; when the self state vector X of the machine body at the next moment needs to be calculated t+1 Then, the X at that moment is calculated t Substituting into formula (1) to calculate X at the next time t+1 Is related to parameter x t+1 、y t+1 、ψ t+1 And v t+1
S3: obtaining a virtual quantity which is the current real front wheel inclination angle delta true
S4: obtaining discrete waypoint paths P through sampling, carrying out interpolation calculation on the waypoint paths P, and obtaining x by length l respectively ref ,y ref ,ψ ref ,v ref Obtaining a continuous track f (P); wherein,
Figure FDA0003642516420000012
substituting the following formula to obtain a discrete waypoint path P 'by setting a reference speed v, wherein P' comprises the state of N points;
P′=[X 1 ,X 2 ,…,X N ] T (5)
X n =[f 1 (l n ) f 2 (l n ) f 3 (l n ) f 4 (l n )] (6)
l n =(n+1)×v×dt (7)
wherein n is the number of the point to be taken;
s5: according to self state X t And a waypoint path P', and obtaining the acceleration a at the current moment by calculating the minimum value of the model prediction cost function J t And the front wheel inclination angle delta at the present moment t So as to obtain the optimal output vector as the current output vector U t
The calculation formula of the model prediction cost function J is as follows:
Figure FDA0003642516420000021
n is a model predictive control calculation step length, w represents the weight of each index, and the weight of each index can be assigned according to the actual condition;
s6: output vector U t Act on the autonomous vehicle, repeat S2 to S6.
2. The autonomous-vehicle trajectory tracking method of claim 1, wherein in S3, a current true front-wheel inclination δ is obtained true The method comprises the following steps:
first, by geometric relationships one can obtain:
Figure FDA0003642516420000022
therefore, the method comprises the following steps:
Figure FDA0003642516420000031
wherein R is the front wheel inclination angle delta true Radius of turning in time, L f D ψ represents a heading angle difference of two time intervals, dx represents an x-coordinate difference of two time intervals, dy represents a y-coordinate difference of two time intervals, dt represents a time interval, and ω is an angular velocity of the vehicle.
3. The autonomous vehicle trajectory tracking method of claim 2, wherein the plurality of δ is obtained by equations (9) and (10) true 、X t And U t Obtaining approximate function g through multivariate least square polynomial fitting; wherein the functions g and X t X, y, ψ in (b) has no relation with the output vector U at that time t Velocity v t Acceleration a t And front wheel inclination angle delta t And the output vector U at the previous moment t-1 Velocity v t-1 Acceleration a t-1 And true front wheel inclination
Figure FDA0003642516420000032
Related to; the following can be obtained:
Figure FDA0003642516420000033
Figure FDA0003642516420000034
meanwhile, the calculation can be simplified to obtain:
Figure FDA0003642516420000035
and finally, obtaining a function g through multivariate least square polynomial fitting.
4. The automatic driven vehicle trajectory tracking method according to claim 1, characterized in that in S2, the current body own state vector X is acquired through sensor filtering t
5. The autonomous vehicle trajectory tracking method of claim 1, wherein in S4, a waypoint path P is obtained by the path planner.
CN201910846823.9A 2019-09-06 2019-09-06 A Trajectory Tracking Method for Autonomous Driving Vehicles Active CN110598311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910846823.9A CN110598311B (en) 2019-09-06 2019-09-06 A Trajectory Tracking Method for Autonomous Driving Vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910846823.9A CN110598311B (en) 2019-09-06 2019-09-06 A Trajectory Tracking Method for Autonomous Driving Vehicles

Publications (2)

Publication Number Publication Date
CN110598311A CN110598311A (en) 2019-12-20
CN110598311B true CN110598311B (en) 2022-08-02

Family

ID=68858082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910846823.9A Active CN110598311B (en) 2019-09-06 2019-09-06 A Trajectory Tracking Method for Autonomous Driving Vehicles

Country Status (1)

Country Link
CN (1) CN110598311B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955250B (en) * 2019-12-25 2021-02-23 湖南大学 A vehicle reversing path tracking control method
CN110989625B (en) * 2019-12-25 2020-11-27 湖南大学 A vehicle path tracking control method
CN113158415B (en) * 2021-02-23 2023-09-08 电子科技大学长三角研究院(衢州) Vehicle track similarity evaluation method based on error analysis
CN115140072A (en) * 2021-03-29 2022-10-04 上海汽车集团股份有限公司 Method, device, equipment and medium for optimizing vehicle motion model and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645577B1 (en) * 2016-03-23 2017-05-09 nuTonomy Inc. Facilitating vehicle driving and self-driving
CN107168312A (en) * 2017-05-17 2017-09-15 哈尔滨工程大学 A kind of space tracking tracking and controlling method of compensation UUV kinematics and dynamic disturbance
CN107561942A (en) * 2017-09-12 2018-01-09 重庆邮电大学 Intelligent vehicle track following model predictive control method based on model compensation
CN108248605A (en) * 2018-01-23 2018-07-06 重庆邮电大学 The transverse and longitudinal control method for coordinating that a kind of intelligent vehicle track follows
CN109407677A (en) * 2018-12-24 2019-03-01 清华大学 The trace tracking method of automatic driving vehicle
CN109976159A (en) * 2019-04-09 2019-07-05 台州学院 Intelligent vehicle crosswise joint method based on safely controllable domain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675074B2 (en) * 2001-08-21 2004-01-06 Robert Bosch Gmbh Method and system for vehicle trajectory estimation
KR102237072B1 (en) * 2017-01-06 2021-04-06 현대자동차 주식회사 Autonomous driving system and autonomous driving method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9645577B1 (en) * 2016-03-23 2017-05-09 nuTonomy Inc. Facilitating vehicle driving and self-driving
CN107168312A (en) * 2017-05-17 2017-09-15 哈尔滨工程大学 A kind of space tracking tracking and controlling method of compensation UUV kinematics and dynamic disturbance
CN107561942A (en) * 2017-09-12 2018-01-09 重庆邮电大学 Intelligent vehicle track following model predictive control method based on model compensation
CN108248605A (en) * 2018-01-23 2018-07-06 重庆邮电大学 The transverse and longitudinal control method for coordinating that a kind of intelligent vehicle track follows
CN109407677A (en) * 2018-12-24 2019-03-01 清华大学 The trace tracking method of automatic driving vehicle
CN109976159A (en) * 2019-04-09 2019-07-05 台州学院 Intelligent vehicle crosswise joint method based on safely controllable domain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Automatic path-tracking controller of a four-wheel steering vehicle;Toshihiro Hiraoka et al.;《Vehicle System Dynamics》;20091230;第1205-1227页 *
无人驾驶汽车应用与发展现状分析;马硕;《汽车与驾驶维修(维修版)》;20170415;第142-143页 *
自动驾驶汽车横向跟踪控制方法研究;孟祥雨;《时代汽车》;20190815;第4-5页 *

Also Published As

Publication number Publication date
CN110598311A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110598311B (en) A Trajectory Tracking Method for Autonomous Driving Vehicles
JP4586795B2 (en) Vehicle control device
CN112519882B (en) Vehicle reference track tracking method and system
CN109131325B (en) Lane keeping control method for 3D extension preview switching of intelligent driving vehicles
CN113204236B (en) An agent path tracking control method
CN101837781B (en) Model-Based Predictive Control of Control Systems for Automatic Lane Alignment or Lane Changing
CN110262509B (en) Automatic vehicle driving method and device
CN112733270A (en) System and method for predicting vehicle running track and evaluating risk degree of track deviation
CN113320542A (en) Tracking control method for automatic driving vehicle
CN110568758A (en) A parametric adaptive lateral motion LQR control method for autonomous vehicles
CN109799828A (en) Automatic driving vehicle transverse and longitudinal control method for coordinating
CN110525436A (en) Vehicle lane-changing control method, device, vehicle and storage medium
CN111731307B (en) Vehicle turning control method and device, vehicle and storage medium
CN115042816A (en) Path tracking method, device, apparatus, medium, and program
CN114228690B (en) Automatic driving vehicle roll control method based on DDPG and iterative control
CN115047766A (en) Speed planning method based on predictive control model
Kapania Trajectory planning and control for an autonomous race vehicle
CN115285145A (en) Unmanned curve collision avoidance trajectory planning and tracking control method
CN115402348B (en) A lateral control system, method, electronic device and storage medium
CN104590253A (en) Yaw angular velocity control method for four-wheel independent driving electric vehicle
CN112238856A (en) An intelligent vehicle overtaking trajectory optimization method based on hybrid particle swarm algorithm
CN108594830B (en) A spatial domain-based control method for the formation of connected intelligent vehicles
WO2025145983A1 (en) Vehicle lateral control method, apparatus, electronic device and medium
Domina et al. Comparison of path following controllers for autonomous vehicles
CN118295302A (en) Vehicle-vehicle flexible connection transverse and longitudinal following control method based on vehicle Lu Yun cooperation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant