Optimal parking path real-time optimization method based on arc equation

Through the method based on arc parameter equations, the parking path planning is transformed into an algebraic constrained optimization problem, which reduces the optimization variables and constraint dimensions, solves the problem of low calculation efficiency of parking trajectory planning in the existing technology, and realizes the optimization of parking paths. Real-time online optimization and obstacle avoidance capabilities.

CN118651218APending Publication Date: 2024-09-17CHONGQING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410950495.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing parking trajectory planning methods have deficiencies in computational efficiency and real-time optimization capabilities. In particular, the strong nonlinearity of the vehicle model and the non-convexity of obstacle avoidance constraints lead to low numerical solution efficiency, and commonly used methods such as curve interpolation, Random sampling and numerical optimization methods have problems with curvature discontinuity or limited solution efficiency.

Method used

A real-time optimization method for the optimal parking path based on arc parameter equations is used to transform the parking path planning problem into a static parameter optimization problem containing algebraic constraints. The parking path curve is fitted by splicing multiple arcs end-to-end, and the parking path is fitted according to the arc. Obstacle avoidance constraints are designed based on the relative position relationship with the obstacle boundary line to reduce optimization variables and constraint dimensions and improve calculation efficiency.

Benefits of technology

It realizes real-time online optimization of parking path curves, improves calculation efficiency, avoids collisions between vehicles and obstacles, and provides more stable optimal parking path planning results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118651218A
    Figure CN118651218A
Patent Text Reader

Abstract

The invention relates to an optimal parking path real-time optimization method based on a circular arc equation, which belongs to the technical field of automatic parking, abandons a vehicle differential equation to describe vehicle motion characteristics, adopts a plurality of sections of circular arcs to splice and fit a parking path curve end to end, and reconstructs a parking path optimization problem by using the circular arc equation. And meanwhile, the obstacle avoidance constraints are designed according to the relative position relationship between the arc and the parking space boundary line, so that the number of the obstacle avoidance constraints is further reduced, the optimization calculation efficiency is further improved, and real-time online optimization of the parking path is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automatic parking and relates to a real-time optimization method for an optimal parking path based on an arc equation. Background Art

[0002] The goal of parking trajectory planning is to generate a safe parameterized curve with time information. Based on basic theories and implementation principles, commonly used parking trajectory planning methods can be classified into two categories: direct construction method and path-speed decoupling method. The former integrates the automatic parking trajectory planning task into a unified constrained optimal control problem, and directly obtains the reference parking trajectory by numerical solution. The latter divides trajectory planning into two parts: path planning and path pacing, that is, first construct a reference path to avoid static obstacles, and then plan the driving speed on the path.

[0003] The direct construction method can accurately obtain the desired trajectory by constructing the parking trajectory planning into an optimal control problem with various constraints. However, the strong nonlinearity of the vehicle model and the non-convexity of the obstacle avoidance constraint mean that it can only be solved by numerical methods, and the computational efficiency is low, which limits the practical application of this type of method.

[0004] The path-speed decoupling method decomposes the parking trajectory planning from the XYT three-dimensional space into the path planning under XY and the path pacing problem under ST, which greatly reduces the computational difficulty. The vehicle speed changes slowly in the parking scene, so the speed can be directly generated by using the polynomial of the speed with respect to the path length. Commonly used parking path planning methods mainly include curve interpolation method, random sampling method, graph search method and numerical optimization method. The curve interpolation method has strict restrictions on the parking space and the starting point posture. The results of solving the same problem multiple times by the random sampling method may not be the same, the solution quality is unstable, and only feasible paths are provided. Both the graph search method and the numerical optimization method can provide the optimal parking path, but the curvature of the reference path curve of the former is discontinuous, and the latter is limited by the solution efficiency and cannot optimize the parking path in real time. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a real-time optimization method for parking paths based on arc parameter equations. The method reflects the parking motion characteristics through arc curves, constructs the parking path planning task as a static parameter optimization problem containing only algebraic constraints, and designs obstacle avoidance constraints based on the relative position relationship between the arc and the obstacle boundary line, thereby improving the optimization calculation efficiency by reducing both the optimization variables and the constraint dimensions, and realizing real-time online optimization of the parking path curve.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A real-time optimization method for the optimal parking path based on the arc equation uses multiple arc segments to fit the parking path curve, and transforms the parking path planning problem into the following optimization problem:

