CN116331256A - Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile - Google Patents
Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile Download PDFInfo
- Publication number
- CN116331256A CN116331256A CN202310233644.4A CN202310233644A CN116331256A CN 116331256 A CN116331256 A CN 116331256A CN 202310233644 A CN202310233644 A CN 202310233644A CN 116331256 A CN116331256 A CN 116331256A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- lane
- trajectory
- lane change
- changing
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 94
- 238000003860 storage Methods 0.000 title claims abstract description 6
- 230000008859 change Effects 0.000 claims abstract description 91
- 230000008569 process Effects 0.000 claims abstract description 58
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 35
- 238000005516 engineering process Methods 0.000 claims abstract description 11
- 238000011156 evaluation Methods 0.000 claims description 105
- 230000006870 function Effects 0.000 claims description 73
- 239000011159 matrix material Substances 0.000 claims description 47
- 230000001133 acceleration Effects 0.000 claims description 43
- 230000014509 gene expression Effects 0.000 claims description 37
- 238000004458 analytical method Methods 0.000 claims description 30
- 238000006073 displacement reaction Methods 0.000 claims description 28
- 238000004364 calculation method Methods 0.000 claims description 26
- 230000036461 convulsion Effects 0.000 claims description 22
- 230000005484 gravity Effects 0.000 claims description 15
- 230000007613 environmental effect Effects 0.000 claims description 10
- 230000007246 mechanism Effects 0.000 claims description 10
- 238000012360 testing method Methods 0.000 claims description 9
- 230000001419 dependent effect Effects 0.000 claims description 4
- 230000000717 retained effect Effects 0.000 claims description 4
- 239000002131 composite material Substances 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 3
- 230000008901 benefit Effects 0.000 abstract description 3
- 238000005457 optimization Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 206010039203 Road traffic accident Diseases 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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
- B60W60/00—Drive control systems specially adapted for autonomous road vehicles
- B60W60/001—Planning or execution of driving tasks
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT 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/00—Purposes 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/18—Propelling the vehicle
- B60W30/18009—Propelling the vehicle related to particular drive situations
- B60W30/18163—Lane change; Overtaking manoeuvres
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Human Computer Interaction (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及一种分布式驱动智能电动汽车换道轨迹规划方法,涉及分布式驱动智能电动汽车路径规划技术,属于新能源汽车设计与制造领域。The present invention relates to a distributed drive intelligent electric vehicle lane change trajectory planning method, relates to a distributed drive intelligent electric vehicle path planning technology, and belongs to the field of new energy vehicle design and manufacturing.
背景技术Background Art
分布式驱动电动汽车,相对于传统“油改电”的集中式电动汽车,是一种全新的底盘驱动构型,其将驱动电机直接安装在驱动轮内或者驱动轮附近,这种新动力构型的底盘具有全方位移动能力的优点,逐渐朝着数字化底盘方向发展,因此被汽车领域专家评价为智能电动汽车专用底盘与实现安全高效无人驾驶的最佳载体,已经成为未来智能化电动汽车发展的主流趋势。近年来汽车的保有量持续增长,从而导致一些问题日益突出,交通事故频发及交通拥堵加剧。汽车的电动化、网联化、智能化成为未来发展的趋势,因此分布式驱动电动车高度智能化成为未来发展的必然趋势。自动驾驶技术分为0级到5级,伴随着汽车驾驶自动化等级的增长车辆系统对驾驶员的依赖性越小,现阶段量产的智能电动汽车自动驾驶等级在2级到3级的范围内,换言之,较为成熟的自动驾驶技术只能实现有条件的自动驾驶功能,因此智能电动汽车自动驾驶技术要提高对不同交通场景的适应性,保持在高速避撞、紧急避障等场景的车辆稳定性。分布式驱动电动汽车具有更高的控制自由度,汽车智能化技术研发难度也将更高,分布式驱动电动汽车智能化富有挑战。Distributed drive electric vehicles, compared with traditional centralized electric vehicles that are converted from oil to electricity, are a new chassis drive configuration. The drive motor is directly installed in or near the drive wheel. The chassis of this new power configuration has the advantage of all-round mobility and is gradually developing towards a digital chassis. Therefore, it is evaluated by experts in the automotive field as a special chassis for smart electric vehicles and the best carrier for achieving safe and efficient unmanned driving. It has become the mainstream trend of the development of future smart electric vehicles. In recent years, the number of cars has continued to grow, which has led to some problems becoming increasingly prominent, such as frequent traffic accidents and increased traffic congestion. The electrification, networking and intelligence of automobiles have become the trend of future development, so the high intelligence of distributed drive electric vehicles has become an inevitable trend of future development. Autonomous driving technology is divided into
车辆轨迹规划技术是自动驾驶技术实现的重要环节之一,由于车辆一般行驶在复杂的交通环境中或以高速行驶,车辆轨迹规划算法的要求一般会高于室内机器人,需要考虑更多运动学和动力学因素的影响。常用的轨迹规划算法分类包括,基于图搜索的算法、基于曲线拟合的算法、基于数值优化的算法、基于人工势场的算法、基于采样的算法和基于智能法的算法等。车辆换道轨迹规划是一种常见的交通场景之一,当车辆行驶在道路上出现超车、避障等场景时,需要提前规划一条符合人类驾驶习惯的驾驶轨迹,同时满足车辆稳定性约束、环境几何约束、道路边界约束的路径,且规划路径换道效率高、易于跟踪控制的最优路径,实现轨迹的多目标优化。现阶段,集中式智能电动汽车轨迹规划算法一般比较保守,运动学因素考虑的相对较多而忽略了动力学因素,分布式驱动电动汽车的稳定域机理性研究很大程度上地影响路径规划的最终结果,如何将运动学和动力学紧密结合进行车辆规划成为分布式驱动智能电动汽车轨迹规划的关键问题之一,是汽车高度智能化的必经之路之一。车辆智能化的大背景下,充分利用分布式驱动电动汽车的稳定域进行上层的路径规划至关重要,分布式驱动电动汽车智能驾驶层和底盘控制层之间的关系密不可分。Vehicle trajectory planning technology is one of the important links in the realization of autonomous driving technology. Since vehicles generally travel in complex traffic environments or at high speeds, the requirements for vehicle trajectory planning algorithms are generally higher than those for indoor robots, and more kinematic and dynamic factors need to be considered. Commonly used trajectory planning algorithm classifications include algorithms based on graph search, algorithms based on curve fitting, algorithms based on numerical optimization, algorithms based on artificial potential fields, algorithms based on sampling, and algorithms based on intelligent methods. Vehicle lane change trajectory planning is one of the common traffic scenarios. When a vehicle is driving on the road and encounters scenarios such as overtaking and obstacle avoidance, it is necessary to plan a driving trajectory in advance that conforms to human driving habits, while satisfying the vehicle stability constraints, environmental geometry constraints, and road boundary constraints. The planned path has high lane change efficiency and is easy to track and control, so as to achieve multi-objective optimization of the trajectory. At present, the trajectory planning algorithm of centralized intelligent electric vehicles is generally conservative, and kinematic factors are relatively more considered while dynamic factors are ignored. The study of the stability domain mechanism of distributed drive electric vehicles greatly affects the final result of path planning. How to closely combine kinematics and dynamics for vehicle planning has become one of the key issues in trajectory planning of distributed drive intelligent electric vehicles, and is one of the necessary paths for highly intelligent vehicles. In the context of vehicle intelligence, it is crucial to make full use of the stability domain of distributed drive electric vehicles for upper-level path planning. The relationship between the intelligent driving layer and the chassis control layer of distributed drive electric vehicles is inseparable.
发明内容Summary of the invention
本发明所要解决的技术问题是分布式驱动智能电动汽车换道轨迹规划关键问题,提出了一种分布式驱动智能电动汽车换道轨迹规划方法、装置及存储介质,所提出的轨迹规划算法在复杂交通环境下可以完成换道超车、紧急避障等交通场景,高速或低速行驶工况下同样适用。路径规划算法充分利用分布式驱动电动汽车四轮独立可控的优点,其动力学性能相比于集中式得到提高,将车辆的运动学和动力学特性融入轨迹规划算法中,电动汽车行驶的高效性和安全性得到提高。The technical problem to be solved by the present invention is the key problem of the trajectory planning of lane change of distributed drive intelligent electric vehicles. A method, device and storage medium for the trajectory planning of lane change of distributed drive intelligent electric vehicles are proposed. The proposed trajectory planning algorithm can complete traffic scenes such as lane change, overtaking, emergency obstacle avoidance, etc. in complex traffic environments, and is also applicable to high-speed or low-speed driving conditions. The path planning algorithm fully utilizes the advantages of the four wheels of distributed drive electric vehicles being independently controllable, and its dynamic performance is improved compared to the centralized type. The kinematic and dynamic characteristics of the vehicle are integrated into the trajectory planning algorithm, and the efficiency and safety of electric vehicle driving are improved.
本发明解决其技术问题所采用的技术方案为,包括如下步骤:The technical solution adopted by the present invention to solve the technical problem comprises the following steps:
一种分布式驱动电动汽车换道轨迹规划方法,其特征在于,包含以下步骤:A distributed drive electric vehicle lane change trajectory planning method, characterized by comprising the following steps:
根据车辆轨迹规划曲线拟合函数,生成无约束的广义换道轨迹簇;Generate unconstrained generalized lane-changing trajectory clusters based on the vehicle trajectory planning curve fitting function;
在生成的无约束的广义换道轨迹簇中,选出满足分布式驱动电动汽车稳定域的换道轨迹簇;Among the generated unconstrained generalized lane-changing trajectory clusters, the lane-changing trajectory clusters that meet the stability domain of distributed drive electric vehicles are selected;
在选出的满足分布式驱动电动汽车稳定域的换道轨迹簇中,根据环境几何约束和道路边界,计算出车辆的可行域;In the selected lane-changing trajectory cluster that satisfies the stability domain of the distributed drive electric vehicle, the feasible domain of the vehicle is calculated according to the environmental geometric constraints and the road boundary;
在计算出的车辆可行域中,基于层次分析法和逼近于理想的技术相结合的改进算法,通过评价稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率指标来选择最优的换道轨迹。In the calculated vehicle feasible domain, an improved algorithm based on the combination of hierarchical analysis method and approximation to ideal technology is used to select the optimal lane changing trajectory by evaluating the stability index, trajectory tracking accuracy index, comfort index and lane changing efficiency index.
设计无约束的广义换道轨迹簇包含以下部分:Designing an unconstrained generalized lane-changing trajectory cluster consists of the following parts:
(I)最优纵向位移、速度、加速度、急动度表达式确定。(I) The optimal longitudinal displacement, velocity, acceleration, and jerk expressions are determined.
a).需要最小化纵向波动,并构建最小化纵向波动的性能指标:a). It is necessary to minimize the longitudinal fluctuation and construct a performance indicator to minimize the longitudinal fluctuation:
需要满足以下条件约束:The following constraints need to be met:
其中,ηx为纵向化波动的代价函数,minηx为求解最小化纵向波动的性能指标最小值;τ0为换道轨迹的初始时刻,为换道过程的终止时刻,设初始时刻τ0=0,因此换道过程的时间为x(t)为车辆换道过程中纵向位移函数,和vx(t)表示车辆换道过程中的纵向车速;和ax(t)表示车辆换道过程中的纵向加速度;和jx(t)表示车辆换道过程中的纵向急动度;L为车辆换道的纵向距离,vx0为换道过程中纵向速度的初始值,为换道过程中纵向速度的终值;Among them, η x is the cost function of longitudinal fluctuation, minη x is the minimum value of the performance index for minimizing longitudinal fluctuation; τ 0 is the initial time of the lane change trajectory, is the end time of the lane changing process, and the initial time τ 0 = 0, so the lane changing process time is x(t) is the longitudinal displacement function of the vehicle during lane changing, and v x (t) represents the longitudinal speed of the vehicle during the lane change process; and a x (t) represents the longitudinal acceleration of the vehicle during the lane change process; and j x (t) represent the longitudinal jerk of the vehicle during lane change; L is the longitudinal distance of the vehicle during lane change, v x0 is the initial value of the longitudinal velocity during lane change, is the final value of the longitudinal speed during the lane changing process;
b).为求解上述性能指标,构建哈密顿函数Hx为b). To solve the above performance indicators, construct the Hamiltonian function H x as
其中,κx1为对应vx的拉格朗日算子,κx2为对应ax的拉格朗日算子,κx3为对应jx的拉格朗日算子。Among them, κ x1 is the Lagrangian operator corresponding to v x , κ x2 is the Lagrangian operator corresponding to a x , and κ x3 is the Lagrangian operator corresponding to j x .
c).根据庞特里亚金极大值原理,协态方程表示为:c) According to the Pontryagin maximum principle, the co-state equation is expressed as:
解得:κx1=m0 The solution is: κ x1 = m 0
解得:κx2=m1-m0t The solution is: κ x2 = m 1 - m 0 t
解得: The solution is:
其中,m0、m1和m2为待定常数。Among them, m 0 , m 1 and m 2 are unknown constants.
由极值条件为:The extreme value condition is:
解得: The solution is:
其中, in,
d).在大地坐标系下,根据上述步骤可得换道过程中最优纵向位移、速度、加速度、急动度的表达式为:d). In the geodetic coordinate system, according to the above steps, the expressions of the optimal longitudinal displacement, velocity, acceleration and jerk during lane change are:
其中,jx(t)、ax(t)、vx(t)和x(t)分别表示车辆纵向急动度、加速度、速度和位移的函数,t为时间作为函数的自变量,为换道时间,L为车辆换道的纵向距离,vx0为纵向速度的初始值。Where j x (t), a x (t), v x (t) and x (t) represent the functions of the vehicle longitudinal jerk, acceleration, velocity and displacement, respectively, and t is the time as the independent variable of the function. is the lane changing time, L is the longitudinal distance of the vehicle changing lanes, and vx0 is the initial value of the longitudinal speed.
(II)最优侧向位移、速度、加速度、急动度表达式确定。(II) The optimal lateral displacement, velocity, acceleration, and jerk expressions are determined.
a).需要最小化侧向波动,并构建最小化侧向波动的性能指标:a). It is necessary to minimize lateral fluctuations and construct performance indicators that minimize lateral fluctuations:
需要满足以下条件约束:The following constraints need to be met:
其中,ηy为侧向化波动的代价函数,minηy为求解最小化侧向波动的性能指标最小值;τ0为换道轨迹的初始时刻,为换道过程的终止时刻,设初始时刻τ0=0,因此换道过程的时间为y(t)表示车辆换道过程中的侧向位移函数,和vy(t)表示车辆换道过程中的侧向车速;和ay(t)表示车辆换道过程中的侧向加速度;和jy(t)表示车辆换道过程中的侧向急动度;D为车辆换道的侧向距离;vy0为换道过程中侧向速度的初始值,为换道过程中侧向速度的终值;Among them, η y is the cost function of lateral fluctuation, minη y is the minimum value of the performance index for minimizing lateral fluctuation; τ 0 is the initial time of the lane change trajectory, is the end time of the lane changing process, and the initial time τ 0 = 0, so the lane changing process time is y(t) represents the lateral displacement function of the vehicle during lane changing. and vy (t) represents the lateral speed of the vehicle during the lane change process; and a y (t) represents the lateral acceleration of the vehicle during lane change; and j y (t) represent the lateral jerk of the vehicle during lane change; D is the lateral distance of the vehicle during lane change; v y0 is the initial value of the lateral velocity during lane change, is the final value of the lateral speed during the lane changing process;
b).为求解上述性能指标,构建哈密顿函数Hy为b). To solve the above performance indicators, the Hamiltonian function Hy is constructed as
其中,κy1为对应vy的拉格朗日算子,κy2为对应ay的拉格朗日算子,κy3为对应jy的拉格朗日算子。Among them, κ y1 is the Lagrangian operator corresponding to v y , κ y2 is the Lagrangian operator corresponding to a y , and κ y3 is the Lagrangian operator corresponding to j y .
c).根据庞特里亚金极大值原理,协态方程表示为:c) According to the Pontryagin maximum principle, the co-state equation is expressed as:
解得:κy1=n0 The solution is: κ y1 = n 0
解得:κy2=n1-n0t The solution is: κ y2 = n 1 -n 0 t
解得: The solution is:
其中,n0、n1和n2为待定常数。Among them, n 0 , n 1 and n 2 are unknown constants.
由极值条件为:The extreme value condition is:
解得: The solution is:
其中, in,
d).在大地坐标系下,根据上述步骤可得换道过程中最优侧向急动度、加速度、速度、位移的表达式为:d). In the geodetic coordinate system, according to the above steps, the expressions of the optimal lateral jerk, acceleration, velocity and displacement during the lane change process are obtained as follows:
其中,jy(t)、ay(t)、vy(t)和y(t)分别表示车辆侧向急动度、加速度、速度和位移的函数,t为时间作为函数的自变量,为换道时间,D为车辆换道的侧向距离,vy0为侧向速度的初始值。Where j y (t), a y (t), vy (t) and y (t) represent the functions of the vehicle's lateral jerk, acceleration, velocity and displacement, respectively, and t is the time as the independent variable of the function. is the lane changing time, D is the lateral distance of the vehicle changing lanes, and v y0 is the initial value of the lateral speed.
(III)基于五次多项式的分布式驱动智能电动汽车换道轨迹表达式确定。(III) Determination of the lane-changing trajectory expression of a distributed drive intelligent electric vehicle based on a quintic polynomial.
在换道过程中车辆纵向车速保持恒定,纵向加速度不变达到最小化车辆纵向波动的目的,因此可得:During the lane changing process, the longitudinal speed of the vehicle is kept constant, and the longitudinal acceleration is unchanged to minimize the longitudinal fluctuation of the vehicle. Therefore, it can be obtained:
vx(t)=vx0 v x (t) = v x0
其中,vx(t)表示换道过程中纵向车速函数,vx0为纵向车速的初始值。Wherein, v x (t) represents the longitudinal vehicle speed function during the lane changing process, and v x0 is the initial value of the longitudinal vehicle speed.
基于五次多项式的分布式驱动智能电动汽车换道轨迹表达式为:The lane-changing trajectory of a distributed drive smart electric vehicle based on a quintic polynomial is expressed as:
其中,x(t)为换道过程的纵向位移,y(t)为换道过程的横向位移,t为函数的自变量,在一定的初始车速vx0下,不同的换道时间从而得到一系列无约束的广义换道轨迹簇。Among them, x(t) is the longitudinal displacement of the lane changing process, y(t) is the lateral displacement of the lane changing process, and t is the independent variable of the function. Under a certain initial vehicle speed v x0 , different lane changing times Thus, a series of unconstrained generalized lane-changing trajectory clusters are obtained.
筛选满足分布式驱动电动汽车稳定域的换道轨迹簇包含以下部分:The selection of lane-changing trajectory clusters that meet the stability domain of distributed drive electric vehicles includes the following parts:
(I)稳定域机理分析。(I) Analysis of stability domain mechanism.
a).分析分布式驱动电动汽车稳定域影响机理,需要建立分布式驱动电动汽车的四轮车辆模型,其动力学方程为a). To analyze the influence mechanism of the stability domain of distributed drive electric vehicles, it is necessary to establish a four-wheel vehicle model of distributed drive electric vehicles, and its dynamic equation is:
其中,Fyij为轮胎侧向力,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮,r表示横摆角速度,为横摆角速度的一阶导数;β表示质心侧偏角,为质心侧偏角的一阶导数;vx为纵向车速;δf为车辆前轮转角;a为车辆重心到前轴的距离,b为车辆重心到后轴的距离;lf为车辆前轴轴距,lr为车辆后轴轴距;m为整车质量;Iz为绕z轴的转动惯量。Where F yij is the tire lateral force, its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively, r represents the yaw angular velocity, is the first-order derivative of the yaw rate; β represents the sideslip angle of the center of mass, is the first-order derivative of the sideslip angle at the center of mass; vx is the longitudinal vehicle speed; δf is the front wheel turning angle of the vehicle; a is the distance from the center of gravity of the vehicle to the front axle, b is the distance from the center of gravity of the vehicle to the rear axle; lf is the wheelbase of the front axle of the vehicle, lr is the wheelbase of the rear axle of the vehicle; m is the mass of the vehicle; Iz is the moment of inertia about the z-axis.
b).轮胎侧偏角αij计算公式为:b). The tire side slip angle α ij is calculated as follows:
其中,αij为轮胎侧偏角,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮。Among them, α ij is the tire side slip angle, and its subscripts ij=fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively.
c).轮胎垂直载荷Fzij计算公式为:c). The calculation formula of tire vertical load F zij is:
其中,Fzij为轮胎垂直载荷,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;ax为车辆纵向加速度,ay为车辆侧向加速度;h为车辆质心的高度。Wherein, F zij is the vertical load on the tire, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; a x is the longitudinal acceleration of the vehicle, a y is the lateral acceleration of the vehicle; and h is the height of the center of mass of the vehicle.
d).基于Fiala轮胎模型计算轮胎侧向力方程:d). Calculate the tire lateral force equation based on the Fiala tire model:
其中,Fyij为轮胎侧向力,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;Cα为轮胎侧偏刚度;αslij为轮胎进入饱和区域所对应的侧偏角,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;μ为路面附着系数。Among them, F yij is the tire lateral force, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; C α is the tire cornering stiffness; α slij is the sideslip angle corresponding to the tire entering the saturation area, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; μ is the road adhesion coefficient.
(II)基于相平面的方法进行车辆稳定域机理分析.(II) Analysis of vehicle stability domain mechanism based on phase plane method.
a).根据系统状态方程列出微分方程组:a). List the differential equations according to the system state equation:
由上式可得:From the above formula, we can get:
其中,x1、x2为车辆系统的状态参数,f1(x1,x2)、f2(x1,x2)为车辆系统的微分方程。Wherein, x 1 and x 2 are state parameters of the vehicle system, and f 1 (x 1 ,x 2 ) and f 2 (x 1 ,x 2 ) are differential equations of the vehicle system.
b).在车辆系统中,假设初始状态x0=(x1(0),x2(0))出发的状态轨迹x(t),保持在局部范围内,符合以下条件:b) In the vehicle system, assume that the state trajectory x(t) starting from the initial state x 0 =(x 1 (0), x 2 (0)) remains within the local range and meets the following conditions:
其中,x(t)为车辆状态参数关于时间变化的函数,是确定常数,满足条件则系统在局部范围内渐进稳定,所以此时系统稳定。相平面分析中,稳定轨迹最后收敛到平衡点,不稳定轨迹将无法收敛最后发散。Where x(t) is the function of the vehicle state parameter changing with time, is a constant. If the condition is met, the system is asymptotically stable in the local range, so the system is stable at this time. In phase plane analysis, the stable trajectory finally converges to the equilibrium point, and the unstable trajectory will not converge and finally diverge.
(III)基于相平面分析方法,对车辆不同状态进行稳定域分析。(III) Based on the phase plane analysis method, the stability domain analysis of different vehicle states is performed.
分别选择车辆不同绝对车速、路面附着系数、前轮转角对车辆稳定域的影响,具体步骤包括如下:Select the influence of different absolute vehicle speeds, road adhesion coefficients, and front wheel steering angles on the vehicle stability domain. The specific steps include the following:
a).根据相平面分析法,可得关于车辆质心侧偏角β与横摆角速度r的函数方程,β为函数的自变量,r为函数的因变量,稳定域的函数表达式为:a). According to the phase plane analysis method, the function equation of the vehicle's center of mass sideslip angle β and yaw rate r can be obtained. β is the independent variable of the function, r is the dependent variable of the function, and the function expression of the stable domain is:
上述函数表达式中b0、b1、b2、b3分别为:In the above function expression, b 0 , b 1 , b 2 , and b 3 are respectively:
b0=b/vx,b1=tan(αslrl+αslrl),b2=(r2-r1)/(β2-β1),b3=r1-β1(r2-r1)/(β2-β1)b 0 =b/v x , b 1 =tan(α slrl +α slrl ), b 2 =(r 2 -r 1 )/(β 2 -β 1 ), b 3 =r 1 -β 1 (r 2 -r 1 )/(β 2 -β 1 )
r1=ug/vx,r2=vx/(a+b)(tan((αslfl+αslfr)/2+δmax)-tan((αslrl+αslrr)/2)),r 1 =ug/v x , r 2 =v x /(a+b)(tan((α slfl +α slfr )/2+δ max )-tan((α slrl +α slrr )/2)),
β2=b/(a+b)(tan((αslfl+αslfr)/2+δmax)-tan((αslrl+αslrr)/2))+tan((αslrl+αslrr)/2)。β 2 =b/(a+b)(tan((α slfl +α slfr )/2+δ max )-tan((α slrl +α slrr )/2))+tan((α slrl +α slrr ) /2).
上式中的δmax表达式为:The expression of δ max in the above formula is:
其中,b0、b1、b2、b3分别为稳定域函数表达式的待定系数,r1、r2、β1、β2、δmax作为中间变量;αslfl、αslfr、αslrl、αslrr分别为左前、右前、左后、右后轮胎进入饱和区域所对应的侧偏角;a为车辆重心到前轴的距离,b为车辆重心到后轴的距离;vx为车辆的纵向速度,μ为路面附着系数,g为重力加速度。Among them, b0 , b1 , b2 , and b3 are the unknown coefficients of the stable domain function expression respectively; r1 , r2, β1 , β2 , and δmax are intermediate variables; αslfl , αslfr , αslrl , and αslrr are the sideslip angles corresponding to the left front, right front, left rear, and right rear tires entering the saturation area respectively; a is the distance from the center of gravity of the vehicle to the front axle, and b is the distance from the center of gravity of the vehicle to the rear axle; vx is the longitudinal velocity of the vehicle, μ is the road adhesion coefficient, and g is the acceleration of gravity.
b).根据稳定域的划分范围,分别选取不同的车辆绝对车速、路面附着系数、前轮转角来分析不同稳定域,具体步骤如下:b). According to the division range of the stability domain, different absolute vehicle speeds, road adhesion coefficients, and front wheel turning angles are selected to analyze different stability domains. The specific steps are as follows:
当路面附着系数、前轮转角保持不变时,分别选取不同车辆绝对车速5、10、15、20、25、30、35、40m/s分别进行稳定域分析;When the road adhesion coefficient and the front wheel steering angle remain unchanged, different vehicle absolute speeds of 5, 10, 15, 20, 25, 30, 35, and 40 m/s are selected for stability domain analysis;
当绝对车速、前轮转角保持不变时,分别选取不同路面附着系数0.1、0.2、0.3、0.4、0.5、0.6、0.7、0.8、0.9、1.0分别进行稳定域分析;When the absolute vehicle speed and the front wheel steering angle remain unchanged, different road adhesion coefficients of 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, and 1.0 are selected for stability domain analysis;
当绝对车速、路面附着系数保持不变时,分别选取不同前轮转角-30、-25、-20、-15、-10、-5、0、5、10、15、20、25、30deg分别进行稳定域分析。When the absolute vehicle speed and road adhesion coefficient remain unchanged, different front wheel steering angles of -30, -25, -20, -15, -10, -5, 0, 5, 10, 15, 20, 25, and 30 degrees are selected for stability domain analysis.
c).根据上述分析得到的稳定域集,结合车辆实时的质心侧偏角和横摆角速度计算公式:c). Based on the stability domain set obtained from the above analysis, the formula for calculating the vehicle's real-time center of mass sideslip angle and yaw rate is:
其中,vx为车辆的纵向车速,vy为车辆的侧向车速,ay为车辆的侧向加速度,r为车辆的横摆角速度,β为车辆的质心侧偏角。Among them, vx is the longitudinal speed of the vehicle, vy is the lateral speed of the vehicle, ay is the lateral acceleration of the vehicle, r is the yaw rate of the vehicle, and β is the sideslip angle of the center of mass of the vehicle.
根据质心侧偏角和横摆角速度判断车辆状态是否超出稳定域范围,超出稳定域的换道轨迹则要剔除,最终保留满足车辆稳定域的换道轨迹。Whether the vehicle state exceeds the stable domain is determined based on the sideslip angle of the center of mass and the yaw angular velocity. The lane-changing trajectory that exceeds the stable domain will be eliminated, and finally the lane-changing trajectory that satisfies the vehicle's stable domain will be retained.
考虑周围车辆、行人等作为环境几何约束,车道线、交通规则等作为道路边界,计算出车辆的全局可行域包含以下部分:Considering surrounding vehicles and pedestrians as environmental geometric constraints, lane lines, traffic rules, etc. as road boundaries, the global feasible domain of the vehicle is calculated to include the following parts:
(I)以本车和前方车辆几何中心,取几何中心到车身最大长度作为几何圆半径,分别记做Rl和Rf,绘制出几何圆,因此,本车和前方车辆的几何圆的相切点成为碰撞的临界点,因此可以得到一个全局可行域的边界线。(I) Take the geometric center of the vehicle and the front vehicle, and take the maximum length from the geometric center to the vehicle body as the radius of the geometric circle, denoted as R l and R f respectively, and draw a geometric circle. Therefore, the tangent point of the geometric circle of the vehicle and the front vehicle becomes the critical point of collision, so a boundary line of the global feasible domain can be obtained.
(II)考虑车道线、交通规则或后方来车的约束,本车和后方车辆的几何圆或车道线的相切点成为碰撞的临界点,结合上述步骤,可以得到一个车辆封闭的全局可行域,在满足分布式驱动电动汽车稳定性的换道轨迹簇中,进一步筛选出符合环境几何约束、车道线、交通规则约束的轨迹簇。(II) Considering the constraints of lane lines, traffic rules or rear vehicles, the tangent point of the geometric circle or lane line between the vehicle and the rear vehicle becomes the critical point of collision. Combining the above steps, a closed global feasible domain of the vehicle can be obtained. Among the lane change trajectory clusters that meet the stability of distributed drive electric vehicles, trajectory clusters that meet the constraints of environmental geometry, lane lines and traffic rules are further screened out.
基于层次分析法(AHP)和逼近于理想的技术(TOPSIS)相结合的改进算法,通过评价稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率指标来选择最优的换道轨迹包含以下部分:Based on the improved algorithm combining the analytic hierarchy process (AHP) and the technique to approach the ideal (TOPSIS), the optimal lane-changing trajectory is selected by evaluating the stability index, trajectory tracking accuracy index, comfort index and lane-changing efficiency index. The algorithm includes the following parts:
(I)评价指标的建立。(I) Establishment of evaluation indicators.
a).分别建立换道轨迹规划的稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率等评价指标:a). Establish evaluation indicators such as stability index, trajectory tracking accuracy index, comfort index and lane changing efficiency of lane changing trajectory planning respectively:
构建车辆稳定性指标:Constructing vehicle stability index:
其中,Js为车辆稳定性评价指标,为换道时间,Fyi(t)为前轴或后轴的侧向力关于时间的函数表达式,Fzi(t)为前轴或后轴的垂向载荷关于时间的函数表达式,为路面附着系数的门限值。Among them, Js is the vehicle stability evaluation index, is the lane changing time, F yi (t) is the function expression of the lateral force of the front axle or rear axle with respect to time, F zi (t) is the function expression of the vertical load of the front axle or rear axle with respect to time, is the threshold value of the road adhesion coefficient.
b).构建车辆轨迹跟踪准确性指标:b). Construct vehicle trajectory tracking accuracy indicators:
其中,Jt为车辆轨迹跟踪准确性评价指标,为换道时间,vx为车辆纵向车速,为车辆质心侧偏角角速度函数表达式,为质心侧偏角门限值;h(t)为车辆的理想规划轨迹;y(t)为车辆的实际行驶轨迹;为理想规划轨迹与实际行驶轨迹误差的门限值。Among them, Jt is the vehicle trajectory tracking accuracy evaluation index, is the lane changing time, vx is the longitudinal speed of the vehicle, is the angular velocity function expression of the vehicle's center of mass sideslip angle, is the center of mass sideslip angle threshold; h(t) is the ideal planned trajectory of the vehicle; y(t) is the actual driving trajectory of the vehicle; is the threshold value of the error between the ideal planned trajectory and the actual driving trajectory.
c).构建车辆舒适性指标:c). Construct vehicle comfort index:
其中,Jc为车辆舒适性评价指标,为换道时间,ay(t)为车辆的纵向加速度,为车辆侧向加速度门限值,θ(t)为侧倾角,为侧倾角门限值。Among them, J c is the vehicle comfort evaluation index, is the lane changing time, a y (t) is the longitudinal acceleration of the vehicle, is the vehicle lateral acceleration threshold, θ(t) is the roll angle, is the roll angle threshold.
d).构建换道效率性指标:d). Constructing lane-changing efficiency index:
其中,Je为车辆换道效率评价指标,为换道时间。Among them, Je is the vehicle lane-changing efficiency evaluation index, The lane change time.
(II)基于层次分析法(AHP)和逼近于理想的技术(TOPSIS)相结合的改进算法。(II) An improved algorithm based on the combination of the analytic hierarchy process (AHP) and the technique of approaching the ideal (TOPSIS).
a).判断矩阵构建。在上述满足约束条件的轨迹簇计算出最优的换道轨迹簇,其可以克服单独使用TOPSIS算法在多目标计算过程中的繁琐,克服单独使用AHP算法计算过程中的主观性,目标层A包括m个评价指标A1,A2,A3,…,Am,目标层A分别对应矩阵B的确定影响指标J1,J2,J3,J4,…,Jn,构建判断矩阵B,其阶数为n×n阶,矩阵B如下所示:a). Construction of judgment matrix. The optimal lane-changing trajectory cluster is calculated from the trajectory clusters that meet the constraints. This can overcome the tediousness of using the TOPSIS algorithm alone in the multi-objective calculation process and the subjectivity of using the AHP algorithm alone in the calculation process. The target layer A includes m evaluation indicators A 1 , A 2 , A 3 , …, A m . The target layer A corresponds to the determination of the influencing indicators J 1 , J 2 , J 3 , J 4 , …, J n of the matrix B. The judgment matrix B is constructed with an order of n×n. The matrix B is shown as follows:
其中,矩阵中的元素bij为换道轨迹规划评价指标Ji对于换道轨迹评价指标Jj的重要程度,bji=1/bij。当元素bij=1时,所述的两个换道轨迹规划评价指标同等重要;当元素bij=3时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj稍微重要;当元素bij=5时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj明显重要;当元素bij=7时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj强烈重要;当元素bij=9时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj绝对重要;当元素的值为2、4、6、8时,表示其处于元素的值为1、3、5、7、9的中间状态。Among them, the element bij in the matrix is the importance of the lane-changing trajectory planning evaluation index Ji to the lane-changing trajectory planning evaluation index Jj , bji = 1/ bij . When the element bij = 1, the two lane-changing trajectory planning evaluation indicators are equally important; when the element bij = 3, the lane-changing trajectory planning evaluation index Ji is slightly more important than the lane-changing trajectory planning evaluation index Jj ; when the element bij = 5, the lane-changing trajectory planning evaluation index Ji is significantly more important than the lane-changing trajectory planning evaluation index Jj ; when the element bij = 7, the lane-changing trajectory planning evaluation index Ji is strongly more important than the lane-changing trajectory planning evaluation index Jj; when the element bij = 9, the lane-changing trajectory planning evaluation index Ji is absolutely more important than the lane-changing trajectory planning evaluation index Jj ; when the value of the element is 2, 4, 6, 8, it means that it is in the middle state of the element value of 1, 3, 5, 7, 9.
b).确定指标权重。根据上述的判断矩阵,计算其每一列的和,同时对每列元素规范化,进一步将规范化的结果按照行相加,计算得到方根向量,最终归一化方根向量得到排序权向量,计算公式为:b). Determine the indicator weight. According to the above judgment matrix, calculate the sum of each column, normalize the elements of each column, and further add the normalized results by row to calculate the square root vector. Finally, the normalized square root vector is used to obtain the ranking weight vector. The calculation formula is:
其中,为对每列元素规范化的结果,bij为判断矩阵中的元素,Wi为归一化处理结果按照行相加的结果,Wi为排序权向量。in, is the result of normalizing the elements in each column, bij is the element in the judgment matrix, Wi is the result of adding the normalized results in rows, and Wi is the sorting weight vector.
c).一致性检验。先计算判断矩阵B的最大特征根,接着对其一致性检验,得到一致性比率,当一致性比率小于0.1时,那么判断矩阵的一致性符合条件。c). Consistency test. First calculate the maximum eigenvalue of the judgment matrix B, then perform a consistency test on it to obtain the consistency ratio. When the consistency ratio is less than 0.1, the consistency of the judgment matrix meets the conditions.
其中,λmax为判断矩阵的最大特征根,矩阵B为判断矩阵,Wi为排序权向量,w为排序权向量中的元素,CI为一致性检验标准,CR为一致性比率,RI为平均随机一致性指标,n为判断矩阵的行或列的阶数。Among them, λ max is the maximum eigenvalue of the judgment matrix, matrix B is the judgment matrix, Wi is the sorting weight vector, w is the element in the sorting weight vector, CI is the consistency test standard, CR is the consistency ratio, RI is the average random consistency index, and n is the order of rows or columns of the judgment matrix.
d).层次总排序。在层次单排序结果的基础上,计算出指标层相对于目标层的最佳方案合成权重。假设目标层A包括m个评价指标A1,A2,A3,…,Am,目标层评价指标所对应的权重a1,a2,a3,…,am,指标层J包括n个评价指标J1,J2,J3,J4,…,Jn,对应某个目标层Ai的权重为c1i,c2i,c3i,…,cni。因此指标层的各个指标所对应的权重分别为c1,c2,c3,…,cn。d). Total hierarchical sorting. Based on the results of hierarchical single sorting, calculate the composite weight of the best solution of the indicator layer relative to the target layer. Assume that the target layer A includes m evaluation indicators A 1 , A 2 , A 3 , …, A m , and the weights corresponding to the evaluation indicators of the target layer are a 1 , a 2 , a 3 , …, a m , and the indicator layer J includes n evaluation indicators J 1 , J 2 , J 3 , J 4 , …, J n , and the weight corresponding to a certain target layer A i is c 1i , c 2i , c 3i , …, c ni . Therefore, the weights corresponding to each indicator of the indicator layer are c 1 , c 2 , c 3 , …, c n .
其中,cj为指标层的各个指标所对应的权重,cij为对应某个目标层Ai的权重,ai为目标层的评价指标所对应的权重。Among them, cj is the weight corresponding to each indicator of the indicator layer, cij is the weight corresponding to a certain target layer Ai , and ai is the weight corresponding to the evaluation indicator of the target layer.
e).初始评价指标建立。假设n个评价指标为J={J1,J2,J3,...,Jn},其中每一评价指标均有m个特征指标R={r1,r2,r3,…,rm},则初始评价矩阵为:e). Initial evaluation index establishment. Assuming that n evaluation indexes are J = {J 1 , J 2 , J 3 , ..., J n }, each of which has m characteristic indexes R = {r 1 , r 2 , r 3 , ..., r m }, the initial evaluation matrix is:
其中,rij为在目标层中第i评价目标的第j指标。Among them, rij is the jth indicator of the i-th evaluation target in the target layer.
f).矩阵标准化。因为各评价指标有不同的量纲,所以对各个评价指标归一化,计算公式为:f). Matrix standardization. Because each evaluation index has different dimensions, each evaluation index is normalized and the calculation formula is:
加权标准化矩阵计算过程为:The calculation process of the weighted normalization matrix is:
H=(vij)n×m=(ωjrij)n×m H=(v ij ) n×m = (ω j r ij ) n×m
其中,rij为在目标层中第i评价目标的第j评价指标,vij表示加权之后的第i行、j列元素,ωj表示第j评价指标权重。Among them, rij is the jth evaluation index of the i-th evaluation target in the target layer, vij represents the weighted element of the i-th row and j-th column, and ωj represents the weight of the j-th evaluation index.
g).正理想解、负理想解及两者距离的计算。正理想解含义是每个评价指标均取最理想值解,负理想解含义是每个评价指标均取最差值解,其表达式为:g). Calculation of positive ideal solution, negative ideal solution and the distance between them. The positive ideal solution means that each evaluation index takes the most ideal value solution, and the negative ideal solution means that each evaluation index takes the worst value solution. The expression is:
正理想解为: The positive ideal solution is:
负理想解为: The negative ideal solution is:
其中,V+为正理想解,V-为负理想解,J1为效益型指标集,J2为成本型指标集,vij表示加权之后的第i行、j列元素。Among them, V + is the positive ideal solution, V- is the negative ideal solution, J1 is the benefit-type indicator set, J2 is the cost-type indicator set, and vij represents the weighted element in the i-th row and j-th column.
各个评价指标与正理想解、负理想解的距离为:The distance between each evaluation index and the positive ideal solution and the negative ideal solution is:
其中,为各个评价指标与正理想值的距离,为各个评价指标与负理想值的距离,vij表示加权之后的第i行、j列元素,和分别对应正理想解V+和负理想解V-中的元素。in, is the distance between each evaluation index and the positive ideal value, is the distance between each evaluation index and the negative ideal value, vij represents the weighted element in the i-th row and j-th column, and They correspond to the elements in the positive ideal solution V + and the negative ideal solution V- respectively.
h).贴近度计算,计算出评价指标与理想解的相对接近度,当贴近度越大时,说明该换道轨迹更优。h). Closeness calculation: calculate the relative closeness between the evaluation index and the ideal solution. The greater the closeness, the better the lane change trajectory.
贴近度: Closeness:
其中,Ci为贴近度,为各个评价指标与正理想值的距离,为各个评价指标与负理想值的距离,当贴近度Ci越大,即越接近于1的时候,说明该换道轨迹最优,因此最终获得最优的换道轨迹。Among them, Ci is the closeness, is the distance between each evaluation index and the positive ideal value, is the distance between each evaluation index and the negative ideal value. When the closeness Ci is larger, that is, closer to 1, it means that the lane changing trajectory is optimal, so the optimal lane changing trajectory is finally obtained.
本发明还提供一种设备,其特征在于,包括:The present invention also provides a device, characterized in that it comprises:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序;A memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述所述的分布式驱动电动汽车换道轨迹规划方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned distributed drive electric vehicle lane change trajectory planning method.
本发明还提供一种存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如上所述的分布式驱动电动汽车换道轨迹规划方法。The present invention also provides a storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the above-mentioned distributed drive electric vehicle lane change trajectory planning method.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the present invention has the following beneficial effects:
1.揭示分布式驱动电动汽车各功能子系统间力学约束与稳定域机理,将车辆的运动学和动力学特性融入轨迹规划算法中,在车辆上层规划中实现最优轨迹的高效计算;1. Reveal the mechanical constraints and stability domain mechanisms between the functional subsystems of distributed drive electric vehicles, integrate the kinematic and dynamic characteristics of the vehicle into the trajectory planning algorithm, and achieve efficient calculation of the optimal trajectory in the upper-level vehicle planning;
2.基于车辆稳定域、环境几何和道路边界等约束,划分车辆全局可行域,提高最优换道轨迹计算的效率;2. Based on constraints such as vehicle stability domain, environmental geometry, and road boundaries, the global feasible domain of the vehicle is divided to improve the efficiency of optimal lane change trajectory calculation;
3.基于层次分析法(AHP)和逼近于理想的技术(TOPSIS)相结合的改进算法,评价稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率指标来选择最优的换道轨迹,其可以克服单独使用TOPSIS算法在多目标计算过程中的繁琐,克服单独使用AHP算法计算过程中的主观性。3. An improved algorithm based on the combination of the analytic hierarchy process (AHP) and the technique to approach the ideal (TOPSIS) is used to evaluate the stability index, trajectory tracking accuracy index, comfort index and lane changing efficiency index to select the optimal lane changing trajectory. It can overcome the tediousness of using the TOPSIS algorithm alone in the multi-objective calculation process and overcome the subjectivity of the AHP algorithm alone in the calculation process.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实例中分布式驱动智能电动汽车换道轨迹规划系统框图。FIG1 is a block diagram of a lane-changing trajectory planning system for a distributed drive intelligent electric vehicle in an example of the present invention.
图2为分布式驱动智能电动汽车动力学模型。Figure 2 is the dynamic model of a distributed drive intelligent electric vehicle.
图3为分布式驱动智能电动汽车关于车速的稳定域分析结果图。FIG3 is a diagram showing the stability domain analysis results of a distributed drive intelligent electric vehicle regarding vehicle speed.
图4为分布式驱动智能电动汽车关于附着系数的稳定域分析结果图。FIG4 is a diagram showing the stability domain analysis results of the distributed drive intelligent electric vehicle regarding the adhesion coefficient.
图5为分布式驱动智能电动汽车关于前轮转角的稳定域分析结果图。FIG5 is a diagram showing the stability domain analysis results of a distributed drive smart electric vehicle regarding the front wheel turning angle.
具体实施方式DETAILED DESCRIPTION
现在结合附图对本发明作进一步详细的说明。这些附图均为简化的示意图,仅以示意方式说明本发明的基本结构,因此其仅显示与本发明有关的构成。The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
本发明提出一种分布式驱动智能电动汽车换道轨迹规划方法,如图1-5所示,本发明方法具体包括以下步骤:The present invention proposes a distributed drive intelligent electric vehicle lane change trajectory planning method, as shown in Figures 1-5, the method of the present invention specifically includes the following steps:
本发明解决其技术问题所采用的技术方案为,包括如下步骤:The technical solution adopted by the present invention to solve the technical problem comprises the following steps:
步骤一,根据曲线插值法,车辆在某些特定条件下进行轨迹的曲线拟合,选择五次多项式函数作为轨迹规划曲线拟合函数,生成无约束的广义换道轨迹簇;Step 1: According to the curve interpolation method, the vehicle performs curve fitting of the trajectory under certain specific conditions, selects a quintic polynomial function as the trajectory planning curve fitting function, and generates an unconstrained generalized lane change trajectory cluster;
步骤二,分析并总结分布式驱动电动汽车稳定域影响机理,根据上述一系列换道轨迹簇筛选出满足分布式驱动电动汽车稳定域的换道轨迹簇;Step 2: Analyze and summarize the influence mechanism of the stability domain of distributed drive electric vehicles, and select lane changing trajectory clusters that meet the stability domain of distributed drive electric vehicles according to the above series of lane changing trajectory clusters;
步骤三,考虑周围车辆、行人等作为环境几何约束,车道线、交通规则等作为道路边界,计算出车辆的可行域;Step 3: Consider surrounding vehicles and pedestrians as environmental geometric constraints, lane lines, traffic rules, etc. as road boundaries, and calculate the feasible domain of the vehicle;
步骤四,基于层次分析法(Analytic Hierarchy Process,AHP)和逼近于理想的技术(Technique for Order Preference for Similarity to Ideal Solution,TOPSIS)相结合的改进算法,通过评价稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率指标来选择最优的换道轨迹。Step 4: Based on an improved algorithm that combines the analytic hierarchy process (AHP) and the technique for order preference for similarity to ideal solution (TOPSIS), the optimal lane changing trajectory is selected by evaluating the stability index, trajectory tracking accuracy index, comfort index and lane changing efficiency index.
作为上述方案的进一步优选,步骤一中设计无约束的广义换道轨迹簇包含以下部分:As a further optimization of the above solution, the unconstrained generalized lane-changing trajectory cluster designed in
(I)最优纵向位移、速度、加速度、急动度表达式确定。(I) The optimal longitudinal displacement, velocity, acceleration, and jerk expressions are determined.
a).需要最小化纵向波动,并构建最小化纵向波动的性能指标:a). It is necessary to minimize the longitudinal fluctuation and construct a performance indicator to minimize the longitudinal fluctuation:
需要满足以下条件约束:The following constraints need to be met:
其中,ηx为纵向化波动的代价函数,minηx为求解最小化纵向波动的性能指标最小值;τ0为换道轨迹的初始时刻,为换道过程的终止时刻,设初始时刻τ0=0,因此换道过程的时间为x(t)为车辆换道过程中纵向位移函数,和vx(t)表示车辆换道过程中的纵向车速;和ax(t)表示车辆换道过程中的纵向加速度;和jx(t)表示车辆换道过程中的纵向急动度;L为车辆换道的纵向距离,vx0为换道过程中纵向速度的初始值,为换道过程中纵向速度的终值;Among them, η x is the cost function of longitudinal fluctuation, minη x is the minimum value of the performance index for minimizing longitudinal fluctuation; τ 0 is the initial time of the lane change trajectory, is the end time of the lane changing process, and the initial time τ 0 = 0, so the time of the lane changing process is x(t) is the longitudinal displacement function of the vehicle during lane changing, and v x (t) represents the longitudinal speed of the vehicle during the lane change process; and a x (t) represents the longitudinal acceleration of the vehicle during lane change; and j x (t) represent the longitudinal jerk of the vehicle during lane change; L is the longitudinal distance of the vehicle during lane change, v x0 is the initial value of the longitudinal velocity during lane change, is the final value of the longitudinal speed during the lane changing process;
b).为求解上述性能指标,构建哈密顿函数Hx为b). To solve the above performance indicators, construct the Hamiltonian function H x as
其中,κx1为对应vx的拉格朗日算子,κx2为对应ax的拉格朗日算子,κx3为对应jx的拉格朗日算子。Among them, κ x1 is the Lagrangian operator corresponding to v x , κ x2 is the Lagrangian operator corresponding to a x , and κ x3 is the Lagrangian operator corresponding to j x .
c).根据庞特里亚金极大值原理,协态方程表示为:c) According to the Pontryagin maximum principle, the co-state equation is expressed as:
解得:κx1=m0 The solution is: κ x1 = m 0
解得:κx2=m1-m0t The solution is: κ x2 = m 1 - m 0 t
解得: The solution is:
其中,m0、m1和m2为待定常数。Among them, m 0 , m 1 and m 2 are unknown constants.
由极值条件为:The extreme value condition is:
解得: The solution is:
其中, in,
d).在大地坐标系下,根据上述步骤可得换道过程中最优纵向位移、速度、加速度、急动度的表达式为:d). In the geodetic coordinate system, according to the above steps, the expressions of the optimal longitudinal displacement, velocity, acceleration and jerk during the lane change process are:
其中,jx(t)、ax(t)、vx(t)和x(t)分别表示车辆纵向急动度、加速度、速度和位移的函数,t为时间作为函数的自变量,为换道时间,L为车辆换道的纵向距离,vx0为纵向速度的初始值。Where j x (t), a x (t), v x (t) and x (t) represent the functions of the vehicle longitudinal jerk, acceleration, velocity and displacement, respectively, and t is the time as the independent variable of the function. is the lane changing time, L is the longitudinal distance of the vehicle changing lanes, and vx0 is the initial value of the longitudinal speed.
(II)最优侧向位移、速度、加速度、急动度表达式确定。(II) The optimal lateral displacement, velocity, acceleration, and jerk expressions are determined.
a).需要最小化侧向波动,并构建最小化侧向波动的性能指标:a). It is necessary to minimize lateral fluctuations and construct performance indicators that minimize lateral fluctuations:
需要满足以下条件约束:The following constraints need to be met:
其中,ηy为侧向化波动的代价函数,minηy为求解最小化侧向波动的性能指标最小值;τ0为换道轨迹的初始时刻,为换道过程的终止时刻,设初始时刻τ0=0,因此换道过程的时间为y(t)表示车辆换道过程中的侧向位移函数,和vy(t)表示车辆换道过程中的侧向车速;和ay(t)表示车辆换道过程中的侧向加速度;和jy(t)表示车辆换道过程中的侧向急动度;D为车辆换道的侧向距离;vy0为换道过程中侧向速度的初始值,为换道过程中侧向速度的终值;Among them, η y is the cost function of lateral fluctuation, minη y is the minimum value of the performance index for minimizing lateral fluctuation; τ 0 is the initial time of the lane change trajectory, is the end time of the lane changing process, and the initial time τ 0 = 0, so the lane changing process time is y(t) represents the lateral displacement function of the vehicle during lane changing. and vy (t) represents the lateral speed of the vehicle during the lane change process; and a y (t) represents the lateral acceleration of the vehicle during lane change; and j y (t) represent the lateral jerk of the vehicle during lane change; D is the lateral distance of the vehicle during lane change; v y0 is the initial value of the lateral velocity during lane change, is the final value of the lateral speed during the lane changing process;
b).为求解上述性能指标,构建哈密顿函数Hy为b). To solve the above performance indicators, the Hamiltonian function Hy is constructed as
其中,κy1为对应vy的拉格朗日算子,κy2为对应ay的拉格朗日算子,κy3为对应jy的拉格朗日算子。Among them, κ y1 is the Lagrangian operator corresponding to v y , κ y2 is the Lagrangian operator corresponding to a y , and κ y3 is the Lagrangian operator corresponding to j y .
c).根据庞特里亚金极大值原理,协态方程表示为:c) According to the Pontryagin maximum principle, the co-state equation is expressed as:
解得:κy1=n0 The solution is: κ y1 = n 0
解得:κy2=n1-n0t The solution is: κ y2 = n 1 -n 0 t
解得: The solution is:
其中,n0、n1和n2为待定常数。Among them, n 0 , n 1 and n 2 are unknown constants.
由极值条件为:The extreme value condition is:
解得: The solution is:
其中, in,
d).在大地坐标系下,根据上述步骤可得换道过程中最优侧向急动度、加速度、速度、位移的表达式为:d). In the geodetic coordinate system, according to the above steps, the expressions of the optimal lateral jerk, acceleration, velocity and displacement during the lane change process are obtained as follows:
其中,jy(t)、ay(t)、vy(t)和y(t)分别表示车辆侧向急动度、加速度、速度和位移的函数,t为时间作为函数的自变量,为换道时间,D为车辆换道的侧向距离,vy0为侧向速度的初始值。Where j y (t), a y (t), vy (t) and y (t) represent the functions of the vehicle's lateral jerk, acceleration, velocity and displacement, respectively, and t is the time as the independent variable of the function. is the lane changing time, D is the lateral distance of the vehicle changing lanes, and v y0 is the initial value of the lateral speed.
(III)基于五次多项式的分布式驱动智能电动汽车换道轨迹表达式确定。(III) Determination of the lane-changing trajectory expression of a distributed drive intelligent electric vehicle based on a quintic polynomial.
在换道过程中车辆纵向车速保持恒定,纵向加速度不变达到最小化车辆纵向波动的目的,因此可得:During the lane changing process, the longitudinal speed of the vehicle is kept constant, and the longitudinal acceleration is unchanged to minimize the longitudinal fluctuation of the vehicle. Therefore, it can be obtained:
vx(t)=vx0 v x (t) = v x0
其中,vx(t)表示换道过程中纵向车速函数,vx0为纵向车速的初始值。Wherein, v x (t) represents the longitudinal vehicle speed function during the lane changing process, and v x0 is the initial value of the longitudinal vehicle speed.
基于五次多项式的分布式驱动智能电动汽车换道轨迹表达式为:The lane-changing trajectory of a distributed-drive smart electric vehicle based on a quintic polynomial is expressed as:
其中,x(t)为换道过程的纵向位移,y(t)为换道过程的横向位移,t为函数的自变量,在一定的初始车速vx0下,不同的换道时间从而得到一系列无约束的广义换道轨迹簇。Among them, x(t) is the longitudinal displacement of the lane changing process, y(t) is the lateral displacement of the lane changing process, and t is the independent variable of the function. Under a certain initial vehicle speed v x0 , different lane changing times Thus, a series of unconstrained generalized lane-changing trajectory clusters are obtained.
作为上述方案的进一步优选,步骤二筛选满足分布式驱动电动汽车稳定域的换道轨迹簇包含以下部分:As a further optimization of the above solution, step 2 of screening lane change trajectory clusters that meet the stability domain of the distributed drive electric vehicle includes the following parts:
(I)稳定域机理分析。(I) Analysis of stability domain mechanism.
a).分析分布式驱动电动汽车稳定域影响机理,需要建立分布式驱动电动汽车的四轮车辆模型,如图2所示,其动力学方程为a). To analyze the influence mechanism of the stability domain of distributed drive electric vehicles, it is necessary to establish a four-wheel vehicle model of distributed drive electric vehicles, as shown in Figure 2, and its dynamic equation is:
其中,Fyij为轮胎侧向力,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮,r表示横摆角速度,为横摆角速度的一阶导数;β表示质心侧偏角,为质心侧偏角的一阶导数;vx为纵向车速;δf为车辆前轮转角;a为车辆重心到前轴的距离,b为车辆重心到后轴的距离;lf为车辆前轴轴距,lr为车辆后轴轴距;m为整车质量;Iz为绕z轴的转动惯量。Where F yij is the tire lateral force, its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively, r represents the yaw angular velocity, is the first-order derivative of the yaw rate; β represents the sideslip angle of the center of mass, is the first-order derivative of the sideslip angle at the center of mass; vx is the longitudinal vehicle speed; δf is the front wheel turning angle of the vehicle; a is the distance from the center of gravity of the vehicle to the front axle, b is the distance from the center of gravity of the vehicle to the rear axle; lf is the wheelbase of the front axle of the vehicle, lr is the wheelbase of the rear axle of the vehicle; m is the mass of the vehicle; Iz is the moment of inertia about the z-axis.
b).轮胎侧偏角αij计算公式为:b). The tire side slip angle α ij is calculated as follows:
其中,αij为轮胎侧偏角,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮。Among them, α ij is the tire side slip angle, and its subscripts ij=fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively.
c).轮胎垂直载荷Fzij计算公式为:c). The calculation formula of tire vertical load F zij is:
其中,Fzij为轮胎垂直载荷,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;ax为车辆纵向加速度,ay为车辆侧向加速度;h为车辆质心的高度。Wherein, F zij is the vertical load on the tire, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; a x is the longitudinal acceleration of the vehicle, a y is the lateral acceleration of the vehicle; and h is the height of the center of mass of the vehicle.
d).基于Fiala轮胎模型计算轮胎侧向力方程:d). Calculate the tire lateral force equation based on the Fiala tire model:
其中,Fyij为轮胎侧向力,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;Cα为轮胎侧偏刚度;αslij为轮胎进入饱和区域所对应的侧偏角,其下标ij=fl,fr,rl,rr分别表示轮胎左前轮、右前轮、左后轮和右后轮;μ为路面附着系数。Among them, F yij is the tire lateral force, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; C α is the tire cornering stiffness; α slij is the sideslip angle corresponding to the tire entering the saturation area, and its subscripts ij = fl, fr, rl, rr represent the left front wheel, right front wheel, left rear wheel and right rear wheel of the tire respectively; μ is the road adhesion coefficient.
(II)基于相平面的方法进行车辆稳定域机理分析.(II) Analysis of vehicle stability domain mechanism based on phase plane method.
a).根据系统状态方程列出微分方程组:a). List the differential equations according to the system state equation:
由上式可得:From the above formula, we can get:
其中,x1、x2为车辆系统的状态参数,f1(x1,x2)、f2(x1,x2)为车辆系统的微分方程。Wherein, x 1 and x 2 are state parameters of the vehicle system, and f 1 (x 1 ,x 2 ) and f 2 (x 1 ,x 2 ) are differential equations of the vehicle system.
b).在车辆系统中,假设初始状态x0=(x1(0),x2(0))出发的状态轨迹x(t),保持在局部范围内,符合以下条件:b) In the vehicle system, assume that the state trajectory x(t) starting from the initial state x 0 =(x 1 (0), x 2 (0)) remains within the local range and meets the following conditions:
其中,x(t)为车辆状态参数关于时间变化的函数,是确定常数,满足条件则系统在局部范围内渐进稳定,所以此时系统稳定。相平面分析中,稳定轨迹最后收敛到平衡点,不稳定轨迹将无法收敛最后发散。Among them, x(t) is the function of the vehicle state parameter changing with time, is a constant. If the condition is met, the system is asymptotically stable in the local range, so the system is stable at this time. In phase plane analysis, the stable trajectory finally converges to the equilibrium point, and the unstable trajectory will not converge and finally diverge.
(III)基于相平面分析方法,对车辆不同状态进行稳定域分析。(III) Based on the phase plane analysis method, the stability domain analysis of different vehicle states is performed.
分别选择车辆不同绝对车速、路面附着系数、前轮转角对车辆稳定域的影响,具体步骤包括如下:Select the influence of different absolute vehicle speeds, road adhesion coefficients, and front wheel steering angles on the vehicle stability domain. The specific steps include the following:
a).根据相平面分析法,可得关于车辆质心侧偏角β与横摆角速度r的函数方程,β为函数的自变量,r为函数的因变量,稳定域的函数表达式为:a). According to the phase plane analysis method, the function equation of the vehicle's center of mass sideslip angle β and yaw rate r can be obtained. β is the independent variable of the function, r is the dependent variable of the function, and the function expression of the stable domain is:
上述函数表达式中b0、b1、b2、b3分别为:In the above function expression, b 0 , b 1 , b 2 , and b 3 are respectively:
b0=b/vx,b1=tan(αslrl+αslrl),b2=(r2-r1)/(β2-β1),b3=r1-β1(r2-r1)/(β2-β1)b 0 =b/v x , b 1 =tan(α slrl +α slrl ), b 2 =(r 2 -r 1 )/(β 2 -β 1 ), b 3 =r 1 -β 1 (r 2 -r 1 )/(β 2 -β 1 )
r1=ug/vx,r2=vx/(a+b)(tan((αslfl+αslfr)/2+δmax)-tan((αslrl+αslrr)/2)),r 1 =ug/v x , r 2 =v x /(a+b)(tan((α slfl +α slfr )/2+δ max )-tan((α slrl +α slrr )/2)),
β2=b/(a+b)(tan((αslfl+αslfr)/2+δmax)-tan((αslrl+αslrr)/2))+tan((αslrl+αslrr)/2)。β 2 =b/(a+b)(tan((α slfl +α slfr )/2+δ max )-tan((α slrl +α slrr )/2))+tan((α slrl +α slrr ) /2).
上式中的δmax表达式为:The expression of δ max in the above formula is:
其中,b0、b1、b2、b3分别为稳定域函数表达式的待定系数,r1、r2、β1、β2、δmax作为中间变量;αslfl、αslfr、αslrl、αslrr分别为左前、右前、左后、右后轮胎进入饱和区域所对应的侧偏角;a为车辆重心到前轴的距离,b为车辆重心到后轴的距离;vx为车辆的纵向速度,μ为路面附着系数,g为重力加速度。Among them, b0 , b1 , b2 , and b3 are the unknown coefficients of the stable domain function expression respectively; r1 , r2, β1 , β2 , and δmax are intermediate variables; αslfl , αslfr , αslrl , and αslrr are the sideslip angles corresponding to the left front, right front, left rear, and right rear tires entering the saturation area respectively; a is the distance from the center of gravity of the vehicle to the front axle, and b is the distance from the center of gravity of the vehicle to the rear axle; vx is the longitudinal velocity of the vehicle, μ is the road adhesion coefficient, and g is the acceleration of gravity.
b).根据稳定域的划分范围,如图3-5所示,分别选取不同的车辆绝对车速、路面附着系数、前轮转角来分析不同稳定域,具体步骤如下:b). According to the division range of the stability domain, as shown in Figure 3-5, different absolute vehicle speeds, road adhesion coefficients, and front wheel angles are selected to analyze different stability domains. The specific steps are as follows:
当路面附着系数、前轮转角保持不变时,分别选取不同车辆绝对车速10、15、20、25m/s分别进行稳定域分析;When the road adhesion coefficient and the front wheel steering angle remain unchanged, different vehicle absolute speeds of 10, 15, 20, and 25 m/s are selected for stability domain analysis;
当绝对车速、前轮转角保持不变时,分别选取不同路面附着系数0.2、0.4、0.6、0.8、分别进行稳定域分析;When the absolute vehicle speed and the front wheel steering angle remain unchanged, different road adhesion coefficients of 0.2, 0.4, 0.6, and 0.8 are selected to perform stability domain analysis;
当绝对车速、路面附着系数保持不变时,分别选取不同前轮转角0、5、10、15deg分别进行稳定域分析。When the absolute vehicle speed and road adhesion coefficient remain unchanged, different front wheel steering angles of 0, 5, 10, and 15 degrees are selected for stability domain analysis.
c).根据上述分析得到的稳定域集,结合车辆实时的质心侧偏角和横摆角速度计算公式:c). Based on the stability domain set obtained from the above analysis, the formula for calculating the vehicle's real-time center of mass sideslip angle and yaw rate is:
其中,vx为车辆的纵向车速,vy为车辆的侧向车速,ay为车辆的侧向加速度,r为车辆的横摆角速度,β为车辆的质心侧偏角。Among them, vx is the longitudinal speed of the vehicle, vy is the lateral speed of the vehicle, ay is the lateral acceleration of the vehicle, r is the yaw rate of the vehicle, and β is the sideslip angle of the center of mass of the vehicle.
根据质心侧偏角和横摆角速度判断车辆状态是否超出稳定域范围,超出稳定域的换道轨迹则要剔除,最终保留满足车辆稳定域的换道轨迹。Whether the vehicle state exceeds the stable domain is determined based on the sideslip angle of the center of mass and the yaw angular velocity. The lane-changing trajectory that exceeds the stable domain will be eliminated, and finally the lane-changing trajectory that satisfies the vehicle's stable domain will be retained.
作为上述方案的进一步优选,步骤三考虑周围车辆、行人等作为环境几何约束,车道线、交通规则等作为道路边界,计算出车辆的全局可行域包含以下部分:As a further optimization of the above scheme, step 3 considers surrounding vehicles and pedestrians as environmental geometric constraints, lane lines, traffic rules, etc. as road boundaries, and calculates the global feasible domain of the vehicle to include the following parts:
(I)以本车和前方车辆几何中心,取几何中心到车身最大长度作为几何圆半径,分别记做Rl和Rf,绘制出几何圆,因此,本车和前方车辆的几何圆的相切点成为碰撞的临界点,因此可以得到一个全局可行域的边界线。(I) Take the geometric center of the vehicle and the front vehicle, and take the maximum length from the geometric center to the vehicle body as the radius of the geometric circle, denoted as R l and R f respectively, and draw a geometric circle. Therefore, the tangent point of the geometric circle of the vehicle and the front vehicle becomes the critical point of collision, so a boundary line of the global feasible domain can be obtained.
(II)考虑车道线、交通规则或后方来车的约束,本车和后方车辆的几何圆或车道线的相切点成为碰撞的临界点,结合上述步骤,可以得到一个车辆封闭的全局可行域,在满足分布式驱动电动汽车稳定性的换道轨迹簇中,进一步筛选出符合环境几何约束、车道线、交通规则约束的轨迹簇。(II) Considering the constraints of lane lines, traffic rules or rear vehicles, the tangent point of the geometric circle or lane line between the vehicle and the rear vehicle becomes the critical point of collision. Combining the above steps, a closed global feasible domain of the vehicle can be obtained. Among the lane change trajectory clusters that meet the stability of distributed drive electric vehicles, trajectory clusters that meet the constraints of environmental geometry, lane lines and traffic rules are further screened out.
作为上述方案的进一步优选,步骤四基于层次分析法(AHP)和逼近于理想的技术(TOPSIS)相结合的改进算法,通过评价稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率指标来选择最优的换道轨迹包含以下部分:As a further optimization of the above scheme, step 4 is based on an improved algorithm combining the analytic hierarchy process (AHP) and the technique to approach the ideal (TOPSIS), and selects the optimal lane-changing trajectory by evaluating the stability index, trajectory tracking accuracy index, comfort index and lane-changing efficiency index, which includes the following parts:
(I)评价指标的建立。(I) Establishment of evaluation indicators.
a).分别建立换道轨迹规划的稳定性指标、轨迹跟踪准确性指标、舒适性指标和换道效率等评价指标:a). Establish evaluation indicators such as stability index, trajectory tracking accuracy index, comfort index and lane changing efficiency of lane changing trajectory planning respectively:
构建车辆稳定性指标:Constructing vehicle stability index:
其中,Js为车辆稳定性评价指标,为换道时间,Fyi(t)为前轴或后轴的侧向力关于时间的函数表达式,Fzi(t)为前轴或后轴的垂向载荷关于时间的函数表达式,为路面附着系数的门限值。Among them, Js is the vehicle stability evaluation index, is the lane changing time, F yi (t) is the function expression of the lateral force of the front axle or rear axle with respect to time, F zi (t) is the function expression of the vertical load of the front axle or rear axle with respect to time, is the threshold value of the road adhesion coefficient.
b).构建车辆轨迹跟踪准确性指标:b). Construct vehicle trajectory tracking accuracy indicators:
其中,Jt为车辆轨迹跟踪准确性评价指标,为换道时间,vx为车辆纵向车速,为车辆质心侧偏角角速度函数表达式,为质心侧偏角门限值;h(t)为车辆的理想规划轨迹;y(t)为车辆的实际行驶轨迹;为理想规划轨迹与实际行驶轨迹误差的门限值。Among them, Jt is the vehicle trajectory tracking accuracy evaluation index, is the lane changing time, vx is the longitudinal speed of the vehicle, is the angular velocity function expression of the vehicle's center of mass sideslip angle, is the center of mass sideslip angle threshold; h(t) is the ideal planned trajectory of the vehicle; y(t) is the actual driving trajectory of the vehicle; is the threshold value of the error between the ideal planned trajectory and the actual driving trajectory.
c).构建车辆舒适性指标:c). Construct vehicle comfort index:
其中,Jc为车辆舒适性评价指标,为换道时间,ay(t)为车辆的纵向加速度,为车辆侧向加速度门限值,θ(t)为侧倾角,为侧倾角门限值。Among them, J c is the vehicle comfort evaluation index, is the lane changing time, a y (t) is the longitudinal acceleration of the vehicle, is the vehicle lateral acceleration threshold, θ(t) is the roll angle, is the roll angle threshold.
d).构建换道效率性指标:d). Constructing lane-changing efficiency index:
其中,Je为车辆换道效率评价指标,为换道时间。Among them, Je is the vehicle lane-changing efficiency evaluation index, The lane change time.
(II)基于层次分析法(AHP)和逼近于理想的技术(TOPSIS)相结合的改进算法。(II) An improved algorithm based on the combination of the analytic hierarchy process (AHP) and the technique of approaching the ideal (TOPSIS).
a).判断矩阵构建。在上述满足约束条件的轨迹簇计算出最优的换道轨迹簇,其可以克服单独使用TOPSIS算法在多目标计算过程中的繁琐,克服单独使用AHP算法计算过程中的主观性,目标层A包括m个评价指标A1,A2,A3,…,Am,目标层A分别对应矩阵B的确定影响指标J1,J2,J3,J4,…,Jn,构建判断矩阵B,其阶数为n×n阶,矩阵B如下所示:a). Construction of judgment matrix. The optimal lane-changing trajectory cluster is calculated from the trajectory clusters that meet the constraints. This can overcome the tediousness of using the TOPSIS algorithm alone in the multi-objective calculation process and the subjectivity of using the AHP algorithm alone in the calculation process. The target layer A includes m evaluation indicators A 1 , A 2 , A 3 , …, A m . The target layer A corresponds to the determination of the influencing indicators J 1 , J 2 , J 3 , J 4 , …, J n of the matrix B. The judgment matrix B is constructed with an order of n×n. The matrix B is shown as follows:
其中,矩阵中的元素bij为换道轨迹规划评价指标Ji对于换道轨迹评价指标Jj的重要程度,bji=1/bij。当元素bij=1时,所述的两个换道轨迹规划评价指标同等重要;当元素bij=3时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj稍微重要;当元素bij=5时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj明显重要;当元素bij=7时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj强烈重要;当元素bij=9时,换道轨迹规划评价指标Ji比换道轨迹规划评价指标Jj绝对重要;当元素的值为2、4、6、8时,表示其处于元素的值为1、3、5、7、9的中间状态。Among them, the element bij in the matrix is the importance of the lane-changing trajectory planning evaluation index Ji to the lane-changing trajectory planning evaluation index Jj , bji = 1/ bij . When the element bij = 1, the two lane-changing trajectory planning evaluation indicators are equally important; when the element bij = 3, the lane-changing trajectory planning evaluation index Ji is slightly more important than the lane-changing trajectory planning evaluation index Jj ; when the element bij = 5, the lane-changing trajectory planning evaluation index Ji is significantly more important than the lane-changing trajectory planning evaluation index Jj ; when the element bij = 7, the lane-changing trajectory planning evaluation index Ji is strongly more important than the lane-changing trajectory planning evaluation index Jj; when the element bij = 9, the lane-changing trajectory planning evaluation index Ji is absolutely more important than the lane-changing trajectory planning evaluation index Jj ; when the value of the element is 2, 4, 6, 8, it means that it is in the middle state of the element value of 1, 3, 5, 7, 9.
b).确定指标权重。根据上述的判断矩阵,计算其每一列的和,同时对每列元素规范化,进一步将规范化的结果按照行相加,计算得到方根向量,最终归一化方根向量得到排序权向量,计算公式为:b). Determine the indicator weight. According to the above judgment matrix, calculate the sum of each column, normalize the elements of each column, and further add the normalized results by row to calculate the square root vector. Finally, normalize the square root vector to get the ranking weight vector. The calculation formula is:
其中,为对每列元素规范化的结果,bij为判断矩阵中的元素,为归一化处理结果按照行相加的结果,Wi为排序权向量。in, is the result of normalizing each column element, bij is the element in the judgment matrix, is the result of adding the normalized results in rows, and Wi is the sorting weight vector.
c).一致性检验。先计算判断矩阵B的最大特征根,接着对其一致性检验,得到一致性比率,当一致性比率小于0.1时,那么判断矩阵的一致性符合条件。c). Consistency test. First calculate the maximum eigenvalue of the judgment matrix B, then perform a consistency test on it to obtain the consistency ratio. When the consistency ratio is less than 0.1, the consistency of the judgment matrix meets the conditions.
其中,λmax为判断矩阵的最大特征根,矩阵B为判断矩阵,Wi为排序权向量,w为排序权向量中的元素,CI为一致性检验标准,CR为一致性比率,RI为平均随机一致性指标,n为判断矩阵的行或列的阶数。Among them, λ max is the maximum eigenvalue of the judgment matrix, matrix B is the judgment matrix, Wi is the sorting weight vector, w is the element in the sorting weight vector, CI is the consistency test standard, CR is the consistency ratio, RI is the average random consistency index, and n is the order of rows or columns of the judgment matrix.
d).层次总排序。在层次单排序结果的基础上,计算出指标层相对于目标层的最佳方案合成权重。假设目标层A包括m个评价指标A1,A2,A3,…,Am,目标层评价指标所对应的权重a1,a2,a3,…,am,指标层J包括n个评价指标J1,J2,J3,J4,…,Jn,对应某个目标层Ai的权重为c1i,c2i,c3i,…,cni。因此指标层的各个指标所对应的权重分别为c1,c2,c3,…,cn。d). Total hierarchical sorting. Based on the results of hierarchical single sorting, calculate the composite weight of the best solution of the indicator layer relative to the target layer. Assume that the target layer A includes m evaluation indicators A 1 , A 2 , A 3 , …, A m , and the weights corresponding to the evaluation indicators of the target layer are a 1 , a 2 , a 3 , …, a m , and the indicator layer J includes n evaluation indicators J 1 , J 2 , J 3 , J 4 , …, J n , and the weight corresponding to a certain target layer A i is c 1i , c 2i , c 3i , …, c ni . Therefore, the weights corresponding to each indicator of the indicator layer are c 1 , c 2 , c 3 , …, c n .
其中,cj为指标层的各个指标所对应的权重,cij为对应某个目标层Ai的权重,ai为目标层的评价指标所对应的权重。Among them, cj is the weight corresponding to each indicator of the indicator layer, cij is the weight corresponding to a certain target layer Ai , and ai is the weight corresponding to the evaluation indicator of the target layer.
e).初始评价指标建立。假设n个评价指标为J={J1,J2,J3,...,Jn},其中每一评价指标均有m个特征指标R={r1,r2,r3,…,rm},则初始评价矩阵为:e). Initial evaluation index establishment. Assuming that n evaluation indexes are J = {J 1 , J 2 , J 3 , ..., J n }, each of which has m characteristic indexes R = {r 1 , r 2 , r 3 , ..., r m }, the initial evaluation matrix is:
其中,rij为在目标层中第i评价目标的第j指标。Among them, rij is the jth indicator of the i-th evaluation target in the target layer.
f).矩阵标准化。因为各评价指标有不同的量纲,所以对各个评价指标归一化,计算公式为:f). Matrix standardization. Because each evaluation index has different dimensions, each evaluation index is normalized and the calculation formula is:
加权标准化矩阵计算过程为:The calculation process of the weighted normalization matrix is:
H=(vij)n×m=(ωjrij)n×m H=(v ij ) n×m = (ω j r ij ) n×m
其中,rij为在目标层中第i评价目标的第j评价指标,vij表示加权之后的第i行、j列元素,ωj表示第j评价指标权重。Among them, rij is the jth evaluation index of the i-th evaluation target in the target layer, vij represents the weighted element of the i-th row and j-th column, and ωj represents the weight of the j-th evaluation index.
g).正理想解、负理想解及两者距离的计算。正理想解含义是每个评价指标均取最理想值解,负理想解含义是每个评价指标均取最差值解,其表达式为:g). Calculation of positive ideal solution, negative ideal solution and the distance between them. The positive ideal solution means that each evaluation index takes the most ideal value solution, and the negative ideal solution means that each evaluation index takes the worst value solution. The expression is:
正理想解为: The positive ideal solution is:
负理想解为: The negative ideal solution is:
其中,V+为正理想解,V-为负理想解,J1为效益型指标集,J2为成本型指标集,vij表示加权之后的第i行、j列元素。Among them, V + is the positive ideal solution, V- is the negative ideal solution, J1 is the benefit-type indicator set, J2 is the cost-type indicator set, and vij represents the weighted element in the i-th row and j-th column.
各个评价指标与正理想解、负理想解的距离为:The distance between each evaluation index and the positive ideal solution and the negative ideal solution is:
其中,为各个评价指标与正理想值的距离,为各个评价指标与负理想值的距离,vij表示加权之后的第i行、j列元素,和分别对应正理想解V+和负理想解V-中的元素。in, is the distance between each evaluation index and the positive ideal value, is the distance between each evaluation index and the negative ideal value, vij represents the weighted element in the i-th row and j-th column, and They correspond to the elements in the positive ideal solution V + and the negative ideal solution V- respectively.
h).贴近度计算,计算出评价指标与理想解的相对接近度,当贴近度越大时,说明该换道轨迹更优。h). Closeness calculation: calculate the relative closeness between the evaluation index and the ideal solution. The greater the closeness, the better the lane change trajectory.
贴近度: Closeness:
其中,Ci为贴近度,为各个评价指标与正理想值的距离,为各个评价指标与负理想值的距离,当贴近度Ci越大,即越接近于1的时候,说明该换道轨迹最优,因此最终获得最优的换道轨迹。Among them, Ci is the closeness, is the distance between each evaluation index and the positive ideal value, is the distance between each evaluation index and the negative ideal value. When the closeness Ci is larger, that is, closer to 1, it means that the lane changing trajectory is optimal, so the optimal lane changing trajectory is finally obtained.
本发明实施例还提供一种电子设备,包括:An embodiment of the present invention further provides an electronic device, including:
一个或多个处理器;one or more processors;
存储器,用于存储一个或多个程序;A memory for storing one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述所述的分布式驱动电动汽车换道轨迹规划方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned distributed drive electric vehicle lane change trajectory planning method.
通过该设备,可以得到分布式驱动电动汽车换道轨迹规划方法,并将得到的最佳轨迹发送给分布式驱动智能电动汽车。Through the device, a lane-changing trajectory planning method for a distributed drive electric vehicle can be obtained, and the obtained optimal trajectory can be sent to the distributed drive intelligent electric vehicle.
本发明实施例还提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的分布式驱动电动汽车换道轨迹规划方法。An embodiment of the present invention further provides a storage medium on which a computer program is stored. When the program is executed by a processor, the distributed drive electric vehicle lane change trajectory planning method as described above is implemented.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语)具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样定义,不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless defined as herein.
本申请中所述的“和/或”的含义指的是各自单独存在或两者同时存在的情况均包括在内。The meaning of "and/or" described in this application means that the situations where each exists alone or both exist at the same time are included.
本申请中所述的“连接”的含义可以是部件之间的直接连接也可以是部件间通过其它部件的间接连接。The term “connection” as used in this application may mean a direct connection between components or an indirect connection between components via other components.
以上述依据本发明的理想实施例为启示,通过上述的说明内容,相关工作人员完全可以在不偏离本项发明技术思想的范围内,进行多样的变更以及修改。本项发明的技术性范围并不局限于说明书上的内容,必须要根据权利要求范围来确定其技术性范围。Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310233644.4A CN116331256A (en) | 2023-03-13 | 2023-03-13 | Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310233644.4A CN116331256A (en) | 2023-03-13 | 2023-03-13 | Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116331256A true CN116331256A (en) | 2023-06-27 |
Family
ID=86892329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310233644.4A Pending CN116331256A (en) | 2023-03-13 | 2023-03-13 | Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116331256A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116909268A (en) * | 2023-06-30 | 2023-10-20 | 广东省机场管理集团有限公司工程建设指挥部 | 5G-based path planning method, device, equipment and medium for walking robot |
-
2023
- 2023-03-13 CN CN202310233644.4A patent/CN116331256A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116909268A (en) * | 2023-06-30 | 2023-10-20 | 广东省机场管理集团有限公司工程建设指挥部 | 5G-based path planning method, device, equipment and medium for walking robot |
CN116909268B (en) * | 2023-06-30 | 2024-05-28 | 广东省机场管理集团有限公司工程建设指挥部 | 5G-based path planning method, device, equipment and medium for walking robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111845774B (en) | Automatic driving automobile dynamic trajectory planning and tracking method based on transverse and longitudinal coordination | |
Huang et al. | Personalized trajectory planning and control of lane-change maneuvers for autonomous driving | |
Zhou et al. | Multiobjective optimization of lane-changing strategy for intelligent vehicles in complex driving environments | |
You et al. | Autonomous planning and control for intelligent vehicles in traffic | |
CN107561942B (en) | Intelligent vehicle trajectory tracking model prediction control method based on model compensation | |
Liu et al. | Handling and stability integrated control of AFS and DYC for distributed drive electric vehicles based on risk assessment and prediction | |
Mo et al. | Interval type-2 fuzzy hierarchical adaptive cruise following-control for intelligent vehicles | |
CN113650609B (en) | Flexible transfer method and system for man-machine co-driving control power based on fuzzy rule | |
Xu et al. | Driving behavior modeling and characteristic learning for human-like decision-making in highway | |
Li et al. | Path planning and obstacle avoidance control for autonomous multi-axis distributed vehicle based on dynamic constraints | |
CN111923916B (en) | Human-simulated steering modeling method and steering control system based on visual perception behaviors and ANFIS | |
Zhang et al. | Combined prediction for vehicle speed with fixed route | |
Zhang et al. | Driving behavior oriented torque demand regulation for electric vehicles with single pedal driving | |
Li et al. | Dynamically integrated spatiotemporal‐based trajectory planning and control for autonomous vehicles | |
CN116560371A (en) | Path Tracking Method for Autonomous Vehicles Based on Adaptive Model Predictive Control | |
Alika et al. | A modified sliding mode controller based on fuzzy logic to control the longitudinal dynamics of the autonomous vehicle | |
CN116331256A (en) | Track changing planning method, track changing planning equipment and track changing planning storage medium for distributed driving electric automobile | |
Liu et al. | Spatiotemporal trajectory planning for autonomous vehicle based on reachable set and iterative LQR | |
Yang et al. | A longitudinal/lateral coupled neural network model predictive controller for path tracking of self-driving vehicle | |
Tang et al. | Learning-based hierarchical cooperative eco-driving with traffic flow prediction for hybrid electric vehicles | |
Feiyan et al. | A review of machine learning on energy management strategy for hybrid electric vehicles | |
Gao et al. | Adaptive model predictive control for intelligent vehicle trajectory tracking considering road curvature | |
Guo et al. | Bi-Level Optimization of Speed Trajectory and Power Management for Autonomous HEVs in Off-Road Scenarios | |
CN113184040B (en) | Unmanned vehicle line-controlled steering control method and system based on steering intention of driver | |
CN118220143A (en) | A personalized human-machine collaborative lane keeping robust control method, system and medium |
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 |