[go: up one dir, main page]

CN113085853B - An assisted driving system for actively dodging large vehicles in the lane - Google Patents

An assisted driving system for actively dodging large vehicles in the lane Download PDF

Info

Publication number
CN113085853B
CN113085853B CN202110451317.7A CN202110451317A CN113085853B CN 113085853 B CN113085853 B CN 113085853B CN 202110451317 A CN202110451317 A CN 202110451317A CN 113085853 B CN113085853 B CN 113085853B
Authority
CN
China
Prior art keywords
vehicle
target
module
count
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110451317.7A
Other languages
Chinese (zh)
Other versions
CN113085853A (en
Inventor
刘兴亮
刘之光
方锐
刘世东
周景岩
孟宪明
付会通
李洪亮
崔东
杨帅
季中豪
张慧
邢智超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Technology and Research Center Co Ltd
CATARC Tianjin Automotive Engineering Research Institute Co Ltd
Original Assignee
China Automotive Technology and Research Center Co Ltd
CATARC Tianjin Automotive Engineering Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Automotive Technology and Research Center Co Ltd, CATARC Tianjin Automotive Engineering Research Institute Co Ltd filed Critical China Automotive Technology and Research Center Co Ltd
Priority to CN202110451317.7A priority Critical patent/CN113085853B/en
Publication of CN113085853A publication Critical patent/CN113085853A/en
Application granted granted Critical
Publication of CN113085853B publication Critical patent/CN113085853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • B60W30/095Predicting travel path or likelihood of collision
    • B60W30/0956Predicting travel path or likelihood of collision the prediction being responsive to traffic or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Traffic Control Systems (AREA)

Abstract

本发明提供了一种车道内主动躲闪大型车辆的辅助驾驶系统,包括感知模块、决策模块、规划模块、跟踪模块和控制器,所述感知模块包括环境感知传感器,环境感知传感器信号连接至决策模块的输入端,决策模块通过环境感知传感器信号确定辅助驾驶系统的四种状态,决策模块输出端信号连接至规划模块的输入端,规划模块用于规划偏离和回归两个过程的车辆运动轨迹,规划模块输出端信号连接至跟踪模块的输入端。本发明所述的一种车道内主动躲闪大型车辆的辅助驾驶系统可实现在超越大型车辆场景下的自动目标识别、决策、主动躲闪轨迹规划以及躲闪动作执行功能,可提升车辆在该场景下的侧向碰撞安全性,以及驾乘人员的安心感。

Figure 202110451317

The invention provides an assisted driving system for actively dodging large vehicles in a lane, comprising a perception module, a decision module, a planning module, a tracking module and a controller, the perception module includes an environment perception sensor, and the signal of the environment perception sensor is connected to the decision module The input terminal of the decision module determines the four states of the assisted driving system through the signal of the environmental perception sensor. The output terminal of the decision module is connected to the input terminal of the planning module. The planning module is used to plan the vehicle motion trajectory of the two processes of deviation and regression. The module output signal is connected to the input of the tracking module. The assisted driving system for actively dodging large vehicles in the lane according to the present invention can realize automatic target recognition, decision-making, active dodging trajectory planning and dodging action execution functions in the scene of overtaking large vehicles, and can improve the vehicle's performance in this scene. Side-impact safety, and the peace of mind of the driver and occupant.

Figure 202110451317

Description

一种车道内主动躲闪大型车辆的辅助驾驶系统An assisted driving system for actively dodging large vehicles in the lane

技术领域technical field

本发明属于主动安全技术、高级驾驶辅助系统、自动驾驶的感知、决策、规划与跟踪技术领域,尤其是涉及一种车道内主动躲闪大型车辆的辅助驾驶系统。The invention belongs to the technical field of active safety technology, advanced driving assistance system, perception, decision-making, planning and tracking technology of automatic driving, and in particular relates to an auxiliary driving system for actively dodging large vehicles in a lane.

背景技术Background technique

ADAS(Advanced Driver Assistant System)高级驾驶辅助系统,是通过车载传感器采集车辆行驶环境中的道路及环境车参数,进行目标物辨识、检测和跟踪,从而能够预测车辆可能遇到的风险,主动改变车辆的运动状态或对驾驶员主动发出提醒,以提高安全性。ADAS系统常用的传感器包括:毫米波雷达、激光雷达、超声波雷达、摄像头等。按照其辅助驾驶系统所控制的执行机构,ADAS系统可以分为主要针对纵向运动控制的ACC(自适应巡航),FCW(前向碰撞预警)等,针对侧向运动控制的LKA(车道保持),LDW(车道偏离预警),ALC(自动变道)等,以及将二者相组合的TJA(交通拥堵辅助),HWP(高速自动驾驶)等功能;ADAS (Advanced Driver Assistant System) is an advanced driver assistance system that collects road and environmental vehicle parameters in the vehicle's driving environment through on-board sensors, and performs target identification, detection and tracking, so as to predict the risks that the vehicle may encounter and actively change the vehicle. the movement status of the vehicle or proactively alert the driver to improve safety. Sensors commonly used in ADAS systems include: millimeter-wave radar, lidar, ultrasonic radar, cameras, etc. According to the actuators controlled by its assisted driving system, ADAS systems can be divided into ACC (adaptive cruise), FCW (forward collision warning), etc. mainly for longitudinal motion control, LKA (lane keeping) for lateral motion control, LDW (Lane Departure Warning), ALC (Automatic Lane Change), etc., as well as TJA (Traffic Jam Assist), HWP (High Speed Autonomous Driving) and other functions that combine the two;

其中,针对侧向运动进行规划和控制的LKA,LDW,ALC等功能中,LKA和LDW的目的在于控制自车保持在车道线中心位置行驶,属于自车道内的侧向运动控制,而ALC则是基于感知信息进行变道意图判断,并控制车辆变换车道的跨车道侧向运动控制;Among them, among the LKA, LDW, ALC and other functions for planning and controlling lateral motion, the purpose of LKA and LDW is to control the vehicle to keep driving at the center of the lane line, which belongs to the lateral motion control in the own lane, while ALC It is based on the perception information to judge the lane change intention and control the cross-lane lateral motion control of the vehicle to change lanes;

对于自车超越大型车辆的场景,由于大型车辆车宽较大、侧向位置波动幅度大而且车尾部存在较明显的负压区,若自车LKA功能激活,持续保持自车处于车道中心线位置,则会导致超越过程中自车与大型车辆的会车间距较小,存在侧向碰撞风险,且容易给驾乘人员带来不良的驾乘体验。而本发明中的DWEL系统的引入则可从根本上解决这一问题。当自车传感器探测到超越大型车辆的目标场景时,DWEL系统开启,控制自车在接近目标时预先向相反方向进行偏离(自车道内),并在超越完成后控制自车返回车道中心线位置。DWEL系统的引入在保证车辆的稳定性舒适性的同时,基于环境参数增加了会车车距,从而提升了超越过程的侧向碰撞安全性,并改善了驾驶员的“安心感”。同时,偏离过程和回归过程的轨迹基于实时环境参数和驾驶行为图谱进行规划,符合人类驾驶员驾驶习惯,具有安全拟人化特性。For the scenario where the ego vehicle overtakes a large vehicle, due to the large vehicle width, large lateral position fluctuation and obvious negative pressure area at the rear of the car, if the ego vehicle LKA function is activated, the ego vehicle will continue to keep the center line of the lane. , it will lead to a small distance between the self-vehicle and the large vehicle during the overtaking process, there is a risk of side collision, and it is easy to bring a bad driving experience to the drivers and passengers. The introduction of the DWEL system in the present invention can fundamentally solve this problem. When the self-vehicle sensor detects the target scene of overtaking a large vehicle, the DWEL system is turned on to control the self-vehicle to deviate in the opposite direction (inside the self-lane) in advance when approaching the target, and control the self-vehicle to return to the centerline of the lane after the overtaking is completed. . The introduction of the DWEL system not only ensures the stability and comfort of the vehicle, but also increases the distance between vehicles based on environmental parameters, thereby improving the side collision safety during overtaking and improving the driver's "safety". At the same time, the trajectories of the deviation process and the regression process are planned based on real-time environmental parameters and driving behavior maps, which conform to the driving habits of human drivers and have the characteristics of safe anthropomorphism.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明旨在提出一种车道内主动躲闪大型车辆的辅助驾驶系统(DWEL,Dodge Within Ego Lane),以解决自车LKA功能激活时存在侧向碰撞风险,驾乘人员不良驾乘体验的问题。In view of this, the present invention aims to propose an assisted driving system (DWEL, Dodge Within Ego Lane) that actively avoids large vehicles in the lane, so as to solve the risk of side collision when the LKA function of the self-vehicle is activated, and the driver and passengers are not allowed to drive. problem of experience.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:

一种车道内主动躲闪大型车辆的辅助驾驶系统,包括感知模块、决策模块、规划模块、跟踪模块和控制器,所述感知模块包括环境感知传感器,环境感知传感器对环境进行感知操作,对目标级信息进行获取,目标级信息包括目标车辆识别和环境参数,并对目标级信息进行处理操作,再将处理后的目标级信息输送给决策模块,决策模块接收到处理后的目标级信息,根据状态机条件转移列表对辅助驾驶系统的四种状态进行转换操作,并确定辅助驾驶系统当前状态,所述辅助驾驶系统的四种状态包括激活状态,在激活状态下,决策模块对处理后的目标级信息进行处理操作得到决策指令参数,然后将决策指令参数输送给规划模块,规划模块接收到决策指令参数,规划模块依据当前环境参数和驾驶行为图谱通过多项式轨迹规划方法规划自车躲闪大型车辆的偏离轨迹和回归轨迹得到规划轨迹参数,并将规划轨迹参数输送给跟踪模块,跟踪模块接收到规划轨迹参数,对车辆的执行机构进行控制操作,保证自车沿目标轨迹运动,所述环境感知传感器、决策模块、规划模块、跟踪模块均信号连接控制器。An assisted driving system for actively dodging large vehicles in a lane, comprising a perception module, a decision module, a planning module, a tracking module and a controller, the perception module includes an environment perception sensor, the environment perception sensor performs perception operations on the environment, and detects the target level The information is acquired, the target-level information includes the target vehicle identification and environmental parameters, and the target-level information is processed, and then the processed target-level information is sent to the decision-making module, and the decision-making module receives the processed target-level information. The machine condition transfer list is used to convert the four states of the assisted driving system, and determine the current state of the assisted driving system. The four states of the assisted driving system include the activation state. The information is processed to obtain decision-making command parameters, and then the decision-making command parameters are sent to the planning module. The planning module receives the decision-making command parameters, and the planning module uses the polynomial trajectory planning method to plan the self-vehicle to avoid the deviation of large vehicles according to the current environmental parameters and driving behavior map. The planned trajectory parameters are obtained from the trajectory and the regression trajectory, and the planned trajectory parameters are sent to the tracking module. The tracking module receives the planned trajectory parameters, and controls the actuator of the vehicle to ensure that the vehicle moves along the target trajectory. The environment perception sensor, The decision-making module, the planning module and the tracking module are all connected with the controller by signals.

进一步的,所述环境感知传感器包括摄像头、转向盘转矩传感器、转向盘转角传感器、加速踏板传感器、制动踏板传感器和陀螺仪,所述摄像头、转向盘转矩传感器、转向盘转角传感器、加速踏板传感器、制动踏板传感器和陀螺仪均信号连接至控制器。Further, the environment perception sensor includes a camera, a steering wheel torque sensor, a steering wheel angle sensor, an accelerator pedal sensor, a brake pedal sensor and a gyroscope. The pedal sensor, brake pedal sensor and gyroscope all have signals connected to the controller.

进一步的,所述辅助驾驶系统的四种状态还包括关闭状态、待机状态和故障状态,关闭状态开启进入待机状态,待机状态关闭进入关闭状态,待机状态激活进入激活状态,激活状态退出进入待机状态,当系统处于待机状态和激活状态,若检测到故障均会进入故障状态,故障状态排除故障进入关闭状态。Further, the four states of the assisted driving system also include an off state, a standby state and a fault state, the off state is turned on and enters the standby state, the standby state is turned off and enters the off state, the standby state is activated and enters the active state, and the activated state exits and enters the standby state. , when the system is in the standby state and active state, if a fault is detected, it will enter the fault state, and the fault state will enter the off state when the fault is eliminated.

进一步的,所述目标级信息进行处理操作包括以下步骤:Further, the processing operation of the target-level information includes the following steps:

A1、感知模块判断目标车类型是否为大型车辆,若是则进行下一步,否则切换下一个目标车,重新进入A1步骤;A1. The perception module determines whether the target vehicle type is a large vehicle, if so, go to the next step, otherwise switch to the next target vehicle and re-enter step A1;

A2、感知模块判断目标车相对自车纵向距离是否在阈值ΔDx(150m)内,若是则进行下一步,否则切换下一个目标车,重新进入A1步骤;A2. The perception module determines whether the longitudinal distance of the target vehicle relative to the vehicle is within the threshold ΔDx (150m), if so, proceed to the next step, otherwise switch to the next target vehicle and re-enter step A1;

A3、感知模块判断目标车相对自车横向距离是否处于范围ΔDy1(2~5m)内,若是则Left_Count增加1,切换下一个目标车,并重新进入A1步骤,否则进行下一步;A3. The perception module judges whether the lateral distance of the target vehicle relative to the vehicle is within the range of ΔDy 1 (2-5m). If so, the Left_Count increases by 1, switches to the next target vehicle, and re-enters step A1, otherwise, proceed to the next step;

A4、感知模块判断目标车相对自车横向距离是否处于范围ΔDy2(-5~-2m)内,若是则Right_Count增加1,切换下一个目标车,并重新进入A1步骤,否则切换下一个目标车,并重新进入A1步骤;;A4. The perception module judges whether the lateral distance of the target vehicle relative to the vehicle is within the range ΔDy 2 (-5~-2m), if so, the Right_Count increases by 1, switches to the next target vehicle, and re-enters step A1, otherwise switches to the next target vehicle , and re-enter step A1;

A5、当所有目标车均经历了A1~A4的判断过程,感知模块判断Left_Count是否>0且Right_Count是否=0,若Left_Count>0且Right_Count=0,则目标车位于左侧,输出相对纵向距离最小的大型车辆的全部信息,此时满足目标场景要求,否则进行下一步;A5. When all target vehicles have gone through the judgment process of A1~A4, the perception module judges whether Left_Count>0 and Right_Count=0, if Left_Count>0 and Right_Count=0, the target vehicle is on the left side, and the output relative longitudinal distance is the smallest All the information of the large vehicle, meet the requirements of the target scene at this time, otherwise go to the next step;

A6、感知模块判断Left_Count是否=0且Right_Count是否>0,若Left_Count=0且Right_Count>0,则目标车位于右侧,输出相对纵向距离最小的大型车辆的全部信息,此时满足目标场景要求,否则进行下一步;A6. The perception module judges whether Left_Count = 0 and Right_Count > 0. If Left_Count = 0 and Right_Count > 0, the target vehicle is located on the right side, and outputs all the information of the large vehicle with the smallest relative longitudinal distance. At this time, it meets the requirements of the target scene. Otherwise, go to the next step;

A7、感知模块判断Left_Count是否=0且Right_Count是否=0,若Left_Count=0且Right_Count=0,则未出现大型目标车辆,DWEL系统处于待机状态,否则进行下一步;A7. The perception module judges whether Left_Count = 0 and Right_Count = 0, if Left_Count = 0 and Right_Count = 0, there is no large target vehicle, and the DWEL system is in a standby state, otherwise, go to the next step;

A8、感知模块判断Left_Count是否>0且Right_Count是否>0,若Left_Count>0且Right_Count>0,则道路两侧均存在大型车辆,DWEL系统处于待机状态。A8. The perception module judges whether Left_Count>0 and Right_Count>0, if Left_Count>0 and Right_Count>0, there are large vehicles on both sides of the road, and the DWEL system is in a standby state.

进一步的,在步骤A5中的所述判断过程包括四种可能性判断,四种可能性判断分别包括只经历步骤A1,依次经历步骤A1、步骤A2,依次经历步骤A1、步骤A2、步骤A3,依次经历步骤A1、步骤A2、步骤A3、步骤A4。Further, the judging process in step A5 includes four kinds of possibility judgments, and the four kinds of possibility judgments respectively include only going through step A1, going through step A1, step A2 in turn, going through step A1, step A2, step A3 in turn, Go through Step A1, Step A2, Step A3, and Step A4 in sequence.

进一步的,所述偏离轨迹和回归轨迹多项式轨迹规划方法包括如下参数:TTO(Time To Overtake)、τ1、τ2、Δy,TTO计算公式、τ1和τ2参数设定方式、Δy计算公式如下:Further, the polynomial trajectory planning method of the deviation trajectory and the regression trajectory includes the following parameters: TTO (Time To Overtake), τ 1 , τ 2 , Δy, TTO calculation formula, τ 1 and τ 2 parameter setting method, Δy calculation formula as follows:

TTO=Δx/(uSV-utarget);TTO=Δx/(u SV -u target );

τ1=0.0394·(uSV-utarget)+3.3159(s);τ 1 =0.0394·(u SV -u target )+3.3159(s);

τ2=-0.0298·(uSV-utarget)+4.6306(s);τ 2 =-0.0298·(u SV -u target )+4.6306(s);

Figure BDA0003038781800000051
Figure BDA0003038781800000051

其中,TTO是指自车和目标车均按照当前速度匀速行驶,距离自车超越目标车的时间,Δx是自车车头与目标车车尾的相对纵向距离,usv为自车当前车速,utarget为目标车当前车速。τ1和τ2分别是偏离过程和回归过程的持续时间,Δy为偏离过程的最大偏移量,x1和x2分别是自车与目标大型车辆的侧向距离(两车车身之间空隙的侧向长度)和自车与目标大型车辆侧车道线之间的距离。Among them, TTO refers to the time when the ego car and the target car drive at a constant speed at the current speed, and the time until the ego car overtakes the target car, Δx is the relative longitudinal distance between the front of the ego car and the rear of the target car, u sv is the current speed of the ego car, u target is the current speed of the target vehicle. τ 1 and τ 2 are the durations of the departure process and the regression process, respectively, Δy is the maximum offset of the departure process, and x 1 and x 2 are the lateral distances between the ego vehicle and the target large vehicle (the gap between the two vehicle bodies), respectively. ) and the distance between the ego vehicle and the side lane line of the target large vehicle.