[0008]

[0009] Among them, the objective function J is the total length of the parking path, and the variable to be optimized is the vehicle position P at the connection point of each arc curve. i =(x i ,y i ), i = 2, ..., N and yaw angle R j and θ j are the radius and center angle of the jth arc respectively;

[0010] The constraints of the optimization problem include:

[0011] Position constraint P1 at the parking starting point:

[0012] P1=(x s ,y s )

[0013] Position constraint P at the parking end point N+1 :

[0014]

[0015] Heading angle constraint

[0016]

[0017] The equality constraint that the vehicle's head direction cannot be changed in place

[0018]

[0019] Vehicle minimum turning radius constraint

[0020]

[0021] Inequality constraints to avoid collisions

[0022]

[0023] where p v and p s Represent the size parameters of vehicle outline and parking space respectively.

[0024] Furthermore, the inequality constraint for avoiding collisions According to the arc of the parking path The relative position with respect to the obstacle boundary line MQ is constructed by exhaustively enumerating all possible relative relationships;

[0025] The arc of the parking path The relative position to the obstacle boundary line MQ is determined based on the following variables: the vertical distance d between the center of the circle where the arc of the parking path is located and the obstacle boundary line OZ ; The distance d between the center of the circle and the endpoints M and Q of the obstacle boundary line OM and d OQ ; The perpendicular point Z between the center of the circle and the obstacle boundary line, and the projection point P of the obstacle boundary line endpoints M and Q on the circle M and P Q The difference g between the central angle of the arc endpoints S and F Z , and

[0026] For the circle where the arc of the parking path is located, the possible distribution areas of the endpoints of the obstacle boundary line and the perpendicular point Z between the center of the circle and the circle include inside, on and outside the circle; the possible distribution areas of the projection points of each point on the circle include the superior arc and the inferior arc; then the inequality constraints for avoiding collision constructed for each case include:

[0027] (1) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Greater than the maximum turning radius R of the vehicle body outer contour out When the arc There is no intersection with line segment MQ, so there is no collision. The corresponding obstacle avoidance constraint is:

[0028]

[0029] (2) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Less than the minimum turning radius R of the vehicle body outer contour in When the distance between the boundary line endpoints M and Q and the center of the circle and their projection point P are further calculated. M and P Q The position on the circle is restricted, including the following three situations:

[0030] (2.1)P M and P Q are all on the major arc, then the arc of the parking path There is no intersection with the obstacle boundary line MQ, so there is no collision. The corresponding obstacle avoidance constraint is:

[0031]

[0032] r Z =Rin -d OZ ,

[0033] Among them, r Z >0 is responsible for limiting the vertical distance between the obstacle boundary line and the center of the circle where the parking path is located. and They are responsible for projecting the obstacle boundary endpoints M and Q onto the circle at point P M and P Q Limited to the superior arc ∠SOF is the inferior arc The corresponding central angle, ∠P M OS and ∠P M OF stands for inferior arc and The corresponding central angle: ∠P Q OS and ∠P Q OF stands for inferior arc and The corresponding central angle;

[0034] (2.2) When P M and P Q When both are located on the minor arc, the distances between the endpoints M and Q of the obstacle boundary line and the center of the circle where the parking path is located must be less than R at the same time. in or greater than R out , ensuring the arc of the vehicle path There is no intersection with the obstacle boundary line MQ, and the corresponding obstacle avoidance constraints are:

[0035]

