Static obstacle avoidance path generation method and device, vehicle and medium

By adjusting the initial guidance path to avoid large-sized obstacles, and using path search algorithms and quadratic optimization algorithms to deal with small-sized obstacles, an optimal obstacle avoidance path is generated, which solves the problem of insufficient decision-making and planning for temporary static obstacles in autonomous driving. , improving driving safety and user experience.

CN118760186APending Publication Date: 2024-10-11GUANGZHOU XIAOPENG CONNECTIVITY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410991152.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing technology makes it difficult to update the map in real time during autonomous driving on irregular roads, resulting in insufficient decision-making and planning for temporary static obstacles, causing the driver to panic and take over, and the driving route is not smooth enough, increasing driving risks.

Method used

By obtaining the lateral distance between the initial guidance path and the static obstacle, the path is adjusted to avoid large-sized obstacles, and the preset path search algorithm is used to accurately avoid small-sized obstacles, and the obstacle avoidance path is adjusted with the quadratic optimization algorithm to make it Smoother and generates optimal obstacle avoidance paths.

Benefits of technology

It improves the accuracy and smoothness of obstacle avoidance paths, reduces driver panic and takes over, reduces driving risks, enhances user experience, reduces dependence on high-precision maps, and improves reusability and compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760186A_ABST
    Figure CN118760186A_ABST
Patent Text Reader

Abstract

The invention provides a static obstacle avoidance path generation method and device, a vehicle and a medium, and the method comprises the steps: obtaining a transverse distance between an initial guiding path and a first static obstacle along the initial guiding path, and obtaining a corrected guiding path of the initial guiding path for obstacle avoidance around the first static obstacle if the transverse distance meets a preset unsafe distance; taking the corrected guide path as an inner boundary of a preset path search algorithm, and according to the preset path search algorithm, obtaining an obstacle avoidance path for performing obstacle avoidance on the second static obstacle; the first size of the first static obstacle is larger than the second size of the second static obstacle; according to the corrected guiding path and the obstacle avoidance direction of the obstacle avoidance path, obtaining a lower boundary of a preset secondary optimization algorithm, and according to the preset secondary optimization algorithm, performing smooth adjustment on the obstacle avoidance path to obtain an optimal obstacle avoidance path; by adopting the method, the panic of taking over of the driver can be reduced, the driving route is smooth and the driving risk is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle path planning, and in particular to a static obstacle avoidance path generation method, device, vehicle and medium. Background Art

[0002] Current autonomous driving on irregular roads relies more on the prior information provided by high-precision maps for decision-making and planning. For temporary static obstacles or irregular obstacles, such as construction areas or cones, it is difficult to update the map in real time. The guided path easily passes through static obstacles or is very close to static obstacles, making it impossible to correctly decide the direction and plan the path through the obstacle area, which can easily cause the driver to panic and take over, resulting in an unsmooth driving route and increased driving risks. Summary of the invention

[0003] The purpose of this application is to address the deficiencies of the above-mentioned existing related technologies and provide a static obstacle avoidance path generation method, device, vehicle and medium, which can reduce the driver's panic when taking over, smooth the driving route and reduce driving risks.

[0004] In a first aspect, the present application provides a static obstacle avoidance path generation method, comprising:

[0005] Acquire a lateral distance between an initial guidance path and a first static obstacle along the initial guidance path, and if the lateral distance satisfies a preset unsafe distance, acquire a corrected guidance path for the initial guidance path to avoid the first static obstacle;

[0006] The corrected guidance path is used as the inner boundary of the preset path search algorithm, and an obstacle avoidance path for avoiding the second static obstacle is obtained according to the preset path search algorithm; the first size of the first static obstacle is greater than the second size of the second static obstacle;

[0007] According to the corrected guidance path and the obstacle avoidance direction of the obstacle avoidance path, a lower boundary of a preset quadratic optimization algorithm is obtained, and according to the preset quadratic optimization algorithm, the obstacle avoidance path is smoothly adjusted to obtain an optimal obstacle avoidance path.

[0008] The present application adjusts the initial guidance path to avoid the interference of the large-sized first static obstacle on the initial guidance path, and generates a more accurate inner boundary of the preset path search algorithm. The small-sized second static obstacle is removed by the preset path search algorithm, which can improve the accuracy of the generated obstacle avoidance path and avoid the collision with the temporarily built static obstacles of any size, thereby avoiding the driver's panic takeover, thereby improving driving safety and improving user experience; at the same time, the preset secondary optimization algorithm is also used to adjust the smoothness of the obstacle avoidance path, so that the obstacle avoidance path for static obstacles is smoother, thereby further avoiding the driver's panic takeover, improving driving safety and user experience; in addition, when avoiding static obstacles, no third-party high-precision map is used and no additional map is constructed to generate the optimal obstacle avoidance path, but the optimal obstacle avoidance path is generated by adjusting the initial guidance path, path search and secondary optimization in sequence. This process has less external dependence, makes the reusability, compatibility and applicability higher, and the generated optimal obstacle avoidance path is more efficient, thereby further improving user experience.

[0009] In one implementation, the lateral distance includes: a left distance and a right distance; the left distance and the right distance are respectively the lateral lengths of the leftmost and rightmost sides of the initial guidance path from the first static obstacle; if the lateral distance satisfies a preset unsafe distance, obtaining a corrected guidance path for the initial guidance path to avoid the obstacle around the first static obstacle, comprising:

[0010] If the first static obstacle is avoided by going around it to the right, and the left distance is less than the first safety distance and the right distance is greater than the second safety distance, the path of going around the first static obstacle to the right by using the initial guidance path to avoid the obstacle is used as the corrected guidance path.

[0011] The present application obtains a driving decision to go around the large-sized first static obstacle to the right by judging the lateral lengths of the initial guidance path and the leftmost and rightmost sides of the first static obstacle, and uses the right-going result as a corrected guidance path for removing the first static obstacle. The temporary large-sized first static obstacle can be removed from the initial guidance path, and the collision with the temporary static obstacle can be avoided, thereby improving the accuracy of generating the obstacle avoidance path and avoiding the driver's panic takeover, thereby improving driving safety and improving user experience.

[0012] In one implementation, if the lateral distance satisfies a preset unsafe distance, obtaining a modified guidance path for avoiding the initial guidance path around the first static obstacle further includes:

[0013] If the first static obstacle is avoided by going left, and the right distance is less than the first safety distance and the left distance is greater than the second safety distance, a path of going left by going around the first static obstacle to avoid the obstacle along the initial guidance path is used as a corrected guidance path.

[0014] In addition to avoiding the large-sized first static obstacle by going around it to the right, the present application can also make a driving decision to go around it to the left by judging whether the left distance is less than the first safety distance and whether the right distance is greater than the second safety distance. The result of going around it to the left is used as a corrected guidance path, which can improve the decision to go around the first static obstacle and is also beneficial to obtaining the precise inner boundary of the preset path search algorithm, thereby improving the accuracy of generating the obstacle avoidance path.

[0015] In one implementation, the first safety distance is greater than the second safety distance; the first safety distance is M times the total length of a preset vehicle width and a preset distance; and M is a positive number.

[0016] In one implementation, if the lateral distance satisfies a preset safety distance, the initial guidance path is used as the revised guidance path, including:

[0017] If the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the corrected guidance path.

[0018] The present application determines that the first static obstacle is not sufficient to interfere with the initial guidance path by judging that the lateral distance is less than the total length of the preset vehicle width and the second safety distance, and the first static obstacle does not need to be detoured. Based on the first aspect, the initial guidance path can be directly used as the inner boundary of the preset path search algorithm to avoid missing static obstacles that meet the safety distance, thereby improving the accuracy of generating the obstacle avoidance path.

[0019] In one implementation, the determining condition of using the initial guidance path as the modified guidance path further includes:

[0020] If the lateral distance does not satisfy the preset safety constraints of the preset path search algorithm, the initial guidance path is used as the revised guidance path; wherein the preset safety constraints include: the lateral distance is several times the longitudinal length of the first static obstacle.