进一步的,所述跟踪模块控制操作包括以下步骤:Further, the control operation of the tracking module includes the following steps:

B1、跟踪模块采用PID控制对目标轨迹进行跟踪,B1. The tracking module uses PID control to track the target trajectory,

B2、跟踪模块引入粒子群寻优算法(PSO)和预瞄模型实现自适应整定PID控制;B2. The tracking module introduces particle swarm optimization (PSO) and preview model to achieve adaptive tuning PID control;

B3、跟踪模块通过对全部粒子状态的不断迭代操作,求取最优位置。B3. The tracking module obtains the optimal position through continuous iterative operations on all particle states.

相对于现有技术,本发明所述的一种车道内主动躲闪大型车辆的辅助驾驶系统具有以下优势:Compared with the prior art, the assisted driving system for actively dodging large vehicles in a lane according to the present invention has the following advantages:

(1)本发明所述的一种车道内主动躲闪大型车辆的辅助驾驶系统可实现在超越大型车辆场景下的自动目标识别、决策、主动躲闪轨迹规划以及躲闪动作执行功能,可提升车辆在该场景下的侧向碰撞安全性,以及驾乘人员的安心感。(1) The assisted driving system for actively dodging large vehicles in the lane according to the present invention can realize automatic target recognition, decision-making, active dodging trajectory planning and dodging action execution functions in the scene of overtaking large vehicles, and can improve the performance of vehicles in this area. The side collision safety in the scene, as well as the peace of mind of the driver and passengers.

