CN109808509B - An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench - Google Patents
An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench Download PDFInfo
- Publication number
- CN109808509B CN109808509B CN201910138854.9A CN201910138854A CN109808509B CN 109808509 B CN109808509 B CN 109808509B CN 201910138854 A CN201910138854 A CN 201910138854A CN 109808509 B CN109808509 B CN 109808509B
- Authority
- CN
- China
- Prior art keywords
- trench
- vehicle
- path
- moat
- point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 86
- 238000012545 processing Methods 0.000 claims abstract description 16
- 230000004927 fusion Effects 0.000 claims abstract description 7
- 238000007500 overflow downdraw method Methods 0.000 claims abstract description 4
- 239000000725 suspension Substances 0.000 claims description 31
- 230000008569 process Effects 0.000 claims description 22
- 238000004422 calculation algorithm Methods 0.000 claims description 17
- 230000008447 perception Effects 0.000 claims description 16
- 238000005096 rolling process Methods 0.000 claims description 15
- 230000006870 function Effects 0.000 claims description 14
- 230000007613 environmental effect Effects 0.000 claims description 13
- 238000012544 monitoring process Methods 0.000 claims description 9
- 238000012937 correction Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 7
- 238000005070 sampling Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000004458 analytical method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000011217 control strategy Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 201000004569 Blindness Diseases 0.000 description 1
- 239000006096 absorbing agent Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 208000018769 loss of vision Diseases 0.000 description 1
- 231100000864 loss of vision Toxicity 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000004393 visual impairment Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/72—Electric energy management in electromobility
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
Abstract
本发明提供一种无人驾驶越野车跨壕沟的自动识别与控制系统,根据车辆周围障碍物信息,通过图像处理及信息融合方法,结合车辆位姿信息计算壕沟中心线与车辆纵向轴线的夹角;判断模块根据壕沟的尺寸信息、壕沟中心线与车辆纵向轴线的夹角,判断车辆能否跨越壕沟,并制定跨越策略;在判断模块判定车辆能够跨越壕沟时,路径规划模块根据制定的跨越策略,规划跨越壕沟路径,确定路径点和路径点速度;路径跟踪模块按照确定的路径点和路径点速度,实时控制转向轮的转向角和驱动轮的转矩,控制车辆按照预定的跨越壕沟路径自动跨越壕沟。本发明通过图像处理和信息融合技术判断是否有壕沟,并设置对应的跨越策略,保证车辆自动跨越一定宽度范围内的壕沟。
The invention provides an automatic identification and control system for an unmanned off-road vehicle crossing a trench, which calculates the angle between the center line of the trench and the longitudinal axis of the vehicle through image processing and information fusion methods according to information on obstacles around the vehicle and combined with the vehicle posture information The judging module judges whether the vehicle can cross the ditch according to the size information of the ditch, the angle between the center line of the ditch and the longitudinal axis of the vehicle, and formulates a crossing strategy; when the judging module determines that the vehicle can cross the ditch, the path planning module according to the formulated crossing strategy , plan the path across the trench, determine the path point and the speed of the path point; the path tracking module controls the steering angle of the steering wheel and the torque of the driving wheel in real time according to the determined path point and path point speed, and controls the vehicle to automatically follow the predetermined path across the trench. across the trench. The invention judges whether there is a moat through image processing and information fusion technology, and sets a corresponding crossing strategy to ensure that the vehicle automatically crosses the moat within a certain width range.
Description
技术领域technical field
本发明属于无人驾驶越野车技术领域,具体涉及一种无人驾驶越野车跨壕沟的自动识别与控制系统及方法。The invention belongs to the technical field of unmanned off-road vehicles, and in particular relates to an automatic identification and control system and method of an unmanned off-road vehicle for crossing trenches.
背景技术Background technique
计算机技术以及传感器技术的发展推动了无人驾驶汽车的研究和无人驾驶系统的实现,各种基于无人驾驶硬件平台的辅助驾驶功能已经走近人们的日常生活,逐渐成为新型汽车产品的高科技配置,为人类提供了更为便捷、高效、安全的驾乘体验。高性能越野车辆在资源勘探、丛林搜救、军事行动、灾难搜救等领域得到广泛应用,但野外地形复杂,障碍物种类多,附着条件差,存在各种复杂的综合型越野工况,对于这些越野工况而言,传统的越野车在驾驶员的操控下因为不能全方位地了解越野工况、评估车辆跨越障碍物的能力、感知车辆运行状态,进而不能合理而精确地控制车辆的运行,往往限制了车辆极限越野能力的发挥,同时难以保证越野过程的安全性,容易发生危及人身和财产安全的事故,这对于各个领域在野外的工作造成了较大的不确定性和危险性,阻碍了各种工作的开展。而在野外行驶时车辆时常遇到壕沟等负障碍物,驾驶员只能依靠肉眼进行环境观察壕沟宽度、周边障碍物位置、车辆与壕沟相对位置,依据个人经验选取通过的方式或进行多次尝试,决策正确性和操作可行性相对较低,且操作误差大,效率极低,容易造成事故。The development of computer technology and sensor technology has promoted the research of unmanned vehicles and the realization of unmanned systems. Various assisted driving functions based on unmanned hardware platforms have approached people's daily life and have gradually become a high priority for new automotive products. The technological configuration provides humans with a more convenient, efficient and safe driving experience. High-performance off-road vehicles have been widely used in resource exploration, jungle search and rescue, military operations, disaster search and rescue and other fields, but the field terrain is complex, there are many types of obstacles, and the adhesion conditions are poor, and there are various complex comprehensive off-road conditions. In terms of working conditions, under the control of the driver, traditional off-road vehicles often cannot reasonably and accurately control the operation of the vehicle because they cannot fully understand the off-road working conditions, evaluate the ability of the vehicle to cross obstacles, and perceive the running state of the vehicle. It limits the extreme off-road capability of the vehicle, and at the same time it is difficult to ensure the safety of the off-road process, and accidents that endanger personal and property safety are prone to occur. Various works are carried out. When driving in the wild, the vehicle often encounters negative obstacles such as trenches. The driver can only rely on the naked eye to observe the width of the trench, the location of surrounding obstacles, and the relative position of the vehicle and the trench. According to personal experience, the driver can choose the way to pass or make multiple attempts. , the correctness of decision-making and the feasibility of operation are relatively low, and the operation error is large, the efficiency is extremely low, and it is easy to cause accidents.
专利《一种基于预瞄的无人全地形车的控制方法》提出一种基于预瞄的无人全地形车的控制方法,该全地形车可以提前作出通过障碍的策略与准备,提前改变车速、行驶方向以及调节减振器的软硬。论文《海底采矿车壕沟越障通过性分析与仿真研究》则是设计一种由四套复合轮组机构和铰接式密封抗压型整体罐式车架连接的海底采矿车,由六组车轮组成,在跨越壕沟时采用前三个车轮成刚性连接转变为一个车轮,从而越过壕沟。但这两种方法对于壕沟类负障碍物对车辆的结构都有严格的要求,第一种采用的是摆腿跨过的方式,第二种则是需要六组轮胎。上述专利及文献对于四轮毂电机分布式驱动的车辆跨越壕沟的策略没有涉及,对于如何控制四轮车辆跨越壕沟的详细控制方法及步骤没有涉及。现阶段对于全自动的四轮车辆跨越壕沟的控制方法的研究几乎为空白。The patent "A Control Method of Unmanned All-Terrain Vehicle Based on Preview" proposes a control method of unmanned all-terrain vehicle based on preview. The all-terrain vehicle can make strategies and preparations for passing obstacles in advance and change the speed of the vehicle in advance , driving direction and adjust the hardness of the shock absorber. The paper "Analysis and Simulation Research of Submarine Mining Vehicle's Trench Obstacle Passability" is to design a seabed mining vehicle connected by four sets of composite wheel set mechanisms and an articulated sealed and pressure-resistant integral tank frame, which consists of six sets of wheels. , when crossing the trench, the first three wheels are rigidly connected and transformed into one wheel, thus crossing the trench. However, these two methods have strict requirements on the structure of the vehicle for trench-type negative obstacles. The first method uses the method of swinging over the legs, and the second method requires six sets of tires. The above-mentioned patents and documents do not refer to the strategy of crossing a trench with a vehicle driven by a four-wheeled motor in a distributed manner, nor to the detailed control method and steps of how to control the four-wheeled vehicle to cross a trench. At present, there is almost no research on the control method of fully automatic four-wheeled vehicles crossing trenches.
发明内容SUMMARY OF THE INVENTION
本发明要解决的技术问题是:提供一种无人驾驶越野车跨壕沟的自动识别与控制方法。The technical problem to be solved by the present invention is to provide an automatic identification and control method for an unmanned off-road vehicle crossing a trench.
本发明为解决上述技术问题所采取的技术方案为:一种无人驾驶越野车跨壕沟的自动识别与控制系统,其特征在于:设置在四轮分布式驱动电动汽车中,它包括:The technical solution adopted by the present invention to solve the above-mentioned technical problems is: an automatic identification and control system for an unmanned off-road vehicle crossing a trench, which is characterized in that: it is arranged in a four-wheel distributed drive electric vehicle, and it includes:
环境感知单元,用于获取车辆周围障碍物信息,通过图像处理及信息融合方法,得出车辆可感知范围内的障碍物边线,识别并计算出壕沟的尺寸信息;同时获取车辆运动状态信息,包括位姿信息,结合壕沟信息计算壕沟中心线与车辆纵向轴线的夹角;The environmental perception unit is used to obtain the information of obstacles around the vehicle. Through image processing and information fusion methods, the edge lines of the obstacles within the perceptible range of the vehicle are obtained, and the size information of the trench is identified and calculated; at the same time, the information of the vehicle motion status is obtained, including Pose information, combined with trench information to calculate the angle between the center line of the trench and the longitudinal axis of the vehicle;
决策单元,包括判断模块、路径规划模块和路径跟踪模块;其中,判断模块用于根据壕沟的尺寸信息、壕沟中心线与车辆纵向轴线的夹角,并结合车辆自身尺寸信息,判断车辆能否跨越壕沟,并制定跨越策略;路径规划模块用于在判断模块判定车辆能够跨越壕沟时,根据制定的跨越策略,结合车辆的性能参数,制定跨越壕沟路径,确定路径点和路径点速度;路径跟踪模块,用于按照确定的路径点和路径点速度,实时控制转向轮的转向角和驱动轮的转矩,从而控制车辆按照预定的跨越壕沟路径自动跨越壕沟。The decision-making unit includes a judgment module, a path planning module and a path tracking module; wherein, the judgment module is used to judge whether the vehicle can cross according to the size information of the trench, the angle between the center line of the trench and the longitudinal axis of the vehicle, and combined with the size information of the vehicle itself moat, and formulate a crossing strategy; the path planning module is used to formulate a path across the moat and determine the path point and the speed of the path point according to the formulated crossing strategy and the performance parameters of the vehicle when the judgment module determines that the vehicle can cross the moat; the path tracking module , which is used to control the steering angle of the steering wheel and the torque of the driving wheel in real time according to the determined waypoint and the speed of the waypoint, so as to control the vehicle to automatically cross the moat according to the predetermined path of crossing the moat.
按上述方案,所述的环境感知单元,当检测出当前路径上存在横向长条状负障碍物,且负障碍物的深度D大于或等于车轮滚动半径r,则判断遇到壕沟;计算壕沟宽度W、壕沟中心线与车辆纵向轴线的夹角β、车辆距壕沟边缘线距离s。According to the above scheme, the environment perception unit, when it is detected that there is a horizontally elongated negative obstacle on the current path, and the depth D of the negative obstacle is greater than or equal to the wheel rolling radius r, it is judged to encounter a trench; calculate the trench width W, the angle β between the center line of the trench and the longitudinal axis of the vehicle, and the distance s from the vehicle to the edge of the trench.
按上述方案,所述的判断模块具体判断壕沟宽度W小于车辆可跨越最大壕沟宽度Wmax,则判定车辆能够跨越壕沟,若壕沟宽度W大于或等于车辆可跨越最大壕沟宽度Wmax,则判断车辆无法跨越当前壕沟,规划路径绕开壕沟;Wmax按以下公式计算:According to the above scheme, the judging module specifically judges that the width W of the moat is smaller than the maximum width of the moat that the vehicle can cross, W max , then determines that the vehicle can cross the moat, and if the width W of the moat is greater than or equal to the maximum width W max that the vehicle can cross, then the vehicle is judged to be able to cross the moat. The current trench cannot be crossed, and the planned path bypasses the trench; W max is calculated according to the following formula:
式中B为车辆轮距,L为车辆轴距。where B is the wheelbase of the vehicle, and L is the wheelbase of the vehicle.
按上述方案,所述的判断模块具体按以下方法制定跨越策略:According to the above scheme, the judgment module specifically formulates the leaping strategy according to the following methods:
当W<2r时,采用垂直跨越策略,即调整车辆与壕沟的相对位置使车辆纵向轴线与壕沟局部中心线近乎垂直,然后直行跨越壕沟,若环境障碍物数量大于阈值,则转入斜跨策略;r为车轮滚动半径;When W < 2r, the vertical crossing strategy is adopted, that is, the relative position of the vehicle and the moat is adjusted so that the longitudinal axis of the vehicle is almost perpendicular to the local center line of the moat, and then it goes straight across the moat. If the number of environmental obstacles is greater than the threshold, the diagonal crossing strategy ; r is the wheel rolling radius;
当W≥2r时,采用斜跨策略;When W≥2r, the oblique span strategy is adopted;
所述的斜跨策略包括3个阶段:The oblique-span strategy described includes three stages:
第一阶段,开始跨越壕沟,保持β角并向前从壕沟A侧驶向B侧,一侧前轮w1先跨越壕沟,此时要保证w1未触及壕沟B侧时,另一侧前轮w2位于壕沟A侧边缘不得陷入壕沟,保证β∈(arctan(B/L),arccos(W/B)];In the first stage, start to cross the trench, keep the β angle and drive forward from side A to side B of the trench. One front wheel w1 crosses the trench first. At this time, it is necessary to ensure that when w1 does not touch the side B of the trench, the other front wheel w2 The A side edge of the moat shall not sink into the moat, guarantee β∈(arctan(B/L), arccos(W/B)];
第二阶段,w1已经跨越壕沟于B侧着地,w2开始跨越壕沟,此时要保证w2未触及壕沟B侧时,与w2在车辆对角线上的后轮w3位于壕沟A侧边缘不得陷入壕沟,保证β∈[arctan(B/L)+arcsin(W/sqrt(B2+L2)),90°];In the second stage, w1 has already crossed the moat and landed on the B side, and w2 started to cross the moat. At this time, it is necessary to ensure that when w2 does not touch the B side of the moat, the rear wheel w3 on the diagonal line of the vehicle with w2 is located on the edge of the moat A side and must not sink into the moat. , guarantee β∈[arctan(B/L)+arcsin(W/sqrt(B 2 +L 2 )), 90°];
第三阶段,w2已经跨越壕沟于B侧着地,w3开始跨越壕沟,此时要保证w3未触及壕沟B侧时,与w1在车辆对角线上的后轮w4位于壕沟A侧边缘不得陷入壕沟,第三阶段工况与第一阶段的工况一致,只是车辆相对行驶方向相反,所以β满足第一阶段结果;In the third stage, w2 has crossed the moat and landed on the B side, and w3 started to cross the moat. At this time, it is necessary to ensure that when w3 does not touch the B side of the moat, the rear wheel w4 on the diagonal line with w1 is located on the edge of the moat A side and must not sink into the moat. , the working conditions of the third stage are the same as the working conditions of the first stage, but the relative driving direction of the vehicle is opposite, so β satisfies the results of the first stage;
因此,若βper非空集且β∈βper,规划路径保持该角度直行斜跨壕沟,否则,规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;Therefore, if β per is not an empty set and β∈βper , the planned path keeps this angle straight and diagonally across the trench; otherwise, the planned path adjusts the included angle β to satisfy β∈βper , and then the planned path keeps this angle straight and diagonally across moat;
若βper为空集,规划路径大角度转向机动,实时调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,通过多次转向机动跨越壕沟。If β per is an empty set, plan a large-angle steering maneuver on the path, adjust the relative position of the vehicle and the trench in real time so that the β angle meets the requirements of each stage in the process of crossing the trench, and cross the trench through multiple steering maneuvers.
按上述方案,所述的路径规划模块根据判断模块的结果,进行相应工况和策略下的路径规划:According to the above scheme, the path planning module performs path planning under corresponding operating conditions and strategies according to the result of the judgment module:
若采用垂直跨越策略,规划路径在壕沟前方进行转向机动调整β角至90°±3°范围,环境感知单元检测到β角在90°±3°范围内即开始直行通过壕沟;If the vertical crossing strategy is adopted, the planned path is maneuvered in front of the trench to adjust the beta angle to 90°±3°, and the environment perception unit detects that the beta angle is within the range of 90°±3° and starts to go straight through the trench;
采用斜跨策略时,若采用直行斜跨方式跨越,则规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;若需要采用分阶段转向斜跨方式,则规划路径大角度转向机动,调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,逐步完成跨越;When adopting the diagonal-span strategy, if the straight-line diagonal-span method is adopted, the planned path adjusts the included angle β to make it satisfy β∈βper , and then the planned path maintains this angle to go straight to the diagonal-span trench; , then the planned path is turned to maneuver at a large angle, and the relative position of the vehicle and the trench is adjusted so that the β angle meets the requirements of each stage in the process of crossing the trench, and the crossing is gradually completed;
同时,路径规划模块采用Reeds-Shepp曲线以使路径最短,并满足阿克曼转向模型。Meanwhile, the path planning module adopts the Reeds-Shepp curve to make the path shortest and satisfy the Ackerman steering model.
按上述方案,所述的路径规划模块具体规划步骤如下:According to the above scheme, the specific planning steps of the path planning module are as follows:
(1)判断采用的跨越策略及跨越方式,进而选取关键路径点,关键路径点包括起始路径点、阶段分割点和终点;(1) Judging the adopted spanning strategy and spanning method, and then select the critical path point, the critical path point includes the starting path point, the stage split point and the end point;
采用垂直跨越策略时,选取当前位置为起始路径点,任意前轮悬空估计点为阶段分割点1,任意后轮悬空结束点为阶段分割点2,当前航线角方向距壕沟3m位置为终点;避障路径点根据实际障碍物情况通过算法选取;When the vertical leaping strategy is adopted, the current position is selected as the starting path point, the estimated point of any front wheel overhang is the
采用斜跨策略时,起止路径点、避障路径点选取如上;采用直行跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第二个前轮悬空结束点为阶段分割点2,第一个后轮悬空结束点为阶段分割点3;采用分阶段转向跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第一个后轮悬空开始点为阶段分割点2,允许通过点为阶段分割点3,第一个后轮悬空结束点为阶段分割点4;其中,前轮悬空估计点即前轮到达壕沟边缘的路径点,后轮悬空结束点即后跨过壕沟接触壕沟边缘的路径点,所述的第一个、第二个以通过壕沟时时序上的先后开始悬空和结束悬空划分;When adopting the oblique spanning strategy, the starting and ending path points and obstacle avoidance path points are selected as above; when using the straight-line spanning method, the first front wheel suspension end point is selected as the
(2)关键路径点间的路径规划;(2) Path planning between critical path points;
确定关键路径点后,在相邻两个关键路径点间,以前述安全跨越壕沟的约束条件,即跨越壕沟允许的夹角β为约束条件,以下一关键路径点间的跨越壕沟允许的夹角β为路径规划目标,该目标在垂直跨越策略中为β角在90°±3°范围,在斜跨策略中为相应阶段β角允许范围容易达到的临界值以内2~3°;通过算法用Reeds-Shepp曲线将关键路径点串联,所规划路径满足该车辆的阿克曼转角模型;After determining the critical path point, between two adjacent critical path points, the aforementioned constraint condition for safely crossing the trench, that is, the allowable angle β for crossing the trench, is the constraint condition, and the allowable angle for crossing the trench between the next critical path point β is the path planning target. In the vertical spanning strategy, the β angle is within the range of 90°±3°, and in the oblique spanning strategy, it is within 2 to 3° of the critical value that the β angle can easily reach in the corresponding stage; The Reeds-Shepp curve connects the critical path points in series, and the planned path satisfies the Ackerman corner model of the vehicle;
对于无解规划采取反向路径规划和路径规划时序叠加方法达到规划目标,例如跨越壕沟时单次路径规划下的转向行驶不能使车辆调整到下一阶段的约束条件夹角β范围内,则进行转向倒驶规划,通过一次或多次前后转向挪车叠加起来到达夹角β的目标值。For no-solution planning, the reverse path planning and path planning time sequence superposition method are used to achieve the planning goal. For example, when crossing a trench, the steering and driving under a single path planning cannot make the vehicle adjust to the range of the constraint angle β of the next stage. Steering and reversing planning, the target value of the included angle β can be reached by superimposing one or more front and rear steering maneuvers.
(3)中间路径点的选取与车辆运动状态采样频率有关并成倍率,满足路径跟踪和路径修正要求,从而满足路径跟随精度。(3) The selection of the intermediate path points is related to the sampling frequency of the vehicle motion state and is multiplied to meet the requirements of path tracking and path correction, thereby satisfying the path following accuracy.
(4)各关键路径点间的规划路径串联生成路径规划控制指令,发送至路径跟踪模块。(4) The planned paths between the key path points are connected in series to generate a path planning control instruction, which is sent to the path tracking module.
按上述方案,本系统还包括整车控制器,整车控制器包括驱动防滑模块和故障处理模块;其中,According to the above scheme, the system also includes a vehicle controller, and the vehicle controller includes a driving anti-skid module and a fault handling module; wherein,
驱动防滑模块,用于当某一电动轮即将到达壕沟边缘时,发出限制转矩指令,防止附着力不足而电动轮滑转,同时避免过大的转矩输出破环壕沟边缘而加大跨越难度;当某一电动轮即将悬于壕沟上方时,发出零转矩输出指令,使悬于壕沟上方的电动轮无动力输出;Drive the anti-skid module, which is used to issue a torque limit command when an electric wheel is about to reach the edge of the trench, to prevent the electric wheel from slipping due to insufficient adhesion, and to avoid excessive torque output from breaking the edge of the trench and increasing the difficulty of crossing; When an electric wheel is about to hang above the trench, a zero torque output command is issued, so that the electric wheel hanging above the trench has no power output;
故障处理模块,用于根据监控信息判断车辆软硬件故障,按照对应的故障级别进行车辆控制。The fault processing module is used to judge the software and hardware faults of the vehicle according to the monitoring information, and control the vehicle according to the corresponding fault level.
一种利用所述的无人驾驶越野车跨壕沟的自动识别与控制系统实现的壕沟识别与跨越方法,其特征在于:本方法包括以下步骤:A trench identification and spanning method realized by the automatic identification and control system of the described unmanned off-road vehicle spanning trenches, it is characterized in that: this method comprises the following steps:
S1、当检测到当前路径上存在深度D大于车轮滚动半径r的横向长条状负障碍物时,自动启动跨壕沟功能,限制车速在预设的低速阈值以下;S1. When it is detected that there is a horizontal long negative obstacle with a depth D greater than the wheel rolling radius r on the current path, the function of crossing the trench is automatically activated to limit the vehicle speed below the preset low speed threshold;
S2、进行信息融合计算处理,得到壕沟宽度W、壕沟中心线与车辆纵向轴线的夹角β、车辆前轴中心与壕沟的距离;S2, perform information fusion calculation processing to obtain the width of the trench W, the angle β between the center line of the trench and the longitudinal axis of the vehicle, and the distance between the center of the front axle of the vehicle and the trench;
S3、根据壕沟的尺寸信息、壕沟中心线与车辆纵向轴线的夹角,并结合车辆自身尺寸信息,判断车辆能否跨越壕沟,并制定跨越策略;S3. According to the size information of the trench, the angle between the center line of the trench and the longitudinal axis of the vehicle, and combined with the size information of the vehicle itself, determine whether the vehicle can cross the trench, and formulate a crossing strategy;
3.1,判断壕沟宽度W小于车辆可跨越最大壕沟宽度Wmax,则判定车辆能够跨越壕沟,若壕沟宽度W大于或等于车辆可跨越最大壕沟宽度Wmax,则判断车辆无法跨越当前壕沟,规划路径绕开壕沟;Wmax按以下公式计算:3.1. It is judged that the trench width W is less than the maximum trench width Wmax that the vehicle can cross, then it is determined that the vehicle can cross the trench. If the trench width W is greater than or equal to the maximum trench width Wmax that the vehicle can cross, it is determined that the vehicle cannot cross the current trench, and the planned path is Open the trench; W max is calculated according to the following formula:
式中B为车辆轮距,L为车辆轴距;where B is the wheelbase of the vehicle, and L is the wheelbase of the vehicle;
3.2,当判定车辆能够跨越壕沟时,按以下方法制定跨越策略:3.2, when it is determined that the vehicle can cross the trench, formulate the crossing strategy as follows:
当W<2r时,采用垂直跨越策略,即调整车辆与壕沟的相对位置使车辆纵向轴线与壕沟局部中心线近乎垂直,然后直行跨越壕沟,若环境障碍物数量大于阈值,则转入斜跨策略;r为车轮滚动半径;When W < 2r, the vertical crossing strategy is adopted, that is, the relative position of the vehicle and the moat is adjusted so that the longitudinal axis of the vehicle is almost perpendicular to the local center line of the moat, and then it goes straight across the moat. If the number of environmental obstacles is greater than the threshold, the diagonal crossing strategy ; r is the wheel rolling radius;
当W≥2r时,采用斜跨策略;When W≥2r, the oblique span strategy is adopted;
所述的斜跨策略包括3个阶段:The oblique-span strategy described includes three stages:
第一阶段,开始跨越壕沟,保持β角并向前从壕沟A侧驶向B侧,一侧前轮w1先跨越壕沟,此时要保证w1未触及壕沟B侧时,另一侧前轮w2位于壕沟A侧边缘不得陷入壕沟,保证β∈(arctan(B/L),arccos(W/B)];In the first stage, start to cross the trench, keep the β angle and drive forward from side A to side B of the trench. One front wheel w1 crosses the trench first. At this time, it is necessary to ensure that when w1 does not touch the side B of the trench, the other front wheel w2 The A side edge of the moat shall not sink into the moat, guarantee β∈(arctan(B/L), arccos(W/B)];
第二阶段,w1已经跨越壕沟于B侧着地,w2开始跨越壕沟,此时要保证w2未触及壕沟B侧时,与w2在车辆对角线上的后轮w3位于壕沟A侧边缘不得陷入壕沟,保证β∈[arctan(B/L)+arcsin(W/sqrt(B2+L2)),90°];In the second stage, w1 has already crossed the moat and landed on the B side, and w2 started to cross the moat. At this time, it is necessary to ensure that when w2 does not touch the B side of the moat, the rear wheel w3 on the diagonal line of the vehicle with w2 is located on the edge of the moat A side and must not sink into the moat. , guarantee β∈[arctan(B/L)+arcsin(W/sqrt(B 2 +L 2 )), 90°];
第三阶段,w2已经跨越壕沟于B侧着地,w3开始跨越壕沟,此时要保证w3未触及壕沟B侧时,与w1在车辆对角线上的后轮w4位于壕沟A侧边缘不得陷入壕沟,第三阶段工况与第一阶段的工况一致,只是车辆相对行驶方向相反,所以β满足第一阶段结果;In the third stage, w2 has crossed the moat and landed on the B side, and w3 started to cross the moat. At this time, it is necessary to ensure that when w3 does not touch the B side of the moat, the rear wheel w4 on the diagonal line with w1 is located on the edge of the moat A side and must not sink into the moat. , the working conditions of the third stage are the same as the working conditions of the first stage, but the relative driving direction of the vehicle is opposite, so β satisfies the results of the first stage;
因此,若βper非空集且β∈βper,规划路径保持该角度直行斜跨壕沟,否则,规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;Therefore, if β per is not an empty set and β∈βper , the planned path keeps this angle straight and diagonally across the trench; otherwise, the planned path adjusts the included angle β to satisfy β∈βper , and then the planned path keeps this angle straight and diagonally across moat;
若βper为空集,规划路径大角度转向机动,实时调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,通过多次转向机动跨越壕沟;If β per is an empty set, plan a large-angle steering maneuver on the path, adjust the relative position of the vehicle and the trench in real time so that the β angle meets the requirements of each stage in the process of crossing the trench, and cross the trench through multiple steering maneuvers;
S4、在判断模块判定车辆能够跨越壕沟时,根据制定的跨越策略,结合车辆的性能参数,制定跨越壕沟路径,确定路径点和路径点速度;S4. When the judging module determines that the vehicle can cross the ditch, according to the formulated crossing strategy, combined with the performance parameters of the vehicle, formulate a path for crossing the ditch, and determine the waypoint and the speed of the waypoint;
若采用垂直跨越策略,规划路径在壕沟前方进行转向机动调整β角至90°±3°范围,环境感知单元检测到β角在90°±3°范围内即开始直行通过壕沟;If the vertical crossing strategy is adopted, the planned path is maneuvered in front of the trench to adjust the beta angle to 90°±3°, and the environment perception unit detects that the beta angle is within the range of 90°±3° and starts to go straight through the trench;
采用斜跨策略时,若采用直行斜跨方式跨越,则规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;若需要采用分阶段转向斜跨方式,则规划路径大角度转向机动,调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,逐步完成跨越;When adopting the diagonal-span strategy, if the straight-line diagonal-span method is adopted, the planned path adjusts the included angle β to make it satisfy β∈βper , and then the planned path maintains this angle to go straight to the diagonal-span trench; , then the planned path is turned to maneuver at a large angle, and the relative position of the vehicle and the trench is adjusted so that the β angle meets the requirements of each stage in the process of crossing the trench, and the crossing is gradually completed;
同时,采用Reeds-Shepp曲线以使路径最短,并满足阿克曼转向模型;At the same time, the Reeds-Shepp curve is adopted to make the path shortest and satisfy the Ackerman steering model;
具体规划步骤如下:The specific planning steps are as follows:
(1)判断采用的跨越策略及跨越方式,进而选取关键路径点,关键路径点包括起始路径点、阶段分割点和终点;(1) Judging the adopted spanning strategy and spanning method, and then select the critical path point, the critical path point includes the starting path point, the stage split point and the end point;
采用垂直跨越策略时,选取当前位置为起始路径点,任意前轮悬空估计点为阶段分割点1,任意后轮悬空结束点为阶段分割点2,当前航线角方向距壕沟3m位置为终点;避障路径点根据实际障碍物情况通过算法选取;When the vertical leaping strategy is adopted, the current position is selected as the starting path point, the estimated point of any front wheel overhang is the stage split
采用斜跨策略时,起止路径点、避障路径点选取如上;采用直行跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第二个前轮悬空结束点为阶段分割点2,第一个后轮悬空结束点为阶段分割点3;采用分阶段转向跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第一个后轮悬空开始点为阶段分割点2,允许通过点为阶段分割点3,第一个后轮悬空结束点为阶段分割点4;其中,前轮悬空估计点即前轮到达壕沟边缘的路径点,后轮悬空结束点即后跨过壕沟接触壕沟边缘的路径点,所述的第一个、第二个以通过壕沟时时序上的先后开始悬空和结束悬空划分;When adopting the oblique spanning strategy, the starting and ending path points and obstacle avoidance path points are selected as above; when using the straight-line spanning method, the first front wheel suspension end point is selected as the stage split
(2)关键路径点间的路径规划;(2) Path planning between critical path points;
确定关键路径点后,在相邻两个关键路径点间,以前述安全跨越壕沟的约束条件,即跨越壕沟允许的夹角β为约束条件,以下一关键路径点间的跨越壕沟允许的夹角β为路径规划目标,该目标在垂直跨越策略中为β角在90°±3°范围,在斜跨策略中为相应阶段β角允许范围容易达到的临界值以内2~3°;通过算法用Reeds-Shepp曲线将关键路径点串联,所规划路径满足该车辆的阿克曼转角模型;After determining the critical path point, between two adjacent critical path points, the aforementioned constraint condition for safely crossing the trench, that is, the allowable angle β for crossing the trench, is the constraint condition, and the allowable angle for crossing the trench between the next critical path point β is the path planning target. In the vertical spanning strategy, the β angle is within the range of 90°±3°, and in the oblique spanning strategy, it is within 2 to 3° of the critical value that the β angle can easily reach in the corresponding stage; The Reeds-Shepp curve connects the critical path points in series, and the planned path satisfies the Ackerman corner model of the vehicle;
对于无解规划采取反向路径规划和路径规划时序叠加方法达到规划目标,例如跨越壕沟时单次路径规划下的转向行驶不能使车辆调整到下一阶段的约束条件夹角β范围内,则进行转向倒驶规划,通过一次或多次前后转向挪车叠加起来到达夹角β的目标值。For no-solution planning, the reverse path planning and path planning time sequence superposition method are used to achieve the planning goal. For example, when crossing a trench, the steering and driving under a single path planning cannot make the vehicle adjust to the range of the constraint angle β of the next stage. Steering and reversing planning, the target value of the included angle β can be reached by superimposing one or more front and rear steering maneuvers.
(3)中间路径点的选取与车辆运动状态采样频率有关并成倍率,满足路径跟踪和路径修正要求,从而满足路径跟随精度。(3) The selection of the intermediate path points is related to the sampling frequency of the vehicle motion state and is multiplied to meet the requirements of path tracking and path correction, thereby satisfying the path following accuracy.
(4)各关键路径点间的规划路径串联生成路径规划控制指令;(4) The planned paths between the key path points are connected in series to generate path planning control instructions;
S5、按照确定的路径点和路径点速度,实时控制转向轮的转向角和驱动轮的转矩,从而控制车辆按照预定的跨越壕沟路径自动跨越壕沟。S5. Control the steering angle of the steering wheel and the torque of the driving wheel in real time according to the determined waypoint and the speed of the waypoint, so as to control the vehicle to automatically cross the moat according to the predetermined moat crossing path.
按上述方法,本方法还包括故障处理步骤,实时监控车辆各个部分的故障信息,根据监控信息判断车辆软硬件故障,按照对应的故障级别进行车辆控制。According to the above method, the method further includes a fault processing step, monitoring the fault information of each part of the vehicle in real time, judging the software and hardware faults of the vehicle according to the monitoring information, and controlling the vehicle according to the corresponding fault level.
按上述方法,本方法还包括驱动防滑步骤,当某一电动轮即将到达壕沟边缘时,发出限制转矩指令,防止附着力不足而电动轮滑转,同时避免过大的转矩输出破环壕沟边缘而加大跨越难度;当某一电动轮即将悬于壕沟上方时,发出零转矩输出指令,使悬于壕沟上方的电动轮无动力输出。According to the above method, the method also includes the step of driving anti-skidding, when a certain electric wheel is about to reach the edge of the trench, a torque limit command is issued to prevent the electric wheel from slipping due to insufficient adhesion, and at the same time to avoid excessive torque output from damaging the edge of the trench And increase the difficulty of crossing; when an electric wheel is about to hang above the trench, a zero torque output command is issued, so that the electric wheel hanging above the trench has no power output.
本发明的有益效果为:通过图像处理和信息融合技术判断是否有壕沟,并针对不同情形设置对应的跨越策略,从而保证车辆自动跨越一定宽度范围内的壕沟,对于复杂多变的野外环境适应性好。The beneficial effects of the invention are as follows: whether there is a trench is judged by image processing and information fusion technology, and corresponding crossing strategies are set for different situations, thereby ensuring that the vehicle automatically crosses over the trench within a certain width, and is adaptable to complex and changeable field environments. it is good.
附图说明Description of drawings
图1为本发明一实施例的系统组成及信息流图。FIG. 1 is a system composition and information flow diagram of an embodiment of the present invention.
图2为本发明一实施例的控制流程图。FIG. 2 is a control flow chart of an embodiment of the present invention.
图3为激光雷达的安装及凸起障碍的检测示意图。Figure 3 is a schematic diagram of the installation of the lidar and the detection of raised obstacles.
图4为激光雷达测量壕沟(负障碍物)参数示意图。Figure 4 is a schematic diagram of the parameters of the moat (negative obstacle) measured by the lidar.
图5(a)、(b)、(c)为车辆跨越壕沟三个阶段示意图。Figure 5(a), (b), (c) are schematic diagrams of three stages of vehicles crossing the trench.
图6为分阶段转向跨越关键路径点及路径示意图。FIG. 6 is a schematic diagram of a phased turn to cross a critical way point and a path.
具体实施方式Detailed ways
下面结合具体实例和附图对本发明做进一步说明。The present invention will be further described below with reference to specific examples and accompanying drawings.
本发明提供一种无人驾驶越野车跨壕沟的自动识别与控制系统,设置在四轮驱动电动汽车中,如图1所示,它包括:The present invention provides an automatic identification and control system for an unmanned off-road vehicle crossing a trench, which is arranged in a four-wheel drive electric vehicle, as shown in FIG. 1 , which includes:
环境感知单元,用于获取车辆周围障碍物信息。所述的环境感知单元包括传感器、车辆参数采集模块和壕沟识别及参数提取模块。The environment perception unit is used to obtain information about obstacles around the vehicle. The environment perception unit includes a sensor, a vehicle parameter collection module, and a trench identification and parameter extraction module.
传感器包括激光雷达、多个超声波传感器及双目摄像头。激光雷达作为主动视觉布置于车辆前后部较高位置,采集主要障碍物信息;4个超声波雷达布置在前后保险杠左右侧,主要采集周围其他障碍物信息;双目摄像头用于形成车辆环境视觉。Sensors include lidar, multiple ultrasonic sensors, and binocular cameras. Lidar is arranged at a higher position in the front and rear of the vehicle as active vision to collect information on major obstacles; four ultrasonic radars are arranged on the left and right sides of the front and rear bumpers, mainly collecting information on other surrounding obstacles; binocular cameras are used to form vehicle environmental vision.
车辆参数采集模块,用于获取车辆运行状态参数,主要从整车控制器获取。The vehicle parameter collection module is used to obtain the vehicle running state parameters, which are mainly obtained from the vehicle controller.
壕沟识别及参数提取模块,用于根据车辆周围障碍物信息,通过图像处理及信息融合方法,得出车辆可感知范围内的障碍物边线,识别并计算出壕沟的尺寸信息,同时结合车辆位姿信息计算壕沟中心线与车辆纵向轴线的夹角。所述的环境感知单元,当检测出当前路径上存在横向长条状负障碍物,且负障碍物的深度D大于或等于车轮滚动半径r,则判断遇到壕沟;计算壕沟宽度W、壕沟中心线与车辆纵向轴线的夹角β、车辆距壕沟边缘线距离s。The trench identification and parameter extraction module is used to obtain the edge lines of obstacles within the perceptible range of the vehicle through image processing and information fusion methods based on the information of obstacles around the vehicle, identify and calculate the size information of the trench, and combine the vehicle pose The information calculates the angle between the centerline of the moat and the longitudinal axis of the vehicle. Described environment perception unit, when detecting that there is a horizontal elongated negative obstacle on the current path, and the depth D of the negative obstacle is greater than or equal to the wheel rolling radius r, then it is judged to encounter a trench; Calculate the trench width W, the trench center The angle β between the line and the longitudinal axis of the vehicle, and the distance s from the vehicle to the edge of the trench.
决策单元,包括判断模块、路径规划模块和路径跟踪模块;其中,判断模块用于根据壕沟的尺寸信息、壕沟中心线与车辆纵向轴线的夹角,并结合车辆自身尺寸信息,判断车辆能否跨越壕沟,并制定跨越策略;路径规划模块用于在判断模块判定车辆能够跨越壕沟时,根据制定的跨越策略,结合车辆的性能参数,制定跨越壕沟路径,确定路径点和路径点速度;路径跟踪模块,用于按照确定的路径点和路径点速度,实时控制转向轮的转向角和驱动轮的转矩,从而控制车辆按照预定的跨越壕沟路径自动跨越壕沟。The decision-making unit includes a judgment module, a path planning module and a path tracking module; wherein, the judgment module is used to judge whether the vehicle can cross according to the size information of the trench, the angle between the center line of the trench and the longitudinal axis of the vehicle, and the size information of the vehicle itself moat, and formulate a crossing strategy; the path planning module is used to formulate a path across the moat and determine the path point and the speed of the path point according to the formulated crossing strategy and the performance parameters of the vehicle when the judgment module determines that the vehicle can cross the moat; the path tracking module , which is used to control the steering angle of the steering wheel and the torque of the driving wheel in real time according to the determined waypoint and the speed of the waypoint, so as to control the vehicle to automatically cross the moat according to the predetermined path of crossing the moat.
所述的判断模块内置车辆的长度为I、宽度为w、轮距为B、轴距为L、车轮滚动半径r、车轮直径d、车辆最小转弯半径Rmin、转向轮最大转角αmax等信息,判断壕沟宽度W小于车辆可跨越最大壕沟宽度Wmax,则判定车辆能够跨越壕沟,若壕沟宽度W大于或等于车辆可跨越最大壕沟宽度Wmax,则判断车辆无法跨越当前壕沟,规划路径绕开壕沟;Wmax按以下公式计算:The length of the built-in vehicle in the judgment module is I, the width is w, the wheelbase is B, the wheelbase is L, the wheel rolling radius r, the wheel diameter d, the minimum turning radius of the vehicle R min , the maximum turning angle of the steering wheel α max and other information , it is judged that the trench width W is less than the maximum trench width Wmax that the vehicle can cross, then it is determined that the vehicle can cross the trench, if the trench width W is greater than or equal to the maximum trench width Wmax that the vehicle can cross, then it is determined that the vehicle cannot span the current trench, and the planned path is bypassed. Moat; Wmax is calculated by the following formula:
式中B为车辆轮距,L为车辆轴距。where B is the wheelbase of the vehicle, and L is the wheelbase of the vehicle.
判断模块具体按以下方法制定跨越策略:The judgment module formulates the leaping strategy according to the following methods:
当W<2r时,采用垂直跨越策略,即调整车辆与壕沟的相对位置使车辆纵向轴线与壕沟局部中心线近乎垂直,然后直行跨越壕沟,若环境障碍物数量大于阈值,则转入斜跨策略;r为车轮滚动半径;When W < 2r, the vertical crossing strategy is adopted, that is, the relative position of the vehicle and the moat is adjusted so that the longitudinal axis of the vehicle is almost perpendicular to the local center line of the moat, and then it goes straight across the moat. If the number of environmental obstacles is greater than the threshold, the diagonal crossing strategy ; r is the wheel rolling radius;
当W≥2r时,采用斜跨策略;When W≥2r, the oblique span strategy is adopted;
所述的斜跨策略包括3个阶段:The oblique-span strategy described includes three stages:
第一阶段,开始跨越壕沟,保持β角并向前从壕沟A侧驶向B侧,一侧前轮w1先跨越壕沟,此时要保证w1未触及壕沟B侧时,另一侧前轮w2位于壕沟A侧边缘不得陷入壕沟,保证β∈(arctan(B/L),arccos(W/B)];In the first stage, start to cross the trench, keep the β angle and drive forward from side A to side B of the trench. One front wheel w1 crosses the trench first. At this time, it is necessary to ensure that when w1 does not touch the side B of the trench, the other front wheel w2 The A side edge of the moat shall not sink into the moat, guarantee β∈(arctan(B/L), arccos(W/B)];
第二阶段,w1已经跨越壕沟于B侧着地,w2开始跨越壕沟,此时要保证w2未触及壕沟B侧时,与w2在车辆对角线上的后轮w3位于壕沟A侧边缘不得陷入壕沟,保证β∈[arctan(B/L)+arcsin(W/sqrt(B2+L2)),90°];In the second stage, w1 has already crossed the moat and landed on the B side, and w2 started to cross the moat. At this time, it is necessary to ensure that when w2 does not touch the B side of the moat, the rear wheel w3 on the diagonal line of the vehicle with w2 is located on the edge of the moat A side and must not sink into the moat. , guarantee β∈[arctan(B/L)+arcsin(W/sqrt(B 2 +L 2 )), 90°];
第三阶段,w2已经跨越壕沟于B侧着地,w3开始跨越壕沟,此时要保证w3未触及壕沟B侧时,与w1在车辆对角线上的后轮w4位于壕沟A侧边缘不得陷入壕沟,第三阶段工况与第一阶段的工况一致,只是车辆相对行驶方向相反,所以β满足第一阶段结果;In the third stage, w2 has crossed the moat and landed on the B side, and w3 started to cross the moat. At this time, it is necessary to ensure that when w3 does not touch the B side of the moat, the rear wheel w4 on the diagonal line with w1 is located on the edge of the moat A side and must not sink into the moat. , the working conditions of the third stage are the same as the working conditions of the first stage, but the relative driving direction of the vehicle is opposite, so β satisfies the results of the first stage;
因此,若βper非空集且β∈βper,规划路径保持该角度直行斜跨壕沟,否则,规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;Therefore, if β per is not an empty set and β∈βper , the planned path keeps this angle straight and diagonally across the trench; otherwise, the planned path adjusts the included angle β to satisfy β∈βper , and then the planned path keeps this angle straight and diagonally across moat;
若βper为空集,规划路径大角度转向机动,实时调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,通过多次转向机动跨越壕沟。If β per is an empty set, plan a large-angle steering maneuver on the path, adjust the relative position of the vehicle and the trench in real time so that the β angle meets the requirements of each stage in the process of crossing the trench, and cross the trench through multiple steering maneuvers.
路径规划模块根据判断模块的结果,进行相应工况和策略下的路径规划:The path planning module performs path planning under corresponding operating conditions and strategies according to the results of the judgment module:
若采用垂直跨越策略,规划路径在壕沟前方进行转向机动调整β角至90°±3°范围,环境感知单元检测到β角在90°±3°范围内即开始直行通过壕沟;If the vertical crossing strategy is adopted, the planned path is maneuvered in front of the trench to adjust the beta angle to 90°±3°, and the environment perception unit detects that the beta angle is within the range of 90°±3° and starts to go straight through the trench;
采用斜跨策略时,若采用直行斜跨方式跨越,则规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;若需要采用分阶段转向斜跨方式,则规划路径大角度转向机动,调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,逐步完成跨越;When adopting the diagonal-span strategy, if the straight-line diagonal-span method is adopted, the planned path adjusts the included angle β to make it satisfy β∈βper , and then the planned path maintains this angle to go straight to the diagonal-span trench; , then the planned path is turned to maneuver at a large angle, and the relative position of the vehicle and the trench is adjusted so that the β angle meets the requirements of each stage in the process of crossing the trench, and the crossing is gradually completed;
同时,路径规划模块采用Reeds-Shepp曲线以使路径最短,并满足阿克曼转向模型。Meanwhile, the path planning module adopts the Reeds-Shepp curve to make the path shortest and satisfy the Ackerman steering model.
路径规划模块具体规划步骤如下:The specific planning steps of the path planning module are as follows:
(1)判断采用的跨越策略及跨越方式,进而选取关键路径点,关键路径点包括起始路径点、阶段分割点和终点;(1) Judging the adopted spanning strategy and spanning method, and then select the critical path point, the critical path point includes the starting path point, the stage split point and the end point;
采用垂直跨越策略时,选取当前位置为起始路径点,任意前轮悬空估计点为阶段分割点1,任意后轮悬空结束点为阶段分割点2,当前航线角方向距壕沟3m位置为终点;避障路径点根据实际障碍物情况通过算法选取;When the vertical leaping strategy is adopted, the current position is selected as the starting path point, the estimated point of any front wheel overhang is the stage split
采用斜跨策略时,起止路径点、避障路径点选取如上;采用直行跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第二个前轮悬空结束点为阶段分割点2,第一个后轮悬空结束点为阶段分割点3;采用分阶段转向跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第一个后轮悬空开始点为阶段分割点2,允许通过点为阶段分割点3,第一个后轮悬空结束点为阶段分割点4;其中,前轮悬空估计点即前轮到达壕沟边缘的路径点,后轮悬空结束点即后跨过壕沟接触壕沟边缘的路径点,所述的第一个、第二个以通过壕沟时时序上的先后开始悬空和结束悬空划分;When adopting the oblique spanning strategy, the starting and ending path points and obstacle avoidance path points are selected as above; when using the straight-line spanning method, the first front wheel suspension end point is selected as the stage split
(2)关键路径点间的路径规划;(2) Path planning between critical path points;
确定关键路径点后,在相邻两个关键路径点间,以前述安全跨越壕沟的约束条件,即跨越壕沟允许的夹角β为约束条件,以下一关键路径点间的跨越壕沟允许的夹角β为路径规划目标,该目标在垂直跨越策略中为β角在90°±3°范围,在斜跨策略中为相应阶段β角允许范围容易达到的临界值以内2~3°;通过算法用Reeds-Shepp曲线将关键路径点串联,所规划路径满足该车辆的阿克曼转角模型;After determining the critical path point, between two adjacent critical path points, the aforementioned constraint condition for safely crossing the trench, that is, the allowable angle β for crossing the trench, is the constraint condition, and the allowable angle for crossing the trench between the next critical path point β is the path planning target. In the vertical spanning strategy, the β angle is within the range of 90°±3°, and in the oblique spanning strategy, it is within 2 to 3° of the critical value that the β angle can easily reach in the corresponding stage; The Reeds-Shepp curve connects the critical path points in series, and the planned path satisfies the Ackerman corner model of the vehicle;
对于无解规划采取反向路径规划和路径规划时序叠加方法达到规划目标,例如跨越壕沟时单次路径规划下的转向行驶不能使车辆调整到下一阶段的约束条件夹角β范围内,则进行转向倒驶规划,通过一次或多次前后转向挪车叠加起来到达夹角β的目标值。For no-solution planning, the reverse path planning and path planning time sequence superposition method are used to achieve the planning goal. For example, when crossing a trench, the steering and driving under a single path planning cannot make the vehicle adjust to the range of the constraint angle β of the next stage. Steering and reversing planning, the target value of the included angle β can be reached by superimposing one or more front and rear steering maneuvers.
(3)中间路径点的选取与车辆运动状态采样频率有关并成倍率,满足路径跟踪和路径修正要求,从而满足路径跟随精度。(3) The selection of the intermediate path points is related to the sampling frequency of the vehicle motion state and is multiplied to meet the requirements of path tracking and path correction, thereby satisfying the path following accuracy.
(4)各关键路径点间的规划路径串联生成路径规划控制指令,发送至路径跟踪模块。(4) The planned paths between the key path points are connected in series to generate a path planning control instruction, which is sent to the path tracking module.
方向控制功能依据纯追踪算法设计,车辆实际运行的轨迹为一段圆弧,同时直线路径可以看出是一个半径无限大的圆弧,车辆短暂时间内,认为速度不变,一旦规划出一个大小合适的转向角就可以较为准确地跟踪参考路径。当车辆跨越壕沟时速度很低,选择路径上较近的前视路径点进行跟踪,将产生两个误差一个是距离上的跟踪误差称为横向误差,此误差为车辆位置与期望路径的绝对距离;另一个误差是车辆纵轴与参考路径某点切线之间的夹角为航向误差。采用模糊控制器对车辆实时转向角进行控制,从而使上述误差尽可能趋向于0。The direction control function is designed based on pure tracking algorithm. The actual trajectory of the vehicle is an arc, and the straight line path can be seen as an arc with an infinite radius. The vehicle considers the speed to remain unchanged for a short period of time. Once a suitable size is planned The steering angle can more accurately track the reference path. When the vehicle crosses the ditch, the speed is very low, and the forward-looking path point that is closer on the path is selected for tracking, and two errors will be generated. One is the tracking error in the distance, which is called the lateral error, and this error is the absolute distance between the vehicle position and the desired path. ; Another error is that the angle between the longitudinal axis of the vehicle and the tangent of a point on the reference path is the heading error. The fuzzy controller is used to control the real-time steering angle of the vehicle, so that the above error tends to be zero as much as possible.
速度控制功能接收路径规划的路径点速度期望值指令,该指令随工况及路径点变化而实时变化修正,速度控制功能以车辆当前速度为反馈信息,对四轮毂电机的转矩输出、对制动系统的压力进行闭环控制。基于人类对于车辆的速度控制经验和过程,轮毂电机驱动和制动系统制动分别采用一套增量式模糊PID控制器,驱动与制动不同时工作,当当前速度大于命令速度一定值时,停止驱动控制标志位置位,跳出驱动PID控制,进入制动PID控制算法,相反,当当前速度小于命令速度一定值时进入驱动PID控制算法。The speed control function receives the expected value command of the path point speed of the path planning, and the command changes and corrects in real time with the change of the working conditions and the way point. The pressure of the system is closed-loop controlled. Based on human's experience and process of vehicle speed control, a set of incremental fuzzy PID controllers are respectively used for in-wheel motor driving and braking system braking. Driving and braking do not work at the same time. When the current speed is greater than a certain value of the command speed, Stop the drive control flag bit set, jump out of the drive PID control, enter the brake PID control algorithm, on the contrary, when the current speed is less than a certain value of the command speed, enter the drive PID control algorithm.
本系统还包括整车控制器,整车控制单元(VCU)作为整车底层控制单元,包括功能性控制策略及底层驱动策略,本发明中将其分为驱动防滑模块、故障处理模块、其他控制模块。由于本专利在VCU部分的发明点主要集中于驱动防滑及故障处理模块,所以其他控制模块不予以详细说明。驱动防滑模块在车辆跨越壕沟过程中保证悬于壕沟上方或附着力不足的电动轮发生飞转;故障处理模块负责监控并分析系统各单元工作状态,出现故障时进行处理,保证整个跨壕沟过程的安全。The system also includes a vehicle controller, and the vehicle control unit (VCU) is the bottom control unit of the vehicle, including functional control strategies and bottom driving strategies. In the present invention, it is divided into a driving anti-skid module, a fault processing module, and other control units. module. Since the inventions of this patent in the VCU part mainly focus on the drive anti-skid and fault handling modules, other control modules will not be described in detail. The driving anti-skid module ensures that the electric wheels suspended above the trench or with insufficient adhesion will fly when the vehicle crosses the trench; the fault handling module is responsible for monitoring and analyzing the working status of each unit of the system, and handling the failure in case of failure to ensure the entire process of crossing the trench. Safety.
所述的驱动防滑模块可根据实时环境感知信息、已规划路径、车辆所处路径点、车辆位姿及运动参数预先判断车轮的附着情况,从而采取相应控制策略防止电动轮滑转。当系统判断某一电动轮即将到达壕沟边缘,驱动防滑单元将发出适当的限制转矩指令,防止附着力不足而电动轮滑转,同时避免过大的转矩输出破环壕沟边缘而加大跨越难度;当系统判断电动轮即将悬于壕沟上方时,驱动防滑模块发出零转矩输出指令,使悬于壕沟上方的电动轮无动力输出;同时该驱动防滑模块也具有常规的驱动防滑功能,系统检测到任意电动轮有滑转时将发出相应的转矩限制,用来保证处于非悬空状态的车轮输出转矩驱动车辆跨越壕沟。The driving anti-skid module can pre-judg the attachment of the wheels according to real-time environmental perception information, planned paths, path points where the vehicle is located, vehicle posture and motion parameters, so as to adopt corresponding control strategies to prevent the electric wheels from slipping. When the system judges that an electric wheel is about to reach the edge of the trench, the drive anti-skid unit will issue an appropriate limit torque command to prevent the electric wheel from slipping due to insufficient adhesion, and to avoid excessive torque output from damaging the edge of the trench and increasing the difficulty of crossing. ; When the system judges that the electric wheel is about to hang above the trench, the drive anti-skid module sends a zero torque output command, so that the electric wheel hanging above the trench has no power output; at the same time, the drive anti-skid module also has a conventional drive anti-skid function, the system detects When any electric wheel is slipping, the corresponding torque limit will be issued to ensure that the output torque of the wheel in the non-suspended state drives the vehicle to cross the trench.
所述的故障处理模块具有故障监控、故障分级处理、跛行控制等功能,根据监控信息判断车辆软硬件故障,将故障分为三级,一级故障立即切断高压电/停止运行,二级故障限制功率输出和行驶车速,进行低速跛行,三级故障报警提示但正常行驶。The fault processing module has the functions of fault monitoring, fault classification processing, limp control, etc. According to the monitoring information, the vehicle software and hardware faults are judged, and the faults are divided into three levels. The first-level fault will immediately cut off the high-voltage power/stop operation, and the second-level fault will be cut off immediately. Limit power output and driving speed, perform low-speed limp, three-level fault alarm prompts but normal driving.
一种利用所述的无人驾驶越野车跨壕沟的自动识别与控制系统实现的壕沟识别与跨越方法,如图2所示,包括以下步骤:A trench identification and spanning method realized by the automatic identification and control system of the described unmanned off-road vehicle spanning trenches, as shown in Figure 2, comprises the following steps:
S1、当检测到当前路径上存在深度D大于车轮滚动半径r的横向长条状负障碍物时,自动启动跨壕沟功能,限制车速在预设的低速阈值(10km/h)以下;然后进行故障信息确认,读取当前车辆各个系统的故障信息,确认当前无故障或无影响跨壕沟安全性的故障。S1. When it is detected that there is a horizontally long negative obstacle with a depth D greater than the wheel rolling radius r on the current path, the function of crossing the trench is automatically activated to limit the vehicle speed below the preset low speed threshold (10km/h); then fault Information confirmation, read the fault information of each system of the current vehicle, and confirm that there is no fault or any fault that affects the safety of crossing trenches.
关于障碍物的检测描述如下:激光雷达安装在车顶部,扫描线向下有一定的斜度,如图3所示。图中h是激光雷达的高度,p为需要检测的障碍物的最低高度,γ为激光雷达的俯仰角。高于地面0.4m的突起物体被确定为凸起障碍物,深度大于0.4m且大于车轮滚动半径r的路面凹陷区域被确定为负障碍物,深度D大于车轮滚动半径r的横向长条状负障碍物触发自动跨壕沟功能。The detection of obstacles is described as follows: the lidar is installed on the top of the car, and the scanning line has a certain slope downward, as shown in Figure 3. In the figure, h is the height of the lidar, p is the minimum height of the obstacle to be detected, and γ is the pitch angle of the lidar. A protruding object with a height of 0.4m above the ground is determined as a raised obstacle, a concave area of the road surface with a depth greater than 0.4m and greater than the wheel rolling radius r is determined as a negative obstacle, and a horizontally elongated negative obstacle with a depth D greater than the wheel rolling radius r. Obstacles trigger automatic trench crossing function.
在实际检测壕沟时,主要检测不连续的相邻团块在水平和垂直方向上的距离。如果距离大于给定阈值,则说明检测到有壕沟障碍存在。此时水平和垂直方向上的距离分别定义为壕沟宽度W和深度D。如图4所示,hhdl为雷达安装高度,θ为激光雷达发出的射线最大俯角,d为俯角最大射线的地面反射点距激光雷达的水平距离,γ为任一激光射线与俯角最大激光射线的夹角,Δd为平整地面上任一激光射线与俯角最大射线反射点间的距离,相邻两个激光射线之间的夹角为Δθ,则定义扫描在平整地面上相邻两个激光反射点距离为Δdideal,当壕沟存在时,射入壕沟的光束反射点与相邻店面反射点间的距离增大为Δdtrue。通过不连续的相邻团块引起的Δd变化可以检测负障碍的存在,并进行负障碍物深度的估计。In the actual detection of moat, the distance between discontinuous adjacent clumps in the horizontal and vertical directions is mainly detected. If the distance is greater than the given threshold, it means that a moat obstacle is detected. At this time, the distances in the horizontal and vertical directions are defined as the width W and depth D of the moat, respectively. As shown in Figure 4, h hdl is the installation height of the radar, θ is the maximum depression angle of the ray emitted by the lidar, d is the horizontal distance from the ground reflection point of the maximum depression angle ray to the lidar, and γ is any laser ray and the maximum depression angle laser ray Δd is the distance between any laser ray on the flat ground and the reflection point of the maximum depression angle, and the included angle between two adjacent laser rays is Δθ, which defines the scanning of two adjacent laser reflection points on the flat ground. The distance is Δd ideal . When the moat exists, the distance between the reflection point of the beam entering the moat and the reflection point of the adjacent storefront increases to Δd true . The presence of negative obstacles can be detected by the Δd changes caused by discontinuous adjacent clumps, and the estimation of the depth of the negative obstacles can be performed.
S2、激光雷达等传感器采集详细环境信息并由信息处理模块进行信息融合计算处理,得到壕沟局部宽度W、壕沟中心线与车辆纵向轴线的夹角β(≤90°)、车辆前轴中心与壕沟的距离。具体包括以下步骤:S2. Sensors such as lidar collect detailed environmental information and perform information fusion calculation processing by the information processing module to obtain the local width of the trench W, the angle β (≤90°) between the center line of the trench and the longitudinal axis of the vehicle, the center of the front axle of the vehicle and the trench the distance. Specifically include the following steps:
2.1、以当前开启自动跨壕沟功能的位置为坐标原点,以汽车纵向为X轴,汽车横向为Y轴,建立平面坐标系;2.1. Take the position where the automatic trench crossing function is currently enabled as the coordinate origin, take the longitudinal direction of the car as the X axis, and the transverse direction of the car as the Y axis, to establish a plane coordinate system;
2.2、根据预先输入算法处理雷达及摄像头感知的环境信息,计算识别出壕沟轮廓及方位,图像处理拟合壕沟边缘线,在上述平面坐标系中建立参数化壕沟边缘和位置;计算识别壕沟周边其他突出障碍物,在坐标系中表示;2.2. Process the environmental information perceived by the radar and camera according to the pre-input algorithm, calculate and identify the outline and orientation of the moat, fit the edge line of the moat by image processing, and establish the parameterized moat edge and position in the above-mentioned plane coordinate system; Prominent obstacles, represented in the coordinate system;
2.3、根据整车控制器反馈的车辆运行状态参数,包括当前行驶速度v、行驶时间t以及方向盘转角α,结合上述壕沟参数计算当前待车辆与壕沟的相对位置,并在坐标系中进行参数化表示,得出判断模块和路径规划模块所需关键参数:车辆距壕沟边缘线距离s以及β。2.3. According to the vehicle running state parameters fed back by the vehicle controller, including the current driving speed v, the driving time t and the steering wheel angle α, the relative position of the current waiting vehicle and the trench is calculated in combination with the above-mentioned trench parameters, and parameterized in the coordinate system represents the key parameters required by the judgment module and the path planning module: the distance s and β from the vehicle to the edge of the trench.
S3、根据壕沟的尺寸信息、壕沟中心线与车辆纵向轴线的夹角,并结合车辆自身尺寸信息,判断车辆能否跨越壕沟,并制定跨越策略。S3. According to the size information of the trench, the angle between the center line of the trench and the longitudinal axis of the vehicle, and combined with the size information of the vehicle itself, determine whether the vehicle can cross the trench, and formulate a crossing strategy.
3.1,安全跨越壕沟的基本要求时任何时刻保证车辆有至少三个车轮着地(即不悬于壕沟上方)。Wmax出现在斜跨壕沟时,车辆对角线上的车轮同时处于壕沟边缘,继续跨越壕沟,无论如何操纵车辆,对角线上的两个车轮会同时悬于壕沟上,跨越壕沟失败,此时即为车辆跨越壕沟的极限值3.1, the basic requirements for safely crossing the trench At any time, ensure that the vehicle has at least three wheels on the ground (that is, not overhanging the trench). When W max appears in a diagonally crossing ditch, the wheels on the diagonal line of the vehicle are at the edge of the ditch at the same time, and continue to cross the ditch. No matter how the vehicle is manipulated, the two wheels on the diagonal line will hang on the ditch at the same time and fail to cross the ditch. is the limit value of the vehicle crossing the trench
式(1)中B为车辆轮距,L为车辆轴距。In formula (1), B is the wheelbase of the vehicle, and L is the wheelbase of the vehicle.
当W≥Wmax时,该车辆无法跨越当前壕沟,规划路径绕开壕沟,退出自动跨壕沟功能。When W ≥ W max , the vehicle cannot cross the current trench, and the planned path bypasses the trench and exits the automatic trench crossing function.
当W<Wmax时,该车辆能够跨越当前壕沟。When W <Wmax, the vehicle can cross the current moat.
3.2,当判定车辆能够跨越壕沟时,按以下方法制定跨越策略:3.2, when it is determined that the vehicle can cross the trench, formulate the crossing strategy as follows:
当W<2r时,采用垂直跨越策略,即调整车辆与壕沟的相对位置使车辆纵向轴线与壕沟局部中心线近乎垂直,然后直行跨越壕沟,若环境障碍物数量大于阈值,则转入斜跨策略;r为车轮滚动半径;When W < 2r, the vertical crossing strategy is adopted, that is, the relative position of the vehicle and the moat is adjusted so that the longitudinal axis of the vehicle is almost perpendicular to the local center line of the moat, and then it goes straight across the moat. If the number of environmental obstacles is greater than the threshold, the diagonal crossing strategy ; r is the wheel rolling radius;
当W≥2r时,采用斜跨策略;When W≥2r, the oblique span strategy is adopted;
所述的斜跨策略包括3个阶段,如图5所示:The oblique-span strategy includes three stages, as shown in Figure 5:
第一阶段,开始跨越壕沟,保持β角并向前从壕沟A侧驶向B侧,一侧前轮w1先跨越壕沟,此时要保证w1未触及壕沟B侧时,另一侧前轮w2位于壕沟A侧边缘不得陷入壕沟,由几何分析得β满足In the first stage, start to cross the trench, keep the β angle and drive forward from side A to side B of the trench. One front wheel w1 crosses the trench first. At this time, it is necessary to ensure that when w1 does not touch the side B of the trench, the other front wheel w2 It is not allowed to sink into the trench on the side edge of trench A, and β is satisfied by geometric analysis
B×cosβ≥W (2)B×cosβ≥W (2)
β≤arccos(W/B) (3)β≤arccos(W/B) (3)
此时允许的极限β角βper1=arccos(W/B)出现在w1位于壕沟A侧边缘且w2刚好位于壕沟B侧边缘。另一方面,β应该大于Wmax出现时的夹角,即车辆对角线上的车轮同时处于壕沟边缘,由几何分析得β满足At this time, the allowable limit β angle β per1 =arccos(W/B) occurs when w1 is located at the edge of the A side of the moat and w2 is just located at the edge of the B side of the moat. On the other hand, β should be larger than the included angle when W max appears, that is, the wheels on the diagonal line of the vehicle are at the edge of the trench at the same time. From the geometric analysis, β satisfies
β>arctan(B/L) (4)β>arctan(B/L) (4)
因此,该阶段β∈(arctan(B/L),arccos(W/B)]时,车辆可以安全跨越壕沟。Therefore, at this stage β∈(arctan(B/L), arccos(W/B)], the vehicle can safely cross the trench.
第二阶段,w1已经跨越壕沟于B侧着地,w2开始跨越壕沟,此时要保证w2未触及壕沟B侧时,车辆对角线上的后轮w3位于壕沟A侧边缘不得陷入壕沟,由几何分析得β满足In the second stage, w1 has already crossed the trench and landed on the B side, and w2 started to cross the trench. At this time, it is necessary to ensure that when w2 does not touch the B side of the trench, the rear wheel w3 on the diagonal line of the vehicle is located on the edge of the trench A side and must not fall into the trench. Analyzed and found that β is satisfied
β≥∠1+∠2,β≥∠1+∠2,
即 which is
此时允许的极限β角出现在w3位于壕沟A侧边缘且w2刚好位于壕沟B侧边缘。The allowable limit β angle at this time Occurs when w3 is at the edge of the A side of the moat and w2 is just at the edge of the B side of the moat.
因此,该阶段β∈[arctan(B/L)+arcsin(W/sqrt(B2+L2)),90°]时,车辆可以安全跨越壕沟。Therefore, at this stage β∈[arctan(B/L)+arcsin(W/sqrt(B 2 +L 2 )), 90°], the vehicle can safely cross the trench.
第三阶段,w2已经跨越壕沟于B侧着地,w3开始跨越壕沟,此时要保证w3未触及壕沟B侧时,与w1在车辆对角线上的后轮w4位于壕沟A侧边缘不得陷入壕沟,第三阶段工况与第一阶段的工况一致,只是车辆相对行驶方向相反,所以β满足第一阶段结果;In the third stage, w2 has crossed the moat and landed on the B side, and w3 started to cross the moat. At this time, it is necessary to ensure that when w3 does not touch the B side of the moat, the rear wheel w4 on the diagonal line with w1 is located on the edge of the moat A side and must not sink into the moat. , the working conditions of the third stage are the same as the working conditions of the first stage, but the relative driving direction of the vehicle is opposite, so β satisfies the results of the first stage;
综上,当车辆直行斜跨该宽度壕沟的允许β角范围βper=[arctan(B/L)+arcsin(W/sqrt(B2+L2)),arccos(W/B)]不是空集时,若β∈βper,规划路径保持该角度直行斜跨壕沟,否则,规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;当βper为空集时,需要规划路径调整β分别满足三个跨越阶段所要求的安全跨越角度范围。To sum up, the allowable β angle range β per = [arctan(B/L)+arcsin(W/sqrt(B 2 +L 2 )), arccos(W/B)] is not empty when the vehicle goes straight and diagonally across the trench of this width When set, if β∈βper , the planned path keeps the angle straight and diagonally across the trench; otherwise, the planned path adjusts the included angle β to satisfy β∈βper , and then the planned path keeps the angle straight and diagonally across the trench; when βper When it is an empty set, it is necessary to plan the path adjustment β to satisfy the safe spanning angle range required by the three spanning stages.
上述βper不是空集,β不满足βper时,程序不进入转向斜跨程序是因为直行斜跨通过效率高,处于壕沟上方的时间短,车辆操纵控制程序少,安全性有更高的保障。The above β per is not an empty set. When β does not satisfy β per , the program does not enter the steering ramp program because the straight-line ramp pass has high efficiency, the time above the trench is short, the vehicle manipulation control program is less, and the safety is more guaranteed. .
若βper非空集且β∈βper,规划路径保持该角度直行斜跨壕沟,否则,规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;If β per is not an empty set and β∈βper , the planned path keeps this angle straight and diagonally across the trench; otherwise, the planned path adjusts the included angle β to satisfy β∈βper , and then the planned path keeps this angle straight and diagonally across the trench;
若βper为空集,规划路径大角度转向机动,实时调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,通过多次转向机动跨越壕沟。If β per is an empty set, plan a large-angle steering maneuver on the path, adjust the relative position of the vehicle and the trench in real time so that the β angle meets the requirements of each stage in the process of crossing the trench, and cross the trench through multiple steering maneuvers.
判断单元将判断结果,即通过计算和逻辑判断得出的车辆跨越壕沟策略发送至路径规划模块。The judging unit sends the judging result, that is, the vehicle crossing the trench strategy obtained through calculation and logical judgment, to the path planning module.
S4、在判断模块判定车辆能够跨越壕沟时,根据制定的跨越策略,结合车辆的件能参数,制定跨越壕沟路径,确定路径点和路径点速度;若采用垂直跨越策略,规划路径在壕沟前方进行转向机动调整β角至90°±3°范围,环境感知单元检测到β角在90°±3°范围内即开始直行通过壕沟;采用斜跨策略时,若采用直行斜跨方式跨越,则规划路径调整夹角β,使其满足β∈βper,进而规划路径保持该角度直行斜跨壕沟;若需要采用分阶段转向斜跨方式,则规划路径大角度转向机动,调整车辆与壕沟的相对位置使β角分别满足跨越壕沟过程中各个阶段的要求,逐步完成跨越。S4. When the judging module determines that the vehicle can cross the ditch, according to the formulated crossing strategy, combined with the vehicle's component energy parameters, formulate the path across the ditch, and determine the path point and the speed of the path point; if the vertical crossing strategy is adopted, the planned path is carried out in front of the ditch. The steering maneuver adjusts the β angle to the range of 90°±3°, and the environment perception unit detects that the β angle is within the range of 90°±3° and starts to go straight through the trench; when the oblique-span strategy is adopted, if the straight-travel and oblique-span method is used to cross, plan Adjust the included angle β of the path to satisfy β∈βper , and then plan the path to keep this angle straight and diagonally across the trench; if a phased steering diagonally-span method is required, the planned path is turned to maneuver at a large angle, and the relative position of the vehicle and the trench is adjusted. Make the β angle meet the requirements of each stage in the process of crossing the trench, and gradually complete the crossing.
所述的路径规划有下列几个要点:The path planning described has the following points:
4.1、该控制方法下的路径规划位于无人驾驶车辆全局路径规划之下,且不同于局部路径规划,是一种特殊工况路径规划。该规划方法基于几何规划,即四个车轮与壕沟的相对位置及前述安全跨越壕沟的约束条件,路径采用Reeds-Shepp曲线以使路径最短,并满足阿克曼转向模型,保证通过的高效性和预留分阶段转向跨越方式所需的夹角β的调整空间。4.1. The path planning under this control method is located under the global path planning of the unmanned vehicle, and is different from the local path planning. It is a special working condition path planning. The planning method is based on geometric planning, that is, the relative positions of the four wheels and the trench and the aforementioned constraints for safely crossing the trench. The path adopts the Reeds-Shepp curve to make the path the shortest, and satisfies the Ackerman steering model to ensure the efficient and safe passing. Reserve the adjustment space for the included angle β required by the step-by-step steering method.
4.2、路径规划包括路径点(或轨迹)、路径点理想速度(包括停车、起步)的规划。路径点包括起始路径点、避障路径点、跨壕沟阶段分割点(即根据坐标系和车辆运动状态估计出的某一车轮开始悬于壕沟上方或结束悬空的路径点)、允许通过点(处于该路径点时,满足上述阶段二的安全跨越壕沟的约束条件)、中间路径点(相邻特殊路径点间插入的便于跟踪的路径点)、终点。路径点理想速度规划如下:整个过程路径点理想速度低于10km/h;阶段分割点、相邻阶段分割点间的中间路径点车速限制在5km/h以下;起始点、终点、其余路径点速度保持当前车速,不进行特殊控制;起步和停车采用线性速度规划,即起步加速度和制动减速度设置为较小定值。4.2. The path planning includes the planning of the path point (or trajectory) and the ideal speed of the path point (including stopping and starting). The path points include the starting path point, the obstacle avoidance path point, the split point in the cross-ditch stage (that is, the path point where a certain wheel starts to hang above the moat or ends up hanging according to the coordinate system and the vehicle motion state), the allowable passage point ( When it is at this waypoint, it satisfies the constraints of safely crossing the moat in the second stage), the middle waypoint (the waypoint inserted between the adjacent special waypoints that is easy to track), and the end point. The ideal speed of the waypoint is planned as follows: the ideal speed of the waypoint in the whole process is lower than 10km/h; the speed of the stage split point and the intermediate waypoint between adjacent stage split points is limited to less than 5km/h; The current vehicle speed is maintained, and no special control is performed; the starting and stopping use linear speed planning, that is, the starting acceleration and braking deceleration are set to small fixed values.
4.3、路径规划基本步骤:4.3. Basic steps of path planning:
(1)判断采用的跨越策略及跨越方式,进而选取关键路径点。(1) Judging the adopted leaping strategy and leaping method, and then select the key way point.
采用垂直跨越策略,选取当前位置为起始路径点,任意前轮悬空估计点(即前轮到达壕沟边缘的路径点)为阶段分割点1,任意后轮悬空结束点(即后跨过壕沟接触壕沟边缘的路径点)为阶段分割点2,当前航线角方向距壕沟3m位置为终点。避障路径点根据实际障碍物情况通过算法选取。采用斜跨策略时,如图6所示,起止路径点、避障路径点选取如上;采用直行跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第二个前轮悬空结束点为阶段分割点2,第一个后轮悬空结束点为阶段分割点3;采用分阶段转向跨越方式,选取第一个前轮悬空结束点为阶段分割点1,第一个后轮悬空开始点为阶段分割点2,允许通过点为阶段分割点3,第一个后轮悬空结束点为阶段分割点4。The vertical leaping strategy is adopted, the current position is selected as the starting path point, the estimated point of any front wheel overhang (that is, the path point where the front wheel reaches the edge of the trench) is the
注:上述的“第一个”、“第二个”为通过壕沟时时序上的先后开始悬空和结束悬空的车轮。Note: The above "first" and "second" are the wheels that start to be suspended and end to be suspended in sequence when passing through the trench.
(2)关键路径点间的路径规划。(2) Path planning between critical path points.
确定关键路径点后,在相邻两个关键路径点间,以前述安全跨越壕沟的约束条件,即跨越壕沟允许的夹角β为约束条件,以下一关键路径点间的跨越壕沟允许的夹角β为路径规划目标,该目标在垂直跨越策略中为β角在90°±3°范围,在斜跨策略中为相应阶段β角允许范围容易达到的临界值以内2~3°。通过算法用Reeds-Shepp曲线将关键路径点串联,所规划路径满足该车辆的阿克曼转角模型。对于无解规划采取反向路径规划和路径规划时序叠加方法达到规划目标,例如跨越壕沟时单次路径规划下的转向行驶不能使车辆调整到下一阶段的约束条件夹角β范围内,则进行转向倒驶规划,通过一次或多次前后转向挪车叠加起来到达夹角β的目标值。After determining the critical path point, between two adjacent critical path points, the aforementioned constraint condition for safely crossing the trench, that is, the allowable angle β for crossing the trench, is the constraint condition, and the allowable angle for crossing the trench between the next critical path point β is the path planning target. In the vertical spanning strategy, the β angle is within the range of 90°±3°, and in the oblique spanning strategy, it is within 2-3° of the critical value that the allowable range of the β angle in the corresponding stage is easy to reach. The critical path points are connected in series with the Reeds-Shepp curve through the algorithm, and the planned path satisfies the Ackerman angle model of the vehicle. For no-solution planning, the reverse path planning and path planning time sequence superposition method are used to achieve the planning goal. For example, when crossing a trench, the steering and driving under a single path planning cannot make the vehicle adjust to the range of the constraint angle β of the next stage. Steering and reversing planning, the target value of the included angle β can be reached by superimposing one or more front and rear steering maneuvers.
(3)中间路径点的选取与车辆运动状态采样频率有关并成倍率,满足路径跟踪和路径修正要求,从而满足路径跟随精度。(3) The selection of the intermediate path points is related to the sampling frequency of the vehicle motion state and is multiplied to meet the requirements of path tracking and path correction, thereby satisfying the path following accuracy.
(4)各关键路径点间的规划路径串联生成路径规划控制指令,发送至路径跟踪模块。(4) The planned paths between the key path points are connected in series to generate a path planning control instruction, which is sent to the path tracking module.
4.4、通过融合壕沟坐标信息和车辆运动学信息对当前壕沟进行跟踪,同时对航向角即路径规划结果进行修正。对于路径跟踪和底盘执行器控制带来的误差,通过多次规划和修正的方法予以减小,所以已规划的路径处于实时跟踪修正状态。中间路径点根据路径跟踪需求通过算法选取。4.4. The current trench is tracked by fusing the trench coordinate information and the vehicle kinematics information, and the heading angle, that is, the path planning result, is corrected at the same time. The errors caused by path tracking and chassis actuator control are reduced through multiple planning and correction methods, so the planned path is in a real-time tracking and correction state. The intermediate path points are selected by algorithm according to the path tracking requirements.
S5、按照确定的路径点和路径点速度,实时控制转向轮的转向角和驱动轮的转矩,从而控制车辆按照预定的跨越壕沟路径自动跨越壕沟。方向控制功能及速度控制都采用闭环控制,算法及控制原理如前述。方向控制功能通过模糊控制算法输出转向角调节量,控制车辆沿理想轨迹行驶;速度控制功能通过模糊PID算法输出加速、制动信号及挡位信号,控制车辆车速尽量趋于理想车速。S5. Control the steering angle of the steering wheel and the torque of the driving wheel in real time according to the determined waypoint and the speed of the waypoint, so as to control the vehicle to automatically cross the moat according to the predetermined moat crossing path. The direction control function and speed control all use closed-loop control, and the algorithm and control principle are as described above. The direction control function outputs the steering angle adjustment amount through the fuzzy control algorithm to control the vehicle to drive along the ideal trajectory; the speed control function outputs the acceleration, braking signal and gear signal through the fuzzy PID algorithm to control the vehicle speed as close to the ideal speed as possible.
上述控制信号等价于驾驶员信号,由决策单元发送至整车控制单元,整车控制单元作为底层驱动器,接收信号后控制相应执行器(转向系统、制动系统、四轮毂电机驱动系统等)执行控制指令,最后车辆按路径跨越壕沟。车辆行驶整个过程中,整车控制单元中的驱动防滑模块实时控制四轮毂电机的驱动状态,防止发生滑转甚至飞转;故障处理模块处于实时工作状况,启动跨壕沟功能后,如前述首先进行车辆各个系统的故障信息确认,然后实时监控故障信息,及时对跨越壕沟过程中发生的故障进行处理,保证跨越壕沟的安全性。The above control signal is equivalent to the driver signal, which is sent by the decision-making unit to the vehicle control unit. The vehicle control unit acts as the underlying driver and controls the corresponding actuators (steering system, braking system, four-wheel motor drive system, etc.) after receiving the signal. Execute the control command, and finally the vehicle crosses the trench according to the path. During the whole driving process of the vehicle, the driving anti-skid module in the vehicle control unit controls the driving state of the four-wheel motor in real time to prevent slipping or even flying; the fault handling module is in real-time working condition. The fault information of each system of the vehicle is confirmed, and then the fault information is monitored in real time, and the fault occurred in the process of crossing the trench is dealt with in time to ensure the safety of crossing the trench.
本发明优点主要体现在以下方面:The advantages of the present invention are mainly reflected in the following aspects:
(1)安装在车身前后位置的激光雷达及摄像头等传感器组成的环境感知模块对车辆行进过程中的障碍物进行检测,很好的解决了传统越野车驾驶员存在的视野局限、盲区大、距离感知不准确、恶劣天气状况下视野丢失等问题。通过雷达和摄像头等传感器采集的信息进行融合计算,可得到障碍物的准确位置,壕沟的具体形状参数以及跨壕沟时各车轮与壕沟的相对位置,控制单元可以进行合理的分析决策,制定最佳控制策略。对于复杂多变的野外环境适应性好。(1) The environment perception module composed of sensors such as lidar and cameras installed at the front and rear of the vehicle body detects obstacles in the process of vehicle travel, which well solves the limited field of vision, large blind spots, and distances of traditional off-road vehicle drivers. Inaccurate perception, loss of vision in bad weather conditions, etc. Through the fusion calculation of the information collected by sensors such as radar and cameras, the exact position of the obstacle, the specific shape parameters of the trench and the relative position of each wheel and the trench when crossing the trench can be obtained. The control unit can make reasonable analysis and decision-making, and formulate the best Control Strategy. Good adaptability to complex and changeable field environments.
(2)无人驾驶越野车根据各传感器采集到的信息进行融合计算,决策单元根据计算出的障碍物参数、车辆与障碍物相对位置参数、车辆几何参数进行综合分析决策。判断和决策的过程理性,可以通过精确的计算来确定车辆能否通过壕沟,以何种方式通过,安全性得到充分保障。(2) The unmanned off-road vehicle performs fusion calculation according to the information collected by each sensor, and the decision-making unit performs comprehensive analysis and decision-making according to the calculated obstacle parameters, the relative position parameters of the vehicle and the obstacle, and the vehicle geometric parameters. The process of judgment and decision-making is rational, and it can be determined through accurate calculation whether the vehicle can pass through the trench and in what way, and the safety is fully guaranteed.
(3)控制单元会根据关键环境信息进行路径规划,制定最佳通过壕沟的控制策略,并控制车辆执行控制指令实现路径跟踪,实现了精确控制以及在行车过程中可以自动根据信息进行实时调整。保证车辆可以以最佳的方式跨过壕沟,节省通过障碍的时间,提高效率。(3) The control unit will plan the path according to the key environmental information, formulate the best control strategy for passing through the trench, and control the vehicle to execute the control command to achieve path tracking, which realizes precise control and can automatically adjust in real time according to the information during the driving process. It is ensured that the vehicle can cross the trench in the best way, saving time when passing obstacles and improving efficiency.
(4)本发明为分布式驱动越野车,车辆各轮由电机直接驱动,其转矩独立可控,可灵活协调控制,实现差动助力转向而减小越野时车辆的最小转弯半径,很大程度上提高了越野车辆在野外的机动性和灵活性,便于车辆进行姿态调整,提高通过效率。(4) The present invention is a distributed drive off-road vehicle, each wheel of the vehicle is directly driven by a motor, its torque is independently controllable, and can be flexibly and coordinated to control, realize differential power steering and reduce the minimum turning radius of the vehicle when off-road, which is very large. To a certain extent, the mobility and flexibility of the off-road vehicle in the field are improved, the attitude adjustment of the vehicle is convenient, and the passing efficiency is improved.
(5)控制系统及控制方法可在相同水平硬件设施的分布式驱动车辆上进行移植和复制,具有可移植性和复制性,可广泛运用于相同硬件水平的分布式驱动越野车辆。(5) The control system and control method can be transplanted and replicated on the distributed drive vehicles of the same level of hardware facilities, which have portability and replication, and can be widely used in distributed drive off-road vehicles of the same hardware level.
以上实施例仅用于说明本发明的设计思想和特点,其目的在于使本领域内的技术人员能够了解本发明的内容并据以实施,本发明的保护范围不限于上述实施例。所以,凡依据本发明所揭示的原理、设计思路所作的等同变化或修饰,均在本发明的保护范围之内。The above embodiments are only used to illustrate the design ideas and features of the present invention, and the purpose is to enable those skilled in the art to understand the contents of the present invention and implement them accordingly, and the protection scope of the present invention is not limited to the above embodiments. Therefore, all equivalent changes or modifications made according to the principles and design ideas disclosed in the present invention fall within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138854.9A CN109808509B (en) | 2019-02-25 | 2019-02-25 | An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910138854.9A CN109808509B (en) | 2019-02-25 | 2019-02-25 | An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109808509A CN109808509A (en) | 2019-05-28 |
CN109808509B true CN109808509B (en) | 2022-03-11 |
Family
ID=66607478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910138854.9A Active CN109808509B (en) | 2019-02-25 | 2019-02-25 | An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109808509B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110749457A (en) * | 2019-10-31 | 2020-02-04 | 重庆长安汽车股份有限公司 | Early warning method and system for depression congestion of road surface by intelligent driving automobile and intelligent driving automobile |
CN111142520B (en) * | 2019-12-24 | 2022-03-11 | 中国科学院合肥物质科学研究院 | Planning and control method of crawler-type unmanned vehicle on cliff obstacle road |
CN111325980B (en) * | 2020-02-28 | 2022-01-14 | 浙江吉利汽车研究院有限公司 | Driving method, system and device based on road condition monitoring |
CN112356851B (en) * | 2020-04-22 | 2021-11-05 | 青岛慧拓智能机器有限公司 | Planning method for riding pit of unmanned mine car |
CN113052888B (en) * | 2020-11-03 | 2021-12-17 | 杭州尽享科技有限公司 | Abnormal environment real-time monitoring system |
CN113126618B (en) * | 2021-03-17 | 2022-03-11 | 中国科学院合肥物质科学研究院 | Unmanned global path planning and re-planning method in cross-country environment |
CN114995465B (en) * | 2022-08-02 | 2022-11-15 | 北京理工大学 | Multi-unmanned vehicle motion planning method and system considering vehicle motion capability |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61102340A (en) * | 1984-10-22 | 1986-05-21 | Hino Motors Ltd | Automatic clutch controller |
CN105365518A (en) * | 2014-08-29 | 2016-03-02 | 吴文精 | Electronic control suspension for automobile |
CN105667631A (en) * | 2016-03-28 | 2016-06-15 | 上海交通大学 | Self-bouncing obstacle-crossing remote control vehicle |
-
2019
- 2019-02-25 CN CN201910138854.9A patent/CN109808509B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61102340A (en) * | 1984-10-22 | 1986-05-21 | Hino Motors Ltd | Automatic clutch controller |
CN105365518A (en) * | 2014-08-29 | 2016-03-02 | 吴文精 | Electronic control suspension for automobile |
CN105667631A (en) * | 2016-03-28 | 2016-06-15 | 上海交通大学 | Self-bouncing obstacle-crossing remote control vehicle |
Non-Patent Citations (1)
Title |
---|
基于TR40超声传感器的智能车辆障碍识别和避障控制方法研究;吴昊天;《中国水运》;20080930;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109808509A (en) | 2019-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109808509B (en) | An automatic identification and control system and method for an unmanned off-road vehicle crossing a trench | |
CN107264531B (en) | A motion planning method for intelligent vehicles to automatically change lanes and overtake in semi-structured environments | |
EP3932761A1 (en) | Vehicle abnormal lane change control method, device and system | |
WO2020029462A1 (en) | Self-driving system for electric vehicle | |
US8098174B2 (en) | Feasible region determination for autonomous parking | |
CN109032132B (en) | Vehicle driving system and method | |
US20200050190A1 (en) | Multi-stage operation of autonomous vehicles | |
CN107145147B (en) | Vehicle low-speed automatic driving collision avoidance method and system | |
WO2020143288A1 (en) | Autonomous vehicle decision-making system under complex operating conditions, and trajectory planning method therefor | |
US7860653B2 (en) | Obstacle avoidance control apparatus | |
CN109542097A (en) | The unmanned railless free-wheeled vehicle in underground and its travel control method of infrared top set tracking | |
CN109606354A (en) | An automatic parking method and auxiliary system based on hierarchical planning | |
CN105263785A (en) | Vehicle control system | |
CN105620475A (en) | Intelligent drive system with safety protection function | |
CN105197010A (en) | Auxiliary parking system and auxiliary parking control method | |
CN110389589A (en) | Intelligent driving vehicle obstacle-avoidance system and method | |
WO2007143757A2 (en) | Software architecture for high-speed traversal of prescribed routes | |
CN114084158B (en) | Automatic driving redundancy control system | |
CN105739495A (en) | Driving path planning method and device and automatic steering system | |
CN111873992A (en) | Artificial potential field method for automatic driving vehicle decision layer path planning | |
CN204557216U (en) | Wheel-track combined Intelligent Mobile Robot active obstacle system | |
CN110481547A (en) | A kind of automobile cruise control method and system | |
CN113885525A (en) | Path planning method and system for automatically driving vehicle to get rid of trouble, vehicle and storage medium | |
CN109407673A (en) | A kind of autonomous lane-change control method and system suitable for structured road | |
CN114661039A (en) | Logistics vehicle and its trailer pose determination, pre-collision detection and automatic driving method |
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 |