[0021] In addition to determining whether the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the present application also determines that the first static obstacle is not sufficient to interfere with the initial guidance path by determining that the lateral distance does not satisfy the preset safety constraints of the preset path search algorithm. Based on the first aspect, the initial guidance path can be directly used as the inner boundary of the preset path search algorithm to avoid missing static obstacles that meet the safety distance, thereby improving the accuracy of generating the obstacle avoidance path.

[0022] In one implementation, the judgment condition of using the initial guidance path as the revised guidance path further includes: if the shape of the first static obstacle meets a preset safety shape, using the initial guidance path as the revised guidance path, specifically:

[0023] If the first size is smaller than a preset safety size, or the first static obstacle is a rectangle and the side length of the rectangle is greater than N times the side width of the rectangle, the initial guidance path is used as the corrected guidance path; N is a positive integer.

[0024] In addition to determining whether the lateral distance is less than the total length of the preset vehicle width and the second safety distance, and whether the lateral distance does not meet the preset safety constraints of the preset path search algorithm, the present application can also determine whether the shape of the first static obstacle meets the preset safety shape to determine whether the first static obstacle is insufficient to interfere with the initial guidance path. By enumerating the situations that meet the safety distance, it is possible to avoid missing static obstacles that meet the safety distance, thereby improving the accuracy of generating the obstacle avoidance path.

[0025] In one implementation, before smoothly adjusting the obstacle avoidance path according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path, the method further includes:

[0026] If the obstacle avoidance path is guided through an asymmetric intersection position, the obstacle avoidance path is translated outward at the preset distance to obtain a translated path, and the translated path is used as the upper boundary of the preset secondary optimization algorithm, so that the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

[0027] The present application will translate the obstacle avoidance path when passing through an asymmetric intersection outward by a preset spacing. Since the first static obstacle that meets the unsafe distance has been judged and bypassed at a preset spacing when adjusting the initial guidance path, the obtained translation path will not cross or pass through the first static obstacle. In addition, the translation path is used as the upper boundary of the preset secondary optimization algorithm, and the boundary of the secondary optimization algorithm can be accurately preset, thereby improving the smoothness of generating the optimal obstacle avoidance path, making the obstacle avoidance path for static obstacles smoother, thereby further avoiding driver panic takeover, improving driving safety and user experience.

[0028] In one implementation, the step of translating the obstacle avoidance path outward by the preset distance to obtain a translation path includes:

[0029] The intersection entrance endpoint and the intersection exit endpoint of the obstacle avoidance path are obtained, and a first straight line segment perpendicular to the turning direction is generated with the intersection entrance endpoint as the starting point, and a second straight line segment perpendicular to and intersecting with the first straight line segment is generated with the intersection exit endpoint as the starting point, and the first straight line segment and the second straight line segment are simultaneously translated outward at the preset interval to obtain a translation path.

[0030] The present application divides the arc-shaped obstacle avoidance path when passing through an asymmetric intersection into two connected vertical line segments, and translates the two vertical line segments outward to obtain a translation path. When the translation path is used as the upper boundary of the preset secondary optimization algorithm, the upper boundary can be appropriately expanded to give more smoothing optimization space to the smoothing process, thereby improving the smoothness of generating the optimal obstacle avoidance path, making the obstacle avoidance path for static obstacles smoother, thereby further avoiding the driver's panic takeover, and improving driving safety and user experience.

[0031] In one implementation, before translating the first straight line segment and the second straight line segment outward at the preset interval simultaneously, the method includes:

[0032] The longest straight line segment between the first straight line segment and the second straight line segment is used as a composite path segment, a target endpoint is selected on the composite path segment, and the target endpoint is used as a turning point of the obstacle avoidance path for turning guidance.

[0033] The present application selects a target endpoint in the selected composite path segment as the turning point of the obstacle avoidance path for turning guidance, which can avoid the situation where the obstacle avoidance path starts to turn prematurely from the intersection entrance endpoint, and can improve the accuracy of the optimal obstacle avoidance path generated based on the turning point, thereby further avoiding the driver's panic takeover and improving driving safety and user experience.

[0034] In one implementation, selecting a target endpoint on the composite path segment includes:

[0035] The straight line segment with the shortest length between the first straight line segment and the second straight line segment is taken as the turning path segment, the intersection of the turning path segment and the composite path segment is taken as the target starting point, and the target endpoint is found in the composite path segment; wherein the length between the target endpoint and the target starting point is not greater than the length of the turning path segment.

[0036] In the present application, the length between the target endpoint and the target starting point selected in the selected composite path segment is not greater than the length of the turning path segment, and the composite path segment is divided into a straight path segment and a turning path segment, which can improve the accuracy of the guided turn, thereby improving the accuracy of the optimal obstacle avoidance path generated based on the turning point, thereby further avoiding the driver's panic takeover, improving driving safety and user experience.

[0037] In one implementation, the step of simultaneously translating the first straight line segment and the second straight line segment outward at the preset interval to obtain a translation path includes:

[0038] Based on the initial guidance path, the arc between the first endpoint of the turning path segment and the target endpoint is used as the turning guidance path, and the straight line between the second endpoint of the composite path segment and the target endpoint is used as the straight guidance path, the turning guidance path and the straight guidance path are simultaneously translated outward at the preset interval to obtain a translation path; the first endpoint and the second endpoint are respectively path segment endpoints different from the target starting point.

[0039] In one implementation, the step of smoothly adjusting the obstacle avoidance path according to the upper boundary, the lower boundary, and the preset secondary optimization algorithm to obtain an optimal obstacle avoidance path includes:

[0040] The area enclosed by the lower boundary and the upper boundary is taken as the feasible domain of the preset quadratic optimization algorithm, and the feasible domain, the obstacle avoidance path and the minimized smoothing cost are respectively taken as the hard constraints, soft constraints and objective function of the preset quadratic optimization algorithm, the obstacle avoidance path is smoothed to obtain the optimal obstacle avoidance path.

[0041] In a second aspect, the present application provides a static obstacle avoidance path generation device, comprising: a boundary acquisition module, a primary obstacle avoidance module and a secondary obstacle avoidance module; wherein,

[0042] The boundary acquisition module is used to acquire a lateral distance between an initial guidance path and a first static obstacle along the initial guidance path, and if the lateral distance satisfies a preset unsafe distance, acquire a corrected guidance path for the initial guidance path to avoid the first static obstacle;

[0043] The initial obstacle avoidance module is used to use the corrected guidance path as the inner boundary of a preset path search algorithm, and obtain an obstacle avoidance path for avoiding a second static obstacle according to the preset path search algorithm; a first size of the first static obstacle is greater than a second size of the second static obstacle;

[0044] The secondary obstacle avoidance module is used to obtain the lower boundary of the preset secondary optimization algorithm according to the obstacle avoidance direction of the corrected guidance path and the obstacle avoidance path, and to smoothly adjust the obstacle avoidance path according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

[0045] The present application adjusts the initial guidance path through the boundary acquisition module to avoid the interference of the large-sized first static obstacle on the initial guidance path, and generates a more accurate inner boundary of the preset path search algorithm. The small-sized second static obstacle is removed by the initial obstacle avoidance module using the preset path search algorithm, which can improve the accuracy of the generated obstacle avoidance path, avoid the collision with the temporary static obstacle of any size, and thus avoid the driver's panic takeover, thereby improving driving safety and improving user experience; at the same time, the secondary obstacle avoidance module uses the preset secondary optimization algorithm to adjust the smoothness of the obstacle avoidance path, so that the obstacle avoidance path for static obstacles is smoother, thereby further avoiding the driver's panic takeover, improving driving safety and user experience; in addition, in the interaction process of the boundary acquisition module-obstacle avoidance module-secondary obstacle avoidance module, no third-party high-precision map is used and no additional map is constructed to generate the optimal obstacle avoidance path, but the optimal obstacle avoidance path is generated by adjusting the initial guidance path, path search and secondary optimization in turn. This process has less external dependence, making it more reusable, compatible and applicable, and the generated optimal obstacle avoidance path is more efficient, which can further improve the user experience.