(2)本发明所述的一种车道内主动躲闪大型车辆的辅助驾驶系统在躲闪轨迹规划环节所制定的规划策略是基于自然驾驶行为数据拟人化开发的,可保证此功能符合人类(中国人)驾驶习惯。(2) The planning strategy formulated by the assisted driving system for actively dodging large vehicles in the lane according to the present invention in the dodging trajectory planning process is based on the anthropomorphic development of natural driving behavior data, which can ensure that this function conforms to human (Chinese). ) driving habits.

(3)本发明所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的躲闪动作执行功能可在LKA功能的底层执行机构基础上开发,所需改造成本较低。(3) The dodging action execution function of the assisted driving system for actively dodging large vehicles in the lane according to the present invention can be developed on the basis of the underlying actuator of the LKA function, and the required reconstruction cost is low.

附图说明Description of drawings

构成本发明的一部分的附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings constituting a part of the present invention are used to provide further understanding of the present invention, and the exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:

图1为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的摄像头探测目标示意图;1 is a schematic diagram of a camera detection target of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图2为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的感知环节目标物类型判断流程图;FIG. 2 is a flow chart of target type determination in the perception link of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图3为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的状态机转换图;3 is a state machine transition diagram of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图4为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的偏离、回归过程轨迹规划示意图;4 is a schematic diagram of the trajectory planning of the deviation and return process of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图5为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统的轨迹跟踪流程图;5 is a flow chart of trajectory tracking of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图6为本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统粒子群优化算法寻优流程图;FIG. 6 is a flow chart of optimization of a particle swarm optimization algorithm of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图7本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统基于PreScan-Simulink仿真平台的自适应整定PID轨迹跟踪试验结果图;FIG. 7 is a result diagram of an adaptive tuning PID trajectory tracking test based on the PreScan-Simulink simulation platform of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention;

图8本发明实施例所述的一种车道内主动躲闪大型车辆的辅助驾驶系统基于PreScan-Simulink仿真平台的自适应整定PID轨迹跟踪试验结果误差示意图。8 is a schematic diagram of the error of the adaptive tuning PID trajectory tracking test result based on the PreScan-Simulink simulation platform of an assisted driving system for actively dodging large vehicles in a lane according to an embodiment of the present invention.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.

在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of the present invention, it should be understood that the terms "center", "portrait", "horizontal", "top", "bottom", "front", "rear", "left", "right", " The orientation or positional relationship indicated by vertical, horizontal, top, bottom, inner, outer, etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and The description is simplified rather than indicating or implying that the device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention. In addition, the terms "first", "second", etc. are used for descriptive purposes only, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first", "second", etc., may expressly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "plurality" means two or more.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以通过具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; can be mechanical connection, can also be electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, can be internal communication between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood through specific situations.

下面将参考附图并结合实施例来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

如图1所示,一种车道内主动躲闪大型车辆的辅助驾驶系统(即DWEL),包括感知模块、决策模块、规划模块、跟踪模块和控制器,所述感知模块包括环境感知传感器,环境感知传感器信号连接至决策模块的输入端,决策模块通过环境感知传感器信号确定辅助驾驶系统的四种状态,决策模块输出端信号连接至规划模块的的输入端,规划模块用于规划偏离和回归两个过程的车辆运动轨迹,规划模块输出端信号连接至跟踪模块的输入端,所述决策模块、规划模块、跟踪模块均信号连接控制器,所述控制器为ECU,该系统可针对自车超越大型车辆的风险场景,主动感知周边环境,并依据当前环境参数和驾驶行为图谱规划自车躲闪大型车辆的偏离轨迹和回归轨迹,保证超越过程中合适的车辆间隙,提高驾驶安全性。As shown in Figure 1, an assisted driving system (ie DWEL) for actively dodging large vehicles in a lane includes a perception module, a decision module, a planning module, a tracking module and a controller. The sensor signal is connected to the input terminal of the decision module, the decision module determines the four states of the assisted driving system through the environmental perception sensor signal, the output terminal signal of the decision module is connected to the input terminal of the planning module, and the planning module is used for planning deviation and regression. The vehicle motion trajectory of the process, the signal of the output end of the planning module is connected to the input end of the tracking module, the decision-making module, the planning module, and the tracking module are all signal-connected to the controller, and the controller is an ECU. The vehicle's risk scene, actively perceive the surrounding environment, and plan the self-vehicle to avoid the deviation trajectory and return trajectory of large vehicles according to the current environmental parameters and driving behavior map, so as to ensure appropriate vehicle clearance during the overtaking process and improve driving safety.

