Automatic parking path planning device
By using the spline and minimum turning radius arc completion technology in automatic parking path planning, the problem of curvature discontinuity is solved, the vehicle attitude is smoothly parked and the kinematic constraints are satisfied, and the smoothness of the parking is improved. performance and passenger comfort.
Patent Information
- Application Number
- CN201711417991.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2037-12-25
AI Technical Summary
Existing automatic parking path planning methods have difficulties with the problem of curvature discontinuity, which causes the vehicle to turn through a large angle in an extreme time, affecting the comfort of the vehicle and passengers.
Use the spline planning module to select the optimal path within the feasible range, and fill in an arc determined by the minimum turning radius of the vehicle at the starting point and/or end point of the spline, so that the point where it meets the spline is The first derivative is continuous to ensure that the vehicle attitude is parallel to the parking space.
It ensures the curvature continuity and kinematic constraints of the vehicle during parking, reduces vehicle posture changes, and improves the smoothness and comfort of parking.
Smart Images

Figure CN109959382B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of parking and relates to an automatic parking path planning device. Background Art
[0002] The prior art is to add 4 more control nodes on the same horizontal line at the end of the last control point when planning the B-spline path, so as to keep the end point parallel to the bottom edge of the parking space. This method has the following disadvantages:
[0003] 1. After adding additional control points, it is impossible to ensure that the curvature of the entire spline curve meets the minimum radius constraint of the vehicle.
[0004] 2. The posture of the vehicle body cannot be guaranteed at the initial position.
[0005] In the automatic parking control system, path planning, as a key core technology, has always been the focus and hotspot of many researchers. Good path planning can not only ensure the obstacle avoidance function of the vehicle, but also reduce the pressure of the control execution system.
[0006] For parallel parking spaces, the double arc splicing method is the most basic method. This method calculates the starting position of the parking space through the relative relationship between the vehicle and the parking space, and then puts the vehicle into the parking space through the arc formed by two sections of the minimum turning radius. After relaxing the requirements, the radius of the two arcs can be extended to any radius that meets the vehicle kinematics, obstacle avoidance requirements, and tangency constraints. However, there is an insurmountable difficulty in the parking path planning method based on arc splicing, which is the discontinuity of curvature. This requires the vehicle to turn the steering wheel through a large angle in certain specific positions within an extreme period of time, which will cause damage to the vehicle and have a significant impact on the comfort of the passengers.
[0007] On this basis, the researchers developed a parking path planning algorithm based on spline curves. The biggest advantage of this algorithm is that it ensures the continuity of the curvature of the vehicle during driving. This patent was invented on this basis.
[0008] For the existing technology, please refer to Dr. Song Jinze’s thesis “Research on Key Technologies of Autonomous Parking Systems”, Chapter 3 Trajectory Generation Method Combining Differential Flatness and Spline Theory, National University of Defense Technology, 2009.
[0009] According to the above principle, during the research, analysis and simulation, it was found that in the second half of the curve, the vehicle could not track according to the planned points. The reason is that the slope of the control points added to straighten the vehicle body is too large compared with the original control points, resulting in a large change in the curvature of the curve, so the vehicle cannot keep up. Summary of the invention
[0010] In order to solve the problem that the slope of the control points added by straightening the vehicle body changes too much compared with the original control points, resulting in too much change in the curvature of the curve, so that the vehicle cannot keep up, the technical solution provided by the present invention is:
[0011] An automatic parking path planning device, comprising:
[0012] The spline curve planning module selects the optimal path within the feasible range as the approximate route of the spline curve; selects several points on the approximate route as the control points of the spline curve, and plans the spline curve;
[0013] The arc filling module fills a section of arc determined by the minimum turning radius of the vehicle at the starting point and / or the end point of the planned spline curve, so that its first-order derivative is continuous at the point where it connects with the spline curve; its first-order derivative is 0 at the end of the arc segment; and the coordinates of the trajectory points are output to complete the planning.
[0014] Beneficial effects: After planning the spline curve, the present invention fills in a circular arc consisting of the minimum turning radius at the starting and ending points of the curve. Its main advantages are: 1. The body posture at the starting and ending points is guaranteed. 2. The kinematic constraints of the vehicle are met. 3. When the arc length of the spline curve is constant, the arc length added to meet the requirements is the smallest.
[0015] For automatic parking in parallel parking spaces, smooth, effective and standardized parking is achieved. After planning the spline curve, this technical solution adds a circular arc path with a minimum radius constraint at the start and end points of the original curve. The first-order derivative of the arc segment and the spline curve is continuous, and the slope of the end attitude is kept at 0. This ensures the start and end point posture of the entire curve, and also ensures that the kinematic constraints of the vehicle are met during the process of straightening the vehicle body.
[0016] The prior art did not consider the posture constraints of the vehicle's starting point position, nor did it consider the vehicle's kinematic constraints during the end point alignment process. The present invention ensures the postures of the starting and ending points of the entire curve, and also ensures that the vehicle's kinematic constraints are met during the alignment of the vehicle body. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a flow chart of the automatic parking path planning method in Example 1. DETAILED DESCRIPTION
[0018] Embodiment 1: In the automatic parking control system, path planning, as a key core technology, has always been the focus and hotspot of many researchers. Good path planning can not only ensure the obstacle avoidance function of the vehicle, but also reduce the pressure of the control execution system.
[0019] For parallel parking spaces, the double arc splicing method is the most basic method. This method calculates the starting position of the parking space through the relative relationship between the vehicle and the parking space, and then puts the vehicle into the parking space through the arc formed by two sections of the minimum turning radius. After relaxing the requirements, the radius of the two arcs can be extended to any radius that meets the vehicle kinematics, obstacle avoidance requirements, and tangency constraints. However, there is an insurmountable difficulty in the parking path planning method based on arc splicing, which is the discontinuity of curvature. This requires the vehicle to turn the steering wheel through a large angle in certain specific positions within an extreme period of time, which will cause damage to the vehicle and have a significant impact on the comfort of the passengers.
[0020] On this basis, the researchers developed a parking path planning algorithm based on spline curves. The biggest advantage of this algorithm is that it ensures the continuity of the curvature of the vehicle during driving. This patent was invented on this basis.
[0021] For the prior art, please refer to Dr. Song Jinze's paper "Research on Key Technologies of Autonomous Parking System", Chapter 3 Trajectory Generation Method Integrating Differential Flatness and Spline Theory, "National University of Defense Technology", 2009. Based on the above principles, during the research, analysis and simulation, the inventor found that in the second half of the curve, the vehicle could not track according to the planned points. The reason is that the slope of the control points added to straighten the vehicle body is too large compared with the original control points, resulting in a large change in the curvature of the curve, so that the vehicle cannot keep up. Based on this, this embodiment records an automatic parking path planning method, which selects the optimal path within a feasible range as the approximate route of the spline curve; selects a number of points on the approximate route as the spline curve control points, and plans the spline curve; it is characterized in that a section of arc determined by the minimum turning radius of the vehicle is filled at the starting point and / or the end point of the planned spline curve, so that its first-order derivative is continuous at the connection point with the spline curve; its first-order derivative is 0 at the end of the arc segment, that is, the vehicle posture is parallel to the bottom edge of the parking space; and the coordinates of the trajectory points are output to complete the planning.
[0022] As an embodiment: the feasibility range is the feasibility range between the parking starting point and the end point. Before the range is determined, there is a step of calculating the range of the parking starting point.
[0023] In this embodiment, before the step of calculating the parking starting point range, there is a parameter input step, and the parameters include: vehicle body size parameters, parking space size parameters, and vehicle and parking space position relationship parameters.
[0024] As another embodiment: the arc filled at the termination point of the planned spline curve is the second arc segment. At the termination point of the spline curve, the vehicle position (i.e., the x and y coordinates in the local coordinate system) and the posture are represented by Xf_B, Yf_B, and Thetaf_B, respectively. And, rightward and upward are the positive directions of the X axis and the Y axis. Then, at the end point of the spline curve, the starting point and the termination point position and posture of the second arc segment are represented by the following formulas:
[0025]
[0026]
[0027] According to the positions of the starting point and the end point, the interpolation method is used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0028]
[0029] in:
[0030] Xi_ARC 2 : X coordinate of the starting point of the second arc;
[0031] Yi_ARC 2 : The y coordinate of the starting point of the second arc;
[0032] Thetai_ARC 2 : The attitude angle of the starting point of the second arc.
[0033] Xf_ARC 2 : X coordinate of the end point of the second arc;
[0034] Yf_ARC 2 : The y coordinate of the end point of the second arc;
[0035] Thetaf_ARC 2 : The attitude angle of the end point of the second arc.
[0036] Xf_B: X coordinate of the end point of the spline curve;
[0037] Yf_B: y coordinate of the end point of the spline curve;
[0038] Thetaf_B: The attitude angle of the end point of the spline curve.
[0039] Δtheta: The angular interval of sampling.
[0040] X_ARC 2 (i): Insert the x coordinate of the i-th point in the second arc;
[0041] Y_ARC 2 (i): insert the y coordinate of the i-th point in the second arc;
[0042] Theta_ARC 2 (i): The attitude angle of the i-th point inserted in the second arc.
[0043] As another embodiment: the arc filled at the starting point of the planned spline curve is the first arc segment, and at the starting point of the spline curve, the vehicle position and posture are Xi_B, Yi_B, Thetai_B respectively, and the right and upward directions are the positive directions of the X axis and the Y axis, and the coordinates and posture of the starting point and the end point of the first arc segment are obtained by the following formula:
[0044]
[0045]
[0046] According to the positions of the starting point and the end point, the interpolation method can be used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0047]
[0048] in:
[0049] Xi_ARC 1 : X coordinate of the starting point of the first arc;
[0050] Yi_ARC 1 : The y coordinate of the starting point of the first arc;
[0051] Thetai_ARC 1 : The attitude angle of the starting point of the first arc.
[0052] Xf_ARC 1 : X coordinate of the end point of the first arc;
[0053] Yf_ARC 1 : The y coordinate of the end point of the first arc;
[0054] Thetaf_ARC 1 : The attitude angle of the end point of the first arc.
[0055] Xi_B: X coordinate of the starting point of the spline curve;
[0056] Yi_B: y coordinate of the starting point of the spline curve;
[0057] Thetai_B: The attitude angle of the starting point of the spline curve.
[0058] Δtheta: The angular interval of sampling.
[0059] X_ARC 1 (i): Insert the x coordinate of the i-th point in the first arc;
[0060] Y_ARC 1 (i): insert the y coordinate of the i-th point in the first arc;
[0061] Theta_ARC 1 (i): The attitude angle of the i-th point inserted in the first arc.
[0062] The key point of this embodiment is that after the spline curve is planned, a circular arc is filled at the starting and ending points of the curve so that the slope of the starting point or the ending point of the circular arc is 0.
[0063] The radius of the arc is the minimum turning radius of the vehicle.
[0064] Embodiment 2: A method for ensuring the posture constraint of the starting point position of a vehicle in automatic parking path planning, characterized in that a circular arc determined by the minimum radius of the vehicle is filled in at the starting point position of the spline curve, and the first-order derivative of the circular arc is continuous at the junction point with the spline curve, and the first-order derivative of the starting point position of the circular arc is 0.
[0065] The arc filled at the starting point of the planned spline curve is the first arc segment. At the starting point of the spline curve, the vehicle position and posture are Xi_B, Yi_B, Thetai_B respectively, and the right and upward directions are the positive directions of the X-axis and Y-axis. The coordinates and posture of the starting point and the end point of the first arc segment are obtained by the following formula:
[0066]
[0067]
[0068] According to the positions of the starting point and the end point, the interpolation method can be used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0069]
[0070] in:
[0071] Xi_ARC 1 : X coordinate of the starting point of the first arc;
[0072] Yi_ARC 1 : The y coordinate of the starting point of the first arc;
[0073] Thetai_ARC 1: The attitude angle of the starting point of the first arc.
[0074] Xf_ARC 1 : X coordinate of the end point of the first arc;
[0075] Yf_ARC 1 : The y coordinate of the end point of the first arc;
[0076] Thetaf_ARC 1 : The attitude angle of the end point of the first arc.
[0077] Xi_B: X coordinate of the starting point of the spline curve;
[0078] Yi_B: y coordinate of the starting point of the spline curve;
[0079] Thetai_B: The attitude angle of the starting point of the spline curve.
[0080] Δtheta: The angular interval of sampling.
[0081] X_ARC 1 (i): Insert the x coordinate of the i-th point in the first arc;
[0082] Y_ARC 1 (i): insert the y coordinate of the i-th point in the first arc;
[0083] Theta_ARC 1 (i): The attitude angle of the i-th point inserted in the first arc.
[0084] Embodiment 3: A method for ensuring vehicle kinematic constraints when straightening the vehicle body in automatic parking path planning, characterized in that a circular arc determined by the minimum radius of the vehicle is filled in at the end point of the spline curve, and the first-order derivative of the circular arc at the point where the arc meets the spline curve is continuous, and the first-order derivative of the arc at the end point is 0. The circular arc filled in at the end point of the planned spline curve is the second circular arc segment, and at the end point of the spline curve, the vehicle position (i.e., the x and y coordinates in the local coordinate system) and the posture are represented by Xf_B, Yf_B, and Thetaf_B, respectively, and the right and upward directions are the positive directions of the X axis and the Y axis, then, at the end point of the spline curve, the starting point (the point connected to the spline curve) and the end point position and posture of the second circular arc segment are respectively represented by the following formulas:
[0085]
[0086]
[0087] According to the positions of the starting point and the end point, the interpolation method is used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0088]
[0089] in:
[0090] Xi_ARC 2 : X coordinate of the starting point of the second arc;
[0091] Yi_ARC 2 : The y coordinate of the starting point of the second arc;
[0092] Thetai_ARC 2 : The attitude angle of the starting point of the second arc.
[0093] Xf_ARC 2 : X coordinate of the end point of the second arc;
[0094] Yf_ARC 2 : The y coordinate of the end point of the second arc;
[0095] Thetaf_ARC 2 : The attitude angle of the end point of the second arc.
[0096] Xf_B: X coordinate of the end point of the spline curve;
[0097] Yf_B: y coordinate of the end point of the spline curve;
[0098] Thetaf_B: The attitude angle of the end point of the spline curve.
[0099] Δtheta: The angular interval of sampling.
[0100] X_ARC 2 (i): Insert the x coordinate of the i-th point in the second arc;
[0101] Y_ARC 2 (i): insert the y coordinate of the i-th point in the second arc;
[0102] Theta_ARC 2 (i): The attitude angle of the i-th point inserted in the second arc.
[0103] Embodiment 4:
[0104] An automatic parking path planning device, comprising:
[0105] The spline curve planning module selects the optimal path within the feasible range as the approximate route of the spline curve; selects several points on the approximate route as the control points of the spline curve, and plans the spline curve;
[0106] The arc filling module fills a section of arc determined by the minimum turning radius of the vehicle at the starting point and / or the end point of the planned spline curve, so that its first-order derivative is continuous at the point where it connects with the spline curve; its first-order derivative is 0 at the end of the arc segment; and the coordinates of the trajectory points are output to complete the planning.
[0107] The feasibility range is the feasibility range between the parking start point and the end point.
[0108] The parking starting point calculation module calculates the parking starting point range.
[0109] Before calculating the parking start point range, the parameter input module inputs parameters, the parameters including: vehicle body size parameters, parking space size parameters, and vehicle and parking space position relationship parameters.
[0110] The arc filling module fills the arc at the termination point of the planned spline curve as the second arc segment. At the termination point of the spline curve, the vehicle position and posture are represented by Xf_B, Yf_B, and Thetaf_B respectively, and with right and upward as the positive directions of the X axis and the Y axis, the starting point and the end point position and posture of the second arc segment are represented by the following formulas respectively:
[0111]
[0112]
[0113] According to the positions of the starting point and the end point, the interpolation method is used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0114]
[0115] in:
[0116] Xi_ARC 2 : X coordinate of the starting point of the second arc;
[0117] Yi_ARC 2 : The y coordinate of the starting point of the second arc;
[0118] Thetai_ARC 2 : The attitude angle of the starting point of the second arc;
[0119] Xf_ARC 2 : X coordinate of the end point of the second arc;
[0120] Yf_ARC 2 : The y coordinate of the end point of the second arc;
[0121] Thetaf_ARC 2 : The attitude angle of the end point of the second arc;
[0122] Xf_B: X coordinate of the end point of the spline curve;
[0123] Yf_B: y coordinate of the end point of the spline curve;
[0124] Thetaf_B: attitude angle of the end point of the spline curve;
[0125] Δtheta: the angular interval of sampling;
[0126] X_ARC 2 (i): Insert the x coordinate of the i-th point in the second arc;
[0127] Y_ARC 2 (i): insert the y coordinate of the i-th point in the second arc;
[0128] Theta_ARC 2 (i): attitude angle of the i-th point inserted in the second arc;
[0129] The arc filling module fills the arc at the starting point of the planned spline curve as the first arc segment. At the starting point of the spline curve, the vehicle position and posture are Xi_B, Yi_B, and Thetai_B respectively, and the coordinates and posture of the starting point and the end point of the first arc segment are obtained by the following formulas, with the right and upward directions as the positive directions of the X axis and the Y axis:
[0130]
[0131]
[0132] According to the positions of the starting point and the end point, the interpolation method can be used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is:
[0133]
[0134] in:
[0135] Xi_ARC 1 : X coordinate of the starting point of the first arc;
[0136] Yi_ARC 1 : The y coordinate of the starting point of the first arc;
[0137] Thetai_ARC 1 : The attitude angle of the starting point of the first arc;
[0138] Xf_ARC 1 : X coordinate of the end point of the first arc;
[0139] Yf_ARC 1 : The y coordinate of the end point of the first arc;
[0140] Thetaf_ARC 1 : The attitude angle of the end point of the first arc;
[0141] Xi_B: X coordinate of the starting point of the spline curve;
[0142] Yi_B: y coordinate of the starting point of the spline curve;
[0143] Thetai_B: attitude angle of the starting point of the spline curve;
[0144] Δtheta: the angular interval of sampling;
[0145] X_ARC 1 (i): Insert the x coordinate of the i-th point in the first arc;
[0146] Y_ARC 1 (i): insert the y coordinate of the i-th point in the first arc;
[0147] Theta_ARC 1 (i): attitude angle of the i-th point inserted in the first arc;
[0148] Embodiment 5: A device for ensuring the posture constraint of the starting position of a vehicle in automatic parking path planning, which fills a circular arc determined by the minimum radius of the vehicle at the starting point of the spline curve, wherein the first-order derivative of the circular arc is continuous at the junction of the arc and the spline curve, and the first-order derivative of the starting point of the arc is 0.
[0149] Embodiment 6: A device for ensuring the kinematic constraints of a vehicle when straightening the vehicle body in automatic parking path planning, characterized in that a circular arc determined by the minimum radius of the vehicle is filled in at the end point of the spline curve, the first-order derivative of the arc is continuous at the junction of the arc and the spline curve, and the first-order derivative of the arc at the end point is 0.
[0150] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solutions and inventive concepts of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An automatic parking path planning device, It is characterized in that include: The spline curve planning module selects the optimal path within the feasibility range as the approximate route of the spline curve; Select several points on the approaching route as control points of the spline curve, and plan the spline curve; The arc filling module fills a section of arc determined by the minimum turning radius of the vehicle at the starting point and / or the end point of the planned spline curve, so that the first-order derivative is continuous at the point where it connects with the spline curve; the first-order derivative is 0 at the end of the arc segment; and the coordinates of the trajectory points are output to complete the planning; The feasibility range is a feasibility range between the parking start point and the end point. Before the range is determined, the parking start point calculation module calculates the parking start point range; The arc filling module fills the arc at the termination point of the planned spline curve as the second arc segment. At the termination point of the spline curve, the vehicle position and posture are represented by Xf_B, Yf_B, and Thetaf_B respectively, and with right and upward as the positive directions of the X axis and the Y axis, the starting point and the end point position and posture of the second arc segment are represented by the following formulas respectively: According to the positions of the starting point and the end point of the second arc segment, the interpolation method is used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is: in: Xi_ARC 2 : X coordinate of the starting point of the second arc; Yi_ARC 2 : The y coordinate of the starting point of the second arc; Thetai_ARC 2 : The attitude angle of the starting point of the second arc; Xf_ARC 2 : X coordinate of the end point of the second arc; Yf_ARC 2 : The y coordinate of the end point of the second arc; Thetaf_ARC 2 : The attitude angle of the end point of the second arc; Xf_B: X coordinate of the end point of the spline curve; Yf_B: y coordinate of the end point of the spline curve; Thetaf_B: attitude angle of the end point of the spline curve; Δtheta: the angular interval of sampling; X_ARC 2 (i): Insert the x coordinate of the i-th point in the second arc; Y_ARC 2 (i): insert the y coordinate of the i-th point in the second arc; Theta_ARC 2 (i): attitude angle of the i-th point inserted in the second arc; The arc filling module fills the arc at the starting point of the planned spline curve as the first arc segment. At the starting point of the spline curve, the vehicle position and posture are Xi_B, Yi_B, and Thetai_B respectively, and the coordinates and posture of the starting point and the end point of the first arc segment are obtained by the following formulas, with the right and upward directions as the positive directions of the X axis and the Y axis: According to the positions of the starting point and the end point of the first arc segment, the interpolation method is used to generate the intermediate path points. Assuming that n path points on the arc are to be generated, the position and posture of the i-th path point is: in: Xi_ARC 1 : X coordinate of the starting point of the first arc; Yi_ARC 1 : The y coordinate of the starting point of the first arc; Thetai_ARC 1 : The attitude angle of the starting point of the first arc; Xf_ARC 1 : X coordinate of the end point of the first arc; Yf_ARC 1 : The y coordinate of the end point of the first arc; Thetaf_ARC 1 : The attitude angle of the end point of the first arc; Xi_B: X coordinate of the starting point of the spline curve; Yi_B: y coordinate of the starting point of the spline curve; Thetai_B: attitude angle of the starting point of the spline curve; Δtheta: the angular interval of sampling; X_ARC 1 (i): Insert the x coordinate of the i-th point in the first arc; Y_ARC 1 (i): insert the y coordinate of the i-th point in the first arc; Theta_ARC 1 (i): The attitude angle of the i-th point inserted in the first arc.
2. The automatic parking path planning device according to claim 1, It is characterized in that Before calculating the parking start point range, the parameter input module inputs parameters, the parameters including: vehicle body size parameters, parking space size parameters, and vehicle and parking space position relationship parameters.
Citation Information
Patent Citations
Multi-modal route planning
CN104677374A
Auxiliary parking system and auxiliary parking control method
CN105197010A
Side parking method and system
CN105527963A
Vehicle i.e. car, parking method, involves selecting inclination and curvature in starting point and end point, such that collision of vehicle with parking place limiting obstacles does not happen
DE102007004972A1
Evaluating an optimal route of a vehicle
GB201408145D0