[0046] In a third aspect, the present application provides a vehicle comprising: a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the static obstacle avoidance path generation method as described in the first aspect or any one implementation of the first aspect.

[0047] The present application runs the static obstacle avoidance path generation method described in the first aspect or further described in the first aspect in the form of a program in a vehicle, and can run static obstacle avoidance paths in different scenarios in different vehicle systems and different vehicle applications, with greater scalability.

[0048] In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the static obstacle avoidance path generation method as described in the first aspect or any one of the implementations of the first aspect.

[0049] When the present application stores the static obstacle avoidance path generation method further described in the first aspect or the first aspect in the form of a program in a storage medium, by running or reading an executable program in any form of programming language in the storage medium, it can instantly generate static obstacle avoidance paths and other operations, and can be applicable to more programming language environments and application scenarios, with greater compatibility, reusability, scalability and applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This application provides the existing related technology for static obstacle avoidance decision planning;

[0051] Figure 2 It is a flow chart of a static obstacle avoidance path generation method provided by the present application;

[0052] Figure 3 is a schematic diagram of a correction guidance path I provided by the present application;

[0053] Figure 4 is a schematic diagram of the correction guidance path II provided by the present application;

[0054] Figure 5 is a schematic diagram of an obstacle avoidance path I provided in this application;

[0055] Figure 6 is a schematic diagram of the obstacle avoidance path II provided by the present application;

[0056] Figure 7 is a schematic diagram of the target endpoint provided by this application;

[0057] Figure 8 is a schematic diagram of the translation path provided by this application;

[0058] Fig. 9 is a schematic diagram of the optimal obstacle avoidance path I provided by this application;

[0059] Fig.10 is a schematic diagram of the optimal obstacle avoidance path II provided by this application;

[0060] Fig.11 It is a structural schematic diagram of a static obstacle avoidance path generating device provided by the present application;

[0061] Fig.12 It is a structural schematic diagram of a vehicle provided by the present application. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] It is worth noting that the existing related technologies rely on high-precision maps to provide guidance paths based on prior information, and temporary static obstacles are difficult to update in real time on the map, so the guidance paths generated by the existing related technologies are prone to cross static obstacles or be very close to static obstacles, making it difficult to give corresponding obstacle avoidance decision-making plans for temporary static obstacles, causing the driver to panic and take over, resulting in an unsmooth driving route and increased driving risks. Figure 1 , is the obstacle avoidance decision planning for static obstacles provided by the existing related technology in this application. Figure 1 In the figure, there is a guidance path 101 generated by the existing relevant technology from the intersection entrance end 103 to the intersection exit end 104, and the static obstacles include: a temporary yellow small-sized static obstacle 105 and a large-sized static obstacle 102. The guidance path 101 is very close to the static obstacle 105 and the static obstacle 102, which can easily cause the driver to panic and take over, making the driving route under panic takeover not smooth and increasing driving risks.

[0064] Based on this, the present application provides a static obstacle avoidance path generation method, device, vehicle and medium that do not rely on external maps. The main purpose is to divide static obstacles into two categories according to their size. For a first static obstacle of large size, an initial guidance path is first used to bypass the obstacle to obtain a corrected guidance path; for a second static obstacle of small size, a preset path search algorithm is used to perform a path search to avoid the obstacle to obtain an obstacle avoidance path. At this time, the obstacle avoidance path can avoid static obstacles of any size or irregularity, which can prevent the driver from taking over due to panic and reduce the driving risks caused by panic; in order to make the obstacle avoidance path smoother, a preset secondary optimization algorithm is used to adjust the smoothness of the obstacle avoidance path to obtain the optimal obstacle avoidance path and improve driving safety.

[0065] In order to more clearly illustrate the static obstacle avoidance path generation method, device, vehicle and medium provided in the present application, a detailed description will be given from the following embodiments.

[0066] Example 1

[0067] See also Figure 2, is a flow chart of a static obstacle avoidance path generation method provided by the present application, including: steps S11 to S13, each step corresponds to a processing process, including: a pre-adjustment process of the initial guidance path, a path search process based on the pre-adjustment, and a secondary optimization process based on the path search; wherein, in the pre-adjustment process, the initial guidance path is pre-adjusted to avoid the influence of the large-sized first static obstacle, and a corrected guidance path is obtained; in the path search process, the corrected guidance path is used as the inner boundary of the preset path search algorithm to perform path search to avoid the influence of the small-sized second static obstacle, and an obstacle avoidance path is obtained; in the secondary optimization process, the corrected guidance path is used as the lower boundary of the preset secondary optimization algorithm, and the smoothness of the obstacle avoidance path is adjusted according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path. The above three steps will be described in detail below.

[0068] Pre-adjustment process

[0069] Step S11, obtaining a lateral distance between an initial guidance path and a first static obstacle along the initial guidance path, and if the lateral distance satisfies a preset unsafe distance, obtaining a corrected guidance path for avoiding the first static obstacle along the initial guidance path.

[0070] In some embodiments, the lateral distance includes: a left distance and a right distance; the left distance and the right distance are respectively the lateral lengths of the initial guidance path from the leftmost side and the rightmost side to the first static obstacle.

[0071] It is worth noting that the first static obstacle is a larger static obstacle, and the second static obstacle is a smaller static obstacle. In some embodiments, the size of the static obstacle may include: any one of floor area, surface area, length, width, height, diameter or radius.

[0072] In some embodiments, if the lateral distance meets the preset unsafe distance, a revised guidance path for avoiding the obstacle around the first static obstacle is obtained using the initial guidance path, including: if the first static obstacle is avoided by going around it to the right, the distance on the left is less than the first safety distance and the distance on the right is greater than the second safety distance, then the path of avoiding the obstacle around the first static obstacle to the right using the initial guidance path is used as the revised guidance path.

[0073] In some embodiments, the revised guidance path can be obtained based on the initial guidance path, bypassing the first static obstacle and increasing a preset distance spacing from the first static obstacle; the preset distance spacing is not less than the preset spacing or not less than the preset vehicle width.

[0074] The present application obtains a driving decision to go around the large-sized first static obstacle to the right by judging the lateral lengths of the initial guidance path and the leftmost and rightmost sides of the first static obstacle, and uses the right-going result as a corrected guidance path for removing the first static obstacle. The temporary large-sized first static obstacle can be removed from the initial guidance path, and the collision with the temporary static obstacle can be avoided, thereby improving the accuracy of generating the obstacle avoidance path and avoiding the driver's panic takeover, thereby improving driving safety and improving user experience.

[0075] In some embodiments, the first safety distance is greater than the second safety distance; the first safety distance is M times the total length of the preset vehicle width and the preset distance; M is a positive number.

[0076] It is worth noting that both the first safety distance and the second safety distance are used as the basis for determining the detour direction, and the first safety distance is also used to obtain the translation path. The process of obtaining the translation path is introduced in step S13.

[0077] In some embodiments, the first safety distance may also be a preset distance.

[0078] In some embodiments, the preset spacing may range from (2, 10) meters.

[0079] In some embodiments, the preset distance may be preferably set to 5 meters.

[0080] In some embodiments, the value range of the second safety distance may be (0, 2) meters.

[0081] In some embodiments, the second safety distance may be preferentially set to 1 meter.

[0082] In some embodiments, the value range of M can be (0, 1).

[0083] In some embodiments, M may be preferably set to 0.5.

[0084] In some embodiments, if the lateral distance meets the preset unsafe distance, a revised guidance path for avoiding the obstacle around the first static obstacle is obtained according to the initial guidance path, and it also includes: if the first static obstacle is avoided by going left, the distance on the right is less than the first safety distance and the distance on the left is greater than the second safety distance, then the path for avoiding the obstacle around the first static obstacle according to the initial guidance path is used as the revised guidance path.

[0085] In addition to avoiding the large-sized first static obstacle by going around it to the right, the present application can also make a driving decision to go around it to the left by judging whether the left distance is less than the first safety distance and whether the right distance is greater than the second safety distance. The result of going around it to the left is used as a corrected guidance path, which can improve the decision to go around the first static obstacle and is also beneficial to obtaining the precise inner boundary of the preset path search algorithm, thereby improving the accuracy of generating the obstacle avoidance path.

[0086] It is worth mentioning that there are two judgment conditions for obtaining the corrected guidance path for avoiding the obstacle by going around the first static obstacle with the initial guidance path, namely, the conditional judgment of going around left and going around right. If it is going around right, it is necessary to satisfy that the distance on the left is less than the first safety distance and the distance on the right is greater than the second safety distance. At this time, it can be determined that the bypass direction for the first static obstacle is going around right, and the path of the initial guidance path going around the first static obstacle to the right is used as the corrected guidance path. If it is going around left, it is necessary to satisfy that the distance on the right is less than the first safety distance and the distance on the left is greater than the second safety distance. At this time, it can be determined that the bypass direction for the first static obstacle is going around left, and the path of the initial guidance path going around the first static obstacle to the left is used as the corrected guidance path.

[0087] In some embodiments, the detour direction can be preset. When turning left at an intersection, the vehicle tends to detour to the right around the first static obstacle and the second static obstacle. When turning right at an intersection, the vehicle tends to detour to the left around the first static obstacle and the second static obstacle. The present application can make the optimal obstacle avoidance path more flexible, thereby making actual driving based on the optimal obstacle avoidance path more reasonable and smooth, and avoiding the situation where the optimal obstacle avoidance path is too short and the vehicle cannot turn.

[0088] In some embodiments, if the lateral distance meets the preset safety distance, the initial guidance path is used as the revised guidance path, including: if the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the revised guidance path.

[0089] In some embodiments, if the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the corrected guidance path, which may include: obtaining the minimum distance between the left distance and the right distance, and if the minimum distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the corrected guidance path.

[0090] In some embodiments, the maximum distance between the left distance and the right distance may also be obtained. If the maximum distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the corrected guidance path.

[0091] In some embodiments, the initial guidance path is used as a judgment condition for modifying the guidance path, and further includes: if the lateral distance does not meet the preset safety constraints of the preset path search algorithm, the initial guidance path is used as the modified guidance path; wherein the preset safety constraints include: the lateral distance is several times the longitudinal length of the first static obstacle.

[0092] In some embodiments, the lateral distance is several times the longitudinal length of the first static obstacle, which may include: any one of the left distance and the right distance is several times the longitudinal length of the first static obstacle; or, the minimum distance between the left distance and the right distance is several times the longitudinal length of the first static obstacle; or, the maximum distance between the left distance and the right distance is several times the longitudinal length of the first static obstacle.

[0093] In some embodiments, the preset safety constraint may be calculated by a preset function. For example, the longitudinal length of the first static obstacle is 0.5 meters, and the lateral distance when circumventing the first static obstacle is 7 meters.

[0094] In some embodiments, the initial guidance path is used as a judgment condition for the revised guidance path, and also includes: if the shape of the first static obstacle meets the preset safety shape, the initial guidance path is used as the revised guidance path, specifically: if the first size is smaller than the preset safety size, or the first static obstacle is a rectangle and the side length of the rectangle is greater than N times the side length and width of the rectangle, the initial guidance path is used as the revised guidance path; N is a positive integer.

[0095] In some embodiments, the safety dimension may be a footprint, surface area, length, width, height, diameter, or radius.

[0096] In some embodiments, if the safety dimension is the floor area, the value range of the safety dimension may be (10, 30) square meters.

[0097] In some embodiments, if the safety dimension is the floor area, the safety dimension may be preferentially set to 20 square meters.

[0098] In some embodiments, the value range of N can be (1, 10).

[0099] In some embodiments, N may preferably be set to 4.

[0100] It is worth noting that the initial guidance path is directly used as the modified guidance path, that is, if there is no first static obstacle, the initial guidance path is not modified. At this time, the judgment conditions include multiple ones, which can be judged based on whether the lateral distance is less than the total length of the preset vehicle width and the second safety distance, or based on whether the lateral distance meets the preset safety constraints of the preset path search algorithm, or based on whether the shape of the first static obstacle meets the preset safety shape. The specific judgment conditions can be adapted according to the specific scene. By enumerating the situations that meet the safety distance, it is possible to avoid missing the situation of static obstacles that meet the safety distance, thereby improving the accuracy of generating the obstacle avoidance path.

[0101] In some embodiments, if the right-circling condition is met, the path of the initial guidance path that circles right around the first static obstacle is used as the corrected guidance path; or, if the left-circling condition is met, the path of the initial guidance path that circles left around the first static obstacle is used as the corrected guidance path; or, if the left-circling condition is met, the path of the initial guidance path that circles left around the first static obstacle is used as the corrected guidance path; or, when the judgment condition for directly using the initial guidance path as the corrected guidance path is met, there is no need to correct the initial guidance path.

[0102] In some embodiments, see Figure 3 , is a schematic diagram of the correction guidance path I provided by the present application. Figure 3 In (a), there is a first static obstacle 202 on the straight section, and the initial guidance path 201 is very close to the first static obstacle 202. Figure 3 In (b), the initial guidance path 201 passes through the first static obstacle 202. For both cases, the following judgment can be made: if the left detour condition is met, the path can be detoured to the left to obtain a modified guidance path 204; or if the right detour condition is met, the path can be detoured to the right to obtain a modified guidance path 203. Figure 3 (a) and Figure 3 (b) are different in that Figure 3 In (c), the first static obstacle 202 does not cause guidance interference to the initial guidance path 201, so there is no need to correct the initial guidance path, and the initial guidance path is directly used as the corrected guidance path.

[0103] In some embodiments, see Figure 4 , is a schematic diagram of the correction guidance path II provided by the present application, and Figure 3 The difference is that the first static obstacle 202 exists between the intersection entrance end 103 and the intersection exit end 104, which is also divided into three corresponding situations. The corrected guidance path can also be obtained according to the above judgment method.

[0104] Path search process

[0105] Step S12: using the corrected guidance path as the inner boundary of the preset path search algorithm, and obtaining an obstacle avoidance path for avoiding the second static obstacle according to the preset path search algorithm; a first size of the first static obstacle is greater than a second size of the second static obstacle.

[0106] In some embodiments, the preset path search algorithm may be a global path planning algorithm, a local path planning algorithm, or an intelligent algorithm.

[0107] In some embodiments, the global path planning algorithm includes: an A* path search algorithm, a tabu search algorithm, or a rapidly-exploring random trees (RRT) algorithm.

[0108] In some embodiments, the local path planning algorithm includes: an artificial potential field method or a D* algorithm.

[0109] In some embodiments, the intelligent algorithm includes: a genetic algorithm, a particle swarm algorithm, an ant algorithm, or a path planning algorithm based on reinforcement learning.

[0110] In some embodiments, the corrected guidance path is used as the inner boundary of the preset path search algorithm, and the default outer boundary is used as the outer boundary of the preset path search algorithm. The area enclosed by the inner boundary and the outer boundary is used as the feasible domain of the preset path search algorithm. According to the preset path search algorithm, an obstacle avoidance path for avoiding the second static obstacle is obtained.

[0111] In some embodiments, the first static obstacle may include: a large-sized safety island, a construction area, or an accident area, etc.

[0112] In some embodiments, the second static obstacle may include: a small-sized cone barrel, a road surface area without a manhole cover, a construction area, a road pothole area, an accident area, or a stone, etc.

[0113] In some embodiments, see Figure 5 , is a schematic diagram of the obstacle avoidance path I provided by the present application. Figure 5 In the example, there is a second static obstacle 207. At this time, the default outer boundary is used as the outer boundary of the preset path search algorithm, and the right-circling corrected guidance path 203 is used as the inner boundary to avoid the second static obstacle 207, and an obstacle avoidance path 209 can be obtained.

[0114] In some embodiments, if there are modified guidance paths on both sides of the initial guidance path, the leftmost modified guidance path is used as the inner boundary of the preset path search algorithm, and the rightmost modified guidance path is used as the outer boundary of the preset path search algorithm.

[0115] In some embodiments, if there are modified guidance paths above and below the initial guidance path, the lowermost modified guidance path is used as the inner boundary of the preset path search algorithm, and the uppermost modified guidance path is used as the outer boundary of the preset path search algorithm.

[0116] It is worth noting that if there are multiple corrected guidance paths sandwiching the initial guidance path, the inner and outer boundaries of the initial guidance path can be restricted simultaneously by the multiple corrected guidance paths.

[0117] In some embodiments, see Figure 6 , is a schematic diagram of the obstacle avoidance path II provided by the present application. Figure 5 In the figure, there is an initial guidance path 201 from the intersection entrance end 103 to the intersection exit end 104, but the initial guidance path 201 crosses the first static obstacle 211. In the figure, there are also first static obstacles 212, 213 and 214 adjacent to the left and right of the initial guidance path 201. The sizes of the first static obstacles 211 to 214 are different from each other. At this time, two corrected guidance paths are generated, and the initial guidance path is sandwiched between the two corrected guidance paths, including: corrected guidance path 203 and corrected guidance path 210. At this time, the corrected guidance path 203 and the corrected guidance path 210 can be used as the inner and outer boundaries of the preset path search algorithm for path search, and the obstacle avoidance path 209 can be obtained.

[0118] In some embodiments, the first static obstacle and the second static obstacle can be avoided according to the driving direction of the vehicle flow, and an obstacle avoidance path can be obtained. The present application directly avoids obstacles by observing the driving direction, rather than making decisions through geometric topological maps, which can reduce dependence on third-party maps, making reusability, compatibility and applicability higher, and the generated optimal obstacle avoidance path is more efficient, thereby further improving the user experience.

[0119] It is worth noting that the existing related technologies, when providing guidance at an asymmetric intersection, directly turn from the entrance end of the intersection through the exit end of the intersection, resulting in an early turn, making the trajectory of the guidance path unnatural and inconsistent with driving habits; and, since both the large-sized first static obstacle and the small-sized second static obstacle are avoided, the generated obstacle avoidance path avoids various regular static obstacles, but is not smooth enough. Based on this, this application will find a target endpoint, divide the obstacle avoidance path into a straight guidance path segment and a turning path segment, perform turning guidance, and optimize the obstacle avoidance path to adjust the smoothness, as detailed in the secondary optimization process to be introduced below.

[0120] Secondary Optimization Process

[0121] Step S13: According to the obstacle avoidance direction of the corrected guidance path and the obstacle avoidance path, the lower boundary of the preset quadratic optimization algorithm is obtained, and the obstacle avoidance path is smoothly adjusted according to the preset quadratic optimization algorithm to obtain the optimal obstacle avoidance path.

[0122] In some embodiments, before the obstacle avoidance path is smoothly adjusted according to a preset secondary optimization algorithm to obtain the optimal obstacle avoidance path, it also includes: if the obstacle avoidance path is guided through an asymmetric intersection position, the obstacle avoidance path is translated outward at a preset distance to obtain a translated path, and the translated path is used as the upper boundary of the preset secondary optimization algorithm, so that the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

[0123] The present application will translate the obstacle avoidance path when passing through an asymmetric intersection outward by a preset spacing. Since the first static obstacle that meets the unsafe distance has been judged and bypassed at a preset spacing when adjusting the initial guidance path, the obtained translation path will not cross or pass through the first static obstacle. In addition, the translation path is used as the upper boundary of the preset secondary optimization algorithm, and the boundary of the secondary optimization algorithm can be accurately preset, thereby improving the smoothness of generating the optimal obstacle avoidance path, making the obstacle avoidance path for static obstacles smoother, thereby further avoiding driver panic takeover, improving driving safety and user experience.

[0124] In some embodiments, the obstacle avoidance path is translated outward at a preset interval to obtain a translation path, including: obtaining an intersection entrance endpoint and an intersection exit endpoint of the obstacle avoidance path, taking the intersection entrance endpoint as a starting point, generating a first straight line segment perpendicular to the turning direction, taking the intersection exit endpoint as a starting point, generating a second straight line segment perpendicular to and intersecting the first straight line segment, and translating the first straight line segment and the second straight line segment outward at the preset interval at the same time to obtain the translation path.

[0125] The present application divides the arc-shaped obstacle avoidance path when passing through an asymmetric intersection into two connected vertical line segments, and translates the two vertical line segments outward to obtain a translation path. When the translation path is used as the upper boundary of the preset secondary optimization algorithm, the upper boundary can be appropriately expanded to give more smoothing optimization space to the smoothing process, thereby improving the smoothness of generating the optimal obstacle avoidance path, making the obstacle avoidance path for static obstacles smoother, thereby further avoiding the driver's panic takeover, and improving driving safety and user experience.

[0126] In some embodiments, before the first straight line segment and the second straight line segment are simultaneously translated outward at a preset interval, the process includes: taking the longest straight line segment of the first straight line segment and the second straight line segment as a composite path segment, selecting a target endpoint on the composite path segment, and using the target endpoint as a turning point of the obstacle avoidance path for turning guidance.

[0127] The present application selects a target endpoint in the selected composite path segment as the turning point of the obstacle avoidance path for turning guidance, which can avoid the situation where the obstacle avoidance path starts to turn prematurely from the intersection entrance endpoint, and can improve the accuracy of the optimal obstacle avoidance path generated based on the turning point, thereby further avoiding the driver's panic takeover and improving driving safety and user experience.

[0128] In some embodiments, selecting a target endpoint on a composite path segment includes: taking the shortest length straight line segment between the first straight line segment and the second straight line segment as the turning path segment, taking the intersection of the turning path segment and the composite path segment as the target starting point, and finding the target endpoint in the composite path segment; wherein the length between the target endpoint and the target starting point is not greater than the length of the turning path segment.

[0129] In the present application, the length between the target endpoint and the target starting point selected in the selected composite path segment is not greater than the length of the turning path segment, and the composite path segment is divided into a straight path segment and a turning path segment, which can improve the accuracy of the guided turn, thereby improving the accuracy of the optimal obstacle avoidance path generated based on the turning point, thereby further avoiding the driver's panic takeover, improving driving safety and user experience.

[0130] In some embodiments, the distance between the target endpoint and the target start point is equal to the length of the turning path segment.

[0131] In some embodiments, any point on the composite path segment may be selected as a target endpoint for turn guidance, and any other point on the target endpoint and the target starting point may be selected for turn guidance.

[0132] In some embodiments, the first straight line segment and the second straight line segment are simultaneously translated outward at a preset interval to obtain a translation path, including: based on the initial guidance path, taking the arc of the first endpoint of the turning path segment and the target endpoint as the turning guidance path, and taking the straight line of the second endpoint of the composite path segment and the target endpoint as the straight guidance path, and translating the turning guidance path and the straight guidance path outward at a preset interval at the same time to obtain the translation path; the first endpoint and the second endpoint are respectively path segment endpoints different from the target starting point.

[0133] It is worth noting that the first endpoint or the second endpoint is an intersection endpoint corresponding to an intersection entrance end or an intersection exit end.

[0134] In some embodiments, see Figure 7 , is a schematic diagram of the target endpoint provided by this application. Figure 7 In the example, the intersection end 310, the intersection end 311 and the obstacle avoidance path 209 are included; the intersection end 310 and the intersection end 311 can be the intersection entrance end or the intersection exit end, so as to form an intersection passage for entering and exiting. The intersection end 311 and the intersection end 310 are respectively extended perpendicular to the intersection, and the intersection end 310 is formed by Figure 6 It can be clearly seen that the extension line of the intersection end 311 is the turning path segment 302, and the extension line of the intersection end 310 is the composite path segment 301. The turning path segment 302 and the composite path segment 301 intersect at the target starting point 303, and the target endpoint 304 is taken from the composite path segment 301, so that the length between the target endpoint 304 and the target starting point 303 is the same as the length between the first intersection endpoint 312 and the target starting point 303. Then, the target endpoint 304 can be used as the turning point for turning guidance, and the arc between the target endpoint 303 and the first intersection endpoint 312 is used as the turning guidance path 305, and the path between the second intersection endpoint 313 and the target endpoint 304 is used as the straight guidance path.

[0135] It is worth noting that in Figure 7 No direction is added to all the paths in the figure. This is because no matter whether the intersection end 310 is the intersection entrance end and the intersection end 311 is the intersection exit end, or the intersection end 310 is the intersection exit end and the intersection end 311 is the intersection entrance end, the method of obtaining the target endpoint is the same, and when the intersection end 310 is the intersection exit end and the intersection end 311 is the intersection entrance end, the corresponding turning path segment 302 is perpendicular to the left turning direction, and when the intersection end 310 is the intersection entrance end and the intersection end 311 is the intersection exit end, the corresponding composite path segment 301 is perpendicular to the right turning direction.

[0136] In some embodiments, see Figure 8 , is a schematic diagram of the translation path provided by this application. Figure 7 , it can be concluded that the target endpoint 304 is used as the turning point for turning guidance, and the path 306 combining the turning guidance path 305 and the straight guidance path is translated outward to obtain the translation path 307.

[0137] In some embodiments, the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset quadratic optimization algorithm to obtain the optimal obstacle avoidance path, including: the area enclosed by the lower boundary and the upper boundary is the feasible domain of the preset quadratic optimization algorithm, and the feasible domain, the obstacle avoidance path and the minimization of the smoothing cost are respectively used as the hard constraints, soft constraints and objective function of the preset quadratic optimization algorithm, the obstacle avoidance path is smoothed to obtain the optimal obstacle avoidance path.

[0138] In some embodiments, the preset quadratic optimization algorithm can be a quadratic optimization algorithm based on the OSQP (Operator SplittingQuadratic Program) library to solve constrained optimization problems in the form of minimizing a linear objective function and a quadratic penalty term.

[0139] In some embodiments, the preset quadratic optimization algorithm may also be a quadratic programming (QP) algorithm or a spline quadratic programming (SQP) algorithm.

[0140] In some embodiments, the obstacle avoidance path is used as the detour direction of the first static obstacle and the second static obstacle and is input into the preset quadratic optimization algorithm to obtain the lower boundary of the preset quadratic optimization algorithm, and the translation path is used as the upper boundary of the preset quadratic optimization algorithm. The area enclosed by the upper and lower boundaries is the feasible domain of the preset quadratic optimization algorithm, and the feasible domain, obstacle avoidance path and minimized smoothing cost are respectively used as the hard constraints, soft constraints and objective function of the preset quadratic optimization algorithm to smooth the obstacle avoidance path and obtain the optimal obstacle avoidance path.

[0141] In some embodiments, see Fig. 9 , is a schematic diagram of the optimal obstacle avoidance path I provided by this application. Fig. 9 In the algorithm, a first static obstacle 401 and a second static obstacle 402 are included. The first static obstacle 401 is removed based on the initial guidance path 201 to obtain a modified guidance path 203. The modified guidance path 203 is used as the inner boundary of the preset path search algorithm. The second static obstacle 402 is removed based on the default outer boundary 208 to obtain an obstacle avoidance path 209. According to the obstacle avoidance direction of the first static obstacle 401 by the modified guidance path 203 and the obstacle avoidance direction of the second static obstacle 402 by the obstacle avoidance path 209, the lower boundary 403 of the preset secondary optimization algorithm is obtained, and the translation path 307 is used as the upper boundary of the preset secondary optimization algorithm. According to the preset secondary optimization algorithm, the optimal obstacle avoidance path 404 is obtained.

[0142] In some embodiments, see Fig.10 , is a schematic diagram of the optimal obstacle avoidance path II provided in this application. Fig.10 based on Figure 6 , including: a translation path 307, and an optimal obstacle avoidance path 404 solved based on the translation path 307. Fig.10 The optimal obstacle avoidance path 404 is in line with expectations. When the intersection is asymmetrical, the optimal obstacle avoidance path guides the vehicle to go straight for a certain distance before turning, making the timing of turning more reasonable and avoiding turning too early. This is more in line with human driving habits and can improve the driver's experience of following the optimal obstacle avoidance path, avoid panic takeover, improve driving safety, and reduce driving risks.

[0143] In some embodiments, during the debugging phase, it is possible to observe whether a target endpoint is selected for turn guidance according to preset parameters. Exemplarily, if the preset parameter stability_stage is a preset threshold, no target endpoint is selected for turn guidance, that is, no turn guidance is required at this time; if the preset parameter stability_stage is greater than the preset threshold, the target endpoint is selected for turn guidance on the composite path segment where the intersection entrance end is located (at this time, the intersection exit endpoint is on the turning path segment); if the preset parameter stability_stage is less than the preset threshold, the target endpoint is selected for turn guidance on the composite path segment where the intersection exit end is located (at this time, the intersection entrance endpoint is on the turning path segment).

[0144] In some embodiments, the preset threshold can be preferentially set to 0, and the sign of the preset parameter indicates that the target endpoint is selected on the maximum length straight line segment where the intersection entrance or exit is located for turn guidance. The numerical value of the preset parameter can indicate the length of the target endpoint from the target starting point, or the length of the target endpoint from the other end point of the maximum straight line segment.

[0145] In general, based on the known initial guidance path, the present application avoids the large-sized first static obstacle to obtain a revised guidance path, and based on the revised guidance path, avoids the small-sized second static obstacle avoidance path to obtain an obstacle avoidance path; based on the revised guidance path and the obstacle avoidance path, the detour direction of the obstacle avoidance is obtained, and after the decision of the detour direction is screened, the obstacle avoidance path is optimized twice to make the obstacle avoidance path smoother and obtain the optimal obstacle avoidance path. In addition, in order to make the optimal obstacle avoidance path more in line with the driver's habits, the turning point of the obstacle avoidance path will be adjusted to achieve directional obstacle avoidance and meet the driver's habit of choosing a driving path.

[0146] The present application adjusts the initial guidance path to avoid the interference of the large-sized first static obstacle on the initial guidance path, and generates a more accurate inner boundary of the preset path search algorithm. The small-sized second static obstacle is removed by the preset path search algorithm, which can improve the accuracy of the generated obstacle avoidance path and avoid the collision with the temporarily built static obstacles of any size, thereby avoiding the driver's panic takeover, thereby improving driving safety and improving user experience; at the same time, the preset secondary optimization algorithm is also used to adjust the smoothness of the obstacle avoidance path, so that the obstacle avoidance path for static obstacles is smoother, thereby further avoiding the driver's panic takeover, improving driving safety and user experience; in addition, when avoiding static obstacles, no third-party high-precision map is used and no additional map is constructed to generate the optimal obstacle avoidance path, but the optimal obstacle avoidance path is generated by adjusting the initial guidance path, path search and secondary optimization in sequence. This process has less external dependence, makes the reusability, compatibility and applicability higher, and the generated optimal obstacle avoidance path is more efficient, thereby further improving user experience.

[0147] Example 2

[0148] See also Fig.11 , is a structural diagram of a static obstacle avoidance path generation device provided by the present application, comprising: a boundary acquisition module 51, a primary obstacle avoidance module 52 and a secondary obstacle avoidance module 53.

[0149] In some embodiments, the boundary acquisition module 51 outputs a corrected guidance path based on the first static obstacle and the initial guidance path, and transmits the corrected guidance path to the primary obstacle avoidance module 52; after the primary obstacle avoidance module 52 receives the corrected guidance path, it outputs an obstacle avoidance path, and transmits the obstacle avoidance path and the corrected guidance path to the secondary obstacle avoidance module 53; after the secondary obstacle avoidance module 53 receives the obstacle avoidance path and the corrected guidance path, it outputs the optimal obstacle avoidance path.

[0150] The boundary acquisition module 51 is used to obtain the lateral distance between the initial guidance path and the first static obstacle along the initial guidance path. If the lateral distance meets the preset unsafe distance, a corrected guidance path for avoiding the first static obstacle along the initial guidance path is obtained.

[0151] In some embodiments, the lateral distance includes: a left distance and a right distance; the left distance and the right distance are respectively the lateral lengths of the initial guidance path from the leftmost and rightmost sides of the first static obstacle; if the lateral distance meets the preset unsafe distance, a revised guidance path for the initial guidance path to avoid the obstacle around the first static obstacle is obtained, including: if the first static obstacle is avoided by going around it to the right, the left distance is less than the first safety distance and the right distance is greater than the second safety distance, then the path of the initial guidance path going around the first static obstacle to avoid the obstacle to the right is used as the revised guidance path.

[0152] In some embodiments, if the lateral distance meets the preset unsafe distance, a revised guidance path for avoiding the obstacle around the first static obstacle is obtained according to the initial guidance path, and it also includes: if the first static obstacle is avoided by going left, the distance on the right is less than the first safety distance and the distance on the left is greater than the second safety distance, then the path for avoiding the obstacle around the first static obstacle according to the initial guidance path is used as the revised guidance path.

[0153] In some embodiments, the first safety distance is greater than the second safety distance; the first safety distance is M times the total length of the preset vehicle width and the preset distance; M is a positive number.

[0154] In some embodiments, if the lateral distance meets the preset safety distance, the initial guidance path is used as the revised guidance path, including: if the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the revised guidance path.

[0155] In some embodiments, the initial guidance path is used as a judgment condition for modifying the guidance path, and further includes: if the lateral distance does not meet the preset safety constraints of the preset path search algorithm, the initial guidance path is used as the modified guidance path; wherein the preset safety constraints include: the lateral distance is several times the longitudinal length of the first static obstacle.

[0156] In some embodiments, the initial guidance path is used as a judgment condition for the revised guidance path, and also includes: if the shape of the first static obstacle meets the preset safety shape, the initial guidance path is used as the revised guidance path, specifically: if the first size is smaller than the preset safety size, or the first static obstacle is a rectangle and the side length of the rectangle is greater than N times the side length and width of the rectangle, the initial guidance path is used as the revised guidance path; N is a positive integer.

[0157] The initial obstacle avoidance module 52 is used to use the corrected guidance path as the inner boundary of the preset path search algorithm, and obtain an obstacle avoidance path for avoiding the second static obstacle according to the preset path search algorithm; the first size of the first static obstacle is greater than the second size of the second static obstacle.

[0158] The secondary obstacle avoidance module 53 is used to obtain the lower boundary of the preset secondary optimization algorithm according to the obstacle avoidance direction of the corrected guidance path and the obstacle avoidance path, and to smoothly adjust the obstacle avoidance path according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

[0159] In some embodiments, before the obstacle avoidance path is smoothly adjusted according to a preset secondary optimization algorithm to obtain the optimal obstacle avoidance path, it also includes: if the obstacle avoidance path is guided through an asymmetric intersection position, the obstacle avoidance path is translated outward at a preset distance to obtain a translated path, and the translated path is used as the upper boundary of the preset secondary optimization algorithm, so that the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

[0160] In some embodiments, the obstacle avoidance path is translated outward at a preset interval to obtain a translation path, including: obtaining an intersection entrance endpoint and an intersection exit endpoint of the obstacle avoidance path, taking the intersection entrance endpoint as a starting point, generating a first straight line segment perpendicular to the turning direction, taking the intersection exit endpoint as a starting point, generating a second straight line segment perpendicular to and intersecting the first straight line segment, and translating the first straight line segment and the second straight line segment outward at the preset interval at the same time to obtain the translation path.

[0161] In some embodiments, before the first straight line segment and the second straight line segment are simultaneously translated outward at a preset interval, the process includes: taking the longest straight line segment of the first straight line segment and the second straight line segment as a composite path segment, selecting a target endpoint on the composite path segment, and using the target endpoint as a turning point of the obstacle avoidance path for turning guidance.

[0162] In some embodiments, selecting a target endpoint on a composite path segment includes: taking the shortest length straight line segment between the first straight line segment and the second straight line segment as the turning path segment, taking the intersection of the turning path segment and the composite path segment as the target starting point, and finding the target endpoint in the composite path segment; wherein the length between the target endpoint and the target starting point is not greater than the length of the turning path segment.

[0163] In some embodiments, the first straight line segment and the second straight line segment are simultaneously translated outward at a preset interval to obtain a translation path, including: based on the initial guidance path, taking the arc of the first endpoint of the turning path segment and the target endpoint as the turning guidance path, and taking the straight line of the second endpoint of the composite path segment and the target endpoint as the straight guidance path, and translating the turning guidance path and the straight guidance path outward at a preset interval at the same time to obtain the translation path; the first endpoint and the second endpoint are respectively path segment endpoints different from the target starting point.

[0164] In some embodiments, the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset quadratic optimization algorithm to obtain the optimal obstacle avoidance path, including: the area enclosed by the lower boundary and the upper boundary is the feasible domain of the preset quadratic optimization algorithm, and the feasible domain, the obstacle avoidance path and the minimization of the smoothing cost are respectively used as the hard constraints, soft constraints and objective function of the preset quadratic optimization algorithm, the obstacle avoidance path is smoothed to obtain the optimal obstacle avoidance path.

[0165] The present application adjusts the initial guidance path through the boundary acquisition module to avoid the interference of the large-sized first static obstacle on the initial guidance path, and generates a more accurate inner boundary of the preset path search algorithm. The small-sized second static obstacle is removed by the initial obstacle avoidance module using the preset path search algorithm, which can improve the accuracy of the generated obstacle avoidance path, avoid the collision with the temporary static obstacle of any size, and thus avoid the driver's panic takeover, thereby improving driving safety and improving user experience; at the same time, the secondary obstacle avoidance module uses the preset secondary optimization algorithm to adjust the smoothness of the obstacle avoidance path, so that the obstacle avoidance path for static obstacles is smoother, thereby further avoiding the driver's panic takeover, improving driving safety and user experience; in addition, in the interaction process of the boundary acquisition module-obstacle avoidance module-secondary obstacle avoidance module, no third-party high-precision map is used and no additional map is constructed to generate the optimal obstacle avoidance path, but the optimal obstacle avoidance path is generated by adjusting the initial guidance path, path search and secondary optimization in turn. This process has less external dependence, making it more reusable, compatible and applicable, and the generated optimal obstacle avoidance path is more efficient, which can further improve the user experience.

[0166] Example 3

[0167] See also Fig.12 , is a structural schematic diagram of a vehicle provided in the present application, including: a memory 61 and a processor 62, the memory 61 is coupled to the processor 62, the memory 61 stores instructions, and when the instructions are executed by the processor 62, the processor 62 executes the static obstacle avoidance path generation method as described in Example 1.

[0168] In some embodiments, the vehicle further includes: a communication interface 63 and a communication bus 64 ; wherein the processor 62 , the communication interface 63 and the memory 61 communicate with each other via the communication bus 64 .

[0169] The present application runs the static obstacle avoidance path generation method described in Example 1 in the form of a program in a vehicle, which can be run in different vehicle systems and different vehicle applications to generate static obstacle avoidance paths for different application scenarios, and has stronger scalability.

[0170] Example 4

[0171] It is a computer-readable storage medium provided by the present application. The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the static obstacle avoidance path generation method as described in Example 1.

[0172] In some embodiments, the instructions may include programming languages ​​such as C language, C++ language, Python language, MATLAB language, Java language, or pseudocode.