所述环境感知传感器包括摄像头、转向盘转矩传感器、转向盘转角传感器、加速踏板传感器、制动踏板传感器和陀螺仪,所述摄像头、转向盘转矩传感器、转向盘转角传感器、加速踏板传感器、制动踏板传感器和陀螺仪均信号连接至控制器,所述的摄像头感知信息包括但不限于:目标物ID、类型、相对距离、相对速度、左右侧车道线信息等。所述的转向盘转矩传感器用于检测驾驶员对转向盘施加的转矩。所述的转向盘转角传感器用于检测转向盘转角。所述的加速踏板传感器用于检测加速踏板开度。所述的制动踏板传感器用于检测制动踏板角度。所述的陀螺仪用于检测自车车速以及纵向、侧向加速度。若一定纵向范围内的目标物满足仅自车的单侧相邻车道(左侧邻车道或右侧邻车道)存在大型车辆,则当前环境满足DWEL系统的目标场景条件,否则,DWEL系统不开启。The environmental perception sensor includes a camera, a steering wheel torque sensor, a steering wheel angle sensor, an accelerator pedal sensor, a brake pedal sensor and a gyroscope, the camera, the steering wheel torque sensor, the steering wheel angle sensor, the accelerator pedal sensor, Both the brake pedal sensor and the gyroscope are signally connected to the controller, and the camera perception information includes but is not limited to: object ID, type, relative distance, relative speed, left and right lane line information, and the like. The steering wheel torque sensor is used to detect the torque applied by the driver to the steering wheel. The steering wheel angle sensor is used to detect the steering wheel angle. The accelerator pedal sensor is used to detect the accelerator pedal opening. The brake pedal sensor is used to detect the brake pedal angle. The gyroscope is used to detect the vehicle speed and longitudinal and lateral accelerations. If the target within a certain longitudinal range satisfies the existence of large vehicles only in the one-sided adjacent lane (left adjacent lane or right adjacent lane) of the vehicle, the current environment meets the target scene conditions of the DWEL system, otherwise, the DWEL system is not turned on .

如图3所示,所述辅助驾驶系统的四种状态包括关闭状态(OFF)、待机状态(STANDBY)、激活状态(ACTIVE)和故障状态(FAILURE),DWEL系统决策模块决定了这四种状态之间的转换。关闭状态开启进入待机状态,待机状态关闭进入关闭状态,待机状态激活进入激活状态,激活状态包括偏离过程和回归过程,若偏离过程和回归过程执行结束,则DWEL系统退出,进入待机状态。当系统处于待机状态和激活状态,若检测到故障均会进入故障状态,故障状态排除故障进入关闭状态。As shown in Figure 3, the four states of the assisted driving system include OFF state (OFF), standby state (STANDBY), active state (ACTIVE) and fault state (FAILURE), and the DWEL system decision module determines these four states conversion between. The off state is turned on and enters the standby state, the standby state is turned off and enters the off state, and the standby state is activated and enters the active state. The activation state includes the deviation process and the return process. If the deviation process and the return process are completed, the DWEL system exits and enters the standby state. When the system is in the standby state and active state, if a fault is detected, it will enter the fault state, and the fault state will enter the shutdown state when the fault is eliminated.

所述辅助驾驶系统包括以下操作步骤:The assisted driving system includes the following operation steps:

S1、环境感知传感器对环境进行感知操作,对目标车辆的识别和环境参数获取,并对目标级信息进行处理操作,再将处理后的目标级信息输送给决策模块;目标车辆的识别和环境参数获取包括对目标车辆相对运动参数、车道线信息等;S1. The environmental perception sensor performs a perception operation on the environment, identifies the target vehicle and obtains environmental parameters, and processes the target-level information, and then transmits the processed target-level information to the decision-making module; identification of the target vehicle and environmental parameters The acquisition includes relative motion parameters of the target vehicle, lane line information, etc.;

S2、决策模块接收到处理后的目标级信息,根据状态机条件转移列表对DWEL系统四种状态进行转换操作,并确定DWEL系统当前状态,在激活状态下,决策模块对处理后的目标级信息进行处理操作得到决策指令参数,然后将决策指令参数(指决策模块输出的决策指令参数)输送给规划模块;DWEL系统当前状态包括关闭、待机、激活、故障四种;S2. The decision-making module receives the processed target-level information, converts the four states of the DWEL system according to the state machine conditional transition list, and determines the current state of the DWEL system. In the active state, the decision-making module processes the processed target-level information. Perform processing operations to obtain decision-making command parameters, and then send the decision-making command parameters (referring to the decision-making command parameters output by the decision-making module) to the planning module; the current state of the DWEL system includes four types: shutdown, standby, activation, and failure;

S3、规划模块接收到决策指令参数,规划模块依据当前环境参数和驾驶行为图谱通过多项式轨迹规划方法规划自车躲闪大型车辆的偏离轨迹和回归轨迹,并将规划轨迹参数输送给跟踪模块;S3. The planning module receives the decision command parameters, and the planning module plans the deviation trajectory and the return trajectory of the self-vehicle to avoid the large vehicle by using the polynomial trajectory planning method according to the current environmental parameters and the driving behavior map, and transmits the planned trajectory parameters to the tracking module;

S4、跟踪模块接收到规划轨迹参数(规划模块输出的规划轨迹参数),对车辆的执行机构进行控制操作,保证自车沿目标轨迹运动,车辆的执行机构即线控转向系统,DWEL系统可通过摄像头对行驶过程中遭遇的大型车辆进行目标物类型识别和横向距离检测,其工作过程可分为两个阶段:1偏离阶段:当自车接近目标时基于目标物纵向和横向距离、自车距车道线距离、自车车速、目标物纵向相对车速等信息计算出目标横向偏移量Δy、偏离时间τ1和回归时间τ2,并发送底层执行机构转向实现偏离,以保持横向安全距离;2回归阶段:在超越目标后重新回归车道中心线位置。该功能可以在ACC,LKS,TJA,HWP等系统基础上,进一步提升车辆的侧向安全性以及驾乘人员的安心感。S4. The tracking module receives the planned trajectory parameters (planned trajectory parameters output by the planning module), and controls the actuator of the vehicle to ensure that the vehicle moves along the target trajectory. The actuator of the vehicle is the steering-by-wire system, and the DWEL system can pass The camera performs target type recognition and lateral distance detection on large vehicles encountered during driving. Its working process can be divided into two stages: 1 Deviation stage: when the self-vehicle approaches the target Calculate the target lateral offset Δy, deviation time τ 1 and return time τ 2 based on information such as lane line distance, ego vehicle speed, and target longitudinal relative speed, and send the bottom actuator to steer to achieve the deviation to maintain a lateral safety distance; 2 Regression phase: Re-return to the lane centerline position after overtaking the target. Based on ACC, LKS, TJA, HWP and other systems, this function can further improve the lateral safety of the vehicle and the reassurance of drivers and passengers.

此外,决策模块的核心即是状态机,如附图3所示,包含关闭、待机、激活和故障四种状态,决策模块的初始状态应处于关闭状态,当驾驶员开启DWEL系统则进入待机状态,当感知模块对目标级信息处理后,确定满足目标场景要求则进入激活状态,如果决策模块处于待机状态时驾驶员关闭DWEL系统则进入关闭状态。当且仅当决策模块处于待机状态时,规划模块规划自车躲闪大型车辆的偏离轨迹和回归轨迹。在自车回归阶段完成后,决策模块由激活状态退出,并进入待机状态。当决策模块处于激活状态或待机状态且系统检测到感知模块、决策模块、规划模块或跟踪模块出现故障时,决策模块报错并进入故障状态,直到系统检测到故障排除,决策模块进入关闭状态。In addition, the core of the decision-making module is the state machine. As shown in Figure 3, it includes four states: OFF, STANDBY, ACTIVE, and FAILURE. The initial state of the decision-making module should be in the OFF state, and when the driver turns on the DWEL system, it will enter the standby state. , when the perception module processes the target-level information and determines that it meets the requirements of the target scene, it enters the active state, and if the decision module is in the standby state, the driver turns off the DWEL system and enters the off state. If and only when the decision-making module is in the standby state, the planning module plans the deviation trajectory and the return trajectory of the self-vehicle dodging the large vehicle. After the self-vehicle regression phase is completed, the decision-making module exits from the active state and enters the standby state. When the decision-making module is in the active state or standby state and the system detects that the sensing module, decision-making module, planning module or tracking module is faulty, the decision-making module reports an error and enters the fault state, until the system detects that the fault is eliminated, and the decision-making module enters the closed state.

如图2所示,在步骤S1中的所述目标级信息进行处理操作包括以下步骤:As shown in Figure 2, the processing operation of the target-level information in step S1 includes the following steps:

A1、感知模块判断目标车类型是否为大型车辆(卡车或大客车),若是则进行下一步,否则切换下一个目标车,重新进入A1步骤;A1. The perception module judges whether the target vehicle type is a large vehicle (truck or bus), if so, go to the next step; otherwise, switch to the next target vehicle and re-enter step A1;

A2、感知模块判断目标车相对自车纵向距离是否在阈值ΔDx(150m)内,若是则进行下一步,否则切换下一个目标车,重新进入A1步骤;A2. The perception module determines whether the longitudinal distance of the target vehicle relative to the vehicle is within the threshold ΔDx (150m), if so, proceed to the next step, otherwise switch to the next target vehicle and re-enter step A1;