[0036] r M =R in -d OM ,r Q =R in -d OQ ,c M =d OM -R out ,c Q =d OQ -R out

[0037] in, and Represent the projection points P of the obstacle boundary endpoints M and Q on the circle M and P Q Located in the inferior arc on; r M >0,r Q >0,c M >0 and cQ >0 respectively limits the straight-line distance between the center of the circle and the endpoint of the obstacle boundary line;

[0038] (2.3)P M and P Q They are located on the major arc and the minor arc respectively. The distance between the endpoint on the minor arc and the center of the circle where the parking path is located must be less than R in , to ensure the arc There is no intersection with line segment MQ; when P M Located in the superior arc, P Q The obstacle avoidance constraint when located on the inferior arc is:

[0039]

[0040] When P Q Located in the superior arc, P M The obstacle avoidance constraint when located on the inferior arc is:

[0041]

[0042] (3) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ The minimum turning radius R of the vehicle body outer contour in and the maximum value R out When the center of the circle is between the boundary line, the perpendicular point Z must be on the major arc to ensure that the arc There is no intersection with line segment MQ, and the corresponding obstacle avoidance constraint is:

[0043]

[0044] C Z =(R in -d OZ )(d OZ -R out ),g Z =∠SOF-∠ZOS-∠ZOF

[0045] Among them, C Z ≥0 is responsible for limiting the range of the vertical distance between the center of the circle where the parking path is located and the obstacle boundary line, g Z <0 is responsible for limiting the position of the vertical point Z on the circle to the major arc ∠ZOS and ∠ZOF represent the minor arc and The corresponding central angle;

[0046] As long as any one of the obstacle avoidance constraints (1) to (3) is satisfied, the arc of the parking path can be guaranteed. There is no collision with the obstacle boundary line MQ, so the obstacle avoidance constraint function is:

[0047]

[0048] The beneficial effect of the present invention is that the present invention abandons the vehicle differential equation to describe the vehicle motion characteristics, and instead adopts the arc parameter equation, thereby greatly reducing the optimization variable dimension of the parking path optimization problem reconstructed. At the same time, obstacle avoidance constraints are designed according to the relative position relationship between the arc and the parking space boundary line, further reducing the number of obstacle avoidance constraints, thereby improving the optimization calculation efficiency, and realizing real-time online optimization of the parking path.

[0049] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0051] Figure 1 is a flow chart based on obstacle avoidance constraints;

[0052] Figure 2 This is a schematic diagram of a parallel parking scenario;

[0053] Figure 3 For arc With line segment M i Q i Schematic diagram of relative position relationship; (a) the vertical distance between the center of the circle and the line segment M1Q1 is greater than R out ; (b) The vertical distance between the center of the circle and the line segment M2Q2 is less than R in ,and and Both are located on the major arc; (c) the perpendicular distance between the center of the circle and the line segment M3Q3 is less than R in , the endpoints M3 and Q3 are both inside the circle and their projection points and Both are located on the minor arc; (d) the perpendicular distance between the center of the circle and the line segment M4Q4 is less than R in , the endpoints M4 and Q4 are both outside the circle and their projection points and All are located on the minor arc; (e) the vertical distance between the center of the circle and the line segment M5Q5 is less than R in , the projection points of endpoints M5 and Q5 are located on the major arc and minor arc respectively; (f) is the perpendicular distance between the center of the circle and line segment M6Q6 between R in With R outThe point between the center of the circle and the line segment is located on the major arc;

[0054] Figure 4 A comparison chart of the path planning results of the method of the present invention, the random sampling method, and the traditional optimization method;

[0055] Figure 5 This is a comparison chart of the optimization variable dimensions and the number of constraints between the method of the present invention and the traditional optimization method. DETAILED DESCRIPTION

[0056] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0057] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.

[0058] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0059] like Figure 1-5 As shown, the present invention provides a real-time optimization method for parking paths based on arc parameter equations, which is characterized by using multiple arc segments to fit the parking path curve, thereby converting the parking path planning problem into the following optimization problem:

[0060]

[0061] Constraints to be met:

[0062]

[0063]

[0064] Among them, the objective function J is the total length of the parking path, and the variable to be optimized is the vehicle position P at the connection point of each arc curve. i =(x i ,y i ), i = 2, ..., N and yaw angle R j and θ j are the radius and center angle of the jth arc, respectively. According to the geometric characteristics of the arc, they can be inferred from the coordinates of the arc endpoints and the heading angle. The constraints of this optimization problem include: the position constraint P1 at the parking start point, the position constraint P at the parking end point N+1 and the vehicle head angle constraint The equality constraint that the vehicle's head direction cannot be changed in place Vehicle minimum turning radius constraint and inequality constraints to avoid collisions where p v and p s Represent the size parameters of the vehicle outline and parking space, respectively, such as Figure 2 In this embodiment, the parameter settings for numerically solving the optimization problem are shown in Table 1.

[0065] Table 1

[0066]

[0067] According to the arc The relative position with the obstacle boundary line MQ is used to design obstacle avoidance constraints If there is no intersection between the two, it means that no collision occurs. Figure 3 The relative position relationship between the two is mainly determined based on the following variables: the vertical distance d between the center of the circle where the arc of the parking path is located and the boundary line of the obstacle OZ The distance d between the center of the circle and the endpoints M and Q of the obstacle boundary line is OM and d OQ , the perpendicular point Z between the center of the circle and the obstacle boundary line, and the projection point P of the obstacle boundary line endpoints M and Q on the circle M and P Q The difference g between the central angle of the arc endpoints S and F Z , and

[0068] For the circle where the arc of the parking path is located, the possible distribution areas of the endpoints of the obstacle boundary line and the perpendicular point Z between the center of the circle and it only include: inside the circle, on the circle, and outside the circle. The possible distribution areas of the projection points of each point on the circle also only include two cases: the superior arc and the inferior arc. Therefore, combining the above relative position relationship can exhaustively enumerate all the situations that meet the obstacle avoidance requirements. The specific form of the obstacle avoidance constraint constructed for each situation is:

[0069] (1) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Greater than the maximum turning radius R of the vehicle body outer contour out When the arc There is no intersection with line segment M1Q1, such as Figure 3 As shown in (a). There is no collision at this time, and the corresponding obstacle avoidance constraints are:

[0070]

[0071] (2) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Less than the minimum turning radius R of the vehicle body outer contour in When the distance between the boundary line endpoints M and Q and the center of the circle and their projection point P is further calculated, M and P Q The position on the circle is restricted, including the following three situations:

[0072] (2.1)P M and P Q are all on the major arc, then the arc of the parking path There is no intersection with line segment M2Q2, such as Figure 3 As shown in (b). There is no collision at this time, and the corresponding obstacle avoidance constraints are:

[0073]

[0074] r Z =R in -d OZ ,

[0075] Among them, r Z >0 is responsible for limiting the vertical distance between the obstacle boundary line and the center of the circle where the parking path is located. and They are responsible for projecting the obstacle boundary endpoints M and Q onto the circle at point P M and P Q Limited to the superior arc ∠SOF is the inferior arc The corresponding central angle, ∠P M OS and ∠P M OF stands for inferior arc and The corresponding central angle of the circle. Similarly, ∠P Q OS and ∠P Q OF stands for inferior arc and The corresponding center angle.

[0076] (2.2) When P M and P Q When both are located on the minor arc, the distances between the endpoints M and Q of the obstacle boundary line and the center of the circle where the parking path is located must be less than R at the same time. in or greater than R out , in order to ensure the arc of the vehicle path There is no intersection with line segments M3Q3 and M4Q4, such as Figure 3 As shown in (c) and (d). The obstacle avoidance constraints corresponding to the above two cases are:

[0077]

