Trailer-trailer cross-collision detection and collision avoidance planning method based on collision composite circle
The time-varying collision composite circle method is used to perform cross-collision detection and collision avoidance path planning in trailers, which solves the problems of inaccurate detection and large calculation amount in the existing technology, and achieves more efficient and accurate collision prediction and path optimization.
Patent Information
- Application Number
- CN202410971872.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The existing technology has problems in the cross-collision detection and collision avoidance path planning of trailers, such as inaccurate detection, large amount of calculation, and the inability to accurately consider the geometric contour characteristics of the trailer system and obstacles, resulting in low collision detection accuracy and inaccurate path planning. .
The time-varying collision compound circle method is used to accurately calculate the collision time range by identifying dynamic obstacles and constructing a time-varying collision compound circle area centered on the intersection of the trajectories of the trailer and the obstacle vehicle, and combining the dynamic characteristics of the trailer to perform local Path planning reduces the backward amplification effect and off-course effect.
It improves the collision detection accuracy and path planning accuracy of trailers, reduces computational complexity and cost, and enhances the reliability of collision avoidance decisions.
Smart Images

Figure CN118494469B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of road vehicle control and relates to a system for predicting or avoiding possible or imminent collisions, and in particular to a method for detecting and avoiding collisions of trailer crossovers based on a collision composite circle. Background Art
[0002] Compared with general vehicles, trailer-trailer combination vehicles have the characteristics of long wheelbase, high center of mass, large tonnage, and multiple monomer units. They are prone to the backward amplification effect and track deviation effect of the trailer during emergency collision avoidance, especially in the event of intersection collision type accidents, which are more likely to cause rollover, sideslip, folding and other consequences, often causing heavy casualties and economic and property losses. Therefore, it is of great practical significance to study the active safety technology of intersection collision detection and collision avoidance path planning of trailers.
[0003] With the development of intelligent technology, automation technology has gradually been introduced into the field of trailers. By integrating advanced sensors, artificial intelligence and autonomous driving technologies, autonomous trailers have significantly improved active safety technology. In existing technical solutions, the local trajectory planning method of autonomous driving vehicles mainly includes two key parts: collision detection based on environmental perception and local path planning. The details are as follows:
[0004] (1) Establishing an environmental perception and collision detection model: Path planning requires the environment to be expressed in a pathable manner. Since high-density networks bring high computing costs and power, existing algorithms only use road boundaries and obstacle locations to initiate searches in continuous coordinates. For example, Chinese patent CN 117261900 A discloses "A method for planning a small curvature trajectory for an autonomous semi-trailer train traveling on a curve". This patent proposes a concept of collision polygons that covers the outer contours of the semi-trailer and the tractor as well as the contours of the obstacles. Compared with other methods for generating obstacle areas, the generated passable area is larger, but the core is still to generate the obstacle area under the current time window based on the enclosing circle, and to perform a one-by-one overlap judgment with the enclosing circle constructed by the vehicle to achieve collision detection. This type of method that first constructs all obstacle areas and then performs a one-by-one overlap judgment cannot filter out obstacle areas that do not have a possible collision with the current planned path based on the vehicle's motion state. Therefore, when constructing collision avoidance constraints for subsequent path planning, unnecessary calculations may be performed on obstacle areas that do not have a collision risk. Chinese patent CN 117818661 A discloses "a method and system for collision avoidance trajectory planning and tracking control of a semi-trailer train". The patent is based on the recognition of environmental obstacle images and the comparison with preset obstacle features to determine the distance of the obstacle, thereby further predicting the collision probability. This method relies on obtaining a large amount of simulation data and manual obstacle feature extraction, so it is limited to certain scenes and obstacle samples, and cannot accurately consider the geometric contour features of the trailer system and obstacles, resulting in low collision detection accuracy.
[0005] In general, the current methods of collision detection based on environmental perception are mainly divided into two categories: machine learning methods and on-site detection. Among them, the machine learning-based methods: Common ones are to process camera images or point cloud data through deep learning to identify and predict the position and movement of obstacles; or to train intelligent agents to learn collision detection strategies based on reinforcement learning. This method can learn complex environmental features and process high-dimensional data, but there is less training for trailer scenes, and it cannot guarantee the effective recognition of various collision scenes. Therefore, the application of machine learning-based collision detection for trailers is not yet mature. Methods based on on-site detection: At present, collision detection for trailer systems is mainly based on on-site detection processing, such as geometry-based methods, taking the bounding box and bounding circle methods as examples, using some simple geometric shapes to approximate vehicles and obstacles, and detecting whether the geometric shapes overlap to determine whether a collision has occurred. This type of geometric method has low computational complexity and is suitable for real-time systems. However, the bounding box and bounding circle are approximate methods. Since the circular area surrounding the vehicle body is constructed with a simple center of mass as the center of the circle, for the long-wheelbase multi-body articulated composite outer contour features of a trailer vehicle, it will contain more blank areas than ordinary cars, which may lead to inaccurate detection. In addition, since the geometric area generated by the articulation angles between the units of the trailer vehicle changes with movement, it also needs to change continuously, resulting in more computational complexity when performing subsequent overlap judgments to detect collisions. In addition, this type of geometric method is based on generating obstacle areas, and is subsequently combined with search-based methods to construct collision avoidance constraints to achieve path planning, which may limit the choice of subsequent path planning methods. At the same time, the geometric method constructs corresponding obstacle areas for all detected obstacles, rather than selectively detecting areas that conflict with the vehicle, so redundant collision avoidance constraint calculations will be performed in the subsequent path planning.
[0006] (2) Local path planning: The local trajectory planning of a vehicle requires selecting a path search algorithm that meets the conditions in a specific model space under multiple constraints. Search-based and optimization-based methods are common local path generation methods. The search-based algorithm not only needs to further process the smooth path, but also complex environmental scenes will lead to inaccurate or infeasible paths when the space is discretized, and it is difficult to meet the real-time requirements. The optimization-based method is suitable for complex, multi-constrained, and dynamically changing environments. It can comprehensively consider multiple constraints and goals to generate smooth and feasible paths. Due to the complex kinematics of trailer vehicles, relatively large dimensional state space, and structurally unstable joint angle kinematics when moving backward, the path search method for trailers is mainly based on optimization-based methods. For example: Chinese patent CN 115805965 A discloses "a method and device for planning a collision-free path for the outer contour of a semi-trailer vehicle". The semi-trailer collision-free path planning method provided is to select multiple collision detection points on the outer contours of the tractor and the semi-trailer, and calculate the offset of each collision detection point from the reference line and the boundary within the set threshold as a constraint condition. Chinese patent CN116300938 A discloses "articulated vehicle trajectory planning method, device, equipment and medium", which constructs a differential conversion relationship between the tractor deviation vector and the semi-trailer deviation vector to determine the semi-trailer deviation vector through the differential conversion relationship and the tractor deviation vector, thereby realizing trajectory planning and tracking, and thus selecting the deviation limit of the tractor and the semi-trailer as a safety constraint condition.
[0007] In general, the current research focuses on standard N-type trailers (SNTs) such as semi-trailers. Semi-trailers are only allowed to be attached on the axle and have differential flatness. The off-axis hooks in general N-type trailers (GNTs) such as full trailers introduce additional degrees of freedom to the system, making its kinematics more complex. Therefore, when the method of setting up multiple collision detection points for semi-trailers to perform offset detection to ensure that the outer contour is collision-free is used on general N-type trailers (GNTs), the resulting planned path may not necessarily meet the constraints of off-axis articulation between trailers. Therefore, it is necessary to provide a local path planning method for general N-type trailers (GNTs) to achieve the integration of perception and planning. Summary of the invention
[0008] In view of the above-mentioned technical problems and defects, the purpose of the present invention is to provide a method for trailer intersection collision detection and collision avoidance planning based on a collision composite circle. The method proposes a time-varying collision composite circle to perceive dynamic obstacles. Different from the common enclosing circle and occupancy grid method that generates all existing obstacle areas in the current time window, the time-varying collision composite circle chooses the intersection of the trajectories of the trailer and the obstacle vehicle as the center, and takes into account the temporal and spatial changes of the collision probability shown by the precise contours, postures, and speeds of the vehicles and the obstacle vehicles. Therefore, only the collision area with the intersection conflict with the trailer is constructed, and the time-varying collision composite circle is a possible collision space after a certain time window in the future. This predictive collision detection facilitates the subsequent collision avoidance decision-making for the path planning of the trailer vehicle.
[0009] To achieve the above object, the present invention adopts the following technical solution:
[0010] A method for detecting and avoiding collisions of trailer vehicles based on a collision composite circle, the method comprising the following steps:
[0011] Step 1: Get the current time window The state of the trailer and the surrounding environment parameters;
[0012] Step 2: Identify dynamic obstacles. For dynamic obstacles that reach the obstacle threshold, they are regarded as dynamic obstacle vehicles. The cross collision detection module constructs time-varying collision composite units for each unit of the trailer based on the basic data of the dynamic obstacle vehicle and each unit of the trailer, generates a time-varying collision composite circle area, and calculates the precise collision time range. , calculate the distance turning time TTS and distance braking time TTB of the trailer;
[0013] Step 2.1: Identify dynamic obstacles and calculate the obstacle degree of the dynamic moving body relative to the trailer ,Will and obstacle threshold Compare and determine the dynamic obstacle vehicle, then determine whether the dynamic obstacle vehicle is a connected vehicle. If it is not a connected vehicle, obtain the dynamic obstacle vehicle in the current time window Speed , attitude angle , location coordinates And go to step 2.2;
[0014] Step 2.2: Calculate the driving aggressiveness of the non-connected dynamic obstacle vehicle;
[0015] Step 2.3: The intersection collision detection module obtains the trajectory equations of the trailer and the dynamic obstacle vehicle at the current moment, and takes the intersection of the trajectories as the center of the circle; obtains the maximum collision distance between the two parties at the current moment, and constructs the outer boundary of the collision; obtains the minimum safety distance between the two parties at the current moment, and constructs the inner boundary of the collision; generates a time-varying collision composite circle area ;in, is the time-varying composite circular unit of the tractor unit and the dynamic obstacle vehicle. It is the time-varying collision composite circular unit formed by the 1st to Nth trailer units and the dynamic obstacle vehicle;
[0016] Step 2.4: Calculate the precise collision time range based on the generated time-varying collision composite circle area , Contains all trailer units Vehicles with dynamic obstacles The collision time range , ; Calculate the boundary of the collision time of the entire trailer system , and the corresponding number of collision units , go to step 2.5;
[0017] Step 2.5: Calculate the turning distance time TTS and braking distance time TTB of the trailer;
[0018] Step 3: The local path planning module performs local collision avoidance path planning based on the optimal control model to reduce the backward amplification effect, and optimizes the path based on the modified deviation from the center road index to reduce the deviation from the channel effect; wherein, when the optimal control model performs local collision avoidance path planning, it considers the kinematic constraints of the trailer's intrinsic mechanical characteristics, the hinge point constraints to prevent the jackknife state, the dynamic stability constraints to prevent roll and yaw, the collision avoidance constraints, and the boundary value constraints, minimizes the cost function, solves the complete optimal control strategy, and outputs the local planning path.
[0019] As the preferred embodiment of the present invention, the specific steps of step 1 are:
[0020] Step 1.1: Self-towed vehicle perception, acquisition of static and dynamic information; static information includes the width of the tractor unit , Front overhang length , Rear overhang length , tractor wheelbase , Distance from rear axle center to rear hinge point , centroid height , Load ;No. Trailer unit load ,width , Front overhang length , Rear overhang length , centroid height , Distance from axle center to front hinge point , Distance from axle center to rear hinge point ; Dynamic information includes the state of the tractor unit And the state quantity of each trailer unit ;
[0021] ;
[0022] ;
[0023] in, The center point of the rear axle of the tractor The coordinates of is the speed along the longitudinal axis of the tractor body, are the attitude angle of the tractor in the coordinate system and the front wheel deflection angle of the tractor, For the Trailer unit axle center point The coordinates of For along The speed of the trailer unit in the longitudinal direction of the vehicle body, For the The attitude angle of the trailer unit in the coordinate system;
[0024] Step 1.2: Perceive the external environment and obtain dynamic obstacles, static obstacles and road condition parameters; road condition parameters include road adhesion coefficient , road longitudinal slope angle , Road superelevation cross slope , Road curvature coefficient .
[0025] As a preferred embodiment of the present invention, in step 2.1, the dynamic moving body Obstacle level relative to the trailer The calculation formula is:
[0026] ;
[0027] in, , is the trajectory crossing angle, , is the reference point distance between the two vehicles, , are the attitude angle and distance influence weights respectively, , attitude angle weight Between 0.3 and 0.5, , are the correction adjustment parameters, The value is 1. The value is 2, the obstacle threshold The range is from 0.4 to 0.8.
[0028] As a preferred embodiment of the present invention, in step 2.2, the dynamic obstacle vehicle How aggressively you drive ;
[0029] ;
[0030] in, is the average acceleration change of the dynamic obstacle vehicle, The lane change frequency of vehicles with dynamic obstacles, is the average following distance of vehicles with dynamic obstacles, is the average speeding index of vehicles with dynamic obstacles, is the number of speeding times of vehicles with dynamic obstacles in this time window; Indicates the speed of the dynamic obstacle vehicle in the current time window when speeding is detected For road speed limits, is 0.25, is 0.25, is 0.2, is 0.3.
[0031] As the preferred embodiment of the present invention, the specific steps of step 2.3 are:
[0032] Get the length of the dynamic obstacle vehicle ,width , get the previous time window and the current time window Dynamic obstacle vehicle center coordinates , ; Get the trailer in the previous time window and the current time window The state quantity , ; Based on all reference points of the tractor unit and all trailer units , As well as the center coordinates of the dynamic obstacle vehicle, construct the trajectory equations of each unit of the tractor and trailer and the dynamic obstacle vehicle;
[0033] Combined trailer system units The trajectory equation of the dynamic obstacle vehicle is used to obtain the position coordinates of a series of trajectory intersections between the tractor and each trailer unit and the dynamic obstacle vehicle: ;
[0034] Calculate the maximum collision distance between each unit of the trailer and the dynamic obstacle vehicle at the intersection of the trajectory: , , the minimum safe distance is , :
[0035] ;
[0036] ;
[0037] ;
[0038] ;
[0039] ;
[0040] in, Dynamic obstacle vehicle Length, Dynamic obstacle vehicle The width of is the composite correction parameter, , is the distance correction parameter from brake activation to brake effectiveness, The time from activation to effectiveness is 1s. The driving speed of the current corrected vehicle in the current time window; is the driving aggressiveness index of the current correction vehicle. If the current correction vehicle is each unit of the trailer, then ; Otherwise, when the current corrected vehicle is a dynamic obstacle vehicle ; is the road correction parameter, It is the vehicle's braking performance correction parameter, and its value ranges from 0.1 to 1.0. All are adjustment parameters. The value ranges from -1 to -0.5. It is between 0.4 and 0.6. is the road adhesion coefficient, is the longitudinal slope angle of the road, is the superelevation cross slope of the road, is the front wheel deflection angle of the vehicle along the superelevation direction; and Together they form the trailer Units and dynamic obstacle vehicles The track intersection angle , Indicates the track crossing angle The part that is biased towards the trailer tractor unit, Indicates the track intersection angle is biased towards the trailer Part of the trailer unit, This means that the trajectory intersection angle is biased towards the dynamic obstacle vehicle The calculation method of the part is as follows:
[0041] ;
[0042] ;
[0043] According to the position coordinates of the track intersection , track intersection angle , trailer Unit and dynamic obstacle vehicle Maximum collision distance , The collision outer boundary circle that constitutes the collision composite circle and the minimum safety distance , The inner boundary of the collision that constitutes the collision composite circle;
[0044] The functions that make up the ellipse are , then the final time-varying composite circle model of the trailer units and the dynamic obstacle vehicle for:
[0045] ;
[0046] Among them, the elliptic functions that constitute the inner and outer boundaries of the time-varying collision composite circle are for:
[0047] ;
[0048] in, are the horizontal and vertical coordinates of the ellipses that form the inner and outer boundaries of the time-varying collision composite circle, are the lengths of the major and minor axes of the ellipse, respectively. Elliptic functions Required input for trailer Unit and dynamic obstacle vehicle The safe distance that constitutes the inner and outer boundary circles of the collision;
[0049] If the tractor's direction of motion does not change, a virtual time window is constructed to generate trailer units. The attitude angle in the current time window Move around the hinge point to the previous unit attitude angle Time-varying collision composite circular unit under the time window ;
[0050] when When , the Minkowski sum is used to add the convex hulls of all time-varying collision composite circle units. The specific calculation formula is as follows:
[0051] ;
[0052] when When only the attitude angle as well as The geometric Boolean union of the time-varying collision composite circular unit under , the specific calculation formula is:
[0053] ;
[0054] Generate a time-varying collision compound circle area based on the time-varying collision compound circle units of each unit of the trailer and the dynamic obstacle vehicle .
[0055] As the preferred embodiment of the present invention, the specific steps of step 2.4 are:
[0056] initialization , , first calculate the dynamic obstacle vehicle Falling into the trailer system The time range of the time-varying collision composite circle area between units, initialization: including the time of entering the outer boundary of the collision , time to enter the inner boundary of collision :
[0057] ;
[0058] ;
[0059] ;
[0060] Get the trailer system Unit Entry with Dynamic Barrier Vehicles The time range of the time-varying collision composite circle area is: , ;
[0061] like and , current time window The two cars below are within the inner collision boundary of the time-varying collision composite circle and have already collided;
[0062] If only or , it is reassigned to 0, that is or ;
[0063] like or , it is reassigned to 0, that is or , at this time, at least one of the vehicle systems is within the time-varying collision composite circle area;
[0064] If satisfied and ,when and when and There will be no collision.
[0065] like , there will be no collision; otherwise, remember , and is located in Time Window ( ) time window after the trailer The location of the unit is , the Euclidean distance from the intersection of the trajectories is , dynamic obstacle vehicle The location is , the Euclidean distance from the intersection of the trajectories is , then the following conditions are met:
[0066] when When the trailer The unit enters the outer boundary of the time-varying collision composite circle, but does not enter the inner boundary. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle;
[0067] when When the trailer The unit enters the inner collision boundary of the time-varying collision composite circle. There must be a collision; otherwise, if When there is a collision, or when When, meet ,when When, meet A collision will occur when range and added to the collision time range middle;
[0068] when When the trailer The unit leaves the inner boundary of the time-varying collision compound circle, but does not leave the outer boundary of the collision. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle;
[0069] like , get the trailer Unit collision time range The boundary value of , ,Right now , , and Assign to , repeat step 2.4 until all units of the trailer are subjected to collision detection.
[0070] As the preferred embodiment of the present invention, the specific steps of step 2.5 are:
[0071] Indicates trailer The minimum collision avoidance time of the collision unit, Dynamic obstacle vehicle The minimum collision avoidance time; if and , it means there is a certain amount of time to perform evasive actions;
[0072] The calculation formula is:
[0073] ;
[0074] ;
[0075] in, is a reference distance constant, ranging from 10 meters to 15 meters; It is an adjustment parameter with a value between 10 and 15. is the minimum turning distance, Indicates the total number of trailer units in the current trailer system; Indicates trailer The velocity of the collision unit in the current time window;
[0076] Current trailer The collision unit also has a minimum braking distance , then there is a second avoidance time , the calculation formula is:
[0077] ;
[0078] ;
[0079] in, The delay time of the tractor braking system is between 0.3s and 0.5s. is the maximum braking deceleration of the towing vehicle, ranging from 5.88 m / s² to 7.84 m / s²;
[0080] Dynamic obstacle vehicle Minimum collision avoidance time Based on minimum braking distance calculate:
[0081] ,in, is the maximum braking deceleration of vehicle j under dynamic obstacle, ranging from 7.84 m / s² to 10.79 m / s²;
[0082] Calculate distance turning time , the calculation formula is: ; Calculate the distance braking time ;in, For the turning loss time, take 0.5 second to 1.0 second.
[0083] As the preferred embodiment of the present invention, the specific steps of step 3 are:
[0084] Step 3.1: Construct the kinematic constraints of the trailer:
[0085] ;
[0086] According to the inherent mechanical characteristics of the trailer traction unit, its state variables have an allowable action range, including:
[0087] ;
[0088] ;
[0089] ;
[0090] ;
[0091] in, , represents the starting time of the vehicle local path planning process, is the termination time of the vehicle’s local path planning process; The maximum deflection angle of the tractor's front wheels is between 30° and 40°; The maximum speed of the tractor is 80 to 100 km / h. is the minimum speed of the tractor, which is 30 km / h; is the maximum acceleration of the tractor, between 1.96 m / s² and 3.92 m / s², is the minimum acceleration of the tractor, ranging from -10 m / s² to -5 m / s²; is the maximum steering angular velocity, which is 10 to 20 degrees per second;
[0092] Step 3.2: Construct the constraints of the trailer joint;
[0093] ;
[0094] ;
[0095] in, , , Indicates the moment after a time window of the vehicle local path planning process. For trailer Unit and The hinge angle between units, To prevent the folding knife state, the buffer margin is set to 10 degrees. is the maximum allowable rate of change of the articulation angle, ranging from 3 to 5 degrees;
[0096] Step 3.3: Construct the dynamic stability constraints of the trailer;
[0097] First, the trailer roll stability constraint conditions are given:
[0098] ;
[0099] ;
[0100] in, , is the roll angle, is the lateral acceleration, is the acceleration due to gravity, take 9.8 m / s², Indicates trailer The centroid height of the cell, Indicates trailer The load of each unit , To limit the maximum threshold of roll angle and lateral acceleration, take is 25°, take Between 5 m / s² and 8 m / s²;
[0101] Construct constraints for the trailer's yaw stability:
[0102] ;
[0103] ;
[0104] in, , , is the yaw angular rate, is the yaw moment, is the moment of inertia, is the yaw angular acceleration, where is the maximum yaw rate, which is 5 degrees / second;
[0105] Step 3.4: Construct the trailer collision avoidance constraint conditions;
[0106] ;
[0107] in, , , is the minimum allowed collision time change rate, which is 0.1 seconds;
[0108] Construct the outer boundary of the road in the existing inertial coordinate system and static obstacle boundary area , trailer system Unit as , then:
[0109] ;
[0110] ;
[0111] in, ;
[0112] Step 3.5: Construct the trailer boundary conditions;
[0113] Get the maximum collision time range And the corresponding trailer units , get the trailer's The collision unit Position after time window and the location of the tractor unit ; Get the planned path in the global path planner and the distance in the global planned path The smallest planned position point is used as the end point of local path planning ), and the corresponding state quantity , that is, the boundary condition is:
[0114] ;
[0115] ;
[0116] in, is the acceptable state error vector, and its value is , To consider the road curvature coefficient The maximum cumulative articulation angle threshold of the trailer is between 30 and 45 degrees;
[0117] Step 3.6: Construct the cost function:
[0118] ;
[0119] in, Indicates trailer Units and dynamic obstacle vehicles The Euclidean distance between They are the cost weights of acceleration, rotation speed, curvature change, collision avoidance effect, and rotation speed. Based on the average Make adjustments: , is a given weight constant, with a value of 0.1. The value is 0.5- , Take 0.2, Take 0.3, and It makes the path smoother by minimizing the change in the curvature of the path;
[0120] Step 3.7: Consider all constraints, minimize the cost function, solve the complete optimal control strategy, and output the local planning path.
[0121] As a preferred embodiment of the present invention, in step 3, the optimal control model uses the numerical optimal control solver CasADi combined with the primal-dual interior point solver IPOPT to solve the path and series of state quantities that meet the conditions; correct the deviation from the center road index , the optimized path is:
[0122] ;
[0123] in, To deviate from the reference distance, the value is 1 meter.
[0124] The present invention provides a trailer cross collision detection and collision avoidance planning system to implement the above method, the system comprising: a self-vehicle perception module, an external environment perception module, a cross collision detection module, and a local path planning module for dynamic collision avoidance; wherein the self-vehicle perception module is used to obtain the global expected path, static information, and state quantity of the tractor and deduce the state quantity of the trailer unit;
[0125] The external environment perception module is used to obtain road condition parameters and perceive the state of static obstacles and surrounding vehicles to further detect whether they constitute driving obstacles;
[0126] The cross collision detection module is used to construct a time-varying collision compound circle unit for each unit of the trailer, generate a time-varying collision compound circle area and determine the time range of entering the area collision, so as to trigger the local path planning module of dynamic collision avoidance;
[0127] The local path planning module for dynamic collision avoidance is used to construct an optimal trajectory for solving dynamic collision avoidance of a general trailer.
[0128] Advantages and beneficial effects of the present invention:
[0129] (1) The present invention proposes a time-varying collision composite circle to sense dynamic obstacles. Unlike the common enclosing circle and occupancy grid methods that generate all existing obstacle areas in the current time window, the time-varying collision composite circle takes the intersection of the trajectories of the trailer and the obstacle vehicle as the center, taking into account the precise contours, postures, and speeds of the vehicles and obstacles to show the spatiotemporal changes in the probability of collision. Therefore, only the collision area around the trailer with the intersection conflict is constructed, and the time-varying collision composite circle is a possible collision space after a certain time window in the future. This predictive collision detection facilitates the subsequent collision avoidance decision-making for the path planning of the trailer vehicle. In addition, since the present invention sets an obstacle body threshold, the composite circle area only appears between the target vehicle and the collision object when it is determined that there is a collision risk, and there is no need to materialize other obstacle areas, which greatly improves the calculation efficiency and accuracy, and solves the defects of the existing trailer collision detection model such as difficulty in real-time, multiple approximations, high calculation, and high cost.
[0130] (2) When existing collision detection methods for trailer vehicles are converted into collision avoidance constraints, they are mostly based on a simple minimum safety distance model. Such methods are still limited by existing approximate collision detection, and currently most of them calculate the time from the trailer vehicle to the collision area as a collision detection indicator. In fact, when avoiding a collision, there is a final turning point and a final braking point from the collision area. The distance from the current position to these two points is the more practical minimum safety distance. Based on this, the present invention calculates the precise collision time range of the trailer system based on the time-varying collision composite circle, and then considers the influence of the trailer system dynamics and turning rate caused by the characteristics of the trailer system such as multiple monomer units, long wheelbase, and large tonnage. The minimum turning distance and minimum braking distance of the trailer are proposed from the braking and steering strategies respectively to calculate the distance turning time and distance braking time. Different from the commonly used distance collision time (Time-to-collision) which simply calculates the time from the current position to the collision point, the time from the current position to the final turning point and the final braking point is accurately calculated here, which can achieve accurate prediction of the possibility of collision from the decision-making perspective. When planning local paths, collision avoidance constraints are constructed by limiting the rate of change of distance-braking time, and the cost functions of steering and braking are adjusted accordingly.
[0131] (3) The commonly constructed collision area rarely considers multiple factors of people, vehicles and roads for correction, so it may not be able to accurately predict the possibility of collision when combined with the minimum safe distance model. Therefore, the present invention proposes a composite correction parameter for the time-varying collision compound circle. First, for human factors, considering the differences in collision risks caused by the driving style differences of non-connected vehicles in a hybrid networked environment, a driving aggressiveness index is proposed to convert the influence of people into the driving influence of the car; secondly, for vehicle factors, a distance correction parameter from brake activation to effectiveness is proposed; for road factors, the present invention considers the road geometry characteristics and road adhesion conditions, and proposes road correction parameters, which can together correct the size of the time-varying compound circle area to improve the accuracy of the impact of multiple factors on collision risk and achieve accurate identification.
[0132] (4) Existing studies on emergency collision avoidance path planning for trailer vehicles are mostly focused on semi-trailers (SNT) mounted on axles. However, general N-type trailers (GNTs) such as full trailers have complex dynamics due to their off-axle mounting and multi-body articulation characteristics and cannot be used interchangeably with existing standard trailer methods. Therefore, the present invention considers the complex kinematic characteristics of general N-type trailers (GNTs), conducts in-depth research on their roll and yaw dynamics, and provides stability constraints and hinge point constraints for the tractor and all trailer units. At the same time, the objective function is optimized to smooth the path and optimize the backward amplification effect brought about by the hinge points of general trailers.
[0133] (5) To solve the off-track effect of the trailer, that is, the rear trailer tends to deviate from the track and drive inward when the trailer system is turned, the present invention proposes to correct the path of the off-center road index optimization planning to simulate the human driver driving the trailer outward, so as to avoid the unfeasible trailer path from deviating from the track when turning, and ensure the feasibility of the trailer path. BRIEF DESCRIPTION OF THE DRAWINGS
[0134] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more apparent and easy to understand. In the accompanying drawings:
[0135] Figure 1 A flow chart of the trailer intersection collision detection and collision avoidance planning method based on the collision composite circle provided by the present invention.
[0136] Figure 2 It is a schematic diagram of a general N-type trailer (GNT);
[0137] Figure 3 It is a geometrical diagram of a time-varying collision composite circular unit formed by a certain vehicle unit of a trailer and a dynamic obstacle vehicle;
[0138] Figure 4 Schematic diagram of the time-varying collision compound circle region formed by the trailer unit and the dynamic obstacle vehicle; (a) is a schematic diagram of the convex hull addition of the time-varying collision compound circle region; (b) is a schematic diagram of the geometric Boolean union of the time-varying collision compound circle region; DETAILED DESCRIPTION
[0139] In order to enable those skilled in the art to better understand the technical solution and advantages of the present invention, the present application is described in detail below in conjunction with the accompanying drawings, but it is not intended to limit the protection scope of the present invention.
[0140] The present invention proposes a dynamic collision avoidance local planning path method for an automatic trailer vehicle that integrates perception and decision-making in a hybrid network environment, that is, a trailer vehicle cross-collision detection and collision avoidance planning method based on a collision composite circle. Figure 1 FIG. 1 is a flow chart of a method for detecting and avoiding collisions of trailer vehicles crossing each other based on a collision composite circle according to the present embodiment. Figure 1 As shown, the trailer cross-collision detection and collision avoidance planning method includes the following steps:
[0141] Step 1: Get the current time window The state of the trailer and the surrounding environment (external environment) parameters;
[0142] Step 1.1: Self-trailer vehicle perception, acquisition of static and dynamic information;
[0143] Specifically, the static information of the trailer is obtained by comprehensively utilizing multi-source data such as satellite positioning sensors, laser radar, visual sensors, IM and wheel speedometers. , get the width of the tractor unit , Front overhang length , Rear overhang length , tractor wheelbase , Distance from rear axle center to rear hinge point , centroid height , Load ;
[0144] Get the number of trailers , set each trailer unit , No. Trailer unit load ,width , Front overhang length , Rear overhang length , centroid height , Distance from axle center to front hinge point , Distance from axle center to rear hinge point ; If all , then the trailer is a standard N-type trailer (SNT), i.e. a semitrailer, otherwise it is a general N-type trailer (GNT). The specific geometric parameter diagram is as follows Figure 2 shown.
[0145] Construct the inertial coordinate system XY to obtain the dynamic information of the trailer, that is, the state of the tractor unit And the state quantity of each trailer unit :
[0146] ;
[0147] ;
[0148] in, The center point of the rear axle of the tractor The coordinates of the tractor are also the reference points. is the speed along the longitudinal axis of the tractor body, are the attitude angle of the tractor in the coordinate system and the front wheel deflection angle of the tractor, respectively. Similarly, For the Trailer unit axle center point The coordinates of the trailer unit are also the reference points. For along The speed of the trailer unit in the longitudinal direction of the vehicle body, For the The attitude angle of the trailer unit in the coordinate system.
[0149] Assume that the front hinge point of the i-th trailer unit is , then according to the attitude angle of the front unit of the trailer and axle center point Sure Position, correspondingly, the reference point position of all trailers can be determined :
[0150] ;
[0151] ;
[0152] This will determine all Location:
[0153] ;
[0154] The attitude angles of all trailer units and speed It can be determined by the following formula:
[0155] ;
[0156] ;
[0157] Based on the above formula, when obtaining the state quantity of the trailer system, it is mainly necessary to obtain the state quantity of the tractor unit. The state quantity of the trailer unit can be pushed out one by one .
[0158] Step 1.2: Perceive the external environment and obtain dynamic obstacles (other vehicles), static obstacles and road condition parameters;
[0159] Specifically, the surrounding environment characteristic parameters are obtained through a variety of radar sensors, visual sensors and V2X communication equipment; first, the road adhesion coefficient is obtained , road longitudinal slope angle , Road superelevation cross slope , Road curvature coefficient and other road condition parameters, then identify static obstacles and dynamic obstacles (other vehicles) in the driving environment and go to step 2;
[0160] Step 2: Identify dynamic obstacles. For dynamic obstacles that reach the obstacle threshold, treat them as dynamic obstacle vehicles. The cross collision detection module constructs time-varying collision composite units for each unit of the trailer based on the basic data of the dynamic obstacle vehicle and each unit of the trailer, and calculates the precise collision time range. , calculate the distance turning time TTS and distance braking time TTB of the trailer;
[0161] Step 2.1: Identify dynamic obstacles;
[0162] Specifically, the dynamic moving objects in the road are identified through the cooperation of visual sensors and radar sensors. (also called dynamic obstacle), through the network system such as V2X communication equipment to determine whether the identified dynamic obstacle is a networked vehicle; if so, enter the collaborative control module to calculate the global path planning overlap of the two vehicles (trailer and identified networked vehicle), if the threshold is reached, then perform formation control to improve driving economy by platoon driving; if it is not a networked vehicle, obtain the dynamic moving body (dynamic obstacle vehicle) Speed , attitude angle , location coordinates ;
[0163] In order to exclude some dynamic moving bodies that do not affect the driving of the trailer system in the current time window, the present invention proposes an obstacle threshold ,definition is the obstacle degree value of the dynamic moving body relative to the trailer, if the following formula is satisfied , then the dynamic moving body does not serve as a dynamic obstacle vehicle of the trailer system; otherwise, it serves as a dynamic obstacle vehicle and goes to step 2.2:
[0164] ;
[0165] in, , is the trajectory crossing angle, also the difference in attitude angles, , is the reference point distance between the two vehicles, , are the attitude angle and distance influence weights respectively, and there are , attitude angle weight Between 0.3 and 0.5, , are the correction adjustment parameters, The value is 1. The value is 2, the obstacle threshold The range is around 0.4 to 0.8.
[0166] Step 2.2: Calculate the driving aggressiveness of the non-connected dynamic obstacle vehicle;
[0167] Specifically, the trailer can fully capture the dynamic obstacle vehicle through the sensor The time window number of the dynamic moving body is used to obtain the speed and acceleration of the dynamic obstacle vehicle under the time window number, identify the number of lane changes of the dynamic obstacle vehicle, and calculate the dynamic obstacle vehicle How aggressively you drive ;
[0168] ;
[0169] in, is the average acceleration change of the dynamic obstacle vehicle, The lane change frequency of vehicles with dynamic obstacles, is the average following distance of vehicles with dynamic obstacles, is the average speeding index of vehicles with dynamic obstacles, Indicates the speed of the dynamic obstacle vehicle in the current time window when speeding is detected; is the number of speeding times of vehicles with dynamic obstacles in this time window; For road speed limits, is the weight of each factor, and in the present invention, is 0.25, is 0.25, is 0.2, is 0.3.
[0170] Step 2.3: The intersection collision detection module obtains the trajectory equations of both parties (trailer and dynamic obstacle vehicle) at the current moment, and takes the intersection of the trajectories as the center of the circle; obtains the maximum collision distance of both parties at the current moment, and constructs the outer boundary of the collision; obtains the minimum safety distance of both parties at the current moment, and constructs the inner boundary of the collision; generates a time-varying collision composite circle area ;in, is the time-varying composite circular element of the collision between the tractor and the dynamic obstacle vehicle. It is the time-varying collision composite circular unit formed by the 1st to Nth trailer units and the dynamic obstacle vehicle;
[0171] Specifically, obtain the length of the dynamic obstacle vehicle ,width , get the previous time window and the current time window Dynamic obstacle vehicle center coordinates , ; Get the vehicle (trailer) in the previous time window and the current time window The state quantity , ; Since the unit time window is short enough, the driving route of each unit of the trailer system within the time window can be regarded as a straight line. According to the reference point positions of the tractor and all trailer units, , As well as the center coordinates of the dynamic obstacle vehicle, construct the trajectory equations of each unit of the tractor and trailer and the dynamic obstacle vehicle:
[0172] ;
[0173] in, It is the horizontal and vertical coordinates of the trajectories of each unit of the tractor and trailer and the dynamic obstacle vehicle.
[0174] Based on this, each unit of the trailer system is connected separately The trajectory equation of the dynamic obstacle vehicle is used to obtain the position coordinates of a series of trajectory intersections between each unit of the trailer system (tractor and each trailer unit) and the dynamic obstacle vehicle: At this time, each unit of the trailer system Vehicles with dynamic obstacles The track crossing angle is not 0 or 180°.
[0175] When there is a trajectory intersection, considering the outer contour size and posture of the vehicle, the two vehicles have the same distance when approaching and moving away from the trajectory intersection in their respective trajectories, and no collision will occur outside this distance. Therefore, the collision probability area of the two vehicles can be regarded as a circle with the trajectory intersection as the center and the distance as the radius. Since the trailer and the dynamic obstacle vehicle are of different sizes, the critical point distances of both parties from the trajectory intersection are also different. Therefore, the circle is corrected to an ellipse to refine the outer contours of both vehicles to accurately identify threats. At the same time, since both parties will definitely collide within a certain distance from the trajectory intersection, there is a small ellipse centered on the trajectory intersection, which is the area where the collision will definitely occur. The present invention calls the outer ellipse the outer boundary of the collision, and the inner ellipse is called the inner boundary of the collision. The double ellipse is compounded to form the final time-varying collision composite circle unit, and its geometric diagram is shown as follows. Figure 3 As shown, the maximum collision distance between each unit of the trailer and the dynamic obstacle vehicle at the intersection of the trajectories is , , the minimum safe distance is , :
[0176] ;
[0177] ;
[0178] ;
[0179] ;
[0180] ;
[0181] in, Dynamic obstacle vehicle Length, Dynamic obstacle vehicle The width of is the composite correction parameter, , is the distance correction parameter from brake activation to brake effectiveness, The time from activation to effectiveness is usually 1s. The driving speed of the current corrected vehicle in the current time window; is the driving aggressiveness index of the current modified vehicle. If it is a correction parameter for the vehicle or the connected vehicle, then is 1; if it is a correction parameter for non-connected obstacle vehicles, then , which is the driving aggressiveness index of the non-connected driving vehicle obtained in step 2.2; is the road correction parameter. Compared with ordinary small single-body vehicles, the multi-body articulated system of trailers has poor lateral stability. Therefore, compared with the traditional minimum stopping sight distance, the present invention not only considers the safety of the road adhesion coefficient on the impact of collision and the impact of the longitudinal slope of the road, but also considers the impact of the lateral super-high slope of the road on the lateral movement of the trailer body unit, and converts the impact of the three-dimensional geometric road conditions into the size change of the two-dimensional time-varying collision compound circle. It is the vehicle's braking performance correction parameter, and its value ranges from 0.1 to 1.0. All are adjustment parameters. The value ranges from -1 to -0.5. It is between 0.4 and 0.6. is the road adhesion coefficient, is the longitudinal slope angle of the road, is the superelevation slope of the road, and is the front wheel deflection angle of the vehicle along the superelevation direction; and Together they form the trailer Units and dynamic obstacle vehicles The track intersection angle , Indicates the track crossing angle The part that is biased towards the trailer tractor unit, Indicates the number of tracks that are biased toward the trailer (self-vehicle) in the intersection angle. part of the trailer unit, and This means that the trajectory intersection angle is biased towards the dynamic obstacle vehicle The geometric diagram of the part is as follows Figure 3 As shown, the calculation method is as follows:
[0182]
[0183] ;
[0184] Based on this, according to the position coordinates of the intersection point of the track , track intersection angle , trailer Unit and dynamic obstacle vehicle Maximum collision distance , The collision outer boundary circle that can form a collision composite circle and the minimum safety distance , The inner boundary of the collision composite circle can be formed. Let the function of forming the ellipse be , then the final time-varying composite circle model of each unit of the automatic trailer and the dynamic obstacle vehicle for:
[0185] ;
[0186] Among them, the elliptic functions that constitute the inner and outer boundaries of the time-varying collision composite circle are for:
[0187] ;
[0188] in, are the horizontal and vertical coordinates of the ellipses that form the inner and outer boundaries of the time-varying collision composite circle, are the lengths of the major and minor axes of the ellipse, respectively. Elliptic functions Required input for trailer Unit and dynamic obstacle vehicle The safe distance between the inner and outer boundary circles of the collision is Take the tractor unit as an example, and construct a time-varying collision composite circular unit like Figure 3 As shown; and when That is, when the trailer unit is connected, if the articulation angle with the previous unit is not 0, then according to the dynamics of the trailer, assuming that the movement direction of the tractor does not change, the trajectory movement direction of the trailer unit will still change with time due to the dynamic force at the articulation point. Therefore, the intersection point of the trajectory of the trailer unit and the dynamic obstacle vehicle will also change accordingly, and the collision composite circle unit formed will also change accordingly.
[0189] Based on this, the present invention assumes that the direction of movement of the tractor does not change and constructs a virtual time window to generate the trailer unit. The attitude angle in the current time window Move around the hinge point to the previous unit attitude angle Time-varying collision composite circular unit under the time window ;
[0190] when When , the Minkowski sum is used to add the convex hulls of all time-varying collision composite circle units, such as Figure 4(a) The specific calculation formula is as follows:
[0191] ;
[0192] when When , two units will appear, only the attitude angle as well as The geometric Boolean union of the time-varying collision compound circular elements under Figure 4 (b), the specific calculation formula is:
[0193] ;
[0194] Generate a time-varying collision compound circle area based on the time-varying collision compound circle units of each unit of the trailer and the dynamic obstacle vehicle ;
[0195] Step 2.4: Calculate the exact collision time range . Contains all trailer units Vehicles with dynamic obstacles The collision time range ,Right now .
[0196] initialization , , first calculate the dynamic obstacle vehicle Falling into the trailer system The time range of the time-varying collision composite circle area between units, initialization: including the time of entering the outer boundary of the collision , time to enter the inner boundary of collision :
[0197] ;
[0198] ;
[0199] ;
[0200] Similarly, the trailer system Unit Entry with Dynamic Barrier Vehicles The time range of the time-varying collision composite circle area is: , .
[0201] like and , current time window The two cars below are within the inner collision boundary of the time-varying collision composite circle and have already collided;
[0202] If only or , it is reassigned to 0, that is or ;
[0203] like or , it is reassigned to 0, that is or , at this time, at least one of the vehicle systems is within the time-varying collision composite circle area;
[0204] If satisfied and ,when and when and There will be no collision.
[0205] like , there will be no collision; otherwise, remember , and is located in Time Window ( ) time window after the trailer The location of the unit is , the Euclidean distance from the intersection of the trajectories is , dynamic obstacle vehicle The location is , the Euclidean distance from the intersection of the trajectories is , then the following conditions are met:
[0206] when When the trailer The unit enters the outer boundary of the time-varying collision composite circle, but does not enter the inner boundary. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle;
[0207] when When the trailer The unit enters the inner collision boundary of the time-varying collision composite circle. There must be a collision; otherwise, if When there is a collision, or when When, meet ,when When, meet A collision will occur when range and added to the collision time range middle;
[0208] when When the trailer The unit leaves the inner boundary of the time-varying collision compound circle, but does not leave the outer boundary of the collision. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle;
[0209] like , get the trailer Unit collision time range The boundary value of , ,Right now , , and Assign to , repeat step 2.4 until all units of the trailer are collided; calculate the boundary of the collision time of the entire trailer system , and the corresponding number of collision units , go to step 2.5:
[0210] ;
[0211] ;
[0212] Step 2.5: Calculate the distance turning time for the trailer collision system , distance braking time TTB.
[0213] If satisfied and , it means there is a certain amount of time to perform evasive operations; Indicates trailer The minimum collision avoidance time of the collision unit, that is, considering the complex dynamic characteristics of the trailer's multiple unit composites, long wheelbase, and large tonnage, the vehicle passes the minimum turning distance The specific calculation formula is:
[0214] ;
[0215] ;
[0216] in, is a reference distance constant, ranging from 10 meters to 15 meters; It is an adjustment parameter with a value between 10 and 15. As the number of trailers behind the collision unit and the speed of the vehicle system increase, the average length of the system body increases. , road friction coefficient decreases with the increase of Indicates the total number of trailer units in the current trailer system; Indicates trailer The velocity of the collision cell in the current time window.
[0217] Current trailer The collision unit also has a minimum braking distance , and accordingly there is a second avoidance time , which is generally greater than the minimum collision avoidance time:
[0218] ;
[0219] ;
[0220] in, It is the delay time of the tractor braking system, which is generally 0.3s to 0.5s. The maximum braking deceleration of the towing vehicle, ranging from 5.88 m / s² to 7.84 m / s².
[0221] Similarly, dynamic obstacle vehicles Minimum collision avoidance time Based only on its minimum braking distance consider: ,in, is the maximum braking deceleration of vehicle j due to dynamic obstacle, ranging from 7.84 m / s² to 10.79 m / s².
[0222] Calculate the distance turning time of the trailer , which indicates the maximum time from the current tractor position to the start of evasive maneuvers such as steering or braking, and its calculation formula is: At the same time, the distance and braking time of the trailer are calculated ;in, This is the turning loss time, which is generally 0.5 to 1.0 seconds.
[0223] Step 3: The local path planning module performs local collision avoidance path planning based on the optimal control model to reduce the backward amplification effect, and optimizes the path based on the corrected deviation from the center road index to reduce the deviation from the channel effect.
[0224] Step 3.1: Construct the kinematic constraints of the trailer.
[0225] Step 1.1 can be based on the state of the tractor Push out the trailers one by one Therefore, only the kinematic constraints of the tractor need to be given:
[0226] ;
[0227] According to the inherent mechanical characteristics of the trailer traction unit, its state variables have an allowable action range, including:
[0228] ;
[0229] ;
[0230] ;
[0231] ;
[0232] in, , represents the starting time of the vehicle local path planning process, is the termination time of the vehicle’s local path planning process; The maximum deflection angle of the tractor's front wheels is between 30° and 40°; The maximum speed of the tractor, usually 80 to 100 km / h. is the minimum speed of the tractor, which is 30 km / h; is the maximum acceleration of the tractor, which is between 1.96 m / s² and 3.92 m / s², and is the minimum acceleration of the tractor, ranging from -10 m / s² to -5 m / s²; The maximum steering angle speed is 10 to 20 degrees per second.
[0233] Step 3.2: Construct the constraints of the trailer joint;
[0234] In order to prevent the trailer system from falling into a jackknife state and being difficult to recover and to reduce the backward amplification effect of the hinge point, the attitude angle constraints of each unit of the trailer are set:
[0235] ;
[0236] ;
[0237] in, , , Indicates the moment after a time window of the vehicle local path planning process. For trailer Unit and The hinge angle between units, To prevent the folding knife state, the buffer margin is set to 10 degrees. It is the maximum allowable rate of change of the articulation angle, ranging from 3 to 5 degrees.
[0238] Step 3.3: Construct the dynamic stability constraints of the trailer;
[0239] First, the trailer roll stability constraint conditions are given:
[0240] ;
[0241] ;
[0242] in, , is the roll angle, is the lateral acceleration, is the acceleration due to gravity, take 9.8 m / s², Indicates trailer The centroid height of the cell, Indicates trailer The load of the unit, , To limit the maximum threshold of roll angle and lateral acceleration, take is 25°, take Between 5 m / s² and 8 m / s².
[0243] Construct constraints for the trailer's yaw stability, including limiting the trailer's yaw rate and ensuring that the trailer's yaw moment is within a controllable range:
[0244] ;
[0245] ;
[0246] in, , , is the yaw angular rate, is the yaw moment, is the moment of inertia, is the yaw angular acceleration, where is the maximum yaw rate, which is 5 degrees / second.
[0247] Step 3.4: Construct the trailer collision avoidance constraint conditions;
[0248] First, in each time window Next, proceed to step 2 to calculate the dynamic obstacle vehicle The left boundary of the collision time range , given the cross collision avoidance constraints, for each dynamic obstacle vehicle detected in the path planning have:
[0249] ;
[0250] in, , , The minimum allowed collision time change rate is used to ensure that the trailer is away from obstacles, and the value is 0.1 seconds.
[0251] Secondly, construct the avoidance constraints of the road boundary and static obstacles, and detect the road boundary and the location area of each static obstacle according to various sensors, cameras and other equipment: construct the outer boundary of the road in the existing inertial coordinate system and static obstacle boundary area , trailer system The unit is simply regarded as , then:
[0252] ;
[0253] ;
[0254] in, .
[0255] Step 3.5: Construct the trailer boundary conditions;
[0256] Get the maximum collision time range And the corresponding trailer units , get the trailer's The collision unit Position after time window , and reverse the position of the tractor unit of the trailer based on step 1.1 ; Get the planned path in the global path planner and the distance in the global planned path The smallest planned position point is used as the end point of local path planning ), and the corresponding state quantity , that is, the boundary condition is:
[0257] ;
[0258] ;
[0259] in, is the acceptable state error vector, and its value is , To consider the road curvature coefficient The maximum cumulative articulation angle threshold of the trailer is between 30 and 45 degrees depending on the road curvature.
[0260] Step 3.6: Construct the cost function;
[0261] Since the trailer system only has the tractor as the power of the entire system, the cost function is:
[0262] ;
[0263] in, Indicates trailer Units and dynamic obstacle vehicles The Euclidean distance between They are the cost weights of acceleration, rotation speed, curvature change, collision avoidance effect, and rotation speed. Based on the average Make adjustments: , For a given weight constant, take a value of 0.1, and then calculate the weight , The value is 0.5- , Take 0.2, Take 0.3, and The path is made smoother by minimizing the curvature change of the path, thereby reducing the backward amplification effect brought by the off-axis connection to the trailer.
[0264] Step 3.7: Consider the kinematic constraints of the trailer's inherent mechanical characteristics, the hinge point constraints to prevent the jackknife state, the dynamic stability constraints to prevent roll and yaw, the collision avoidance constraints, and the boundary value constraints, minimize the cost function, solve the complete optimal control strategy, and output the local planning path;
[0265] ;
[0266] Specifically, in this embodiment, the numerical optimal control solver CasADi is combined with the primal-dual interior point solver IPOPT to solve the path and series of state quantities that meet the conditions. .
[0267] In addition, in order to solve the off-course effect of the trailer system, a modified off-center road index is given , the optimized path is:
[0268] ;
[0269] in, To deviate from the reference distance, the value is 1 meter.
[0270] The present invention also provides a system for implementing the above-mentioned trailer cross-collision detection and collision avoidance planning method, the system comprising: a self-vehicle perception module, an external environment perception module, a cross-collision detection module, and a local path planning module for dynamic collision avoidance; wherein the self-vehicle perception module is used to obtain the global expected path, static information, and state quantity of the tractor and deduce the state quantity of the trailer unit;
[0271] The external environment perception module is used to obtain road condition parameters and perceive the state of static obstacles and surrounding vehicles to further detect whether they constitute driving obstacles (dynamic obstacle vehicles);
[0272] The cross collision detection module is used to construct a time-varying collision compound circle unit for each unit of the trailer, generate a time-varying collision compound circle area and determine the time range of entering the area collision, so as to trigger the local path planning module of dynamic collision avoidance;
[0273] The local path planning module for dynamic collision avoidance is used to construct an optimal trajectory for solving dynamic collision avoidance of a general trailer.
[0274] The present invention also provides an electronic device, comprising: one or more processors and a memory; wherein the memory is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned trailer intersection collision detection and collision avoidance planning method based on collision composite circle.
[0275] The present invention also provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned trailer intersection collision detection and collision avoidance planning method based on collision composite circle is implemented.
[0276] Those skilled in the art will appreciate that all or part of the functions of the various methods / modules in the above embodiments may be implemented by hardware or by computer programs. When all or part of the functions in the above embodiments are implemented by computer programs, the program may be stored in a computer-readable storage medium, which may include: a read-only memory, a random access memory, a disk, an optical disk, a hard disk, etc. The program is executed by a computer to implement the above functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented.
[0277] In addition, when all or part of the functions in the above-mentioned embodiments are implemented by means of a computer program, the program can also be stored in a storage medium such as a server, another computer, a disk, an optical disk, a flash drive or a mobile hard disk, and saved to the memory of a local device by downloading or copying, or the system of the local device is updated. When the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0278] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art of the present invention, according to the idea of the present invention, some simple deductions, deformations or substitutions can be made. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for detecting and avoiding collisions between trailers and vehicles based on a collision composite circle, characterized in that: The method comprises the following steps: Step 1: Get the current time window The state of the trailer and the surrounding environment parameters; Step 2: Identify dynamic obstacles. For dynamic obstacles that reach the obstacle threshold, they are regarded as dynamic obstacle vehicles. The cross collision detection module constructs time-varying collision composite circle units for each unit of the trailer based on the basic data of the dynamic obstacle vehicle and each unit of the trailer, generates a time-varying collision composite circle area, and calculates the precise collision time range. , calculate the distance turning time TTS and distance braking time TTB of the trailer; Step 2.1: Identify dynamic obstacles and calculate the obstacle degree of the dynamic moving body relative to the trailer ,Will and obstacle threshold Compare and determine the dynamic obstacle vehicle, then determine whether the dynamic obstacle vehicle is a connected vehicle. If it is not a connected vehicle, obtain the dynamic obstacle vehicle in the current time window Speed , attitude angle , location coordinates And go to step 2.2; Step 2.2: Calculate the driving aggressiveness of the non-connected dynamic obstacle vehicle; Step 2.3: The intersection collision detection module obtains the trajectory equations of the trailer and the dynamic obstacle vehicle at the current moment, and takes the intersection of the trajectories as the center of the circle; obtains the maximum collision distance between the two parties at the current moment, and constructs the outer boundary of the collision; obtains the minimum safety distance between the two parties at the current moment, and constructs the inner boundary of the collision; generates a time-varying collision composite circle area ;in, is the time-varying composite circular unit of the tractor unit and the dynamic obstacle vehicle. It is the time-varying collision composite circular unit formed by the 1st to Nth trailer units and the dynamic obstacle vehicle; Step 2.4: Calculate the precise collision time range based on the generated time-varying collision composite circle area , Contains all trailer units Vehicles with dynamic obstacles The collision time range , ; Calculate the collision time boundary of the entire trailer system , and the corresponding number of collision units , go to step 2.5; Step 2.5: Calculate the turning distance time TTS and braking distance time TTB of the trailer; Step 3: The local path planning module performs local collision avoidance path planning based on the optimal control model, and optimizes the path based on the corrected deviation from the center road index; wherein, when the optimal control model performs local collision avoidance path planning, it considers the kinematic constraints of the trailer's intrinsic mechanical characteristics, the hinge point constraints to prevent the jackknife state, the dynamic stability constraints to prevent roll and yaw, the collision avoidance constraints, and the boundary value constraints, minimizes the cost function, solves the complete optimal control strategy, and outputs the local planning path.
2. The method for detecting and avoiding collisions of trailer vehicles based on a collision composite circle according to claim 1, characterized in that: The specific steps of step 1 are: Step 1.1: Self-towed vehicle perception, acquisition of static and dynamic information; static information includes the width of the tractor unit , Front overhang length , Rear overhang length , tractor wheelbase , Distance from rear axle center to rear hinge point , centroid height , Load ;No. Trailer unit load ,width , Front overhang length , Rear overhang length , centroid height , Distance from axle center to front hinge point , Distance from axle center to rear hinge point ; Dynamic information includes the state of the tractor unit And the state quantity of each trailer unit ; ; ; in, The center point of the rear axle of the tractor The coordinates of is the speed along the longitudinal axis of the tractor body, are the attitude angle of the tractor in the coordinate system and the front wheel deflection angle of the tractor, For the Trailer unit axle center point The coordinates of For along The speed of the trailer unit in the longitudinal direction of the vehicle body, For the The attitude angle of the trailer unit in the coordinate system; Step 1.2: Perceive the external environment and obtain dynamic obstacles, static obstacles and road condition parameters; road condition parameters include road adhesion coefficient , road longitudinal slope angle , Road superelevation cross slope , Road curvature coefficient .
3. The method for detecting and avoiding collisions of trailer vehicles based on a collision composite circle according to claim 2, characterized in that: In step 2.1, the dynamic motion body Obstacle level relative to the trailer The calculation formula is: ; in, , is the trajectory crossing angle, , is the reference point distance between the two vehicles, , are the attitude angle and distance influence weights respectively, , attitude angle weight Between 0.3 and 0.5, , are the correction adjustment parameters, The value is 1. The value is 2, the obstacle threshold The range is from 0.4 to 0.
8.
4. The method for detecting and avoiding collisions of trailer vehicles based on a collision composite circle according to claim 3, characterized in that: In step 2.2, dynamic obstacle vehicle How aggressively you drive ; ; in, is the average acceleration change of the dynamic obstacle vehicle, The lane change frequency of vehicles with dynamic obstacles, is the average following distance of vehicles with dynamic obstacles, is the average speeding index of vehicles with dynamic obstacles, is the number of speeding times of dynamic obstacle vehicles in this time window; Indicates the speed of the dynamic obstacle vehicle in the current time window when speeding is detected; For road speed limits, is 0.25, is 0.25, is 0.2, is 0.
3.
5. The method for detecting and avoiding collisions of trailers based on a collision composite circle according to claim 4, characterized in that: The specific steps of step 2.3 are: Get the length of the dynamic obstacle vehicle ,width , get the previous time window and the current time window Dynamic obstacle vehicle center coordinates , ; Get the trailer in the previous time window and the current time window The state quantity , ; Based on all reference points of the tractor and all trailer units , As well as the center coordinates of the dynamic obstacle vehicle, construct the trajectory equations of each unit of the tractor and trailer and the dynamic obstacle vehicle; Combined trailer system units The trajectory equation of the dynamic obstacle vehicle is used to obtain the position coordinates of a series of trajectory intersections between the tractor unit and each trailer unit and the dynamic obstacle vehicle: ; Calculate the maximum collision distance between each unit of the trailer and the dynamic obstacle vehicle at the intersection of the trajectory: , , the minimum safe distance is , : ; ; ; ; ; in, Dynamic obstacle vehicle Length, Dynamic obstacle vehicle The width of is the composite correction parameter, , is the distance correction parameter from brake activation to brake effectiveness, The time from activation to effectiveness is 1s. The driving speed of the current corrected vehicle in the current time window; is the driving aggressiveness index of the current correction vehicle. If the current correction vehicle is each unit of the trailer, then ; Otherwise, when the current corrected vehicle is a dynamic obstacle vehicle ; is the road correction parameter, It is the vehicle's braking performance correction parameter, and its value ranges from 0.1 to 1.
0. All are adjustment parameters. The value ranges from -1 to -0.
5. It is between 0.4 and 0.
6. is the road adhesion coefficient, is the longitudinal slope angle of the road, is the superelevation cross slope of the road, is the front wheel deflection angle of the vehicle along the superelevation direction; and Together they form the trailer Unit and dynamic obstacle vehicle The track intersection angle , Indicates the track crossing angle The part that is biased towards the trailer tractor unit, Indicates the track intersection angle is biased towards the trailer Part of the trailer unit, This means that the trajectory intersection angle is biased towards the dynamic obstacle vehicle The calculation method of the part is as follows: ; ; According to the position coordinates of the track intersection , track intersection angle , trailer Unit and dynamic obstacle vehicle Maximum collision distance , The collision outer boundary circle that constitutes the collision composite circle and the minimum safety distance , The inner boundary of the collision that constitutes the collision composite circle; The functions that make up the ellipse are , then the final time-varying composite circle model of the trailer units and the dynamic obstacle vehicle for: ; Among them, the elliptic functions that constitute the inner and outer boundaries of the time-varying collision composite circle are for: ; in, are the horizontal and vertical coordinates of the ellipses that form the inner and outer boundaries of the time-varying collision composite circle, are the lengths of the major and minor axes of the ellipse, respectively. Elliptic functions Required input for trailer Unit and dynamic obstacle vehicle The safe distance that constitutes the inner and outer boundary circles of the collision; If the tractor's direction of motion does not change, a virtual time window is constructed to generate trailer units. The attitude angle in the current time window Move around the hinge point to the previous unit attitude angle Time-varying collision composite circular unit under the time window ; when When , the Minkowski sum is used to add the convex hulls of all time-varying collision composite circle units. The specific calculation formula is as follows: ; when When only the attitude angle as well as The geometric Boolean union of the time-varying collision composite circular unit under , the specific calculation formula is: ; Generate a time-varying collision compound circle area based on the time-varying collision compound circle units of each unit of the trailer and the dynamic obstacle vehicle .
6. The method for detecting and avoiding collisions of trailers based on a collision composite circle according to claim 5, characterized in that: The specific steps of step 2.4 are: initialization , , first calculate the dynamic obstacle vehicle Falling into the trailer system The time range of the time-varying collision composite circle area between units, initialization: including the time of entering the outer boundary of the collision , time to enter the inner boundary of collision : ; ; ; Get the trailer system Unit Entry with Dynamic Barrier Vehicles The time range of the time-varying collision composite circle area is: , ; like and , current time window The two cars below are within the inner collision boundary of the time-varying collision composite circle and have already collided; If only or , it is reassigned to 0, that is or ; like or , it is reassigned to 0, that is or , at this time, at least one of the vehicle systems is within the time-varying collision composite circle area; If satisfied and ,when and when and There will be no collision. like , there will be no collision; otherwise, remember , and is located in Time Window ( ) time window after the trailer The location of the unit is , the Euclidean distance from the intersection of the trajectories is , dynamic obstacle vehicle The location is , the Euclidean distance from the intersection of the trajectories is , then the following conditions are met: when When the trailer The unit enters the outer boundary of the time-varying collision composite circle, but does not enter the inner boundary. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle; when When the trailer The unit enters the inner collision boundary of the time-varying collision composite circle. There must be a collision; otherwise, if When there is a collision, or when When, meet ,when When, meet A collision will occur when range and added to the collision time range middle; when When the trailer The unit leaves the inner boundary of the time-varying collision compound circle, but does not leave the outer boundary of the collision. When a collision occurs, calculate the conditions that meet range and added to the collision time range middle; like , get the trailer Unit collision time range The boundary value of , ,Right now , , and Assign to , repeat step 2.4 until all units of the trailer are subjected to collision detection.
7. The method for detecting and avoiding collisions of trailers based on a collision composite circle according to claim 6, characterized in that: The specific steps of step 2.5 are: Indicates trailer The minimum collision avoidance time of the collision unit, Dynamic obstacle vehicle The minimum collision avoidance time; if and , then there is time to perform evasive actions; The calculation formula is: ; ; in, is a reference distance constant, ranging from 10 meters to 15 meters; It is an adjustment parameter with a value between 10 and 15. is the minimum turning distance, Indicates the total number of trailer units in the current trailer system; Indicates trailer The velocity of the collision unit in the current time window; Current trailer The collision unit also has a minimum braking distance , then there is a second avoidance time , the calculation formula is: ; ; in, The delay time of the tractor braking system is between 0.3s and 0.5s. is the maximum braking deceleration of the towing vehicle, ranging from 5.88 m / s² to 7.84 m / s²; Dynamic obstacle vehicle Minimum collision avoidance time Based on minimum braking distance calculate: ,in, is the maximum braking deceleration of vehicle j under dynamic obstacle, ranging from 7.84 m / s² to 10.79 m / s²; Calculate distance turning time , the calculation formula is: ; Calculate the distance braking time ;in, For the turning loss time, take 0.5 second to 1.0 second.
8. The method for detecting and avoiding collisions of trailers based on collision composite circles according to claim 7, characterized in that: The specific steps of step 3 are: Step 3.1: Construct the kinematic constraints of the trailer: ; According to the inherent mechanical characteristics of the trailer traction unit, its state variables have an allowable action range, including: ; ; ; ; in, , represents the starting time of the vehicle local path planning process, is the termination time of the vehicle’s local path planning process; The maximum deflection angle of the tractor's front wheels is between 30° and 40°; The maximum speed of the tractor is 80 to 100 km / h. is the minimum speed of the tractor, which is 30 km / h; is the maximum acceleration of the tractor, between 1.96 m / s² and 3.92 m / s², is the minimum acceleration of the tractor, ranging from -10 m / s² to -5 m / s²; is the maximum steering angular velocity, which is 10 to 20 degrees per second; Step 3.2: Construct the constraints of the trailer joint; ; ; in, , , Indicates the moment after a time window of the vehicle local path planning process. For trailer Unit and The hinge angle between units, To prevent the folding knife state, the buffer margin is set to 10 degrees. is the maximum allowable rate of change of the articulation angle, ranging from 3 to 5 degrees; Step 3.3: Construct the dynamic stability constraints of the trailer; First, the trailer roll stability constraint conditions are given: ; ; in, , is the roll angle, is the lateral acceleration, is the acceleration due to gravity, take 9.8 m / s², Indicates trailer The centroid height of the cell, Indicates trailer The load of the unit, , To limit the maximum threshold of roll angle and lateral acceleration, take is 25°, take Between 5 m / s² and 8 m / s²; Construct constraints for the trailer's yaw stability: ; ; in, , , is the yaw angular rate, is the yaw moment, is the moment of inertia, is the yaw angular acceleration, where is the maximum yaw rate, which is 5 degrees / second; Step 3.4: Construct the trailer collision avoidance constraint conditions; ; in, , , is the minimum allowed collision time change rate, which is 0.1 seconds; Construct the outer boundary of the road in the existing inertial coordinate system and static obstacle boundary area , trailer system Unit as , then: ; ; in, ; Step 3.5: Construct the trailer boundary conditions; Get the maximum collision time range And the corresponding trailer units , get the trailer's The collision unit Position after time window and the location of the tractor unit ; Get the planned path in the global path planner and the distance in the global planned path The smallest planned position point is used as the end point of local path planning ), and the corresponding state quantity , that is, the boundary condition is: ; ; in, is the acceptable state error vector, and its value is , To consider the road curvature coefficient The maximum cumulative articulation angle threshold of the trailer is between 30 and 45 degrees; Step 3.6: Construct the cost function: ; in, Indicates trailer Unit and dynamic obstacle vehicle The Euclidean distance between They are the cost weights of acceleration, rotation speed, curvature change, collision avoidance effect, and rotation speed. Based on the average Make adjustments: , is a given weight constant, with a value of 0.
1. The value is 0.5- , Take 0.2, Take 0.3, and It makes the path smoother by minimizing the change in the curvature of the path; Step 3.7: Consider all constraints, minimize the cost function, solve the complete optimal control strategy, and output the local planning path.
9. The method for detecting and avoiding collisions of trailers based on a collision composite circle according to claim 8, characterized in that: In step 3, the optimal control model uses the numerical optimal control solver CasADi combined with the primal-dual interior point solver IPOPT to solve the path and series of state quantities that meet the conditions; correct the deviation from the center road index , the optimized path is: ; in, To deviate from the reference distance, the value is 1 meter.
10. A trailer cross-collision detection and collision avoidance planning system for implementing the method according to any one of claims 1 to 9, characterized in that: The system includes: a self-vehicle perception module, an external environment perception module, a cross collision detection module, and a local path planning module for dynamic collision avoidance; wherein the self-vehicle perception module is used to obtain the global expected path, static information, and state quantity of the tractor of the vehicle and to infer the state quantity of the trailer unit; The external environment perception module is used to obtain road condition parameters and perceive the state of static obstacles and surrounding vehicles to further detect whether they constitute driving obstacles; The cross collision detection module is used to construct a time-varying collision compound circle unit for each unit of the trailer, produce a time-varying collision compound circle area and determine the time range of entering the area collision, so as to trigger the local path planning module of dynamic collision avoidance; The local path planning module for dynamic collision avoidance is used to construct an optimal trajectory for solving dynamic collision avoidance of the trailer.
Citation Information
Cited By
Motion control for vehicle combinations
EP4717538A1