A3、感知模块判断目标车相对自车横向距离是否处于范围ΔDy1(2~5m)内,若是则Left_Count增加1,切换下一个目标车,并重新进入A1步骤,否则进行下一步;A3. The perception module judges whether the lateral distance of the target vehicle relative to the vehicle is within the range of ΔDy 1 (2-5m). If so, the Left_Count increases by 1, switches to the next target vehicle, and re-enters step A1, otherwise, proceed to the next step;

A4、感知模块判断目标车相对自车横向距离是否处于范围ΔDy2(-5~-2m)内,若是则Right_Count增加1,切换下一个目标车,并重新进入A1步骤,否则切换下一个目标车,并重新进入A1步骤;A4. The perception module judges whether the lateral distance of the target vehicle relative to the vehicle is within the range ΔDy 2 (-5~-2m), if so, the Right_Count increases by 1, switches to the next target vehicle, and re-enters step A1, otherwise switches to the next target vehicle , and re-enter step A1;

A5、当所有目标车均经历了A1~A4的判断过程,感知模块判断Left_Count是否>0且Right_Count是否=0,若Left_Count>0且Right_Count=0,则目标车位于左侧,输出相对纵向距离最小的大型车辆的全部信息,此时满足目标场景要求,否则进行下一步;A5. When all target vehicles have gone through the judgment process of A1~A4, the perception module judges whether Left_Count>0 and Right_Count=0, if Left_Count>0 and Right_Count=0, the target vehicle is located on the left side, and the output relative longitudinal distance is the smallest All the information of the large vehicle, meet the requirements of the target scene at this time, otherwise go to the next step;

A6、感知模块判断Left_Count是否=0且Right_Count是否>0,若Left_Count=0且Right_Count>0,则目标车位于右侧,输出相对纵向距离最小的大型车辆的全部信息,此时满足目标场景要求,否则进行下一步;A6. The perception module judges whether Left_Count = 0 and Right_Count > 0. If Left_Count = 0 and Right_Count > 0, the target vehicle is located on the right side, and outputs all the information of the large vehicle with the smallest relative longitudinal distance. At this time, it meets the requirements of the target scene. Otherwise, go to the next step;

A7、感知模块判断Left_Count是否=0且Right_Count是否=0,若Left_Count=0且Right_Count=0,则未出现大型目标车辆,DWEL系统处于待机状态,否则进行下一步;A7. The perception module judges whether Left_Count = 0 and Right_Count = 0, if Left_Count = 0 and Right_Count = 0, there is no large target vehicle, and the DWEL system is in a standby state, otherwise, go to the next step;

A8、感知模块判断Left_Count是否>0且Right_Count是否>0,若Left_Count>0且Right_Count>0,则道路两侧均存在大型车辆,DWEL系统处于待机状态。A8. The perception module judges whether Left_Count>0 and Right_Count>0, if Left_Count>0 and Right_Count>0, there are large vehicles on both sides of the road, and the DWEL system is in a standby state.

需说明的是,本车道内主动躲闪大型车辆的辅助驾驶系统主要设计对象为车辆的横向决策规划与控制,若自车道前方存在前车,驾驶员应当自行对前车进行跟车操作,若此时因自车速度较低无法超越左侧大型车辆,此时DWEL系统处于激活状态,通过规划模块的TTO和τ1的公式和定义可知,当系统进入激活状态后开始计时,在经历了时间(TTO-τ1)后开始进入偏离过程,若自车车速小于左侧车道大型车辆车速,则TTO<0,无意义,系统将持续保持激活状态但不执行偏离动作,直到目标车驶出感知阈值范围,系统返回待机状态。It should be noted that the main design object of the assisted driving system for actively dodging large vehicles in this lane is the lateral decision-making planning and control of the vehicle. When the self-vehicle speed is low, it cannot overtake the large vehicle on the left. At this time, the DWEL system is in an active state. According to the formula and definition of TTO and τ 1 of the planning module, it can be known that when the system enters the active state, it starts to time, and after the time ( After TTO-τ 1 ), it begins to enter the deviation process. If the speed of the ego vehicle is lower than the speed of the large vehicle in the left lane, TTO < 0, meaningless, the system will continue to remain active but will not perform the deviation action until the target vehicle drives out of the perception threshold range, the system returns to the standby state.

在步骤A5中的所述判断过程包括四种可能性判断,四种可能性判断分别包括只经历步骤A1,依次经历步骤A1、步骤A2,依次经历步骤A1、步骤A2、步骤A3,依次经历步骤A1、步骤A2、步骤A3、步骤A4。The judgment process in step A5 includes four kinds of possibility judgments, and the four kinds of possibility judgments respectively include only going through step A1, going through step A1, step A2 in turn, going through step A1, step A2, step A3 in turn, going through steps in turn A1, step A2, step A3, step A4.

在实际测试中,获取所有目标车的目标级信息后,假设有5个目标车,第一个目标车先经历步骤A1判断是否属于大型车辆,若属于大型车辆,则第一个目标车进入步骤A2,若不属于大型车辆,则第一个目标车就止步于步骤A1,等待其他四个目标车经历完判断过程;In the actual test, after obtaining the target-level information of all target vehicles, assuming that there are 5 target vehicles, the first target vehicle first goes through step A1 to determine whether it is a large vehicle. If it is a large vehicle, the first target vehicle enters the step A2, if it is not a large vehicle, the first target vehicle stops at step A1 and waits for the other four target vehicles to go through the judgment process;

与此同时,换成第二个目标车进入步骤A1判断是否属于大型车辆,若属于大型车辆,则第二个目标车进入步骤A2(若不属于大型车辆,则第二个目标车就止步于步骤A1,等待剩余三个目标车经历完判断过程),若第二个目标车在步骤A2内,其相对自车纵向距离在阈值ΔDx(20m)内,则第二个目标车进入步骤A3,若第二个目标车相对自车纵向距离不在阈值ΔDx(20m)内,则第二个目标车就止步于步骤A2,等待剩余三个目标车经历完判断过程;At the same time, switch to the second target vehicle and enter step A1 to determine whether it is a large vehicle. If it is a large vehicle, the second target vehicle enters step A2 (if it is not a large vehicle, the second target vehicle stops at Step A1, wait for the remaining three target vehicles to go through the judgment process), if the second target vehicle is in step A2, and its longitudinal distance relative to the vehicle is within the threshold ΔDx (20m), then the second target vehicle enters step A3, If the longitudinal distance of the second target vehicle relative to the own vehicle is not within the threshold ΔDx (20m), the second target vehicle stops at step A2 and waits for the remaining three target vehicles to complete the judgment process;

依次类推第三个目标车、第四个目标车、第五个目标车的判断过程,当所有目标车均经历了步骤A1~A4的判断过程即可进入步骤A5中进行下一步操作。The judging process of the third target car, the fourth target car, and the fifth target car is analogized in turn. When all the target cars have gone through the judgment process of steps A1 to A4, the next step can be performed in step A5.

如图4所示,在步骤S3中的所述偏离轨迹和回归轨迹多项式轨迹规划方法包括如下参数:TTO(Time To Overtake)、τ1、τ2、Δy,TTO计算公式、τ1和τ2参数设定方式、Δy计算公式如下:As shown in FIG. 4 , the polynomial trajectory planning method of the deviation trajectory and regression trajectory in step S3 includes the following parameters: TTO (Time To Overtake), τ 1 , τ 2 , Δy, TTO calculation formula, τ 1 and τ 2 The parameter setting method and Δy calculation formula are as follows:

TTO=Δx/(uSV-utarget);TTO=Δx/(u SV -u target );

τ1=0.0394·(uSV-utarget)+3.3159(s);τ 1 =0.0394·(u SV -u target )+3.3159(s);

τ2=-0.0298·(uSV-utarget)+4.6306(s);τ 2 =-0.0298·(u SV -u target )+4.6306(s);

Figure BDA0003038781800000121
Figure BDA0003038781800000121

其中,TTO是指自车和目标车均按照当前速度匀速行驶,距离自车超越目标车的时间,Δx是自车车头与目标车车尾的相对纵向距离,即两车的纵向间距,usv为自车当前车速,utarget为目标车当前车速。τ1和τ2分别是偏离过程和回归过程的持续时间,Δy为偏离过程的最大偏移量,x1和x2分别是自车与目标大型车辆的侧向距离(两车车身之间空隙的侧向长度)和自车与目标大型车辆侧车道线之间的距离,此外,τ1、τ2、Δy三个参数均不是常值,而是根据自车周边环境而实时改变的,如:τ1会随着自车相对目标大型车辆的纵向速度差的增加而增加,τ2会随着自车相对目标大型车辆的纵向速度差的增加而减小,τ1和τ2的参数设定可以基于驾驶行为图谱、经验公式等设定:系统进入激活状态后实时计算TTO,当TTO小于τ1且TTO>0s时,开启偏离过程,并保持τ1时间后进入回归过程,回归过程持续τ2后DWEL系统退出激活状态。Among them, TTO refers to the time when the ego car and the target car are driving at a constant speed at the current speed, and the time until the ego car overtakes the target car, Δx is the relative longitudinal distance between the ego car’s front and the target car’s rear, that is, the longitudinal distance between the two cars, u sv is the current speed of the ego vehicle, and u target is the current speed of the target vehicle. τ 1 and τ 2 are the durations of the departure process and the regression process, respectively, Δy is the maximum offset of the departure process, and x 1 and x 2 are the lateral distances between the ego vehicle and the target large vehicle (the gap between the two vehicle bodies), respectively. the lateral length) and the distance between the vehicle and the side lane line of the target large vehicle, in addition, the three parameters τ 1 , τ 2 , Δy are not constant values, but change in real time according to the surrounding environment of the vehicle, such as : τ 1 will increase with the increase of the longitudinal speed difference between the ego vehicle and the target large vehicle, and τ 2 will decrease with the increase of the longitudinal speed difference between the ego vehicle and the target large vehicle. The parameters of τ 1 and τ 2 are set It can be set based on driving behavior map, empirical formula, etc.: After the system enters the active state, TTO is calculated in real time. When TTO is less than τ 1 and TTO > 0s, the deviation process is started, and the regression process is entered after τ 1 time, and the regression process continues. After τ 2 , the DWEL system exits the active state.

偏离过程和回归过程的轨迹规划部分基于多项式轨迹规划方法进行,本发明中的偏离过程的最大偏移量Δy是根据环境参数和专家经验共同确定的,Δy随着自车与目标大型车辆的侧向距离x1(两车车身之间空隙的侧向长度)的增大而减小,同时随着自车与目标大型车辆侧车道线之间的距离x2的增大而减小,如图4所示。The trajectory planning part of the deviation process and the regression process is carried out based on the polynomial trajectory planning method. The maximum offset Δy of the deviation process in the present invention is jointly determined according to environmental parameters and expert experience. It decreases with the increase of the distance x 1 (the lateral length of the gap between the two vehicle bodies), and decreases with the increase of the distance x 2 between the vehicle and the side lane line of the target large vehicle, as shown in the figure 4 shown.

在上述基础上,引入躲闪轨迹的初末状态边界条件如下,即可根据多项式轨迹规划模型进行多项式参数求解:On the basis of the above, the initial and final state boundary conditions of the dodging trajectory are introduced as follows, and the polynomial parameters can be solved according to the polynomial trajectory planning model:

Figure BDA0003038781800000131
Figure BDA0003038781800000131

y1(t)=a0+a1t+a2t2+a3t3y 1 (t)=a 0 +a 1 t+a 2 t 2 +a 3 t 3 ;

Figure BDA0003038781800000132
Figure BDA0003038781800000132

yl表示车辆的侧向轨迹,a0~a3则是基于三次多项式轨迹规划方法设计的侧向轨迹规划模型的系数,无物理意义,其计算方式已在公式中列出,Δy是偏离过程的最大偏移量,t代表偏离过程的持续时间。y l represents the lateral trajectory of the vehicle, a 0 to a 3 are the coefficients of the lateral trajectory planning model designed based on the cubic polynomial trajectory planning method, and have no physical meaning. The calculation method has been listed in the formula, and Δy is the deviation process The maximum offset of , t represents the duration of the deviation process.

如图5所示,在步骤S4中的所述跟踪模块控制操作包括以下步骤:As shown in Figure 5, the tracking module control operation in step S4 includes the following steps:

B1、跟踪模块采用PID控制对目标轨迹进行跟踪,B1. The tracking module uses PID control to track the target trajectory,

B2、跟踪模块引入粒子群寻优算法(PSO)和预瞄模型实现自适应整定PID控制;B2. The tracking module introduces particle swarm optimization (PSO) and preview model to achieve adaptive tuning PID control;

B3、跟踪模块通过对全部粒子状态的不断迭代操作,求取最优位置(优化问题最优解);DWEL系统的轨迹跟踪模块的输入为规划模块输出的目标轨迹,输出为转向盘转角。其轨迹跟踪控制流程如附图5所示,采用PID控制对目标轨迹进行跟踪,并在传统PID控制的基础上,引入了粒子群寻优算法(PSO)和预瞄模型实现了自适应整定PID控制,以降低PID控制的误差和延迟。其中,粒子群算法是一种用于解决目标最优化问题的群体智能算法,具有灵活性、鲁棒性和自组织性。粒子群算法的核心思想在于:在优化问题的求解空间中构建由若干粒子个体组成的种群,粒子初始状态随机并可以在空间中自由运动,通过种群中所有粒子循环迭代寻优以实现最优问题的求解。其中每个粒子的空间状态可以表示为xi=[xi1,xi2......xiD],每个粒子的维度D等于求解空间的维度(本专利中D=3,求解维度为pid三个控制参数),而每个粒子具有四种特征:粒子空间位置p、粒子运动速度矢量v、适应度值fitness和粒子的个体极值g。其中,粒子空间位置表示优化问题的可能最优解,粒子运动速度矢量代表最优解的优化方向和梯度,适应度值表示每个粒子关于适应度函数的映射值,个体极值则表示每个粒子在优化过程中最接近模型最优解的位置。此外,在种群层面存在着另一个优化参数z:群体极值,代表每次迭代群体中最接近最优解的个体极值。在每次迭代优化过程中,粒子的速度和位置的更新公式如下:B3. The tracking module obtains the optimal position (optimal solution of the optimization problem) through continuous iterative operation of all particle states; the input of the trajectory tracking module of the DWEL system is the target trajectory output by the planning module, and the output is the steering wheel angle. The trajectory tracking control process is shown in Figure 5. The PID control is used to track the target trajectory. On the basis of the traditional PID control, the particle swarm optimization algorithm (PSO) and the preview model are introduced to realize the adaptive tuning of the PID. control to reduce the error and delay of PID control. Among them, particle swarm optimization is a kind of swarm intelligence algorithm used to solve the objective optimization problem, which has flexibility, robustness and self-organization. The core idea of particle swarm optimization is to build a population composed of several particle individuals in the solution space of the optimization problem. The initial state of the particles is random and can move freely in the space, and all particles in the population are iteratively optimized to achieve the optimal problem. solution. The space state of each particle can be expressed as x i =[x i1 ,x i2 ...... x iD ], the dimension D of each particle is equal to the dimension of the solution space (D=3 in this patent, the solution dimension three control parameters for pid), and each particle has four characteristics: particle space position p, particle motion velocity vector v, fitness value fitness and particle’s individual extreme value g. Among them, the particle space position represents the possible optimal solution of the optimization problem, the particle motion velocity vector represents the optimization direction and gradient of the optimal solution, the fitness value represents the mapping value of each particle to the fitness function, and the individual extreme value represents each The position where the particle is closest to the optimal solution of the model during optimization. In addition, there is another optimization parameter z at the population level: the population extremum, which represents the individual extremum that is closest to the optimal solution in each iteration of the population. During each iteration of the optimization process, the update formulas for particle velocity and position are as follows:

Figure BDA0003038781800000151
Figure BDA0003038781800000151

Figure BDA0003038781800000152
Figure BDA0003038781800000152

其中w为惯性权重、d∈[1,D]、rand1和rand2分别为两个0~1之间的随机因子,c1和c2为加速度因子。粒子位置和速度的变化区间可人为设定为[pmin pmax]和[vmin vmax]。粒子运动的动力源于三个方面:①惯性力,保持粒子沿初始方向运动,以实现全局搜索;②个体极值吸引力,引导粒子朝自身历史最优位置运动并在此位置保持,实现自我认知;③种群极值吸引力,引导粒子脱离初始运动方向,朝其他粒子的历史最优位置运动,实现种群认知。粒子群寻优过程如附图6所示。where w is the inertia weight, d∈[1,D], rand 1 and rand 2 are two random factors between 0 and 1, respectively, and c 1 and c 2 are acceleration factors. The variation interval of particle position and velocity can be set artificially as [p min p max ] and [v min v max ]. The power of particle motion comes from three aspects: (1) inertial force, which keeps the particle moving in the initial direction to achieve global search; (2) individual extreme attraction, which guides the particle to move towards its own historical optimal position and maintain it at this position to achieve self-realization cognition; ③ population extreme attractiveness, guiding particles away from the initial motion direction and moving towards the historical optimal position of other particles to realize population cognition. The particle swarm optimization process is shown in Figure 6.