[0078] r M =R in -d OM ,r Q =R in -d OQ ,c M =d OM -R out ,c Q =d OQ -R out

[0079] in, and Represent the projection points P of the obstacle boundary endpoints M and Q on the circle M and P Q Located in the inferior arc On. M >0, r Q >0,c M >0 and c Q >0 respectively limit the straight-line distance between the center of the circle and the endpoint of the obstacle boundary line.

[0080] (2.3)P M and P Q They are located on the major arc and the minor arc respectively. The distance between the endpoint on the minor arc and the center of the circle where the parking path is located must be less than R in , to ensure the arc There is no intersection with the line segment M5Q5, such as Figure 3 As shown in (e). M Located in the superior arc, P Q The obstacle avoidance constraint when located on the inferior arc is:

[0081]

[0082] When P M and P Q When the positions are interchanged, the form of the judgment condition is the same as the above formula. Only the constraints on the endpoints M and Q are exchanged. The obstacle avoidance constraint is:

[0083]

[0084] (3) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ The minimum turning radius R of the vehicle body outer contour in and the maximum value R out When the center of the circle and the boundary line are in between, the perpendicular point Z must be on the major arc to ensure the arc There is no intersection with line segment M6Q6, such as Figure 3 As shown in (f). The corresponding obstacle avoidance constraints are:

[0085]

[0086] C Z =(R in -d OZ )(d OZ -R out ),g Z =∠SOF-∠ZOS-∠ZOF

[0087] Among them, C Z ≥0 is responsible for limiting the range of the vertical distance between the center of the circle where the parking path is located and the obstacle boundary line, g Z <0 is responsible for limiting the position of the vertical point Z on the circle to the major arc ∠ZOS and ∠ZOF represent the minor arc and The corresponding center angle.

[0088] As long as any one of the above obstacle avoidance constraints is met, the arc of the parking path can be guaranteed. There is no collision with the obstacle boundary line MQ, so the obstacle avoidance constraint function is:

[0089]

[0090] The parking planning performance of the present invention is compared with that of the curve interpolation method, random sampling method and traditional optimization method in a small-scale parallel parking scenario. Figure 4 The optimization parameter dimensions and obstacle avoidance constraint dimensions involved in the numerical optimization process are shown in Figure 5In this embodiment, the calculation time, total length of the parking path, and parking terminal posture of various parking methods are given in Table 2.

[0091] Table 2

[0092]

[0093] A person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. When the program is executed, the steps of the method can be implemented. The storage medium, such as ROM / RAM, a disk, an optical disk, etc.