[0173] When the static obstacle avoidance path generation method described in Example 1 is stored in a storage medium in the form of a program in the present application, by running or reading an executable program in any programming language in the storage medium, it is possible to instantly generate static obstacle avoidance paths and other operations, and it can be applicable to more programming language environments and application scenarios, with greater compatibility, reusability, scalability and applicability.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may also provide computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes.

[0175] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A static obstacle avoidance path generation method, characterized in that: include: Acquire a lateral distance between an initial guidance path and a first static obstacle along the initial guidance path, and if the lateral distance satisfies a preset unsafe distance, acquire a corrected guidance path for the initial guidance path to avoid the first static obstacle; The corrected guidance path is used as the inner boundary of the preset path search algorithm, and an obstacle avoidance path for avoiding the second static obstacle is obtained according to the preset path search algorithm; the first size of the first static obstacle is greater than the second size of the second static obstacle; According to the corrected guidance path and the obstacle avoidance direction of the obstacle avoidance path, a lower boundary of a preset quadratic optimization algorithm is obtained, and according to the preset quadratic optimization algorithm, the obstacle avoidance path is smoothly adjusted to obtain an optimal obstacle avoidance path.

2. The static obstacle avoidance path generation method according to claim 1, characterized in that: The lateral distance includes: a left distance and a right distance; the left distance and the right distance are respectively the lateral lengths of the leftmost and rightmost sides of the initial guidance path from the first static obstacle; if the lateral distance satisfies the preset unsafe distance, obtaining a corrected guidance path for the initial guidance path to avoid the obstacle around the first static obstacle, including: If the first static obstacle is avoided by going around it to the right, and the left distance is less than the first safety distance and the right distance is greater than the second safety distance, the path of going around the first static obstacle to the right by using the initial guidance path to avoid the obstacle is used as the corrected guidance path.

3. The static obstacle avoidance path generation method according to claim 2, characterized in that: If the lateral distance satisfies the preset unsafe distance, obtaining a corrected guidance path for avoiding the initial guidance path around the first static obstacle, further comprising: If the first static obstacle is avoided by going left, and the right distance is less than the first safety distance and the left distance is greater than the second safety distance, a path of going left by going around the first static obstacle to avoid the obstacle along the initial guidance path is used as a corrected guidance path.

4. The static obstacle avoidance path generation method according to any one of claims 2 or 3, characterized in that: The first safety distance is greater than the second safety distance; the first safety distance is M times the total length of the preset vehicle width and the preset distance; M is a positive number.

5. The static obstacle avoidance path generation method according to claim 4, characterized in that: If the lateral distance satisfies the preset safety distance, the initial guidance path is used as the revised guidance path, including: If the lateral distance is less than the total length of the preset vehicle width and the second safety distance, the initial guidance path is used as the corrected guidance path.

6. The static obstacle avoidance path generation method according to claim 5, characterized in that: The determining condition of using the initial guidance path as the modified guidance path further includes: If the lateral distance does not satisfy the preset safety constraints of the preset path search algorithm, the initial guidance path is used as the revised guidance path; wherein the preset safety constraints include: the lateral distance is several times the longitudinal length of the first static obstacle.

7. The static obstacle avoidance path generation method according to claim 6, characterized in that: The judgment condition of using the initial guidance path as the revised guidance path further includes: if the shape of the first static obstacle meets a preset safety shape, using the initial guidance path as the revised guidance path, specifically: If the first size is smaller than a preset safety size, or the first static obstacle is a rectangle and the side length of the rectangle is greater than N times the side width of the rectangle, the initial guidance path is used as the corrected guidance path; N is a positive integer.

8. The static obstacle avoidance path generation method according to claim 7, characterized in that: Before smoothly adjusting the obstacle avoidance path according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path, the method further includes: If the obstacle avoidance path is guided through an asymmetric intersection position, the obstacle avoidance path is translated outward at the preset distance to obtain a translated path, and the translated path is used as the upper boundary of the preset secondary optimization algorithm, so that the obstacle avoidance path is smoothly adjusted according to the upper boundary, the lower boundary and the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

9. The static obstacle avoidance path generation method according to claim 8, characterized in that: The step of translating the obstacle avoidance path outward at the preset distance to obtain a translation path includes: The intersection entrance endpoint and the intersection exit endpoint of the obstacle avoidance path are obtained, and a first straight line segment perpendicular to the turning direction is generated with the intersection entrance endpoint as the starting point, and a second straight line segment perpendicular to and intersecting with the first straight line segment is generated with the intersection exit endpoint as the starting point, and the first straight line segment and the second straight line segment are simultaneously translated outward at the preset interval to obtain a translation path.

10. The static obstacle avoidance path generation method according to claim 9, characterized in that: Before the first straight line segment and the second straight line segment are simultaneously translated outward at the preset interval, the method includes: The longest straight line segment between the first straight line segment and the second straight line segment is used as a composite path segment, a target endpoint is selected on the composite path segment, and the target endpoint is used as a turning point of the obstacle avoidance path for turning guidance.

11. The static obstacle avoidance path generation method according to claim 10, characterized in that: The step of selecting a target endpoint on the composite path segment comprises: The straight line segment with the shortest length between the first straight line segment and the second straight line segment is taken as the turning path segment, the intersection of the turning path segment and the composite path segment is taken as the target starting point, and the target endpoint is found in the composite path segment; wherein the length between the target endpoint and the target starting point is not greater than the length of the turning path segment.

12. The static obstacle avoidance path generation method according to claim 11, characterized in that: The step of simultaneously translating the first straight line segment and the second straight line segment outward at the preset interval to obtain a translation path includes: Based on the initial guidance path, the arc between the first endpoint of the turning path segment and the target endpoint is used as the turning guidance path, and the straight line between the second endpoint of the composite path segment and the target endpoint is used as the straight guidance path, the turning guidance path and the straight guidance path are simultaneously translated outward at the preset interval to obtain a translation path; the first endpoint and the second endpoint are respectively path segment endpoints different from the target starting point.

13. The static obstacle avoidance path generation method according to claim 12, characterized in that: The step of smoothly adjusting the obstacle avoidance path according to the upper boundary, the lower boundary and the preset secondary optimization algorithm to obtain an optimal obstacle avoidance path includes: The area enclosed by the lower boundary and the upper boundary is taken as the feasible domain of the preset quadratic optimization algorithm, and the feasible domain, the obstacle avoidance path and the minimized smoothing cost are respectively taken as the hard constraints, soft constraints and objective function of the preset quadratic optimization algorithm, the obstacle avoidance path is smoothed to obtain the optimal obstacle avoidance path.

14. A static obstacle avoidance path generation device, characterized in that: include: Boundary acquisition module, primary obstacle avoidance module and secondary obstacle avoidance module; among them, The boundary acquisition module is used to acquire a lateral distance between an initial guidance path and a first static obstacle along the initial guidance path, and if the lateral distance satisfies a preset unsafe distance, acquire a corrected guidance path for the initial guidance path to avoid the first static obstacle; The initial obstacle avoidance module is used to use the corrected guidance path as the inner boundary of a preset path search algorithm, and obtain an obstacle avoidance path for avoiding a second static obstacle according to the preset path search algorithm; a first size of the first static obstacle is greater than a second size of the second static obstacle; The secondary obstacle avoidance module is used to obtain the lower boundary of the preset secondary optimization algorithm according to the obstacle avoidance direction of the corrected guidance path and the obstacle avoidance path, and to smoothly adjust the obstacle avoidance path according to the preset secondary optimization algorithm to obtain the optimal obstacle avoidance path.

15. A vehicle, characterized in that: include: A memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the static obstacle avoidance path generation method as described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, and the program code can be called by a processor to execute the static obstacle avoidance path generation method as described in any one of claims 1-13.

Citation Information

Cited By

  • Restricted water area three-dimensional route smoothing method, system, equipment, product and medium

    CN120351938A