Automatic driving obstacle avoidance path planning system and method based on control point fitting polynomial
The automatic driving obstacle avoidance path planning system based on control point fitting polynomials solves the problems of high calculation example requirements and insufficient anti-interference ability in the existing technology, achieves effective obstacle avoidance in complex road conditions, and reduces computational complexity. and resource consumption.
Patent Information
- Application Number
- CN202210772923.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-06-30
AI Technical Summary
Existing autonomous driving obstacle avoidance path planning algorithms have high requirements on controller calculation examples and insufficient anti-interference capabilities, making it difficult to effectively avoid obstacles in complex road conditions.
An autonomous driving obstacle avoidance path planning system based on control point fitting polynomials is used to obtain obstacle information through the sensor module, the positioning module obtains the vehicle position, and the local path planning module calculates the obstacle avoidance path based on the reference baseline and obstacle information, and calculates the obstacle avoidance path through the overall The vehicle actuator realizes automatic driving and uses cubic and fourth-order polynomials to fit the path to reduce the computational complexity of the path generation and optimization process.
It reduces the calculation example requirements for the controller, enhances the anti-interference ability of path planning, can effectively avoid obstacles in complex road conditions, save operating resources and simplify operations.
Smart Images

Figure CN114967710B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a system and method for autonomous driving obstacle avoidance path planning based on control point fitting polynomials. Background Art
[0002] With the development of artificial intelligence technology and the continuous progress of the vehicle industry, the vehicle's autonomous driving technology is becoming more and more mature. During the process of autonomous driving, vehicles may encounter various complex road conditions. Obstacle avoidance in complex road conditions is the core algorithm of local path planning and one of the key technologies that must be solved for the commercial application of autonomous driving.
[0003] There are many algorithms for local path planning for robot obstacle avoidance, which can be roughly divided into methods based on graph search, sampling, interpolation curve and optimization, etc. However, when these algorithms are applied to vehicle autonomous driving, they must be improved by fully considering the requirements of the vehicle dynamics model. For example, the A-star algorithm needs to be improved to a hybrid A-star algorithm for autonomous driving. At the same time, in the process of autonomous driving engineering, in addition to vehicle dynamics constraints, it is also necessary to consider the current controller computing power, sensor perception level, and the user's ultimate acceptance of steering wheel jitter caused by the planned path.
[0004] For example, the invention patent with publication number CN112577506A discloses a local path planning method for automatic driving, which includes the following steps: (1) receiving map data and vehicle positioning data of the area where the vehicle is to travel to generate a local map of the area where the vehicle can travel; (2) performing time sampling, speed sampling and angle sampling from the local map; (3) generating a number of predicted driving trajectories based on time sampling, speed sampling and angle sampling; (4) traversing all predicted driving trajectories, performing collision detection on each predicted driving trajectory, if the detection result is that a collision will occur, then removing the predicted driving trajectory, if the detection result is that no collision will occur, then putting the predicted driving trajectory into a predicted driving trajectory database; (5) selecting the optimal trajectory from the predicted driving trajectory database and outputting it to the vehicle. The patent generates multiple paths based on sampling points, and then optimizes the multiple paths to finally form an executable planning path. This algorithm has high requirements on the calculation examples of the controller and has weak anti-interference ability.
[0005] Therefore, it is necessary to develop an obstacle avoidance path planning system with low example requirements and strong anti-interference ability to achieve obstacle avoidance under complex road conditions. Summary of the invention
[0006] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide an obstacle avoidance path planning system and method based on control point fitting polynomials for automatic driving, which has low requirements on calculation examples, strong anti-interference ability, and can achieve obstacle avoidance under complex road conditions.
[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0008] The automatic driving obstacle avoidance path planning system based on control point fitting polynomial includes a sensor module, a reference baseline module, a local path planning module and a whole vehicle actuator, wherein the reference baseline module and the local path planning module, the sensor module and the local path planning module, and the local path planning module and the whole vehicle actuator are all electrically connected, and the reference baseline module is electrically connected to a positioning module and a global path module respectively;
[0009] Sensor module, used to obtain obstacle information;
[0010] Positioning module, used to obtain the current vehicle position and heading information;
[0011] The global path module is used to plan a path connecting the starting point to the end point;
[0012] A reference baseline module is used to match points on the path as reference baselines according to the current vehicle position;
[0013] The local path planning module is used to plan the obstacle avoidance path based on the reference baseline and obstacle information, and output the obstacle avoidance path to the vehicle actuator, which controls the autonomous driving vehicle to travel along the obstacle avoidance path.
[0014] Furthermore, a lateral and longitudinal control module is electrically connected between the local path planning module and the vehicle actuator, and the lateral and longitudinal control module is used to perform lateral and longitudinal control on the obstacle avoidance path to ensure that the vehicle travels along the obstacle avoidance path within a certain error range.
[0015] Furthermore, the sensor module includes one or more of a visual sensor, a laser radar, a millimeter wave radar, and an ultrasonic radar.
[0016] Furthermore, the vehicle actuator includes EMS, ESP and EPS, wherein EPS is used to receive lateral control angle request information, EMS is used to receive longitudinal control torque request information, and ESP is used to receive longitudinal control deceleration request information.
[0017] The present invention also provides a method for autonomous driving obstacle avoidance path planning based on control point fitting polynomials. The method uses the above-mentioned autonomous driving obstacle avoidance path planning system based on control point fitting polynomials, and specifically includes the following steps:
[0018] S1. Obtain the current vehicle position, select the path output by the global path module as the reference baseline according to the current vehicle position, and obtain obstacle information;
[0019] S2. Calculate the vertical distance set Lat from the edge of the obstacle to the reference baseline according to the reference baseline and obstacle information. When the absolute value of the set Lat is greater than MinDis, it proves that there is no collision risk between the reference baseline and the obstacle. The reference baseline is directly output as a local path to the lateral and longitudinal control module to realize automatic driving. Otherwise, execute step S3.
[0020] S3, based on the current vehicle position and the obstacle edge point, the arc radius Rot is calculated, whether to avoid the obstacle on the left or the right is determined, and the coordinates of control point 1 and control point 2 are calculated respectively;
[0021] S4, if the longitudinal distance of control point No. 1 is greater than the longitudinal distance of control point No. 2, execute step S5, otherwise execute step S6;
[0022] S5, a cubic polynomial fitted based on the current vehicle position and control point No. 2 is used as an obstacle avoidance path;
[0023] S6, determine whether control point 1 is inside or outside the cubic polynomial, if control point 1 is inside the cubic polynomial, execute step S5, otherwise execute step S7;
[0024] S7. Fit a quartic polynomial as an obstacle avoidance path based on the current vehicle position, control point 1, and control point 2.
[0025] Further, in step S3, if the arc radius Rot is greater than 0, the currently calculated arc radius Rot is classified as the right obstacle avoidance radius set RtRot, and the maximum right obstacle avoidance radius maxRtRot and its corresponding right lateral displacement TarLatRt are calculated;
[0026] If the arc radius Rot is less than 0, the currently calculated arc radius Rot is classified as the left obstacle avoidance radius set RtRot, and the maximum left obstacle avoidance radius maxRtRot and its corresponding left lateral displacement TarLatRt are calculated;
[0027] Combined with the travel area information, obstacle avoidance radius and lateral displacement, it is determined whether to avoid obstacles on the left or right side. Under the same conditions, obstacle avoidance on the left side is performed first.
[0028] Furthermore, calculate the coordinates of control point 1:
[0029] PntOneX=max(6,TarMinLon-max(0.5,0.8×Hv_Spd_mps))
[0030] PntOneY=PntTwoY
[0031] Calculate the coordinates of control point 2:
[0032] PntTwoX=Max(25,Hv_Spd_mps×4)
[0033] When avoiding obstacles on the left side, PntTwoY=max(LnWidth, TarLatLf); when avoiding obstacles on the right side, PntTwoY=max(LnWidth, TarLatRt);
[0034] Among them, Hv_Spd_mps is the vehicle speed; TarMinLon is the longitudinal distance of the obstacle; LnWidth is the lane width; TarLatLf is the obstacle avoidance distance on the left; TarLatRt is the obstacle avoidance distance on the right.
[0035] Further, in step S5, a cubic polynomial fitted based on the current vehicle position and control point No. 2 is used as the obstacle avoidance path, where the cubic polynomial is:
[0036]
[0037] B=[LatErr-HeadErrRad PntTwoY 0]
[0038] The cubic polynomial coefficient Coef = A\B, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline.
[0039] Further, in step S7, a quartic polynomial is fitted as an obstacle avoidance path based on the current vehicle position, control point 1 and control point 2, wherein the quartic polynomial is:
[0040]
[0041] D=[LatErr-HeadErrRad PntTwoY 0]
[0042] The coefficient of the quartic polynomial Coef = C\D, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] 1. The present invention calculates the arc radius Rot based on the current vehicle position and the obstacle edge point, determines whether to avoid obstacles on the left or the right, and calculates the coordinates of control point 1 and control point 2 respectively, and uses the cubic polynomial fitted by the current vehicle position and control point 2 as the obstacle avoidance path and the quartic polynomial fitted by the current vehicle position, control point 1 and control point 2 as the obstacle avoidance path. In the process of achieving obstacle avoidance, it is no longer based on grid map search, nor is it to generate a large number of executable paths and then select the optimal path, but to directly find control points, which can save a lot of operating resources and has low requirements for the calculation examples of the controller. At the same time, by maintaining or filtering the generated single path, the operation is easier, the anti-interference ability of the planned trajectory to obstacle fluctuations can be enhanced, and obstacle avoidance can be achieved under complex road conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to make the purpose, technical solution and advantages of the invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, in which:
[0046] Figure 1 It is a structural schematic diagram of the automatic driving obstacle avoidance path planning system based on control point fitting polynomial of the present invention;
[0047] Figure 2 It is a logic flow chart of the automatic driving obstacle avoidance path planning method based on control point fitting polynomial of the present invention;
[0048] Figure 3 Schematic diagram of obstacle avoidance of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0050] like Figure 1 As shown, in this embodiment, a system for automatic driving obstacle avoidance path planning based on control point fitting polynomial is provided, including a sensor module, a reference baseline module, a local path planning module and a whole vehicle actuator, the reference baseline module and the local path planning module, the sensor module and the local path planning module, and the local path planning module and the whole vehicle actuator are all electrically connected, and the reference baseline module is electrically connected to a positioning module and a global path module respectively;
[0051] Sensor module, used to obtain obstacle information, including speed, profile, etc.;
[0052] Positioning module, used to obtain the current vehicle position and heading information;
[0053] The global path module is used to plan a path connecting the starting point to the end point based on the starting point, end point and map information;
[0054] The reference baseline module is used to match the points on the path according to the current vehicle position, and select the path points at a fixed distance from the current vehicle position in the forward direction as the reference baseline;
[0055] The local path planning module is used to plan the obstacle avoidance path based on the reference baseline and obstacle information, and output the obstacle avoidance path to the vehicle actuator, which controls the autonomous driving vehicle to travel along the obstacle avoidance path.
[0056] In specific implementation, a lateral and longitudinal control module is also electrically connected between the local path planning module and the vehicle actuator, and the lateral and longitudinal control module is used to perform lateral and longitudinal control on the obstacle avoidance path to ensure that the vehicle travels along the obstacle avoidance path within a certain error range.
[0057] In a specific implementation, the sensor module includes one or more of a visual sensor, a laser radar, a millimeter wave radar, and an ultrasonic radar.
[0058] In specific implementation, the vehicle actuator includes EMS, ESP and EPS, wherein EPS is used to receive lateral control angle request information, EMS is used to receive longitudinal control torque request information, and ESP is used to receive longitudinal control deceleration request information.
[0059] The present invention uses a reference baseline module to match the points on the global path planned by the global path module according to the current vehicle position provided by the positioning module, thereby selecting a path point at a fixed distance from the current vehicle position in the forward direction as a reference baseline. The local path planning module performs obstacle avoidance path planning based on the reference baseline provided by the reference baseline module and the obstacle information (perception information) provided by the sensor module, outputs the obstacle avoidance path to the lateral and longitudinal control module, and then passes it through the vehicle actuator to control the entire vehicle, thereby achieving obstacle avoidance for the autonomous driving vehicle.
[0060] like Figure 2 As shown, this embodiment provides an automatic driving obstacle avoidance path planning method based on control point fitting polynomial, including the following steps:
[0061] S1. Obtain the current vehicle position, select the path output by the global path module as the reference baseline according to the current vehicle position, and obtain obstacle information;
[0062] S2. Calculate the vertical distance set Lat from the edge of the obstacle to the reference baseline according to the reference baseline and obstacle information. When the absolute value of the set Lat is greater than MinDis, it proves that there is no collision risk between the reference baseline and the obstacle. The reference baseline is directly output as a local path to the lateral and longitudinal control module to realize automatic driving. Otherwise, execute step S3.
[0063] S3, based on the current vehicle position and the obstacle edge point, the arc radius Rot is calculated, whether to avoid the obstacle on the left or the right is determined, and the coordinates of control point 1 and control point 2 are calculated respectively;
[0064] S4, if the longitudinal distance of control point No. 1 is greater than the longitudinal distance of control point No. 2, execute step S5, otherwise execute step S6;
[0065] S5. The cubic polynomial fitted based on the current vehicle position and control point No. 2 is used as the obstacle avoidance path, and is output to the lateral control module to implement automatic driving obstacle avoidance path planning.
[0066] S6. Determine whether control point 1 is inside or outside the cubic polynomial. The specific positions of the inside and outside are as follows: Figure 3 If control point 1 is inside the cubic polynomial, then execute step S5, otherwise execute step S7;
[0067] S7. Fit a quartic polynomial as an obstacle avoidance path based on the current vehicle position, control point 1, and control point 2.
[0068] Finally, the generated trajectory is filtered, maintained, and checked for validity, and the local path planning trajectory is finally output.
[0069] The present invention calculates the arc radius Rot based on the current vehicle position and the obstacle edge point, determines whether to avoid obstacles on the left or right, and calculates the coordinates of control point 1 and control point 2 respectively, and uses the cubic polynomial fitted by the current vehicle position and control point 2 as the obstacle avoidance path and the quartic polynomial fitted by the current vehicle position, control point 1 and control point 2 as the obstacle avoidance path. In the process of achieving obstacle avoidance, it is no longer based on the grid map search, nor is it to generate a large number of executable paths and then select the optimal path, but directly finds the control point, which can save a lot of operating resources and has low requirements for the calculation example of the controller. At the same time, by maintaining or filtering the generated single path, the operation is easier, the anti-interference ability of the planned trajectory to obstacle fluctuations can be enhanced, and obstacle avoidance can be achieved under complex road conditions.
[0070] In specific implementation, in step S3, if the arc radius Rot is greater than 0, the currently calculated arc radius Rot is classified as the right obstacle avoidance radius set RtRot, and the maximum right obstacle avoidance radius maxRtRot and its corresponding right lateral displacement TarLatRt are calculated;
[0071] If the arc radius Rot is less than 0, the currently calculated arc radius Rot is classified as the left obstacle avoidance radius set RtRot, and the maximum left obstacle avoidance radius maxRtRot and its corresponding left lateral displacement TarLatRt are calculated.
[0072] Obstacle avoidance radius calculation:
[0073] Assume that point A is the positioning position of the vehicle, point B is the edge point of the obstacle, X is the lateral position of point B relative to point A, Y is the longitudinal distance of point B relative to point A, O is the center of the circle based on points A and B, and R is the radius based on points A and B. Then the obstacle avoidance radius R is:
[0074]
[0075] Combined with the traffic area information (current vehicle position, lane information), obstacle avoidance radius, and lateral displacement, determine whether to avoid obstacles on the left or right side. Under the same conditions, obstacle avoidance on the left side is prioritized. Calculate the target position point for obstacle avoidance, that is, control point No. 2. The specific position of control point No. 2 is as follows: Figure 3 As shown, its lateral position is TarLatRt (right obstacle avoidance) or TarLatLf (left obstacle avoidance), and the longitudinal distance is the lateral position point of the currently selected obstacle, matched to the point on the reference baseline, and the distance from the point on this reference baseline to the vehicle. The lateral position value of control point 1 is consistent with the lateral position of control point 2, and the longitudinal position is a function related to the current vehicle speed. The coordinates of control point 1 are:
[0076] PntOneX=max(6,TarMinLon-max(0.5,0.8×Hv_Spd_mps))
[0077] PntOneY=PntTwoY
[0078] The coordinates of control point 2 are:
[0079] PntTwoX=Max(25,Hv_Spd_mps×4)
[0080] When avoiding obstacles on the left side, PntTwoY=max(LnWidth, TarLatLf); when avoiding obstacles on the right side, PntTwoY=max(LnWidth, TarLatRt);
[0081] Among them, Hv_Spd_mps is the vehicle speed; TarMinLon is the longitudinal distance of the obstacle; LnWidth is the lane width; TarLatLf is the obstacle avoidance distance on the left; TarLatRt is the obstacle avoidance distance on the right.
[0082] In specific implementation, in step S5, the cubic polynomial is:
[0083]
[0084] B=[LatErr-HeadErrRad PntTwoY 0]
[0085] The cubic polynomial coefficient Coef = A\B, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline.
[0086] In specific implementation, in step S7, the quartic polynomial is:
[0087]
[0088] D=[LatErr-HeadErrRad PntTwoY 0]
[0089] The coefficient of the quartic polynomial Coef = C\D, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline.
[0090] See also Figure 2 and Figure 3 , the workflow of the present invention:
[0091] According to the current vehicle position (the vehicle) obtained by the positioning system, the points on the path are matched, and the path points at a fixed distance from the current vehicle position in the forward direction are selected as the reference baseline; according to the reference baseline and the obtained obstacle information ( Figure 3 ), calculate the vertical distance set Lat from the four edge points of the obstacle to the reference baseline, and determine whether the absolute value of the set Lat is greater than MinDis (obstacle avoidance lateral distance threshold).
[0092] When the absolute values of the set Lat are all greater than MinDis, it means that the reference baseline output by the reference baseline module has no collision risk for the current vehicle (no obstacle avoidance path planning is required). The reference baseline is directly used as the path planning trajectory through the local path planning module and output to the lateral and longitudinal control module. The lateral and longitudinal control module controls the trajectory laterally and longitudinally to ensure that the vehicle follows the trajectory within a certain error range. Finally, the vehicle actuator is used to control the autonomous driving vehicle to travel along the obstacle avoidance path.
[0093] When the absolute value of the set Lat is less than MinDis, it indicates that the reference baseline output by the reference baseline module poses a collision risk to the current vehicle (obstacle avoidance path planning is required). Specifically, the arc radius Rot is calculated based on the current vehicle position and the obstacle edge point, and it is determined whether the arc radius Rot is greater than 0. If the arc radius Rot is greater than 0, the currently calculated arc radius is classified as the right obstacle avoidance radius set RtRot, otherwise the currently calculated arc radius is classified as the left obstacle avoidance radius set LfRot. Calculate the maximum right obstacle avoidance radius maxRtRot and its corresponding right lateral displacement TarLatRt; calculate the minimum left obstacle avoidance radius minRtRot and its corresponding left lateral displacement TarLatLf, and then combine the traffic area information, obstacle avoidance radius, and lateral displacement to determine whether it is left or right obstacle avoidance. Under the same conditions, left obstacle avoidance takes priority, and the target position point of obstacle avoidance (i.e., control point No. 2) is calculated. The specific position of control point No. 2 is as follows: Figure 2 As shown, its lateral position is TarLatRt (right obstacle avoidance) or TarLatLf (left obstacle avoidance), and the longitudinal distance is the lateral position point of the currently selected obstacle, matched to the point on the reference baseline, and the distance from the point on this reference baseline to the vehicle. The lateral position value of control point 1 is consistent with the lateral position of control point 2, and the longitudinal position is a function related to the current vehicle speed.
[0094] When the longitudinal distance of control point 1 is greater than the longitudinal distance of control point 2, the cubic polynomial fitted based on the current vehicle position and control point 2 is used as the obstacle avoidance path and output to the lateral control module. Finally, the vehicle actuator is used to control the autonomous driving vehicle to travel along the obstacle avoidance path.
[0095] If control point 1 is on the inner side of the cubic polynomial, the cubic polynomial fitted based on the current vehicle position and control point 2 is also used as the obstacle avoidance path. Otherwise, a quartic polynomial is fitted based on the current vehicle position, control point 1 and control point 2 as the obstacle avoidance path, which is output to the lateral control module, and finally the whole vehicle actuator controls the autonomous driving vehicle to travel along the obstacle avoidance path. Therefore, the present invention calculates the arc radius Rot based on the current vehicle position and the obstacle edge point, determines whether to avoid obstacles on the left or the right, and calculates the coordinates of control point 1 and control point 2 respectively, and uses the cubic polynomial fitted by the current vehicle position and control point 2 as the obstacle avoidance path and the quartic polynomial fitted by the current vehicle position, control point 1 and control point 2 as the obstacle avoidance path. In the process of realizing obstacle avoidance, it is no longer based on grid map search, nor is it to generate a large number of executable paths and then select the optimal path, but to directly find control points, which can save a lot of operating resources and has low requirements for the calculation examples of the controller. At the same time, by maintaining or filtering the generated single path, the operation is easier, the planned trajectory can be more resistant to interference from obstacle fluctuations, and obstacle avoidance can be achieved under complex road conditions.
[0096] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described with reference to the preferred embodiments of the present invention, it should be understood by those skilled in the art that various changes may be made to the present invention in form and detail. Any obvious changes derived from the technical solutions of the present invention are still within the scope of protection of the present invention.
Claims
1. A method for autonomous driving obstacle avoidance path planning based on control point fitting polynomials. The method uses an autonomous driving obstacle avoidance path planning system based on control point fitting polynomials. The autonomous driving obstacle avoidance path planning system based on control point fitting polynomials includes a sensor module, a reference baseline module, a local path planning module and a vehicle actuator. The reference baseline module and the local path planning module, the sensor module and the local path planning module, and the local path planning module and the vehicle actuator are all electrically connected. The reference baseline module is electrically connected to a positioning module and a global path module respectively. Sensor module, used to obtain obstacle information; Positioning module, used to obtain the current vehicle position and heading information; The global path module is used to plan a path connecting the starting point to the end point; A reference baseline module is used to match points on the path as reference baselines according to the current vehicle position; The local path planning module is used to plan the obstacle avoidance path according to the reference baseline and obstacle information, and output the obstacle avoidance path to the whole vehicle actuator, which controls the autonomous driving vehicle to travel along the obstacle avoidance path; it is characterized by comprising the following steps: S1. Obtain the current vehicle position, select the path output by the global path module as the reference baseline according to the current vehicle position, and obtain obstacle information; S2. Calculate the vertical distance set Lat from the edge of the obstacle to the reference baseline according to the reference baseline and obstacle information. When the absolute value of the set Lat is greater than MinDis, it proves that there is no collision risk between the reference baseline and the obstacle. The reference baseline is directly output as a local path to the lateral and longitudinal control module to realize automatic driving. Otherwise, execute step S3. S3, based on the current vehicle position and the obstacle edge point, the arc radius Rot is calculated, whether to avoid the obstacle on the left or the right is determined, and the coordinates of control point 1 and control point 2 are calculated respectively; S4, if the longitudinal distance of control point No. 1 is greater than the longitudinal distance of control point No. 2, execute step S5, otherwise execute step S6; S5, a cubic polynomial fitted based on the current vehicle position and control point No. 2 is used as an obstacle avoidance path; S6, determine whether control point 1 is inside or outside the cubic polynomial, if control point 1 is inside the cubic polynomial, execute step S5, otherwise execute step S7; S7, fitting a quartic polynomial as an obstacle avoidance path based on the current vehicle position, control point 1 and control point 2; The coordinates of control point 1 are: PntOneX=max(6,TarMinLon-max(0.5,0.8×Hv_Spd_mps)) PntOneY=PntTwoY The coordinates of control point 2 are: PntTwoX=Max(25,Hv_Spd_mps×4) When avoiding obstacles on the left side, PntTwoY=max(LnWidth, TarLatLf); when avoiding obstacles on the right side, PntTwoY=max(LnWidth, TarLatRt); Among them, Hv_Spd_mps is the vehicle speed; TarMinLon is the longitudinal distance of the obstacle; LnWidth is the lane width; TarLatLf is the left obstacle avoidance distance; TarLatRt is the right obstacle avoidance distance; In step S5, the cubic polynomial is: B=[LatErr-HeadErrRad PntTwoY 0] The coefficient of the cubic polynomial Coef = A\B, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline; In step S7, the quartic polynomial is: D=[LatErr-HeadErrRad PntTwoY 0] The coefficient of the quartic polynomial Coef = C\D, where LatErr is the lateral position error relative to the reference baseline; HeadErrRad is the heading error of the reference baseline.
2. The method for autonomous driving obstacle avoidance path planning based on control point fitting polynomial according to claim 1, characterized in that: In step S3, if the arc radius Rot is greater than 0, the currently calculated arc radius Rot is classified as the right obstacle avoidance radius set RtRot, and the maximum right obstacle avoidance radius maxRtRot and its corresponding right lateral displacement TarLatRt are calculated; If the arc radius Rot is less than 0, the currently calculated arc radius Rot is classified as the left obstacle avoidance radius set RtRot, and the maximum left obstacle avoidance radius maxRtRot and its corresponding left lateral displacement TarLatRt are calculated; Combined with the travel area information, obstacle avoidance radius and lateral displacement, it is determined whether to avoid obstacles on the left or right side. Under the same conditions, obstacle avoidance on the left side is performed first.
3. The method for autonomous driving obstacle avoidance path planning based on control point fitting polynomial according to claim 1, characterized in that: A lateral and longitudinal control module is also electrically connected between the local path planning module and the vehicle actuator, and the lateral and longitudinal control module is used to perform lateral and longitudinal control on the obstacle avoidance path to ensure that the vehicle travels along the obstacle avoidance path within a certain error range.
4. The method for autonomous driving obstacle avoidance path planning based on control point fitting polynomial according to claim 1, characterized in that: The sensor module includes one or more of a visual sensor, a laser radar, a millimeter-wave radar, and an ultrasonic radar.
5. The method for autonomous driving obstacle avoidance path planning based on control point fitting polynomial according to claim 3, characterized in that: The vehicle actuators include EMS, ESP and EPS, among which EPS is used to receive lateral control angle request information, EMS is used to receive longitudinal control torque request information, and ESP is used to receive longitudinal control deceleration request information.