[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A real-time optimization method for an optimal parking path based on an arc equation, characterized in that: The parking path curve is fitted by splicing multiple arc segments from beginning to end, and the parking path planning problem is transformed into the following optimization problem: Among them, the objective function J is the total length of the parking path, and the variable to be optimized is the vehicle position P at the connection point of each arc curve. i =(x i ,y i ), i = 2, ..., N and yaw angle R j and θ j are the radius and center angle of the jth arc respectively; The constraints of the optimization problem include: Position constraint P1 at the parking starting point: P1=(x s ,y s ) Position constraint P at the parking end point N+1 : Heading angle constraint The equality constraint that the vehicle's head direction cannot be changed in place Vehicle minimum turning radius constraint Inequality constraints to avoid collisions where p v and p s Represent the size parameters of vehicle outline and parking space respectively.

2. The method for real-time optimization of the optimal parking path based on the arc equation according to claim 1, characterized in that: The inequality constraints to avoid collisions According to the arc of the parking path The relative position with respect to the obstacle boundary line MQ is constructed by exhaustively enumerating all possible relative relationships; The arc of the parking path The relative position to the obstacle boundary line MQ is determined based on the following variables: the vertical distance d between the center of the circle where the arc of the parking path is located and the obstacle boundary line OZ ; The distance d between the center of the circle and the endpoints M and Q of the obstacle boundary line OM and d OQ ; The perpendicular point Z between the center of the circle and the obstacle boundary line, and the projection point P of the obstacle boundary line endpoints M and Q on the circle M and P Q The difference g between the central angle of the arc endpoints S and F Z , and The arc according to the parking path The relative position with the obstacle boundary line MQ is used to construct the parking collision avoidance inequality constraint The specific method is as follows: for the circle where the arc of the parking path is located, the possible distribution areas of the endpoints of the obstacle boundary line and the perpendicular point Z between the center of the circle and the center of the circle include inside, on and outside the circle; the possible distribution areas of the projection points of each point on the circle include the superior arc and the inferior arc; then the inequality constraints for avoiding collision constructed for each case include: (1) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Greater than the maximum turning radius R of the vehicle body outer contour out When the arc There is no intersection with line segment MQ, so there is no collision. The corresponding obstacle avoidance constraint is: (2) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ Less than the minimum turning radius R of the vehicle body outer contour in When the distance between the boundary line endpoints M and Q and the center of the circle and their projection point P are further calculated. M and P Q The position on the circle is restricted, including the following three situations: (2.1)P M and P Q are all on the major arc, then the arc of the parking path There is no intersection with the obstacle boundary line MQ, so there is no collision. The corresponding obstacle avoidance constraint is: Among them, r Z >0 is responsible for limiting the vertical distance between the obstacle boundary line and the center of the circle where the parking path is located, g PM <0 and g PQ <0, it is responsible for projecting the obstacle boundary endpoints M and Q onto the circle at point P M and P Q Limited to the superior arc ∠SOF is the inferior arc The corresponding central angle, ∠P M OS and ∠P M OF stands for inferior arc and The corresponding central angle: ∠P Q OS and ∠P Q OF stands for inferior arc and The corresponding central angle; (2.2) When P M and P Q When both are located on the minor arc, the distances between the endpoints M and Q of the obstacle boundary line and the center of the circle where the parking path is located must be less than R at the same time. in or greater than R out , ensuring the arc of the vehicle path There is no intersection with the obstacle boundary line MQ, and the corresponding obstacle avoidance constraints are: r M =R in -d OM ,r Q =R in -d OQ ,c M =d OM -R out ,c Q =d OQ -R out in, and Represent the projection points P of the obstacle boundary endpoints M and Q on the circle M and P Q Located in the inferior arc on; r M >0,r Q >0,c M >0 and c Q >0 respectively limits the straight-line distance between the center of the circle and the endpoint of the obstacle boundary line; (2.3)P M and P Q They are located on the major arc and the minor arc respectively. The distance between the endpoint on the minor arc and the center of the circle where the parking path is located must be less than R in , to ensure the arc There is no intersection with line segment MQ; when P M Located in the superior arc, P Q The obstacle avoidance constraint when located on the inferior arc is: When P Q Located in the superior arc, P M The obstacle avoidance constraint when located on the inferior arc is: (3) When the vertical distance d between the obstacle boundary line and the center of the parking path OZ The minimum turning radius R of the vehicle body outer contour in and the maximum value R out When the center of the circle is between the boundary line, the perpendicular point Z must be on the major arc to ensure that the arc There is no intersection with line segment MQ, and the corresponding obstacle avoidance constraint is: C Z =(R in -d OZ )(d OZ -R out ),g Z =∠SOF-∠ZOS-∠ZOF Among them, C Z ≥0 is responsible for limiting the range of the vertical distance between the center of the circle where the parking path is located and the obstacle boundary line, g Z <0 is responsible for limiting the position of the vertical point Z on the circle to the major arc ∠ZOS and ∠ZOF represent the minor arc and The corresponding central angle; As long as any one of the obstacle avoidance constraints (1) to (3) is satisfied, the arc of the parking path can be guaranteed. There is no collision with the obstacle boundary line MQ, so the obstacle avoidance constraint function is: