Path planning method, system and device for automatically parking in vertical parking space, storage medium and vehicle
By detecting the positional relationship and distance between the center point of the vehicle's rear axle and the longitudinal centerline of the vertical parking space, the best parking method is determined and the parking path is optimized, which solves the problems of long parking time and low efficiency in the existing technology and achieves a more efficient automatic parking process.
Patent Information
- Application Number
- CN202310203858.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-03
- Publication Date
- 2024-09-03
AI Technical Summary
Existing automatic parking technology cannot adjust the path according to the environment, resulting in long parking time and poor parking efficiency.
By detecting the positional relationship and distance between the center point of the rear axle of the vehicle and the longitudinal centerline of the vertical parking space to be parked, the best parking method is determined, including the first herringbone, second herringbone and C-shaped parking methods, to optimize parking. route to shorten the total route length.
It improves parking efficiency and selects the best parking method through adaptability, making the parking path the shortest and reducing parking time.
Smart Images

Figure CN118579060A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of path planning in automatic parking, and in particular to a path planning method, system, device, storage medium and vehicle for automatic parking in a vertical parking space. Background Art
[0002] In the early days of automatic parking technology, parking spaces were identified solely by ultrasonic sensing. This required the vehicle to completely scan the parking space before it could find the parking space. The planning algorithm based on this usually took the first step of backing up in a straight line and then turning right to back up. This method is called C-type parking.
[0003] Subsequently, fusion automatic parking technology with camera perception emerged. The vehicle can identify the parking space in advance without having to completely scan the parking space, and then plan parking based on this. The first step can be to turn left to move forward and then back up. This method can be called herringbone parking.
[0004] However, in the existing automatic parking process, a fixed parking path is generally used, which cannot be adjusted according to the environment and the parking path cannot be minimized, so the parking time is long and the parking efficiency is poor. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a path planning method, system, device, storage medium and vehicle for automatic parking in a vertical parking space, which can shorten the total parking time and improve the parking efficiency.
[0006] To solve the above technical problems, as one aspect of the present invention, a path planning method for automatically parking in a vertical parking space is provided, which at least comprises the following steps:
[0007] Detecting the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, wherein the positional relationship is the front-to-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the front of the vehicle;
[0008] According to the position relationship and distance between the two, a corresponding optimal parking mode is determined, wherein the optimal parking mode at least includes a first herringbone parking mode, a second herringbone parking mode, and a C-shaped parking mode;
[0009] The vehicle is automatically parked in the vertical parking space to be parked according to the optimal parking method.
[0010] Wherein, determining the corresponding optimal parking method according to the position relationship and distance between the two further includes:
[0011] comparing the positional relationship with a distance, the distance being a vertical distance between a center point of a rear axle and the longitudinal center line;
[0012] If the center of the rear axle is located behind the longitudinal centerline along the current vehicle front direction, and the distance is greater than a first threshold distance, determining that the current best parking method is the first herringbone parking method;
[0013] If the rear axle center is located in front of the longitudinal center line and the distance is greater than a second threshold distance, it is determined that the current optimal parking method is a C-shaped parking method, and the first threshold distance is less than the second threshold distance.
[0014] If the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to a first threshold distance; or if the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to a second threshold distance, it is determined that the current best parking method is the second herringbone parking method.
[0015] Wherein, the method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further comprises:
[0016] When the determined optimal parking manner is the first herringbone parking manner, controlling the vehicle to move forward in a straight line so that the center point of its rear axle reaches the first threshold distance;
[0017] Rotating the steering wheel in a first direction so that the front of the vehicle turns away from the vertical parking space to be parked to the calculated predetermined position;
[0018] Rotate the steering wheel in the opposite direction and reverse the vehicle until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline;
[0019] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0020] Wherein, the method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further comprises:
[0021] When the determined optimal parking manner is the second herringbone parking manner, rotating the steering wheel in a first direction so that the front of the vehicle turns forward in a direction away from the vertical parking space to be parked to a calculated predetermined position;
[0022] Rotate the steering wheel in the opposite direction to reverse the vehicle until the longitudinal axis of the vehicle is coincident with or parallel to the longitudinal centerline;
[0023] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0024] Wherein, the method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further comprises:
[0025] When the determined optimal parking manner is a C-shaped parking manner, the vehicle is controlled to travel in a straight line so that the distance between the center point of the rear axle on the second side and the longitudinal center line reaches a minimum reversing radius
[0026] Rotating the steering wheel in a second direction so that the rear end of the vehicle approaches the vertical parking space to be parked, and reverses and turns until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline;
[0027] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0028] Wherein, the first threshold distance L0 is determined by the following formula:
[0029] L0=(2^0.2-1)*R;
[0030] The second threshold distance L1 is determined by the following formula:
[0031] L1 = R-0.15m;
[0032] Among them, R is the minimum turning radius of the vehicle;
[0033] The predetermined position is obtained by the vehicle's automatic parking planning device through real-time calculation according to the current environment;
[0034] The vehicle is driven with a minimum turning radius both in forward turning and reverse turning during the parking process.
[0035] Accordingly, the present invention provides a path planning system for automatically parking in a vertical parking space, which at least comprises:
[0036] A relative position detection unit, used to detect the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, wherein the positional relationship is the front-to-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the front of the vehicle;
[0037] an optimal parking mode determining unit, which determines an optimal parking mode corresponding to the distance according to the position relationship and the distance between the two, wherein the optimal parking mode at least includes a first herringbone parking mode, a second herringbone parking mode, and a C-shaped parking mode;
[0038] The parking processing unit is used to automatically park the vehicle into the vertical parking space to be parked according to the optimal parking method.
[0039] Wherein, the relative position detection unit further comprises:
[0040] A position detection unit, used to detect the positional relationship between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, and determine whether the center of the rear axle is located behind the longitudinal center line or in front of the longitudinal center line in the direction of the front of the vehicle;
[0041] The distance calculation unit is used to calculate the vertical distance between the center point of the rear axle and the longitudinal center line, and determine it as the distance between the two.
[0042] Wherein, the optimal parking mode determination unit further comprises:
[0043] a threshold comparison unit for comparing the positional relationship and distance between the two with a first threshold distance located behind the longitudinal centerline and a second threshold distance located in front of the centerline;
[0044] a determination unit, configured to determine that the current best parking mode is the first herringbone parking mode when the comparison result of the threshold comparison unit is that the center of the rear axle is located behind the longitudinal centerline and the distance is greater than a first threshold distance;
[0045] If the comparison result shows that the center of the rear axle is located in front of the longitudinal centerline and the distance is greater than a second threshold distance, determining that the current optimal parking method is the C-shaped parking method;
[0046] When the comparison result is that the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to the first threshold distance; or the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to the second threshold distance, it is determined that the current optimal parking method is the second herringbone parking method.
[0047] Wherein, the parking processing unit further comprises:
[0048] a first parking processing unit, configured to, when the determined optimal parking mode is the first herringbone parking mode, control the vehicle to drive straight forward so that the center point of its rear axle reaches the first threshold distance; rotate the steering wheel in a first direction so that the front of the vehicle turns away from the vertical parking space to be parked to a calculated predetermined position; rotate the steering wheel in a reverse direction so that the vehicle reverses and turns until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue to reverse, and park the vehicle in the parking space;
[0049] The second parking processing unit is configured to, when the determined optimal parking manner is the second herringbone parking manner, rotate the steering wheel in a first direction to make the front of the vehicle turn forward to a calculated predetermined position in a direction away from the vertical parking space to be parked; rotate the steering wheel in a reverse direction to reversely turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; and straighten the steering wheel and continue to reverse to park the vehicle in the parking space.
[0050] The third parking processing unit is configured to, when the determined optimal parking manner is the C-shaped parking manner, control the vehicle to travel in a straight line so that the distance between the center point of the rear axle on the second side and the longitudinal center line reaches a minimum reversing radius, rotate the steering wheel in a second direction, make the rear end of the vehicle approach the direction of the vertical parking space to be parked, reverse and turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue to reverse, and park the vehicle in the parking space.
[0051] Wherein, the first threshold distance L0 is: L0=(2^0.2-1)*R;
[0052] The second threshold distance L1 is: L1 = R-0.15m;
[0053] Among them, R is the minimum turning radius of the vehicle;
[0054] The predetermined position is obtained by the vehicle's automatic parking planning device through real-time calculation according to the current environment;
[0055] The vehicle is driven with a minimum turning radius both in forward turning and reverse turning during the parking process.
[0056] According to another aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the aforementioned method when executed by a processor.
[0057] According to another aspect of the present invention, there is provided a computing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the aforementioned method when executing the computer program.
[0058] In another aspect of the present invention, there is provided a vehicle, on which at least an automatic parking planning device is provided, in which the path planning system for automatic parking in a vertical parking space as described above is deployed.
[0059] The implementation of the embodiments of the present invention has the following beneficial effects:
[0060] The present invention provides a path planning method, system, device, storage medium and vehicle for automatically parking in a vertical parking space. By detecting the position relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, the corresponding optimal parking method is determined according to the position relationship and distance between the two. The herringbone parking method and the C-shaped parking method can be adaptively selected as the direction of the first step of planning, so as to minimize the total path length and improve the parking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying creative labor, other drawings obtained based on these drawings still belong to the scope of the present invention.
[0062] Figure 1 A schematic diagram of the main process of an embodiment of a path planning method for automatically parking in a vertical parking space provided by the present invention;
[0063] Figure 2 for Figure 1 Schematic diagram of the positional relationship between the vehicles and parking spaces involved;
[0064] Figure 3 A schematic diagram of parking using a first herringbone parking method according to the present invention;
[0065] Figure 4 A schematic diagram of parking using the second herringbone parking method according to the present invention;
[0066] Figure 5 A schematic diagram of parking in a C-shaped parking manner according to the present invention;
[0067] Figure 6 A schematic diagram of parking distance verification in the first scenario of the present invention;
[0068] Figure 7 A schematic diagram of parking distance verification in the second scenario of the present invention;
[0069] Figure 8 A schematic diagram of the structure of an embodiment of a path planning system for automatically parking in a vertical parking space provided by the present invention;
[0070] Fig. 9 for Figure 8 A schematic diagram of the structure of the relative position detection unit;
[0071] Fig.10 for Figure 8 A schematic diagram of the structure of a unit for determining the best parking mode;
[0072] Fig.11 for Figure 8 Schematic diagram of the structure of the docking processing unit. DETAILED DESCRIPTION
[0073] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.
[0074] like Figure 1 FIG. 1 is a schematic diagram showing a main process of an embodiment of a path planning method for automatically parking in a vertical parking space provided by the present invention; and FIG. Figures 2 to 8 As shown, in this embodiment, the method at least includes the following steps:
[0075] Step S10, detecting the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked;
[0076] In a specific example, the step S10 further includes:
[0077] Detecting the positional relationship between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, the positional relationship is the front-to-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the front of the vehicle, specifically including: the center point of the rear axle is located behind the longitudinal center line, or is located in front of the longitudinal center line; Figure 2 As shown, the rear axle center of the vehicle is point A, the longitudinal centerline of the vertical parking space to be parked is BC, and the direction of the front of the vehicle is the direction, and point A is behind the centerline;
[0078] Calculate the vertical distance between the rear axle center point and the longitudinal center line as the relative distance (dist) between the two, Figure 2 The distance between AB shown in is the relative distance between the two.
[0079] Step S11, determining the corresponding optimal parking method according to the position relationship and distance between the two;
[0080] In one example of the present invention, the step S11 further comprises:
[0081] Step S110, comparing the position relationship and the distance, and comparing the position relationship and the distance between the two with a first threshold distance and a second threshold distance; Figure 2 In the example, the first threshold distance L0 is represented by L0, and the second threshold distance L1 is represented by L1; in this example, the first threshold distance L0 is: L0 = (2^0.2-1) * R; the second threshold distance L1 is: L1 = R-0.15m; wherein R is the minimum turning radius of the vehicle;
[0082] Step S111, if along the front direction of the current vehicle, the center point of the rear axle of the current vehicle is located behind the longitudinal center line, and the distance is greater than the first threshold distance (i.e., beyond L0 at the rear), then determining that the current best parking method is the first herringbone parking method;
[0083] If the rear axle center of the current vehicle is located in front of the longitudinal center line, and the distance is greater than the second threshold distance (ie, exceeds L1 in front), it is determined that the current optimal parking method is the C-shaped parking method.
[0084] If the vehicle is outside these two situations, that is, the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to the first threshold distance; or the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to the second threshold distance (that is, between L0 and L1), it is determined that the current best parking method is the second herringbone parking method;
[0085] It can be understood that the herringbone parking method here refers to that the overall parking path is similar to a herringbone shape, and the C-shaped parking method refers to that the overall parking path of the car is similar to a C-shape.
[0086] Step S12: automatically parking the vehicle in the vertical parking space to be parked according to the optimal parking method.
[0087] The following will be combined Figures 3 to 5 The three best parking methods are introduced.
[0088] exist Figure 3 In the example shown, since the rear axle center of the vehicle is point A located on the left side of L0, the determined optimal parking method is the first herringbone parking method. Specifically, in this example, step S12 further includes:
[0089] The vehicle is controlled to travel straight forward so that the center point of its rear axle reaches the first threshold distance. Figure 3 In the middle, make the center point of the rear axle coincide with point F;
[0090] Turn the steering wheel in the first direction ( Figure 3 The vehicle turns left in the vertical parking space to a predetermined position (point H) calculated by the automatic parking planning device of the vehicle according to the current environment;
[0091] Rotate the steering wheel in the opposite direction (turn right) and reverse and turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line;
[0092] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0093] It is understandable that during the parking process, both the forward turn and the reverse turn are performed with the minimum turning radius.
[0094] exist Figure 4In the example shown, since the distance between the rear axle center of the vehicle, point A, and the longitudinal centerline BC is within the range between L0 and L1, the determined optimal parking method is the second herringbone parking method. Specifically, in this example, step S12 further includes:
[0095] Rotate the steering wheel in a first direction (eg Figure 4 The vehicle turns left in the middle of the vertical parking space, and the front of the vehicle turns forward to a predetermined position (H) calculated in real time by the automatic parking planning device of the vehicle according to the current environment, in a direction away from the vertical parking space to be parked;
[0096] Rotate the steering wheel in the opposite direction (turn right) to reverse the vehicle until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline;
[0097] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0098] It is understandable that during the parking process, both the forward turn and the reverse turn are performed with the minimum turning radius.
[0099] exist Figure 5 In the example shown, since the rear axle center of the vehicle is point A located on the right side of L1, the determined optimal parking method is a C-shaped parking method. Specifically, in this example, step S12 further includes:
[0100] The vehicle is controlled to travel in a straight line (forward or reverse) so that the distance between the center point of its rear axle on the second side and the longitudinal center line reaches the minimum reversing radius. Figure 5 In the middle, make the center point of the rear axle coincide with point F;
[0101] Turn the steering wheel in the second direction ( Figure 5 The rear end of the vehicle is directed toward the vertical parking space to be parked, and the vehicle is reversed and turned until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline;
[0102] Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
[0103] It is understandable that during the parking process, both the forward turn and the reverse turn are performed with the minimum turning radius.
[0104] Combination Figure 6 to Figure 7 As shown, the parking path in the parking mode provided by the method of the present invention can be verified to determine whether the parking path is the shortest. The following takes the first herringbone parking mode as an example and describes two situations of the parking mode.
[0105] When the first herringbone parking mode condition is met, it is verified whether the total path length of the parking path provided by the present invention reaches the minimum.
[0106] like Figure 6 As shown, assume that the length of AB is R, the length of BC is 2*R, and R is the minimum turning radius of the vehicle.
[0107] Assume that the vehicle moves forward in a straight line from point A for x meters (0 <= x <= 2*R), then turns left with the minimum turning radius to point H, then turns right with the minimum turning radius and moves back to point G, and finally moves back in a straight line to the end point C. Now find the relationship between the total path length and x.
[0108] As shown in the figure below, the change in the vehicle's heading angle is pi / 4, so the sum of the lengths of arc FH and arc HG is exactly one quarter of the arc.
[0109] Total path length LEN:
[0110] LEN=AF+pi*R / 2+GC
[0111] =AF+pi*R / 2+BC+OF-ON
[0112] =AF+pi*R / 2+2*R+R-(OM^2-MN^2)^0.5
[0113] =x+pi*R / 2+3*R-((2*R)^2-(2*Rx)^2)^0.5
[0114] =x+pi*R / 2+3*R-(4*R*xx^2)^0.5
[0115] exist Figure 6 , where x is a smaller value.
[0116] For the situation in the figure, where x takes a larger value, the expression of the total path length LEN can be derived through the following derivation process.
[0117] The derivative of LEN with respect to x is as follows:
[0118] d(LEN) / d(x)=1-0.5(4*R*xx^2)^(-0.5)*(4*R-2*x)
[0119] =1-(2*Rx) / ((4*R*xx^2)^0.5)
[0120] Let d(LEN) / d(x)=0
[0121] (2*Rx)=(4*R*xx^2)^0.5
[0122] (2*R - x)^2 = 4*R*x - x^2
[0123] x^2 - 4*R*x + 2*R^2 = 0
[0124] 0 <= x <= 2*R
[0125] x = (2 - √2)*R。
[0126] As can be seen from the above, in the formula d(LEN) / d(x):
[0127] The numerator 2*R - x is monotonically decreasing on [0, 2*R];
[0128] The denominator √(4*R*x - x^2) is monotonically increasing on [0, 2*R];
[0129] Therefore, when 0 <= x < (2 - √2)*R, d(LEN) / d(x) is negative and LEN is monotonically decreasing;
[0130] When x = (2 - √2)*R, d(LEN) / d(x) is zero and LEN reaches the minimum value;
[0131] When (2 - √2)*R < x < 2*R, d(LEN) / d(x) is positive and LEN is monotonically increasing;
[0132] So when x = (2 - √2)*R, LEN reaches the minimum value and x = AF;
[0133] The first threshold L0 in the previous text = FB = AB - AF = R - (2 - √2)*R = (√2 - 1)*R.
[0134] As can be seen from the above, the herringbone parking method provided by the present invention makes the parking path in the corresponding interval the shortest. It can be understood that by using a similar method, it is easy to verify that the total parking path corresponding to the second herringbone parking method is the shortest in the corresponding interval. Moreover, the C-shaped parking method provided by the present invention uses straight driving and reverse turning with the minimum turning radius, which is undoubtedly the shortest parking path in the corresponding interval.
[0135] As Figure 8 shown, there is shown a path planning system for automatically parking into a vertical parking space provided by the present invention. In combination with Figures 9 to 11 shown, in this embodiment, the path planning system 1 for automatically parking into a vertical parking space at least includes:
[0136] A relative position detection unit 10 for detecting the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked; the positional relationship is the front-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the vehicle head;
[0137] The optimal parking mode determining unit 11 determines the optimal parking mode corresponding to the distance according to the position relationship and the distance between the two, wherein the optimal parking mode at least includes a first herringbone parking mode, a second herringbone parking mode, and a C-shaped parking mode;
[0138] The parking processing unit 12 is used to automatically park the vehicle into the vertical parking space to be parked according to the optimal parking method.
[0139] like Fig. 9 As shown, specifically, the relative position detection unit 10 further includes:
[0140] The position detection unit 100 is used to detect the position relationship between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, and determine whether the center point of the rear axle is located behind the longitudinal center line or in front of the longitudinal center line in the direction of the front of the vehicle;
[0141] The distance calculation unit 101 is used to calculate the vertical distance between the rear axle center point and the longitudinal center line, and determine it as the distance between the two.
[0142] like Fig.10 As shown, specifically, the optimal parking mode determination unit 11 further includes:
[0143] A threshold comparison unit 110 is used to compare the positional relationship and distance between the two with a first threshold distance located behind the longitudinal centerline and a second threshold distance located in front of the centerline;
[0144] a determination unit 111, configured to determine that the current best parking method is the first herringbone parking method if the comparison result of the threshold comparison unit is that the center of the rear axle is located behind the longitudinal center line and the distance is greater than a first threshold distance;
[0145] If the comparison result shows that the rear axle center of the current vehicle is located in front of the longitudinal center line and the distance is greater than a second threshold distance, it is determined that the current optimal parking method is a C-shaped parking method, and the second threshold distance is greater than the first threshold distance.
[0146] When the comparison result is that the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to the first threshold distance; or the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to the second threshold distance, it is determined that the current optimal parking method is the second herringbone parking method.
[0147] like Fig.11 As shown, specifically, the parking processing unit 12 further includes:
[0148] The first parking processing unit 120 is configured to, when the determined optimal parking mode is the first herringbone parking mode, control the vehicle to drive straight forward so that the center point of its rear axle reaches the first threshold distance; rotate the steering wheel in a first direction so that the front of the vehicle turns away from the vertical parking space to be parked to a calculated predetermined position; rotate the steering wheel in a reverse direction so that the vehicle reverses and turns until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue to reverse, and park the vehicle in the parking space;
[0149] The second parking processing unit 121 is configured to, when the determined optimal parking mode is the second herringbone parking mode, rotate the steering wheel in a first direction to make the front of the vehicle turn forward to a calculated predetermined position in a direction away from the vertical parking space to be parked; rotate the steering wheel in a reverse direction to reversely turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; and straighten the steering wheel and continue to reverse to park the vehicle in the parking space.
[0150] The third parking processing unit 122 is configured to, when the determined optimal parking manner is the C-shaped parking manner, control the vehicle to travel in a straight line so that the distance between the center point of the rear axle on the second side and the longitudinal center line reaches a minimum reversing radius, rotate the steering wheel in a second direction so that the rear end of the vehicle approaches the vertical parking space to be parked, reverse and turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue reversing, and park the vehicle in the parking space.
[0151] Wherein, the first threshold distance L0 is: L0=(2^0.2-1)*R;
[0152] The second threshold distance L1 is: L1 = R-0.15m;
[0153] Among them, R is the minimum turning radius of the vehicle;
[0154] The predetermined position is obtained by the vehicle's automatic parking planning device through real-time calculation according to the current environment;
[0155] The vehicle is driven with a minimum turning radius both in forward turning and reverse turning during the parking process.
[0156] For more details, please refer to and combine the above Figures 1 to 8 The description is not repeated here.
[0157] Another aspect of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, Figures 1 to 7 For more details, please refer to and combine with the above Figures 1 to 7 The description is not repeated here.
[0158] In another aspect of the present invention, a computing device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, Figures 1 to 7 For more details, please refer to and combine with the above Figures 1 to 7 In a specific application, the computing device may be a chip used for automatic parking planning and parking processing in a vehicle.
[0159] Another aspect of the present invention further provides a vehicle, on which at least an automatic parking planning device is provided, wherein the automatic parking planning device is deployed as follows Figures 8 to 11 For more details, please refer to and combine with the above Figures 8 to 11 The description is not repeated here.
[0160] The implementation of the embodiments of the present invention has the following beneficial effects:
[0161] The present invention provides a path planning method, system, device, storage medium and vehicle for automatically parking in a vertical parking space. By detecting the position relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, the corresponding optimal parking method is determined according to the position relationship and distance between the two. The herringbone parking method and the C-shaped parking method can be adaptively selected as the direction of the first step of planning, so as to minimize the total path length and improve the parking efficiency.
[0162] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0163] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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.
[0164] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A path planning method for automatic parking in a vertical parking space, It is characterized in that At least the following steps are included: Detecting the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, wherein the positional relationship is the front-to-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the front of the vehicle; According to the position relationship and distance between the two, a corresponding optimal parking mode is determined, wherein the optimal parking mode at least includes a first herringbone parking mode, a second herringbone parking mode, and a C-shaped parking mode; The vehicle is automatically parked in the vertical parking space to be parked according to the optimal parking method.
2. The method according to claim 1, It is characterized in that Determining the corresponding optimal parking method according to the position relationship and distance between the two further includes: comparing the positional relationship with a distance, the distance being a vertical distance between a center point of a rear axle and the longitudinal center line; If the center of the rear axle is located behind the longitudinal centerline along the current vehicle front direction, and the distance is greater than a first threshold distance, determining that the current best parking method is the first herringbone parking method; If the rear axle center is located in front of the longitudinal center line and the distance is greater than a second threshold distance, it is determined that the current optimal parking method is a C-shaped parking method, and the second threshold distance is greater than the first threshold distance. If the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to a first threshold distance; or the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to a second threshold distance, it is determined that the current best parking method is the second herringbone parking method.
3. The method according to claim 2, It is characterized in that The method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further includes: When the determined optimal parking manner is the first herringbone parking manner, controlling the vehicle to move forward in a straight line so that the center point of its rear axle reaches the first threshold distance; Rotating the steering wheel in a first direction so that the front of the vehicle turns away from the vertical parking space to be parked to the calculated predetermined position; Rotate the steering wheel in the opposite direction and reverse the vehicle until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline; Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
4. The method according to claim 2, It is characterized in that The method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further includes: When the determined optimal parking manner is the second herringbone parking manner, rotating the steering wheel in a first direction so that the front of the vehicle turns forward in a direction away from the vertical parking space to be parked to a calculated predetermined position; Rotate the steering wheel in the opposite direction to reverse the vehicle until the longitudinal axis of the vehicle is coincident with or parallel to the longitudinal centerline; Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
5. The method according to claim 2, It is characterized in that The method of automatically parking the vehicle into the vertical parking space to be parked according to the optimal parking method further includes: When the determined optimal parking manner is a C-shaped parking manner, the vehicle is controlled to travel in a straight line so that the distance between the center point of the rear axle on the second side and the longitudinal center line reaches a minimum reversing radius Rotating the steering wheel in a second direction so that the rear end of the vehicle approaches the vertical parking space to be parked, and reverses and turns until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal centerline; Return the steering wheel to the center position, continue to reverse, and park the vehicle into the parking space.
6. The method according to any one of claims 2 to 5, It is characterized in that in: The first threshold distance L0 is determined by the following formula: L0=(2^0.2-1)*R; The second threshold distance L1 is determined by the following formula: L1 = R-0.15m; Among them, R is the minimum turning radius of the vehicle; The predetermined position is obtained by the vehicle's automatic parking planning device through real-time calculation according to the current environment; The vehicle is driven with a minimum turning radius both in forward turning and reverse turning during the parking process.
7. A path planning system for automatic parking in a vertical parking space, It is characterized in that At least: A relative position detection unit, used to detect the positional relationship and distance between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, wherein the positional relationship is the front-to-back relationship between the center point of the rear axle and the longitudinal center line in the direction of the front of the vehicle; an optimal parking mode determining unit, which determines an optimal parking mode corresponding to the distance according to the position relationship and the distance between the two, wherein the optimal parking mode at least includes a first herringbone parking mode, a second herringbone parking mode, and a C-shaped parking mode; The parking processing unit is used to automatically park the vehicle into the vertical parking space to be parked according to the optimal parking method.
8. The system of claim 7, It is characterized in that The relative position detection unit further comprises: A position detection unit, used to detect the positional relationship between the center point of the rear axle of the current vehicle and the longitudinal center line of the vertical parking space to be parked, and determine whether the center of the rear axle is located behind the longitudinal center line or in front of the longitudinal center line in the direction of the front of the vehicle; a distance calculation unit, for calculating a vertical distance between the center point of the rear axle and the longitudinal center line, and determining the distance between the two; The optimal parking mode determination unit further comprises: a threshold comparison unit for comparing the positional relationship and distance between the two with a first threshold distance located behind the longitudinal centerline and a second threshold distance located in front of the centerline; a determination unit, configured to determine that the current best parking mode is the first herringbone parking mode when the comparison result of the threshold comparison unit is that the center of the rear axle is located behind the longitudinal centerline and the distance is greater than a first threshold distance; If the comparison result shows that the center of the rear axle is located in front of the longitudinal centerline and the distance is greater than a second threshold distance, it is determined that the current optimal parking method is a C-shaped parking method, and the second threshold distance is greater than the first threshold distance; When the comparison result is that the center of the rear axle is located behind the longitudinal centerline and the distance is less than or equal to the first threshold distance; or the center of the rear axle is located in front of the longitudinal centerline and the distance is less than or equal to the second threshold distance, it is determined that the current optimal parking method is the second herringbone parking method.
9. The system of claim 8, It is characterized in that The parking processing unit further comprises: a first parking processing unit, configured to, when the determined optimal parking mode is the first herringbone parking mode, control the vehicle to drive straight forward so that the center point of its rear axle reaches the first threshold distance; rotate the steering wheel in a first direction so that the front of the vehicle turns away from the vertical parking space to be parked to a calculated predetermined position; rotate the steering wheel in a reverse direction so that the vehicle reverses and turns until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue to reverse, and park the vehicle in the parking space; The second parking processing unit is configured to, when the determined optimal parking manner is the second herringbone parking manner, rotate the steering wheel in a first direction to make the front of the vehicle turn forward to a calculated predetermined position in a direction away from the vertical parking space to be parked; rotate the steering wheel in a reverse direction to reversely turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; and straighten the steering wheel and continue to reverse to park the vehicle in the parking space. The third parking processing unit is configured to, when the determined optimal parking manner is the C-shaped parking manner, control the vehicle to travel in a straight line so that the distance between the center point of the rear axle on the second side and the longitudinal center line reaches a minimum reversing radius, rotate the steering wheel in a second direction, make the rear end of the vehicle approach the direction of the vertical parking space to be parked, reverse and turn until the longitudinal axis of the vehicle coincides with or is parallel to the longitudinal center line; straighten the steering wheel, continue to reverse, and park the vehicle in the parking space.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
11. A computing device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
12. A vehicle, on which at least an automatic parking planning device is provided, wherein the path planning system for automatic parking in a vertical parking space as claimed in any one of claims 7 to 9 is deployed in the automatic parking planning device.
Citation Information
Cited By
Path planning method, system and apparatus for automatically parking in vertical parking space, storage medium, and vehicle
EP4653279A1
Path planning method, system and apparatus for automatically parking in vertical parking space, storage medium, and vehicle
WO2024183247A1