为实现自适应整定PID控制,可以基于粒子群算法对某种初始工况(车速、躲闪横向距离、偏离过程时间)下的最优p,i,d控制参数进行寻优,其中粒子状态可以表示为Xi=[Kp Ki Kd],而每个粒子对应的适应度值则由仿真试验结果统计得出,适应度值fitness共包含三部分:偏离过程开始1s后实际侧向位移与目标侧向位移的滞后距离e1、偏离过程结束时刻实际侧向位移与目标侧向位移的滞后距离e2、回归过程结束后实际轨迹相比目标轨迹的侧向位移最大超调量e3。在获取了不同初始工况下的最优pid参数后,制定成pid真值表,在不同的初始工况(车速、躲闪横向距离、偏离过程时间)下选择不同的PID参数,从而实现不同工况下的可自适应整定的轨迹跟踪算法,提高了轨迹跟踪模块的鲁棒性。In order to realize the adaptive tuning PID control, the optimal p, i, d control parameters can be optimized based on the particle swarm algorithm (vehicle speed, lateral distance of dodging, deviation process time) under certain initial conditions, where the particle state can be expressed as is X i = [K p K i K d ], and the fitness value corresponding to each particle is obtained from the simulation test results. The fitness value fitness consists of three parts: the actual lateral displacement and the The lag distance e 1 of the target lateral displacement, the lag distance e 2 between the actual lateral displacement and the target lateral displacement at the end of the deviation process, and the maximum overshoot e 3 of the lateral displacement between the actual trajectory and the target trajectory after the regression process ends. After obtaining the optimal PID parameters under different initial working conditions, a PID truth table is formulated, and different PID parameters are selected under different initial working conditions (vehicle speed, lateral distance for dodging, and deviation process time), so as to achieve different working conditions. The adaptively tunable trajectory tracking algorithm under the conditions improves the robustness of the trajectory tracking module.

fitness=e1+e2+e3fitness=e 1 +e 2 +e 3 ;

e1=|ytarget(t)-yreal(t)||t=t0+1s;e 1 =|y target (t)-y real (t)||t=t 0 +1s;

e2=|ytarget(t)-yreal(t)| |t=t01e 2 =|y target (t)-y real (t)| |t=t 01 ;

e3=|ytarget(t)-yreal(t)| |t=t012e 3 =|y target (t)-y real (t)| |t=t 012 ;

其中,公式中竖线代表的是边界条件,即e1是在时间t0+1s时的误差,e2是在时间t01时的误差,e3是在时间t012时的误差;ytarget(t)代表规划模块输出的目标轨迹侧向位移值,yreal(t)代表仿真试验中车辆实际轨迹的侧向位移值。Among them, the vertical line in the formula represents the boundary condition, that is, e 1 is the error at time t 0 +1s, e 2 is the error at time t 01 , and e 3 is the error at time t 012 ; y target (t) represents the lateral displacement value of the target trajectory output by the planning module, and y real (t) represents the lateral displacement value of the actual trajectory of the vehicle in the simulation test.

在PreScan-Matlab-Simulink联合仿真平台中对本发明中提出的自适应整定PID轨迹跟踪系统进行仿真验证,其结果如附图7和图8所示,由仿真结果可知,本发明提出的轨迹跟踪方法在该发明所针对的场景下有着较高的跟踪精度,可满足实车控制要求。The adaptive tuning PID trajectory tracking system proposed in the present invention is simulated and verified in the PreScan-Matlab-Simulink co-simulation platform. In the scene targeted by the invention, it has high tracking accuracy and can meet the requirements of real vehicle control.

此外,需要说明的是,在图1中,摄像头传感器即正文出现的摄像头,摄像头传感器视野及摄像头的探测范围;OBJ1~OBJ4为摄像头探测到的目标物示意图,(x,y)表示目标物相对纵向距离和相对侧向距离;In addition, it should be noted that in FIG. 1, the camera sensor is the camera that appears in the text, the field of view of the camera sensor and the detection range of the camera; OBJ 1 to OBJ 4 are the schematic diagrams of the objects detected by the camera, and (x, y) represents the target Object relative longitudinal distance and relative lateral distance;

在图2中,OBJi(xi,yi)表示第i个目标车及其相对纵向距离和相对侧向距离信息;In Fig. 2, OBJ i (x i , y i ) represents the i-th target vehicle and its relative longitudinal distance and relative lateral distance information;

在图4中,左邻车道代表自车左侧的第一条车道,右邻车道代表自车右侧第一条邻车道;In Figure 4, the left adjacent lane represents the first lane on the left side of the vehicle, and the right adjacent lane represents the first adjacent lane on the right side of the vehicle;

在图5中,轨迹跟踪误差为目标轨迹与实际轨迹侧向位移的差值,控制量即转向盘转角,被控对象为车辆的动力学系统;In Fig. 5, the trajectory tracking error is the difference between the lateral displacement of the target trajectory and the actual trajectory, the control variable is the steering wheel angle, and the controlled object is the dynamic system of the vehicle;

在图6中,Y代表满足精度判断,则输出优化结果。N代表不满足精度判断,则继续迭代更新粒子的速度和位置。In Figure 6, Y represents that the accuracy judgment is satisfied, and the optimization result is output. N means that the accuracy judgment is not satisfied, then continue to iteratively update the speed and position of the particle.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the present invention. within the scope of protection.

Claims (6)

