CN112677992B - Path tracking optimization control method for distributed driving unmanned vehicle - Google Patents
Path tracking optimization control method for distributed driving unmanned vehicle Download PDFInfo
- Publication number
- CN112677992B CN112677992B CN202011641346.1A CN202011641346A CN112677992B CN 112677992 B CN112677992 B CN 112677992B CN 202011641346 A CN202011641346 A CN 202011641346A CN 112677992 B CN112677992 B CN 112677992B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- speed
- driving
- motor
- acceleration
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/72—Electric energy management in electromobility
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域technical field
本发明属于无人驾驶车辆控制的技术领域,具体涉及一种用于分布式驱动无人驾驶车辆的路径跟踪优化控制方法。The invention belongs to the technical field of unmanned vehicle control, and in particular relates to a path tracking optimization control method for distributed driving of unmanned vehicles.
背景技术Background technique
车辆的电动化,智能化,网联化,共享化是智能网联车辆行业未来发展的趋势,分布式驱动无人驾驶车辆具有全线控底盘布局,尤其作为特定场景下的‘智能移动机器’,具有广阔的发展前景。目前的研究多集中单一的分布式驱动车辆或者单一的无人驾驶车辆,而分布式驱动无人驾驶车辆的研究较少。分布式驱动无人驾驶车辆,作为一个过驱动系统,具有独立可控的驱动系统和独立可控的转向系统,这为底盘控制提升车辆的动力学性能带来了极大的潜力。但是,分布式驱动无人驾驶车辆的路径跟踪需要充分综合考虑车辆的主动安全性,优化节能,电机失效和平顺性等多目标任务。The electrification, intelligence, networking, and sharing of vehicles are the future development trends of the intelligent networked vehicle industry. Distributed-driven unmanned vehicles have a full-wire chassis layout, especially as 'smart mobile machines' in specific scenarios. Has broad prospects for development. The current research mostly focuses on a single distributed drive vehicle or a single unmanned vehicle, while the research on distributed drive unmanned vehicle is less. Distributed drive unmanned vehicle, as an overdrive system, has an independently controllable drive system and an independently controllable steering system, which brings great potential for chassis control to improve vehicle dynamics. However, the path tracking of distributed driving unmanned vehicles needs to fully consider the active safety of the vehicle, optimize energy saving, motor failure and smoothness and other multi-objective tasks.
车辆主动安全控制的首要目标是防止车辆的侧滑和侧翻,因为车辆的安全事故多由车辆行驶转向过程中的车轮侧滑和车身侧翻引起。车辆过大的侧滑标志着过大的航向偏差,会引起车辆偏离预定行驶轨迹。至于车辆侧翻,一旦发生,它的安全事故危害性更为严重,往往导致乘员的身亡或者严重的经济损失。当前最常用的车辆防侧滑/侧翻的控制方法是主动限速控制,主动限速控制的核心思想是设置不同行驶工况下(转向角和路面附着系数)的车辆容许行驶速度上限,以防止车辆实际行驶速度超过容许速度上限导致的车辆侧滑和侧翻。但是,无人驾驶车辆行驶工况复杂多变,周围环境动态变化,学习能力不同,并且行驶车速在不同的范围,因此需要提高无人驾驶车辆对环境、工况和自身能力的适应性。The primary goal of vehicle active safety control is to prevent vehicle side slip and rollover, because vehicle safety accidents are mostly caused by wheel side slip and body rollover during vehicle steering. Excessive sideslip of the vehicle indicates an excessive heading deviation, which will cause the vehicle to deviate from the intended driving trajectory. As for the vehicle rollover, once it happens, its safety accident is more serious, and it often leads to the death of the occupant or serious economic loss. At present, the most commonly used vehicle anti-slip/rollover control method is active speed limit control. The core idea of active speed limit control is to set the upper limit of the allowable speed of the vehicle under different driving conditions (steering angle and road adhesion coefficient) to Prevent the vehicle from sliding and rolling over caused by the actual driving speed of the vehicle exceeding the upper limit of the allowable speed. However, the driving conditions of unmanned vehicles are complex and changeable, the surrounding environment changes dynamically, the learning ability is different, and the driving speed is in different ranges. Therefore, it is necessary to improve the adaptability of unmanned vehicles to the environment, working conditions and their own capabilities.
分布式驱动车辆一般由两个驱动电机或多个驱动电机,各个电机在驱动力输出时存在耦合关系,常用的节能方法是通过车辆所需目标力需求,设置不同的驱动模式(例如4×2或4×4),从而让单电机工作在高效区,或者基于优化目标函数使得各个电机工作在高效区,从而实现电机节能的目的。但是电机转矩节能分配需要充分考虑到电机的效率map图对电机输出转矩的影响,车辆在加速和制动时的载荷转移对车辆动力性的作用以及电机不同的失效类型和失效形式如何对电机转矩分配的能力。Distributed drive vehicles generally consist of two drive motors or multiple drive motors, and each motor has a coupling relationship when outputting driving force. A common energy-saving method is to set different driving modes (such as 4×2 Or 4×4), so that a single motor can work in the high-efficiency region, or each motor can work in the high-efficiency region based on the optimization objective function, so as to achieve the purpose of motor energy saving. However, the energy-saving distribution of motor torque needs to fully consider the influence of the efficiency map of the motor on the output torque of the motor, the effect of the load transfer of the vehicle during acceleration and braking on the dynamics of the vehicle, and how the different failure types and failure forms of the motor affect the motor. The ability of the motor to distribute torque.
由于传感器可以检测到车辆周围的环境,预测信息在无人驾驶中可感知获取,而且车辆路径规划器能够生成未来几秒钟的车辆运动信息,模型预测控制被认为是路径跟踪最有效的控制方法。几种不同的模型预测控制方法已应用于车辆转向和稳定性控制以及轨迹跟踪。但是在优化目标中,缺少如何协调车辆的轨迹跟踪能力和车辆的操纵稳定性问题,如何保证无人驾驶车辆的平顺性问题。Since the sensor can detect the environment around the vehicle, the prediction information is perceptually acquired in the driverless, and the vehicle path planner can generate the vehicle motion information in the next few seconds, the model predictive control is considered to be the most effective control method for path tracking . Several different model predictive control methods have been applied to vehicle steering and stability control and trajectory tracking. However, in the optimization goal, there is a lack of how to coordinate the trajectory tracking ability of the vehicle and the handling stability of the vehicle, and how to ensure the smoothness of the unmanned vehicle.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供了一种用于分布式驱动无人驾驶车辆的路径跟踪优化控制方法,能够提升无人驾驶车辆路径跟踪和安全性能力。In view of this, the present invention provides a path tracking optimization control method for distributed driving of unmanned vehicles, which can improve the path tracking and safety capabilities of unmanned vehicles.
实现本发明的技术方案如下:The technical scheme that realizes the present invention is as follows:
用于分布式驱动无人驾驶车辆的路径跟踪优化控制方法,包括以下步骤:A path tracking optimization control method for distributed driving unmanned vehicles, including the following steps:
步骤1、利用GPS/INS测量车辆位置(X,Y),航向角ψ,车辆纵向加速度横向加速度和横摆角速度通过电机控制器实时获取电机的转速nmij和电机输出转矩Tij;Step 1. Use GPS/INS to measure vehicle position (X, Y), heading angle ψ, vehicle longitudinal acceleration Lateral acceleration and yaw rate Obtain the speed n mij of the motor and the output torque T ij of the motor in real time through the motor controller;
步骤2、基于步骤1获得车辆纵向车速利用车辆动力学理论限制车辆安全行驶车速包括防侧翻速度约束和防侧滑速度约束;Step 2. Obtain the longitudinal speed of the vehicle based on Step 1 Using Vehicle Dynamics Theory to Limit the Safe Driving Speed of Vehicles Including anti-rollover speed Restraint and Anti-Slip Speed constraint;
步骤3、基于步骤2中安全行驶车速对其进行修正得到安全行驶车速的修正值并确定环境kc,路况kd,历史事故km和行驶年限kn系数;Step 3. Based on the safe driving speed in Step 2 Correct it to get the correction value of the safe driving speed And determine the environment k c , road condition k d , historical accident km and driving years k n coefficient ;
步骤4、基于步骤3中安全行驶车速的修正值设定车速不同分布区间的主动限速控制的激活条件,并确定不同车速分类下的激活条件值基于非线性算法对车辆车速控制,根据不同的激活条件获取车辆纵向方向的总驱动力Tdes;根据多约束下的最优目标函数求解τr∈[τr0,1]中最优转矩分配系数获得电机最优转矩驱制动转矩 Step 4. Based on the corrected value of the safe driving speed in Step 3 Set the activation conditions of active speed limit control in different distribution intervals of vehicle speed, and determine the activation condition values under different vehicle speed classifications The vehicle speed is controlled based on a nonlinear algorithm, and the total driving force T des in the longitudinal direction of the vehicle is obtained according to different activation conditions; according to the optimal objective function under multiple constraints Solve the optimal torque distribution coefficient in τ r ∈[τ r0 ,1] Obtain the optimal torque of the motor to drive the braking torque
步骤5、基于离散的车辆非线性动力学模型x(Tk+1)=F(x(Tk),u(Tk)),建立非线性约束下的成本函数成本函数主要包括侧向路径跟踪偏差,车辆系统状态变量,方向盘转角的变化率,加速度跟踪偏差,加速度导数变化率和安全因数项;其中,约束条件给出了车轮转角约束,车辆状态约束以及加速度约束,进而获取车辆的前轮转角。Step 5. Based on the discrete vehicle nonlinear dynamics model x(T k+1 )=F(x(T k ), u(T k )), establish a cost function under nonlinear constraints The cost function mainly includes lateral path tracking deviation, vehicle system state variables, rate of change of steering wheel angle, acceleration tracking deviation, rate of change of acceleration derivative and safety factor term; among them, the constraints give wheel angle constraints, vehicle state constraints and acceleration constraints, and then obtain the front wheel angle of the vehicle.
进一步地,步骤3中,安全行驶车速的修正值为:Further, in step 3, the correction value of the safe driving speed for:
环境和驾驶识别的车辆自适应参数调整策略充分考虑了环境kc,路况kd,历史事故km和行驶年限kn等四种不同主要影响车辆安全性的因子,对无人驾驶车辆上限车速进行修正,调整参数如表1所示。The vehicle adaptive parameter adjustment strategy for environment and driving recognition fully considers four different factors that mainly affect vehicle safety, such as environment k c , road conditions k d , historical accidents k m and driving years k n . Make corrections and adjust the parameters as shown in Table 1.
表1.环境kc,路况kd,历史事故km和行驶年限kn系数Table 1. Environment k c , road condition k d , historical accident k m and driving years k n coefficients
进一步地,步骤4车速不同分布区间的主动限速控制的激活条件具体包括:Further, the activation conditions of the active speed limit control in the different distribution intervals of the vehicle speed in step 4 specifically include:
基于滑模控制设计车辆主动限速,根据速度限制定义滑模面:The active speed limit of the vehicle is designed based on the sliding mode control, and the sliding mode surface is defined according to the speed limit:
为了有效减弱频繁穿越滑模面引起的高频抖动,构建饱和函数的趋近律:In order to effectively reduce the high-frequency jitter caused by frequent crossing of the sliding mode surface, the reaching law of the saturation function is constructed:
其中,Kx,分别表示滑模的增益和滑模面边界厚度;Among them, K x , represent the gain of the sliding mode and the thickness of the boundary of the sliding mode surface, respectively;
车辆纵向运动方程为:The equation of longitudinal motion of the vehicle is:
其中,Fx为作用在车辆纵向方向上的合力;通过联立上式,基于滑模控制的主动限速控制获得的车辆期望纵向合力为:Among them, F x is the resultant force acting in the longitudinal direction of the vehicle; by combining the above equations, the expected longitudinal resultant force of the vehicle obtained by the active speed limit control based on sliding mode control is:
为了协调车辆期望车速控制和主动限速控制,设计纵向运动控制的激活条件:In order to coordinate vehicle desired speed control and active speed limit control, the activation conditions of longitudinal motion control are designed:
根据车辆当前车速分布区间进行分类,从而确定主动限速控制的激活条件,车辆分类包括高速、中高速、中速、中低速和低速五种情况,如表2所示。According to the current speed distribution interval of the vehicle, the activation conditions of the active speed limit control are determined.
表2.车辆不同车速下的激活条件值Table 2. Activation condition values at different vehicle speeds
进一步地,步骤4中,多约束下的最优目标函数为Further, in step 4, the optimal objective function under multiple constraints for
其中,适应权重调整系数Πη,Πτ,Πθ分别为能量权重系数,载荷转移权重系数和电机失效形式权重系数;ηm为电机的工作效率函数,τr为后轴车轮的转矩分配比例系数;Ti为各个电机的驱制动转矩;通过有效集算法,就能求解到最优的轴间转矩分配系数进而可以求得电机最优的驱制动转矩 Among them, the adaptive weight adjustment coefficients Π η , Π τ , Π θ are the energy weight coefficient, load transfer weight coefficient and motor failure form weight coefficient respectively; η m is the working efficiency function of the motor, τ r is the torque distribution of the rear axle wheels proportional coefficient; T i is the driving and braking torque of each motor; through the effective set algorithm, the optimal torque distribution coefficient between shafts can be solved Then, the optimal driving and braking torque of the motor can be obtained.
阈值因子τr0的取值被定义为:The value of the threshold factor τ r0 is defined as:
为了均衡制动力在各个车轮的作用,对机械制动力平均分配到四个车轮上:In order to balance the effect of braking force on each wheel, the mechanical braking force is evenly distributed to four wheels:
路径跟踪所获得的车辆基本驱制动转矩Tij_b可以表示为:The basic driving and braking torque T ij_b of the vehicle obtained by path tracking can be expressed as:
分布式驱动车辆在路径跟踪控制中,采用左右车轮转矩平均分配,定义同轴车轮的最大转矩最小值m∈{d,b},其中,m=d,m=b分别表示电机的驱动力矩或制动力矩;In the path tracking control of the distributed drive vehicle, the torque of the left and right wheels is evenly distributed, and the maximum torque and minimum value of the coaxial wheels are defined. m∈{d,b}, where m=d, m=b respectively represent the driving torque or braking torque of the motor;
其中,表示随着电机转速nmij变化的外特性曲线;根据驱动工况和制动工况的不同,广义的驱动电机总需求转矩最大约束可以表示为:in, Represents the external characteristic curve that changes with the motor speed n mij ; according to the different driving conditions and braking conditions, the generalized maximum constraint of the total demand torque of the driving motor can be expressed as:
其中,Tb_max表示各个车轮能够产生的最大制动力矩;Among them, T b_max represents the maximum braking torque that each wheel can generate;
假设后轴转矩分配系数为τr,则可获得各个电机的转矩分配:Assuming that the torque distribution coefficient of the rear axle is τ r , the torque distribution of each motor can be obtained:
电机工作分为驱动工况和制动工况,两种不同的工况的工作效率ηm可以分别表示为:The work of the motor is divided into driving condition and braking condition. The working efficiency η m of the two different conditions can be expressed as:
其中,ηd(nwij,Tij),ηb(nwij,Tij)分别表示电机驱动和制动工况下的三维效率分布图;Among them, η d (n wij , T ij ), η b (n wij , T ij ) represent the three-dimensional efficiency distribution map under the motor driving and braking conditions, respectively;
根据惯性导航获取的纵向方向加速度,前后轴的载荷转移表示如下:According to the acceleration in the longitudinal direction obtained by inertial navigation, the load transfer of the front and rear axles is expressed as follows:
如果电机出现失效以及不同的失效形式,则原来的分配方法将不再适用,为了提高分布式驱动车辆对电机失效的适应性和鲁棒性,确定不同电机失效以及失效形式的权重系数调整方法,如表3所示。If the motor fails and has different failure forms, the original allocation method will no longer be applicable. In order to improve the adaptability and robustness of the distributed drive vehicle to the motor failure, the weight coefficient adjustment method for different motor failures and failure forms is determined. as shown in Table 3.
表3.不同电机失效以及失效形式的权重系数调整方法Table 3. Weight coefficient adjustment methods for different motor failures and failure modes
进一步地,步骤5中成本函数为:Further, the cost function in step 5 for:
对于每个采样时刻(k=0,1,…,Nc),非线性模型预测控制在指定的未来预测时域内,是规划路径上的参考轨迹点(Xref,Yref),参考横摆角速度ψref和参考速度成本函数的第一项,第二项,第三项,第四项和第五项分别通过维数为的半正定加权矩阵W惩罚跟踪偏差,维数为的半正定加权矩阵Q来惩罚系统状态变量,维数为一维的半正定加权矩阵R来惩罚加速度,维数为一维的半正定加权矩阵Θ来惩罚加速度导数dax以及参数为ρ的安全因子;For each sampling instant (k=0,1,...,N c ), the nonlinear model prediction controls in the specified future prediction time domain Inside, are the reference trajectory points (X ref , Y ref ) on the planned path, the reference yaw angular velocity ψ ref and the reference velocity The first, second, third, fourth, and fifth terms of the cost function pass through the dimensions of The positive semi-definite weighting matrix W penalizes tracking bias with dimension The positive semi-definite weighting matrix Q is used to penalize the state variables of the system, and the dimension is one-dimensional The positive semi-definite weighting matrix R to penalize the acceleration, with one dimension The positive semi-definite weighting matrix Θ to penalize the acceleration derivative da x and the safety factor with parameter ρ;
目标函数第一项和第二项中,非线性模型预测控制问题公式中的路径约束包括系统的几何约束和物理约束;路径约束包括前轮转角,纵向速度和横摆角速度约束:In the first and second terms of the objective function, the path constraints in the nonlinear model predictive control problem formula include the geometric constraints and physical constraints of the system; the path constraints include the front wheel rotation angle, longitudinal speed and yaw rate constraints:
-δf_max-δf_Δ≤δf≤δf_max+δf_Δ -δ f_max -δ f_Δ ≤δ f ≤δ f_max +δ f_Δ
其中,δf_max,分别表示前轮转角,纵向车速和横摆角速度的极限约束,δf_Δ,分别表示前轮转角,纵向车速和横摆角速度的软约束;Among them, δ f_max , respectively represent the limit constraints of front wheel angle, longitudinal vehicle speed and yaw rate, δ f_Δ , respectively represent the soft constraints of the front wheel angle, longitudinal vehicle speed and yaw rate;
加速度约束条件根据车辆的行驶工况不同进行约束,其基本思想是当车辆行驶工况恶劣时,车辆的加速度要限制在较小的范围内,当车辆处于低速良好的工况时,车辆的加速度可以放宽约束,根据恶劣工况,一般工况和优良工况三种类别对车辆加速度设置不同的约束值范围,如表4所示。The acceleration constraint conditions are constrained according to the different driving conditions of the vehicle. The basic idea is that when the vehicle driving conditions are bad, the acceleration of the vehicle should be limited to a small range. When the vehicle is in a low speed and good condition, the acceleration of the vehicle The constraints can be relaxed, and different constraint value ranges are set for the vehicle acceleration according to the three categories of severe working conditions, general working conditions and excellent working conditions, as shown in Table 4.
表.4车辆加速度设置不同的约束值范围Table.4 Vehicle Acceleration Setting Different Constraint Value Ranges
有益效果:Beneficial effects:
本发明使用分布式驱动无人驾驶车辆路径跟踪方法,能够在限制车辆侧滑和侧翻的主动安全的前提下,实现车辆在侧向跟踪能够满足最小化路径误差的同时,确保了车辆的安全性,同时,在车辆安全性失稳趋势的情况下,同时在适当牺牲车辆侧向跟踪偏差的情况下,首先保证了车辆的安全性,综合提升了无人驾驶车辆路径跟踪和安全性能力。The invention uses the distributed driving unmanned vehicle path tracking method, which can ensure the safety of the vehicle while the side tracking of the vehicle can minimize the path error under the premise of limiting the active safety of vehicle side slip and rollover. At the same time, in the case of vehicle safety instability trend, and at the same time when the vehicle lateral tracking deviation is appropriately sacrificed, the safety of the vehicle is first ensured, and the path tracking and safety capabilities of the unmanned vehicle are comprehensively improved.
附图说明Description of drawings
图1是根据本发明所提供的车辆纵向运动控制跟踪方法示意图1 is a schematic diagram of a vehicle longitudinal motion control tracking method provided by the present invention
图2是根据本发明所提供的车辆路径跟踪方法示意图Fig. 2 is a schematic diagram of a vehicle path tracking method provided by the present invention
具体实施方式Detailed ways
下面结合附图并举实施例,对本发明进行详细描述。The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
本发明提供了一种用于分布式驱动无人驾驶车辆的路径跟踪优化控制方法,如图2所示,具体包括以下步骤:The present invention provides a path tracking optimization control method for distributed driving of unmanned vehicles, as shown in FIG. 2 , which specifically includes the following steps:
步骤1、利用GPS/INS测量车辆位置(X,Y),航向角ψ,车辆纵向加速度横向加速度和横摆角速度通过电机控制器实时获取电机的转速nmij和电机输出转矩Tij。Step 1. Use GPS/INS to measure vehicle position (X, Y), heading angle ψ, vehicle longitudinal acceleration Lateral acceleration and yaw rate The rotational speed n mij of the motor and the output torque T ij of the motor are acquired in real time through the motor controller.
步骤2、基于步骤1获得的车辆纵向车速利用车辆动力学理论限制车辆安全行驶车速包括防侧翻速度约束和防侧滑速度约束。Step 2. Based on the longitudinal speed of the vehicle obtained in Step 1 Using Vehicle Dynamics Theory to Limit the Safe Driving Speed of Vehicles Including anti-rollover speed Restraint and Anti-Slip Speed constraint.
步骤3、基于步骤2中安全行驶车速并对其进行修正。为了提高无人驾驶车辆对环境、工况和自身能力的适应性,提出了一种基于环境和驾驶识别的车辆自适应参数调整策略,并确定了环境kc,路况kd,历史事故km和行驶年限kn系数。Step 3. Based on the safe driving speed in Step 2 and amend it. In order to improve the adaptability of unmanned vehicles to the environment, working conditions and their own capabilities, a vehicle adaptive parameter adjustment strategy based on environment and driving recognition is proposed, and the environment k c , road conditions k d , and historical accident km m are determined. and driving years k n coefficient.
步骤4、基于步骤3中安全行驶车速的修正值设计一种车速不同分布区间的主动限速控制的激活条件,并确定了不同车速分类下的激活条件值基于非线性算法对车辆车速控制,根据不同的激活条件获取车辆纵向方向的总驱动力Tdes。提出一种新得多约束下的最优目标函数该函数以电机的驱制动效率,电机的失效形式以及车辆加减速过程中的载荷转移影响多目标,求解τr∈[τr0,1]中最优转矩分配系数获得电机最优转矩驱制动转矩 Step 4. Based on the corrected value of the safe driving speed in Step 3 An activation condition of active speed limit control with different speed distribution intervals is designed, and the activation condition values under different vehicle speed classifications are determined The vehicle speed is controlled based on a nonlinear algorithm, and the total driving force T des in the longitudinal direction of the vehicle is obtained according to different activation conditions. Propose a new optimal objective function under many constraints This function calculates the optimal torque distribution coefficient in τ r ∈[τ r0 ,1] based on the drive efficiency of the motor, the failure form of the motor and the load transfer during the acceleration and deceleration of the vehicle. Obtain the optimal torque of the motor to drive the braking torque
步骤5、基于离散的车辆非线性动力学模型x(Tk+1)=F(x(Tk),u(Tk)),建立非线性约束下的成本函数成本函数主要包括侧向路径跟踪偏差,车辆系统状态变量,方向盘转角的变化率,加速度跟踪偏差,加速度导数变化率和安全因数项。其中,约束条件给出了车轮转角约束,车辆状态约束以及加速度约束,利用一种快速的方法获取车辆的前轮转角。Step 5. Based on the discrete vehicle nonlinear dynamics model x(T k+1 )=F(x(T k ), u(T k )), establish a cost function under nonlinear constraints The cost function mainly includes lateral path tracking bias, vehicle system state variables, rate of change of steering wheel angle, acceleration tracking bias, rate of change of acceleration derivative and safety factor term. Among them, the constraint conditions give the wheel angle constraint, vehicle state constraint and acceleration constraint, and a fast method is used to obtain the front wheel angle of the vehicle.
步骤2中所述的安全行驶车速具体包括:Safe driving speed as described in step 2 Specifically include:
车辆主动安全性和操纵稳定性需要防止车辆在转向过程中带来的侧滑和侧翻问题,它与车辆的速度有着密切的联系。The active safety and handling stability of the vehicle need to prevent the side slip and rollover problems caused by the vehicle during the steering process, and it is closely related to the speed of the vehicle.
为了防止车辆由于轮胎侧向力不足引起的侧滑问题,车辆的横向惯性力不能超出地面所提供的最大轮胎附着极限:In order to prevent the vehicle from slipping due to insufficient lateral tire force, the lateral inertial force of the vehicle cannot exceed the maximum tire adhesion limit provided by the ground:
其中,m表示车辆的质量,ay表示车辆的侧向加速度,分别为通过算法估计出来的路面附着系数和坡度。where m is the mass of the vehicle, a y is the lateral acceleration of the vehicle, are the road adhesion coefficient and slope estimated by the algorithm, respectively.
车辆的侧向加速度为:The lateral acceleration of the vehicle is:
其中,RT为转向半径。稳态转向时转向半径为转向角和轮胎侧偏角的函数:where RT is the turning radius. Steady state steering Steering radius is a function of steering angle and tire slip angle:
其中,lf和lr分别表示车辆前轮和后轮到车辆质心的距离。Among them, l f and l r represent the distance from the front and rear wheels of the vehicle to the center of mass of the vehicle, respectively.
车辆防侧滑的速度约束关系可以表示为The speed constraint relationship of vehicle anti-skid can be expressed as
其中,Sslip为车辆侧滑安全系数。Among them, S slip is the safety factor of vehicle sideslip.
车辆转向时,车辆的侧向加速度会引起车辆左右轮之间的垂向载荷转移。车辆产生侧翻行为的标志是车辆某侧车轮由于侧倾运动或横向运动,导致的车轮垂向载荷过小而失去附着能力,因此,防止车辆侧翻也就是通过设置安全车速上限限制车轮载荷之间的过度转移。防侧翻的速度限制应该满足在车轮转矩在平均分配的情况下,此时路面能够提供的附着力足以克服车辆的行驶阻力。When the vehicle is turning, the lateral acceleration of the vehicle causes a vertical load transfer between the left and right wheels of the vehicle. The sign of the vehicle rolling over is that the vertical load of the wheel on one side of the vehicle is too small due to the rolling movement or lateral movement, and the wheel loses its ability to adhere. excessive transfer between. The anti-rollover speed limit should be satisfied when the wheel torque is evenly distributed, and the road surface can provide enough adhesion to overcome the driving resistance of the vehicle.
车辆横向加速时,因车辆载荷转移车轮垂向载荷较少的一侧能够克服车辆的行驶阻力Fw:When the vehicle accelerates laterally, the side with less vertical wheel load can overcome the vehicle's running resistance F w due to the transfer of the vehicle load:
其中,ρ,Cd,A分别表示空气密度,空气阻力系数和迎风面积,fr表示车轮滚动阻力系数。Among them, ρ, C d , and A represent air density, air resistance coefficient and windward area, respectively, and fr represent wheel rolling resistance coefficient.
侧翻约束可以表示为:The rollover constraint can be expressed as:
其中,Hb表示车辆的质心高度。d表示车辆左轮或右轮到车辆质心的距离,并假设前后轮距相等。Among them, H b represents the height of the center of mass of the vehicle. d represents the distance from the left or right wheel of the vehicle to the center of mass of the vehicle, and assumes that the front and rear wheel tracks are equal.
车辆侧翻车速约束表示为:The vehicle rollover speed constraint is expressed as:
其中,Sover为车辆侧翻安全系数.Among them, S over is the safety factor of vehicle rollover.
综上所述,通过车辆侧滑极限和车辆侧翻极限约束确定车辆纵向速度的上限 In summary, the upper limit of the vehicle's longitudinal speed is determined by the vehicle side slip limit and the vehicle rollover limit constraint
其中,是车辆容许的最大行驶车速。in, is the maximum speed allowed by the vehicle.
步骤3中所述的一种基于环境和驾驶识别的车辆自适应参数调整策略,具体包括:A vehicle adaptive parameter adjustment strategy based on environment and driving recognition described in step 3 specifically includes:
为了提高无人驾驶车辆对环境、工况和自身能力的适应性,提出了一种基于环境和驾驶识别的车辆自适应参数调整策略:In order to improve the adaptability of unmanned vehicles to the environment, working conditions and their own capabilities, a vehicle adaptive parameter adjustment strategy based on environment and driving recognition is proposed:
环境和驾驶识别的车辆自适应参数调整策略充分考虑了环境kc,路况kd,历史事故km和行驶年限kn等四种不同主要影响车辆安全性的因子,对无人驾驶车辆上限车速进行修正,调整参数如表1所示。The vehicle adaptive parameter adjustment strategy for environment and driving recognition fully considers the environment k c , road conditions k d , historical accidents k m and driving years k n four different factors that mainly affect vehicle safety. Make corrections and adjust the parameters as shown in Table 1.
表1.环境kc,路况kd,历史事故km和行驶年限kn系数Table 1. Environment k c , road condition k d , historical accident k m and driving years k n coefficients
根据环境和路况识别对车速安全阈值通过权重系数进行在线调整。主动限速控制能够对车辆的速度施加干预,从而保证车辆的行车安全性。如果时变规划路径上的期望车速高于安全车速上限时,则主动限速控制被激活,对车速施加干预,防止由于车辆车速过高导致的车辆失稳。According to the identification of the environment and road conditions, the vehicle speed safety threshold is adjusted online through the weight coefficient. Active speed limit control can intervene in the speed of the vehicle to ensure the driving safety of the vehicle. If the expected vehicle speed on the time-varying planned path is higher than the upper limit of the safe vehicle speed, the active speed limit control is activated to intervene in the vehicle speed to prevent the vehicle from becoming unstable due to the high vehicle speed.
如图1所示,步骤4车速不同分布区间的主动限速控制的激活条件和多约束下的最优目标函数,具体包括:As shown in Figure 1, in step 4, the activation conditions of active speed limit control in different distribution intervals of vehicle speed and the optimal objective function under multiple constraints include:
基于滑模控制设计车辆主动限速,根据速度限制定义滑模面:The active speed limit of the vehicle is designed based on the sliding mode control, and the sliding mode surface is defined according to the speed limit:
为了有效减弱频繁穿越滑模面引起的高频抖动,构建饱和函数的趋近律:In order to effectively reduce the high-frequency jitter caused by frequent crossing of the sliding mode surface, the reaching law of the saturation function is constructed:
其中,Kx,分别表示滑模的增益和滑模面边界厚度,Kx过小,则收敛速度慢;过大,容易导致高频振荡,需要合理的选值。Among them, K x , Respectively represent the gain of the sliding mode and the thickness of the boundary of the sliding mode surface. If K x is too small, the convergence speed will be slow; if it is too large, it is easy to cause high-frequency oscillation, and a reasonable value should be selected.
车辆纵向运动方程为:The equation of longitudinal motion of the vehicle is:
其中,Fx为作用在车辆纵向方向上的合力。通过联立上式,基于滑模控制的主动限速控制获得的车辆期望纵向合力为:Among them, F x is the resultant force acting in the longitudinal direction of the vehicle. By combining the above equations, the expected longitudinal resultant force of the vehicle obtained by the active speed limit control based on sliding mode control is:
为了协调车辆期望车速控制和主动限速控制,设计纵向运动控制的激活条件:In order to coordinate vehicle desired speed control and active speed limit control, the activation conditions of longitudinal motion control are designed:
根据车辆当前车速分布区间进行分类,从而确定主动限速控制的激活条件,车辆分类包括高速、中高速、中速、中低速和低速五种情况,如表2所示。According to the current speed distribution interval of the vehicle, the activation conditions of the active speed limit control are determined.
表2.车辆不同车速下的激活条件值Table 2. Activation condition values at different vehicle speeds
当车辆主动限速控制被激活时,则采用上式主动限速控制获得的车辆期望纵向合力求解车辆希望合力矩;否则,采用滑模控制获得车辆期望纵向合力Fx,d,使实际车速跟踪参考车速 When the active speed limit control of the vehicle is activated, the desired longitudinal resultant force of the vehicle obtained by the above-mentioned active speed limit control Solve the desired resultant moment of the vehicle; otherwise, use sliding mode control to obtain the desired longitudinal resultant force F x,d of the vehicle, so that the actual vehicle speed tracks the reference vehicle speed
其中,Kx2,分别表示滑模的增益和滑模面边界厚度。Among them, K x2 , are the gain of the sliding mode and the thickness of the boundary of the sliding mode surface, respectively.
那么,车辆纵向运动修正总期望力矩Tdes为:Then, the vehicle longitudinal motion correction total expected torque T des is:
车辆纵向运动的修正总期望力矩Tdes需要合理地分配到各个驱动轮上,这是一个典型的过驱动结构。综合考虑电机的驱制动效率,电机的失效形式以及车辆加减速过程中的载荷转移,提出一个多约束下的最优目标函数优化分配车轮的转矩,使得车辆满足主动安全性的前提下,能量消耗最低。The corrected total desired torque T des of the longitudinal motion of the vehicle needs to be reasonably distributed to each driving wheel, which is a typical overdrive structure. Considering the driving efficiency of the motor, the failure mode of the motor and the load transfer during the acceleration and deceleration of the vehicle, an optimal objective function under multiple constraints is proposed The torque of the wheels is optimally distributed, so that the energy consumption is the lowest under the premise of satisfying the active safety of the vehicle.
其中,智适应权重调整系数Πη,Πτ,Πθ分别为能量权重系数,载荷转移权重系数和电机失效形式权重系数。ηm为电机的工作效率函数,τr为后轴车轮的转矩分配比例系数。Ti为各个电机的驱制动转矩。通过有效集算法,就能求解到最优的轴间转矩分配系数进而可以求得电机最优的驱制动转矩最优目标函数将进一步地进行解释和阐述。Among them, the intelligent adaptive weight adjustment coefficients Π η , Π τ , Π θ are the energy weight coefficient, the load transfer weight coefficient and the motor failure form weight coefficient, respectively. η m is the working efficiency function of the motor, and τ r is the torque distribution proportional coefficient of the rear axle wheels. T i is the driving torque of each motor. Through the effective set algorithm, the optimal torque distribution coefficient between shafts can be solved Then, the optimal driving and braking torque of the motor can be obtained. The optimal objective function will be further explained and elaborated.
考虑到两侧电机系统在分配时可能存在对称性,为了在分配时防止转矩分配的跳变,优先使用后轮驱制动,主要考虑到前轮是驱动轮,如果优先分配前轮,会影响车辆转向过程中的侧向力的输出,因此选择后轴车轮转矩分配系数τr∈[τr0,1]。其中,阈值因子τr0的取值被定义为:Considering that there may be symmetry in the distribution of the motor systems on both sides, in order to prevent the jump in torque distribution during distribution, the rear-wheel-drive braking is given priority, mainly considering that the front wheels are the driving wheels. It affects the output of the lateral force during the steering process of the vehicle, so the rear axle wheel torque distribution coefficient τ r ∈ [τ r0 ,1] is selected. Among them, the value of the threshold factor τ r0 is defined as:
制动工况与驱动工况稍有不同,因为制动工况下,还存在机械制动。为了均衡制动力在各个车轮的作用,对机械制动力平均分配到四个车轮上。The braking condition is slightly different from the driving condition, because in the braking condition, there is also mechanical braking. In order to balance the effect of braking force on each wheel, the mechanical braking force is evenly distributed to the four wheels.
路径跟踪所获得的车辆基本驱制动转矩Tij_b可以表示为:The basic driving and braking torque T ij_b of the vehicle obtained by path tracking can be expressed as:
分布式驱动车辆在路径跟踪控制中,采用左右车轮转矩平均分配,定义同轴车轮的最大转矩最小值m∈{d,b},其中,m=d,m=b分别表示电机的驱动力矩或制动力矩。In the path tracking control of the distributed drive vehicle, the torque of the left and right wheels is evenly distributed, and the maximum torque and minimum value of the coaxial wheels are defined. m∈{d,b}, where m=d and m=b respectively represent the driving torque or braking torque of the motor.
其中,表示随着电机转速nmij变化的外特性曲线。根据驱动工况和制动工况的不同,广义的驱动电机总需求转矩最大约束可以表示为:in, Represents the external characteristic curve that varies with the motor speed n mij . According to the different driving conditions and braking conditions, the generalized maximum constraint on the total demand torque of the drive motor can be expressed as:
其中,Tb_max表示各个车轮能够产生的最大制动力矩。Among them, T b_max represents the maximum braking torque that each wheel can generate.
假设后轴转矩分配系数为τr,则可获得各个电机的转矩分配:Assuming that the torque distribution coefficient of the rear axle is τ r , the torque distribution of each motor can be obtained:
电机工作分为驱动工况和制动工况,两种不同的工况的工作效率ηm可以分别表示为:The work of the motor is divided into driving condition and braking condition. The working efficiency η m of the two different conditions can be expressed as:
其中,ηd(nwij,Tij),ηb(nwij,Tij)分别表示电机驱动和制动工况下的三维效率分布图。Among them, η d (n wij , T ij ), η b (n wij , T ij ) represent the three-dimensional efficiency distribution map under the motor driving and braking conditions, respectively.
当前后轴的载荷发生转移时,会影响各个轮胎的垂向载荷变化,从而各个轮胎的附着极限会发生较大的变化,为了考虑到车辆的安全性,垂向力较大的车轮应分得更大的驱动转矩,相反,垂向力较小的车轮应该输出较小的驱制动转矩。根据惯性导航获取的纵向方向加速度,前后轴的载荷转移表示如下:When the load of the front and rear axles is transferred, it will affect the vertical load change of each tire, so the adhesion limit of each tire will change greatly. In order to consider the safety of the vehicle, the wheel with larger vertical force should be divided Greater drive torque, on the contrary, the wheel with less vertical force should output less drive torque. According to the acceleration in the longitudinal direction obtained by inertial navigation, the load transfer of the front and rear axles is expressed as follows:
如果电机出现失效以及不同的失效形式,则原来的分配方法将不再适用,为了提高分布式驱动车辆对电机失效的适应性和鲁棒性,提出了针对不同电机失效以及失效形式的权重系数调整方法,如表3所示。If the motor fails and has different failure forms, the original allocation method will no longer be applicable. In order to improve the adaptability and robustness of the distributed drive vehicle to motor failure, a weight coefficient adjustment for different motor failures and failure forms is proposed. method, as shown in Table 3.
表3.不同电机失效以及失效形式的权重系数调整方法Table 3. Weight coefficient adjustment methods for different motor failures and failure modes
步骤5中所述的分布式驱动无人驾驶车辆路径跟踪方法,具体包括:The distributed driving unmanned vehicle path tracking method described in step 5 specifically includes:
主动前轮控制的目标是设计一种控制策略,使得车辆遵循一个与时间相关,实时生成的参考轨迹,通过设置成本函数的软约束保证车辆模型误差或环境干扰引起的不确定性行为。给定时间无噪声时间连续的分布式驱动无人驾驶车辆动力学模型表示为:The goal of active front-wheel control is to design a control strategy such that the vehicle follows a time-dependent, real-time generated reference trajectory that guarantees uncertain behavior caused by vehicle model errors or environmental disturbances by setting soft constraints on the cost function. given time The noise-free time-continuous distributed driving unmanned vehicle dynamics model is expressed as:
其中,nx=length(x),nu=length(u)为解析向量映射函数,u(t)是系统控制输入,包括前轮转角δf,x(t)是系统的状态向量,其中包括车辆纵向车速侧向车速和横摆角速度 in, n x =length(x),n u =length(u) is the analytic vector mapping function, u(t) is the system control input, including the front wheel angle δ f , x(t) is the state vector of the system, including the vehicle longitudinal speed lateral speed and yaw rate
随着离散瞬时时间T0<T1<T2<…,在给定的采样周期和采用时刻通过上式,扰动的欧拉离散模型可以被定义为:With discrete instantaneous times T 0 <T 1 <T 2 <…, at a given sampling period and adoption moment Through the above formula, the perturbed Euler discrete model can be defined as:
其中,离散函数F基于数值积分解析或隐式获得。此外,假设控制输入u(Tk)在时间间隔[Tk,Tk+1]上是分段常数,为了简化表示,定义xk:=x(Tk),uk:=u(Tk)。Among them, the discrete function F is obtained analytically or implicitly based on numerical integration. Furthermore, assuming that the control input u(T k ) is a piecewise constant over the time interval [T k , T k+1 ], to simplify the representation, define x k :=x(T k ),u k :=u(T k ).
以车辆坐标系下的车辆纵向车速侧向车速和横摆角速度作为状态,双轨模型可以由下式表示:The longitudinal speed of the vehicle in the vehicle coordinate system lateral speed and yaw rate As states, the two-track model can be represented by:
其中,Fxij,Fyij,i∈{f,r},j∈{l,r}表示车辆坐标系下的各个轮胎的纵向力和侧向力。m表示车辆的质量,Izz表示车辆坐标系下绕z轴的车辆转动惯量。绝对坐标系下的车辆位置(X,Y)可由运动学方程获得:Among them, F xij , F yij , i∈{f,r}, j∈{l,r} represent the longitudinal force and lateral force of each tire in the vehicle coordinate system. m represents the mass of the vehicle, and Izz represents the moment of inertia of the vehicle around the z-axis in the vehicle coordinate system. The vehicle position (X, Y) in the absolute coordinate system can be obtained by the kinematic equation:
车辆坐标系下的轮胎力可通过轮胎坐标系下的轮胎力获得:The tire force in the vehicle coordinate system can be obtained from the tire force in the tire coordinate system:
其中,Fwxij,Fwyij分别表示轮胎坐标系下的轮胎纵向力和轮侧向力。车辆轮胎模型描述了轮胎力的计算。在纯纵滑/侧偏的工况下,各个轮胎的名义轮胎纵向力Fwxij,n和名义轮胎侧向力Fwxij,n可以由魔术公式轮胎模型表示:Among them, F wxij , F wyij represent the tire longitudinal force and the wheel lateral force in the tire coordinate system, respectively. The vehicle tire model describes the calculation of tire forces. Under pure longitudinal/sideways conditions, the nominal tire longitudinal force F wxij,n and nominal tire lateral force F wxij,n of each tire can be represented by the magic formula tire model:
Fwxij,n=μxijFzijsin(Cxijarctan(Bxij(1-Exij)sij+Exijarctan(Bxijsij)))F wxij,n = μ xij F zij sin(C xij arctan(B xij (1-E xij )s ij +E xij arctan(B xij s ij )))
Fwyij,n=μyijFzijsin(Cyijarctan(Byij(1-Eyij)αij+Exijarctan(Byijαij)))F wyij,n = μ yij F zij sin(C yij arctan(B yij (1-E yij )α ij +E xij arctan(B yij α ij )))
其中,sij,αij,Fzij,i∈{f,r},j∈{l,r}分别表示各个轮胎的滑移率,侧偏角和垂向力;μhij,h∈{x,y},i∈{f,r},j∈{l,r}表示路面摩擦系数,Bhij,Chij,Ehij,h∈{x,y},i∈{f,r},j∈{l,r},分别表示轮胎刚度因子,形状因子和曲度因子。Among them, s ij , α ij , F zij , i∈{f,r}, j∈{l,r} represent the slip ratio, slip angle and vertical force of each tire respectively; μ hij , h∈ {x ,y},i∈{f,r},j∈{l,r} represents the road friction coefficient, B hij ,C hij ,E hij , h∈ {x,y},i∈{f,r},j ∈{l,r}, denote tire stiffness factor, shape factor and curvature factor, respectively.
在联合工况下,即轮胎滑移率和侧偏角都不为零的情况下,轮胎纵向力和轮胎侧向力的耦合可以用摩擦圆表示:In the joint condition, that is, when the tire slip rate and slip angle are not zero, the coupling between the tire longitudinal force and the tire lateral force can be represented by the friction circle:
尽管上式并没有建立轮胎侧向力与轮胎侧偏角的直接关系,但是摩擦椭圆模型因其简便以及足够的准确性,因此,它被用来计算在联合工况下的轮胎侧向力。Although the above formula does not establish a direct relationship between the tire lateral force and the tire slip angle, the friction ellipse model is used to calculate the tire lateral force under combined conditions because of its simplicity and sufficient accuracy.
轮胎侧偏角表示轮胎纵向方向和轮胎车速方向的夹角,它可以表示为:The tire slip angle represents the angle between the longitudinal direction of the tire and the direction of the tire speed, and it can be expressed as:
其中,vwxij,vwyij分别表示车轮中心处在轮胎坐标系下的纵向速度和侧向速度,它们可由下式计算:Among them, v wxij , v wyij represent the longitudinal speed and lateral speed of the wheel center in the tire coordinate system, respectively, and they can be calculated by the following formulas:
其中,vxij,vyij分别表示车辆坐标系下的各个轮心处的纵向速度和侧向速度,它们可由下式计算:Among them, v xij , v yij respectively represent the longitudinal speed and lateral speed at each wheel center in the vehicle coordinate system, and they can be calculated by the following formulas:
轮胎滑移率在驱动工况和制动工况下的计算稍有不同,根据驱制动工况的不同,轮胎滑移率sij可以通过下式获得:The tire slip rate is calculated slightly differently under driving conditions and braking conditions. According to the different driving conditions, the tire slip rate s ij can be obtained by the following formula:
其中,ωwij表示车轮角速度,Rwe表示车轮的有效滚动半径。Among them, ω wij represents the wheel angular velocity, and R we represents the effective rolling radius of the wheel.
由于车辆的横向或侧向加/减速运动会引起车辆左右或前后车轮的载荷转移,轮胎的垂向力表示如下:Since the lateral or lateral acceleration/deceleration motion of the vehicle will cause the load transfer between the left and right or front and rear wheels of the vehicle, the vertical force of the tire is expressed as follows:
其中,Kφf,Kφr分别为前后悬架的侧倾刚度。hrf,hrr分别是前后悬架的侧倾中心。Among them, K φf and K φr are the roll stiffnesses of the front and rear suspensions, respectively. h rf , h rr are the roll centers of the front and rear suspensions, respectively.
车轮动力学可建立车轮驱制动力矩与车轮纵向力之间的方程:Wheel dynamics establishes the equation between the wheel drive braking torque and the wheel longitudinal force:
其中,Iw表示车轮转动惯量,bw表示车轮阻尼系数。Among them, I w represents the moment of inertia of the wheel, and b w represents the wheel damping coefficient.
事实上,此分布式驱动无人驾驶车辆只有前转向轮是可控的,并假设前左轮和前右轮的转向角是相同的,即:δfl=δfl=δf,δrl=δrr=0。In fact, only the front steering wheel is controllable in this distributed driving unmanned vehicle, and it is assumed that the steering angle of the front left wheel and the front right wheel are the same, namely: δ fl =δ fl =δ f , δ rl =δ rr =0.
采用成本函数使得车辆实际行驶路径能够跟踪到期望路径,同时保证路径跟踪的平顺性和安全性。成本函数主要包括侧向路径跟踪偏差,车辆系统状态变量,方向盘转角的变化率,加速度跟踪偏差,加速度导数变化率和安全因数项。using a cost function The actual driving path of the vehicle can be tracked to the desired path, while ensuring the smoothness and safety of path tracking. The cost function mainly includes lateral path tracking bias, vehicle system state variables, rate of change of steering wheel angle, acceleration tracking bias, rate of change of acceleration derivative and safety factor term.
对于每个采样时刻(k=0,1,…,Nc),非线性模型预测控制在指定的未来预测时域内,是规划路径上的参考轨迹点(Xref,Yref),参考横摆角速度ψref和参考速度成本函数的第一项,第二项,第三项,第四项和第五项分别通过维数为的半正定加权矩阵W惩罚跟踪偏差,维数为的半正定加权矩阵Q来惩罚系统状态变量,维数为一维的半正定加权矩阵R来惩罚加速度,维数为一维的半正定加权矩阵Θ来惩罚加速度导数dax以及参数为ρ的安全因子。For each sampling instant (k=0,1,...,N c ), the nonlinear model prediction controls in the specified future prediction time domain Inside, are the reference trajectory points (X ref , Y ref ) on the planned path, the reference yaw angular velocity ψ ref and the reference velocity The first, second, third, fourth, and fifth terms of the cost function pass through the dimensions of The positive semi-definite weighting matrix W penalizes tracking bias with dimension The positive semi-definite weighting matrix Q is used to penalize the state variables of the system, and the dimension is one-dimensional The positive semi-definite weighting matrix R to penalize the acceleration, with one dimension The positive semi-definite weighting matrix Θ to penalize the acceleration derivative da x and a safety factor of parameter ρ.
目标函数第一项和第二项中,非线性模型预测控制问题公式中的路径约束包括系统的几何约束和物理约束。事实上,考虑到未知干扰和建模误差带来的不确定性,提高目标函数控制中的鲁棒性,把约束条件通过松弛因子设置为软约束。路径约束包括前轮转角,纵向速度和横摆角速度约束:In the first and second terms of the objective function, the path constraints in the formulation of the nonlinear model predictive control problem include the geometric constraints and physical constraints of the system. In fact, considering the uncertainty caused by unknown disturbances and modeling errors, to improve the robustness in objective function control, the constraints are set as soft constraints through relaxation factors. Path constraints include nose wheel angle, longitudinal velocity, and yaw velocity constraints:
-δf_max-δf_Δ≤δf≤δf_max+δf_Δ -δ f_max -δ f_Δ ≤δ f ≤δ f_max +δ f_Δ
其中,δf_max,分别表示前轮转角,纵向车速和横摆角速度的极限约束,δf_Δ,分别表示前轮转角,纵向车速和横摆角速度的软约束。Among them, δ f_max , respectively represent the limit constraints of front wheel angle, longitudinal vehicle speed and yaw rate, δ f_Δ , Soft constraints representing the front wheel angle, longitudinal vehicle speed and yaw rate, respectively.
目标函数第三项中,为了使得无人驾驶在侧向路径跟踪中,防止由于数学求解过程中带来的期望前轮转角的跳变和不合理的变化,目的是在通过控制前轮转角跟踪侧向期望轨迹时符合实际的工程应用,保证前轮转角的平稳变化。In the third term of the objective function, in order to make the unmanned driving in the lateral path tracking, to prevent the jump and unreasonable changes of the expected front wheel angle due to the mathematical solution process, the purpose is to control the front wheel angle to track When the lateral desired trajectory is in line with the actual engineering application, it ensures the smooth change of the front wheel angle.
加速度约束条件根据车辆的行驶工况不同进行约束,其基本思想是当车辆行驶工况恶劣时,例如雨雪,雾天,车辆的加速度要限制在较小的范围内,当车辆处于低速良好的工况时,车辆的加速度可以放宽约束,根据恶劣工况,一般工况和优良工况三种类别对车辆加速度设置不同的约束值范围,如表所示。The acceleration constraints are constrained according to the different driving conditions of the vehicle. The basic idea is that when the vehicle is in bad driving conditions, such as rain, snow, and fog, the acceleration of the vehicle should be limited to a small range. Under the working conditions, the acceleration of the vehicle can be relaxed, and different constraint value ranges are set for the acceleration of the vehicle according to the three categories of severe working conditions, general working conditions and excellent working conditions, as shown in the table.
表.4车辆加速度设置不同的约束值范围Table.4 Vehicle Acceleration Setting Different Constraint Value Ranges
为了解决非线性约束的优化求解问题,基于直接多次打靶法,把无限维约束优化问题已转化为非线性规划,通过一种实时迭代方法的序列二次规划求解每个控制时间步长下的控制输入。对每个时间控制时间步执行一次迭代,并使用连续性的状态热启动和从一个时间步长到下一个时间步长的控制轨迹。在合理的假设下,当存在误差和外部干扰时,所得到的闭环系统的稳定性也可以得到相应的保证。如果求解的不是局部最优化问题,似乎不适用于解决非线性规划问题,然而,对于无人驾驶车辆系统来说,模型预测控制跟踪由运动规划控制器生成的路径,作为线性化的参考,例如运动可行的约束感知。因此,这种方案适用于非线性控制优化求解。将具有低秩更新的块结构分解技术应用于具有定制初始化方法的原始活动集算法中迭代求解器,这就产生了一个简单、高效、可靠的适用于嵌入式控制硬件的求解器。In order to solve the optimization problem of nonlinear constraints, based on the direct multiple shooting method, the optimization problem of infinite dimension constraints has been transformed into a nonlinear programming, and the sequence quadratic programming of a real-time iterative method is used to solve the problem under each control time step. Control input. One iteration is performed for each time control time step, and the state warm-start and control trajectory from one time step to the next are used for continuity. Under reasonable assumptions, when there are errors and external disturbances, the stability of the obtained closed-loop system can also be guaranteed accordingly. It does not seem to be suitable for solving nonlinear programming problems if the solution is not a local optimization problem, however, for unmanned vehicle systems, model predictive control tracks the path generated by the motion planning controller as a reference for linearization, e.g. Motion feasible constraint perception. Therefore, this scheme is suitable for nonlinear control optimization solution. Applying the block-structure decomposition technique with low-rank updates to an iterative solver in the original active set algorithm with a custom initialization method yields a simple, efficient, and reliable solver suitable for embedded control hardware.
为了补偿在时间t时由车辆网络通信和执行器接口引起的时间延迟Td,把的值定义为预测的状态值它由当前状态估计和存储在缓冲器中的过去输入信号u计算。这种时滞补偿对于保持鲁棒性和高控制性能具有重要意义。其中,实时求解器算法如表所示。To compensate for the time delay Td caused by the vehicle network communication and the actuator interface at time t , put The value of is defined as the predicted state value It is estimated by the current state and the past input signal u stored in the buffer is calculated. This time-delay compensation is important for maintaining robustness and high control performance. Among them, the real-time solver algorithm is shown in the table.
综上所述,以上仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。To sum up, the above are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011641346.1A CN112677992B (en) | 2020-12-31 | 2020-12-31 | Path tracking optimization control method for distributed driving unmanned vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011641346.1A CN112677992B (en) | 2020-12-31 | 2020-12-31 | Path tracking optimization control method for distributed driving unmanned vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112677992A CN112677992A (en) | 2021-04-20 |
CN112677992B true CN112677992B (en) | 2022-08-26 |
Family
ID=75456702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011641346.1A Active CN112677992B (en) | 2020-12-31 | 2020-12-31 | Path tracking optimization control method for distributed driving unmanned vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112677992B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11654956B2 (en) * | 2019-12-23 | 2023-05-23 | Robert Bosch Gmbh | Method and system for steering intervention by electronic power steering unit to prevent vehicle rollover or loss of control |
CN113391548A (en) * | 2021-04-27 | 2021-09-14 | 同济大学 | Intersection guiding method, device and medium for automatic driving of internet vehicles |
CN113297681B (en) * | 2021-06-22 | 2022-07-15 | 东风汽车集团股份有限公司 | Optimization method and system for vehicle steering input yaw response over-slow problem |
CN113552801B (en) * | 2021-07-08 | 2024-04-12 | 北京交通大学 | Virtual formation operation control method based on distributed subway train |
CN114802200B (en) * | 2022-04-08 | 2024-09-24 | 合肥工业大学 | A trajectory tracking and stability control method for intelligent vehicles under extreme working conditions |
CN115056779B (en) * | 2022-05-23 | 2024-10-29 | 上海应用技术大学 | Automatic overtaking method |
CN114889450B (en) * | 2022-06-28 | 2024-11-22 | 中国人民解放军陆军军事交通学院军事交通运输研究所 | Torque distribution control method for distributed intelligent electric vehicles |
CN115179963B (en) * | 2022-07-18 | 2024-11-05 | 湖南大学 | Fault-tolerant control method, medium, system and vehicle for lane changing of autonomous driving vehicle |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5143103B2 (en) * | 2009-09-30 | 2013-02-13 | 日立オートモティブシステムズ株式会社 | Vehicle motion control device |
EP2623386B1 (en) * | 2010-09-28 | 2020-09-09 | Hitachi Automotive Systems, Ltd. | Vehicle motion control device |
CN109795502B (en) * | 2018-09-27 | 2021-05-04 | 吉林大学 | Intelligent electric vehicle path tracking model prediction control method |
CN109969183A (en) * | 2019-04-09 | 2019-07-05 | 台州学院 | Curve following control method based on safety controllable domain |
-
2020
- 2020-12-31 CN CN202011641346.1A patent/CN112677992B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112677992A (en) | 2021-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112677992B (en) | Path tracking optimization control method for distributed driving unmanned vehicle | |
CN112572411B (en) | A vehicle chassis coordinated control method and system considering tire cornering characteristics | |
CN107415939B (en) | A Steering Stability Control Method for Distributed Drive Electric Vehicles | |
CN110827535B (en) | Nonlinear vehicle queue cooperative self-adaptive anti-interference longitudinal control method | |
CN111959500B (en) | A method for improving vehicle path tracking performance based on tire force distribution | |
WO2022266824A1 (en) | Steering control method and apparatus | |
CN112829766B (en) | Adaptive path tracking method based on distributed driving electric vehicle | |
CN112793560A (en) | Safety and handling stability control method of unmanned vehicle based on torque vector control | |
CN113467478A (en) | Track tracking control method for metamorphic heart unmanned carrying vehicle | |
CN113911106A (en) | Commercial vehicle transverse track following and stability cooperative control method based on game theory | |
Li et al. | Adaptive sliding mode control of lateral stability of four wheel hub electric vehicles | |
CN115837843A (en) | Direct yaw moment coordinated steering control method for distributed driving electric automobile | |
CN114987537A (en) | Neural network dynamics-based road adaptive drift control system and method for automatic driving vehicle | |
CN113830094A (en) | An adaptive fusion and compensation method for vehicle centroid sideslip angle considering multi-source input information | |
CN115431790B (en) | AFS and DYC collaborative control method for 8-wheel distributed electric drive vehicle | |
CN115933662A (en) | Intelligent automobile trajectory tracking and stability control system and method based on adaptive model prediction control | |
Hashemi et al. | Integrated path-tracking and combined-slip force controls of autonomous ground vehicles with safe constraints adaptation | |
CN111965977A (en) | Automobile stability control method based on tire equal backup capability | |
CN114954432A (en) | A collaborative control method for vehicle path tracking and vehicle body attitude | |
CN114734983A (en) | Distributed electric vehicle stability control method based on stable domain | |
CN114889446A (en) | An off-road vehicle two-direction torque vector distribution method, device and storage medium | |
CN116902108B (en) | High-speed steering active roll control method and system applied to wheel-legged vehicles | |
CN117141461A (en) | A collaborative control method of active front wheel steering and direct yaw moment based on vehicle road conditions | |
Wang et al. | Control allocation for multi-axle hub motor driven land vehicles | |
CN117270386A (en) | Coupling active disturbance rejection-based distributed drive six-wheel steering vehicle same-phase steering control method and controller |
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 |