1. The utility model provides an active driver assistance system who dodges large vehicle in lane which characterized in that: the system comprises a sensing module, a decision-making module, a planning module, a tracking module and a controller, wherein the sensing module comprises an environment sensing sensor which is used for sensing the environment and acquiring target-level information, the target-level information comprises target vehicle identification and environmental parameters and is processed and then is transmitted to the decision-making module, the decision-making module receives the processed target-level information, the four states of an auxiliary driving system are converted according to a state machine condition transfer list and determines the current state of the auxiliary driving system, the four states of the auxiliary driving system comprise an activated state, the decision-making module processes and operates the processed target-level information to obtain decision-making instruction parameters in the activated state, the decision-making instruction parameters are transmitted to the planning module, and the planning module receives the decision-making instruction parameters, the planning module plans a deviation track and a regression track of the self-vehicle for avoiding the large vehicle through a polynomial track planning method according to the current environment parameters and the driving behavior map to obtain planning track parameters, and transmits the planning track parameters to the tracking module, the tracking module receives the planning track parameters and controls and operates an executing mechanism of the vehicle to ensure that the self-vehicle moves along a target track, and the environment perception sensor, the decision module, the planning module and the tracking module are all in signal connection with the controller;
the target level information processing operation comprises the following steps:
a1, judging whether the type of the target vehicle is a large vehicle by the sensing module, if so, carrying out the next step, otherwise, switching the next target vehicle, and re-entering the step A1;
a2, judging whether the longitudinal distance between the target vehicle and the self vehicle is at the threshold value by the sensing module
Figure 926951DEST_PATH_IMAGE001
In the interior of said container body,
Figure 819821DEST_PATH_IMAGE001
if the value of the target vehicle is 150m, carrying out the next step, otherwise, switching to the next target vehicle, and re-entering the step A1;
a3, perception module judgmentWhether the transverse distance of the target-breaking vehicle relative to the self vehicle is in the range or not
Figure 265846DEST_PATH_IMAGE002
In the interior of said container body,
Figure 678503DEST_PATH_IMAGE002
if the range value is 2 m-5 m, increasing 1 for Left _ Count, switching to the next target vehicle, and re-entering the step A1, otherwise, performing the next step;
a4, judging whether the transverse distance of the target vehicle relative to the vehicle is in the range by the sensing module
Figure 551782DEST_PATH_IMAGE003
In the interior of said container body,
Figure 666368DEST_PATH_IMAGE003
if the range value is-5 m to-2 m, the Right _ Count is increased by 1, the next target vehicle is switched, and the step A1 is entered again, otherwise, the next target vehicle is switched, and the step A1 is entered again;
a5, when all target vehicles are subjected to the judging process of A1-A4, judging whether Left _ Count is greater than 0 and Right _ Count is =0 by a sensing module, if Left _ Count is greater than 0 and Right _ Count is =0, the target vehicles are located on the Left side, all information of the large-sized vehicle with the minimum relative longitudinal distance is output, the requirement of a target scene is met at the moment, and if not, the next step is carried out;
a6, judging whether Left _ Count =0 and Right _ Count >0 by the sensing module, if Left _ Count =0 and Right _ Count >0, locating the target vehicle on the Right side, outputting all information of the large vehicle with the minimum relative longitudinal distance, and at the moment, meeting the requirements of the target scene, otherwise, carrying out the next step;
a7, judging whether Left _ Count =0 and Right _ Count =0 by a perception module, if Left _ Count =0 and Right _ Count =0, a large target vehicle does not appear, and an auxiliary driving system for actively dodging the large vehicle in a lane is in a standby state, otherwise, the next step is carried out;
a8, the sensing module determines whether Left _ Count is greater than 0 and Right _ Count is greater than 0, if Left _ Count is greater than 0 and Right _ Count is greater than 0, large vehicles are present on both sides of the road, and the auxiliary driving system actively avoiding the large vehicles in the lane is in a standby state.
2. An in-lane active large vehicle avoidance pilot system according to claim 1, wherein: the environment perception sensor comprises a camera, a steering wheel torque sensor, a steering wheel corner sensor, an accelerator pedal sensor, a brake pedal sensor and a gyroscope, and the camera, the steering wheel torque sensor, the steering wheel corner sensor, the accelerator pedal sensor, the brake pedal sensor and the gyroscope are all in signal connection with the controller.
3. An in-lane active large vehicle avoidance pilot system according to claim 1, wherein: the four states of the auxiliary driving system further comprise a closing state, a standby state and a fault state, wherein the closing state is opened and enters the standby state, the standby state is closed and enters the closing state, the standby state is activated and enters the activation state, the activation state exits and enters the standby state, and when the system is in the standby state and the activation state, if faults are detected, the system enters the fault state, the fault state is removed, and the system enters the closing state.
4. An in-lane active large vehicle avoidance pilot system according to claim 1, wherein: the judgment process in step a5 includes four possibility judgments, each of which includes going through only step a1, going through step a1, step a2 in order, going through step a1, step a2, step A3 in order, going through step a1, step a2, step A3, step a4 in order.
5. An in-lane active large vehicle avoidance pilot system according to claim 1, wherein: the polynomial trajectory planning method comprises the following parameters: TTO,
Figure 712821DEST_PATH_IMAGE004
Figure 432516DEST_PATH_IMAGE005
Figure 539012DEST_PATH_IMAGE006
TTO formula,
Figure 344157DEST_PATH_IMAGE004
And
Figure 945034DEST_PATH_IMAGE005
the parameter setting method,
Figure 519235DEST_PATH_IMAGE006
The calculation formula is as follows:
Figure 531053DEST_PATH_IMAGE007
τ 1 = 0.0394 · (uSV-utarget)+3.3159(s) ;
τ 2 = -0.0298 · (uSV-utarget)+4.6306(s) ;
Figure 702774DEST_PATH_IMAGE010
wherein TTO refers to the time when the own vehicle and the target vehicle both run at a constant speed according to the current speed and exceed the target vehicle from the own vehicle,
Figure 88756DEST_PATH_IMAGE011
is the relative longitudinal distance between the head of the bicycle and the tail of the target vehicle,
Figure 418893DEST_PATH_IMAGE012
in order to obtain the current speed of the vehicle,
Figure 610840DEST_PATH_IMAGE013
the current speed of the target vehicle is taken;
Figure 894054DEST_PATH_IMAGE004
and
Figure 778833DEST_PATH_IMAGE005
respectively the duration of the deviation process and the regression process,
Figure 780287DEST_PATH_IMAGE006
for the maximum amount of deviation of the deviation process,
Figure 775925DEST_PATH_IMAGE014
and
Figure 461116DEST_PATH_IMAGE016
the distance between the self vehicle and the target large-sized vehicle is the lateral distance between the self vehicle and the target large-sized vehicle.
6. An in-lane active large vehicle avoidance pilot system according to claim 1, wherein: the tracking module control operation comprises the steps of:
b1, the tracking module tracks the target track by PID control,
b2, introducing a particle swarm optimization algorithm and a preview model into the tracking module to realize self-adaptive setting PID control;
b3, the tracking module continuously iterates the states of all the particles to obtain the optimal position.
CN202110451317.7A 2021-04-26 2021-04-26 An assisted driving system for actively dodging large vehicles in the lane Active CN113085853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110451317.7A CN113085853B (en) 2021-04-26 2021-04-26 An assisted driving system for actively dodging large vehicles in the lane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110451317.7A CN113085853B (en) 2021-04-26 2021-04-26 An assisted driving system for actively dodging large vehicles in the lane

Publications (2)

Publication Number Publication Date
CN113085853A CN113085853A (en) 2021-07-09
CN113085853B true CN113085853B (en) 2022-05-17

Family

ID=76680397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110451317.7A Active CN113085853B (en) 2021-04-26 2021-04-26 An assisted driving system for actively dodging large vehicles in the lane

Country Status (1)

Country Link
CN (1) CN113085853B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114506346B (en) * 2022-03-24 2023-11-21 重庆长安汽车股份有限公司 Speed control method for automatic driving and storage medium
CN115303267A (en) * 2022-09-16 2022-11-08 重庆长安汽车股份有限公司 Vehicle's active avoidance method and device
CN118636872A (en) * 2024-05-28 2024-09-13 岚图汽车科技有限公司 Vehicle deviation control method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1726513A1 (en) * 2005-05-02 2006-11-29 Iveco S.p.A. Driving assistance system for lane keeping support, for lane change assistance, and for driver status monitoring for a vehicle
CN109669461A (en) * 2019-01-08 2019-04-23 南京航空航天大学 Automatic driving vehicle decision system and its method for planning track under a kind of complex working condition
WO2020135742A1 (en) * 2018-12-29 2020-07-02 长城汽车股份有限公司 Autonomous driving vehicle horizontal decision system and horizontal decision-making method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11685440B2 (en) * 2019-10-10 2023-06-27 Steering Solutions Ip Holding Corporation System and method for shared control for emergency steering

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1726513A1 (en) * 2005-05-02 2006-11-29 Iveco S.p.A. Driving assistance system for lane keeping support, for lane change assistance, and for driver status monitoring for a vehicle
WO2020135742A1 (en) * 2018-12-29 2020-07-02 长城汽车股份有限公司 Autonomous driving vehicle horizontal decision system and horizontal decision-making method
CN109669461A (en) * 2019-01-08 2019-04-23 南京航空航天大学 Automatic driving vehicle decision system and its method for planning track under a kind of complex working condition

Also Published As

Publication number Publication date
CN113085853A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN112389427B (en) Vehicle track optimization method and device, electronic equipment and storage medium
CN113085853B (en) An assisted driving system for actively dodging large vehicles in the lane
CN110187639B (en) A Trajectory Planning Control Method Based on Parameter Decision Framework
US12093043B2 (en) Multi-controller synchronization
CN106926844B (en) A kind of dynamic auto driving lane-change method for planning track based on real time environment information
CN109501799A (en) A kind of dynamic path planning method under the conditions of car networking
US20150224987A1 (en) Travel assistance system and control device
Liu et al. Enabling safe freeway driving for automated vehicles
CN112937551B (en) Vehicle control method and system considering input characteristics of driver
CN108717268A (en) The fastest maneuvering control system and control method for automatic driving based on optimal control and safety distance
CN112046484A (en) Q learning-based vehicle lane-changing overtaking path planning method
CN116946137A (en) Vehicle-road cooperative intelligent vehicle lane-changing anti-collision system based on driving intention
CN114830055A (en) Occlusion zone guidance
CN112068574A (en) A control method and system for an unmanned vehicle in a dynamic complex environment
JP5673127B2 (en) Driving assistance device
JP7546682B2 (en) Method for controlling a vehicle, computer program, computer-readable storage medium and control device
CN116476807B (en) Auxiliary driving control method and device for vehicle tire burst and vehicle
Ghariblu et al. Trajectory planning of autonomous vehicle in freeway driving
Deng et al. Analysis of vehicle assisted lane change system and autonomous lane change model
CN116424369A (en) Safety planning system and safety planning method for autonomous vehicles
CN115848363A (en) Collision avoidance and loss reduction trajectory planning method
Liu et al. Engineering Development of Highway Single Lane Autonomous Driving System
Waghchoure et al. A Receding Horizon Autopilot for the Two-Lane Highway Automated Driving Application through Synergy between the Robust Behavior Planner and the Advanced Driver Assistance Features
Chen et al. Perception-aware path planning for autonomous vehicles in uncertain environment
CN114750785B (en) Integrated control method and system for automatic driving automobile lane keeping and lane changing

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