Path planning method, device and equipment for automatically parking in parking space and medium

Through reverse exit path planning and obstacle location optimization, the problems of high path planning complexity and low success rate in existing automatic parking technology are solved, and efficient automatic parking of vehicles in different models and scenarios is achieved.

CN118529033APending Publication Date: 2024-08-23WUHAN LOTUS CARS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410717820.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing automatic parking technology, the imperfect construction of high-precision maps and the lack of unified standards lead to high complexity, long time-consuming and low success rate of parking path planning. In particular, the initial parking position of the vehicle is not flexible enough to adapt to different models and types. Parking scene.

Method used

By obtaining the information of the vehicle to be parked, the location information of obstacles and the information of the parking space to be parked, the parking target point is determined, and the vehicle is simulated to leave the parking lot in the reverse direction from the parking target point, and multiple optional exit trajectories are generated, combining the location of obstacles and the parking space information. Vehicle size information is used to plan the vehicle's automatic parking path to ensure that the vehicle can smoothly turn into the warehouse.

Benefits of technology

It improves the success rate of automatic parking of vehicles and the flexibility of path planning, reduces the amount of calculation and time-consuming, avoids restrictions on preset parking locations, and enhances the parking capabilities of vehicles in different models and parking scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118529033A
    Figure CN118529033A
Patent Text Reader

Abstract

The invention provides a path planning method and device for automatic parking in a parking space, equipment and a medium. The method comprises the following steps: acquiring to-be-parked vehicle information, obstacle position information and to-be-parked parking space information; determining the position information of a parking target point in the parking space to be parked according to the information of the parking space to be parked and the position information of the midpoint of the rear axle of the wheel; according to the obstacle position information and the vehicle size information, taking the parking target point as a starting point, simulating that the to-be-parked vehicle is driven out of the parking space, and obtaining vehicle driving-out tracks corresponding to a plurality of different steering angles; according to the obstacle position information, the current vehicle course information, the vehicle steering angle range and the position information of the wheel rear axle midpoint, a target cut-in path from the wheel rear axle midpoint to the target vehicle driving-out track is determined; and combining the target cut-in path and the target vehicle driving-out track to obtain a target automatic parking path corresponding to the to-be-parked vehicle. According to the method, the flexibility of the initial parking position of the vehicle is improved, and the success rate of automatic parking of the vehicle is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and in particular to a path planning method, device, equipment and medium for automatic parking. Background Art

[0002] With the vigorous development of new energy vehicles, with the support of sensor technology and intelligent technology, vehicles are becoming more and more intelligent, and the functions of advanced driver assistance systems are becoming more and more. Since parking is a big problem for novice drivers and people who don't drive often, various parking scenarios can easily cause vehicles to be unable to park or scratch. The parking technology in the advanced driver assistance system function, especially the autonomous parking technology, has received great attention from users.

[0003] Due to the incomplete construction of high-precision maps, the lack of unified standards, and the additional costs, in order to reduce the dependence on high-precision maps and ensure the success rate of parking, related autonomous parking solutions usually preset a target position range that is convenient for vehicles to turn and enter the garage. The vehicle must enter the preset target position range manually or automatically, and then try to park with the minimum radius. If it cannot be parked, the route planning for the garage is carried out.

[0004] However, this method of presetting the initial parking position of the vehicle is not only less flexible, but also due to the different sizes of vehicle models and minimum turning radius, after the vehicle enters the target position range, it is often not possible to turn in once and requires complex parking route planning. During the parking route planning stage, not only is the planning complexity high and time-consuming, but the number of attempts to autonomously park the vehicle is usually limited, and the success rate is also low. Summary of the invention

[0005] The embodiments of the present application provide a path planning method, device, equipment and medium for automatic parking, which are intended to improve the flexibility of the initial stop position of a vehicle before parking into a parking space, reduce the time consumed in vehicle parking path planning and vehicle autonomous parking, and improve the success rate of vehicle automatic parking.

[0006] In a first aspect, an embodiment of the present application provides a path planning method for automatic parking, comprising:

[0007] Obtaining information about the vehicle to be parked, information about the position of the obstacle and information about the parking space to be parked; the information about the vehicle to be parked includes information about the size of the vehicle to be parked, a range of vehicle steering angles and vehicle posture information; current vehicle heading information, the vehicle posture information includes current vehicle heading information and position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked; the obstacle position information indicates the position of the obstacle within a preset range from the parking space to be parked; the current vehicle heading information indicates the current driving direction of the vehicle to be parked; the vehicle steering angle range indicates the range of steering angles of the vehicle to be parked when turning;

[0008] Determine the position information of a parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position that the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked;

[0009] According to the obstacle position information and the vehicle size information, taking the parking target point as the starting point, simulating the vehicle to be parked driving out of the parking space, and obtaining vehicle driving-out trajectories corresponding to a plurality of different steering angles; each of the steering angles is within the vehicle steering angle range;

[0010] Determine a target cut-in path for the midpoint of the rear axle of the wheel to reach a target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of a plurality of vehicle exit trajectories;

[0011] The target cut-in path and the target vehicle exit trajectory are combined to obtain a target automatic parking path corresponding to the vehicle to be parked.

[0012] In a possible implementation manner, the vehicle exit trajectory includes a front-pulling trajectory and a target arc turning trajectory; the starting point of the front-pulling trajectory is the parking target point, and the end point is the front-pulling target point; the front-pulling target point is located on the central axis of the parking space to be parked; the starting point of the target arc turning trajectory is the front-pulling target point; according to the obstacle position information and the vehicle size information, taking the parking target point as the starting point, simulating the vehicle to be parked exiting the parking space, and obtaining a plurality of vehicle exit trajectories corresponding to different steering angles, respectively, including:

[0013] determining a minimum turning radius of the vehicle to be parked based on the vehicle turning angle range and the vehicle size information;

[0014] According to the obstacle position information, the vehicle turning starting point is determined with the goal of not interfering with the obstacle when turning out of the garage using the minimum turning radius;

[0015] Determine the vehicle turning starting point as the front pulling target point;

[0016] According to the obstacle position information and the vehicle size information, taking the front pull target point as the starting point, simulating the vehicle to be parked to drive out of the parking space at multiple different steering angles within the vehicle steering angle range, to obtain multiple target arc steering trajectories;

[0017] The front-pulling trajectory is combined with each of the target arc turning trajectories to obtain a plurality of the vehicle exit trajectories.

[0018] In a possible implementation manner, based on the obstacle position information and the vehicle size information, taking the front pull target point as a starting point, simulating the vehicle to be parked to drive out of the parking space at multiple different steering angles within the vehicle steering angle range to obtain multiple target arc steering trajectories, including:

[0019] Within the vehicle steering angle range, selecting a plurality of steering angles at preset steering angle intervals to obtain a steering angle set;

[0020] For each steering angle in the steering angle set, taking the front-pull target point as a starting point, simulating the steering of the to-be-parked vehicle fixed at the steering angle according to the vehicle size information, and driving out of the to-be-parked parking space, to obtain a candidate arc steering trajectory corresponding to the steering angle;

[0021] When the candidate circular arc turning trajectory does not interfere with the obstacle indicated by the obstacle position information, the candidate circular arc turning trajectory is determined as the target circular arc turning trajectory.

[0022] In a possible implementation manner, determining the position information of the parking target point in the parking space to be parked according to the parking space information to be parked and the position information of the midpoint of the rear axle of the wheel includes:

[0023] Acquire the parking space length of the parking space to be parked based on the parking space information, and acquire the vehicle length of the vehicle to be parked based on the vehicle size information;

[0024] Obtaining a difference between the length of the parking space and the length of the vehicle to be parked to obtain a surplus length;

[0025] According to the position information of the midpoint of the rear axle of the wheel, the distance between the midpoint of the rear axle of the wheel and the rear of the vehicle to be parked is acquired to obtain a first distance;

[0026] Determine a target distance according to the margin length and the first distance; the target distance is greater than the first distance, and a difference between the target distance and the first distance is greater than a preset safety distance threshold;

[0027] On the central axis of the parking space to be parked, a point whose distance from the bottom edge of the parking space is the target distance is determined as the parking target point.

[0028] In a possible implementation manner, determining a target cut-in path for the midpoint of the rear axle of the wheel to reach the exit trajectory of the target vehicle according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range, and the position information of the midpoint of the rear axle of the wheel includes:

[0029] For each vehicle exit trajectory, based on the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, with the goal of reaching a trajectory point in the vehicle exit trajectory, determine a first feasible cut-in trajectory for the midpoint of the rear axle of the wheel to move to reach the vehicle exit trajectory, and add each of the first feasible cut-in trajectories to a set of feasible cut-in trajectories;

[0030] When the set of feasible cutting-in trajectories includes a single first feasible cutting-in trajectory, determining the first feasible cutting-in trajectory as the target cutting-in path;

[0031] When the feasible cutting-in trajectory set includes a plurality of the first feasible cutting-in trajectories, a target feasible cutting-in trajectory is selected from the feasible cutting-in trajectory set as the target cutting-in path based on a preset trajectory selection strategy.

[0032] In a possible implementation manner, determining a target cut-in path for the midpoint of the rear axle of the wheel to reach the exit trajectory of the target vehicle based on the obstacle position information, the current vehicle heading information, the vehicle steering angle range, and the position information of the midpoint of the rear axle of the wheel further includes:

[0033] When there is no feasible cut-in trajectory in the set of feasible cut-in trajectories, for each vehicle exit trajectory, simulating a reverse gear operation of the vehicle without steering at the end of the vehicle exit trajectory to form an adjustment trajectory line;

[0034] According to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, with reaching the end point of the adjustment trajectory line as the goal, determining the adjustment access trajectory of the midpoint of the rear axle of the wheel to move to the adjustment trajectory line;

[0035] Combining the adjusted access trajectory with the corresponding adjusted trajectory line to obtain a second feasible cut-in trajectory, and adding the second feasible cut-in trajectory to the feasible cut-in trajectory set;

[0036] When the set of feasible cutting-in trajectories includes a single second feasible cutting-in trajectory, determining the feasible cutting-in trajectory as the target cutting-in path;

[0037] When the feasible cutting-in trajectory set includes a plurality of the second feasible cutting-in trajectories, a target feasible cutting-in trajectory is selected from the feasible cutting-in trajectory set as the target cutting-in path based on a preset trajectory selection strategy.

[0038] In a possible implementation manner, selecting a target feasible entry trajectory from the set of feasible entry trajectories as the target entry path based on a preset trajectory selection strategy includes:

[0039] Obtaining the total number of trajectory segments corresponding to each trajectory in the feasible entry trajectory set; the total number of trajectory segments is the sum of the number of straight line segments and curve segments included in the trajectory;

[0040] The trajectory with the smallest total number of corresponding trajectory segments is determined as the target entry path.

[0041] In a second aspect, an embodiment of the present application provides a path planning device for automatic parking, comprising:

[0042] an acquisition module, for acquiring information of a vehicle to be parked, information of an obstacle position and information of a parking space to be parked; the information of the vehicle to be parked includes information of the vehicle size, a range of vehicle steering angles and vehicle posture information of the vehicle to be parked; the vehicle posture information includes current vehicle heading information and position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked; the obstacle position information indicates the position of an obstacle within a preset range from the parking space to be parked; the current vehicle heading information indicates the current driving direction of the vehicle to be parked; the vehicle steering angle range indicates the range of steering angles of the vehicle to be parked when turning;

[0043] a determination module, configured to determine position information of a parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position where the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked;

[0044] A first path planning module is used to simulate the vehicle to be parked driving out of the parking space based on the obstacle position information and the vehicle size information, taking the parking target point as the starting point, and obtain vehicle driving-out trajectories corresponding to a plurality of different steering angles; each of the steering angles is within the vehicle steering angle range;

[0045] A second path planning module is used to determine a target cut-in path for the midpoint of the rear axle of the wheel to reach a target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of a plurality of vehicle exit trajectories;

[0046] The combination module is used to combine the target cut-in path and the target vehicle exit trajectory to obtain a target automatic parking path corresponding to the vehicle to be parked.

[0047] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor executes the method described in the first aspect above.

[0048] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in the first aspect above.

[0049] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which implements the method described in the first aspect when executed by a processor.

[0050] The embodiments of the present application provide a path planning method, device, equipment and medium for automatic parking. Due to the reversibility of the trajectory, a parking target point that a vehicle to be parked in the parking space to be parked needs to reach is determined based on the information of the parking space to be parked and the position information of the midpoint of the rear axle of the wheel. Then, according to the obstacle position information, a reverse exit of the vehicle to be parked from the parking space is simulated starting from the parking target point to determine multiple optional vehicle exit trajectories, thereby realizing trajectory planning for the smooth turning into the parking space during the parking process. On this basis, the vehicle is planned to cut into the vehicle exit trajectory for turning into the parking space from the current parking position, thereby completing the full path planning for automatic parking of the vehicle. Compared with the prior art that requires vehicles to park in a preset position area and usually requires complex warehouse route planning to ensure that the vehicle can turn smoothly into the warehouse, the present application adopts reverse exit path planning to ensure that the vehicle can turn smoothly into the warehouse. It not only has a small amount of calculation and less time consumption, but also ensures that the vehicle turns smoothly into the warehouse. In addition, since reverse planning obtains multiple vehicle exit trajectories, the planning success rate of the vehicle from the current position to the vehicle exit trajectory can be guaranteed. The vehicle does not have to stay in the preset position area in advance, which improves the flexibility of the vehicle's initial parking position and the success rate of the vehicle's automatic parking. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0052] Figure 1 A schematic diagram of a scenario of a method, device, equipment and medium for automatically parking a parking space provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of a process for automatically parking a parking space provided in an embodiment of the present application Figure 1 ;

[0054] Figure 3 A schematic diagram of a global coordinate system established based on information of a parking space to be parked provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of the process of reverse planning of a vehicle exit trajectory provided by an embodiment of the present application;

[0056] Figure 5 A schematic diagram of a process in which a vehicle to be parked cuts into a vehicle exit trajectory from a current parking position provided by an embodiment of the present application;

[0057] Figure 6 A schematic diagram of another process of reverse planning of a vehicle exit trajectory provided by an embodiment of the present application;

[0058] Figure 7 A schematic diagram of a process for automatically parking a parking space provided in an embodiment of the present application Figure 2 ;

[0059] Figure 8 A schematic diagram of a process for automatically parking a parking space provided in an embodiment of the present application Figure 3 ;

[0060] Fig. 9 A schematic diagram of a process for planning a target access path provided in an embodiment of the present application;

[0061] Fig.10 A schematic diagram of a process of planning and adjusting a trajectory line and adjusting an access trajectory provided in an embodiment of the present application;

[0062] Fig.11 A schematic diagram of the structure of a path planning device for automatic parking in an embodiment of the present application;

[0063] Fig.12 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application.

[0064] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0066] Figure 1 A schematic diagram of a scenario of a path planning method, device, equipment and medium for automatic parking provided in this application, such as Figure 1 As shown, the vehicle to be parked needs to be parked in the parking space to be parked.

[0067] For an example, see Figure 1 In order to ensure the success rate of vehicle turning into the garage, a target position range that is convenient for the vehicle to turn and enter the garage is usually preset based on the parking space information and the current vehicle position information, such as Figure 1 As shown, the vehicle must manually or automatically drive into the preset target position range, and then try to park in with the minimum turning radius. If it cannot be parked, the parking route planning is carried out.

[0068] However, this method of presetting the initial parking position of the vehicle before parking is not only less flexible, but also due to the different sizes of vehicle models and minimum turning radius, after the vehicle enters the target position range, it is often not possible to turn in once and requires complex parking route planning. During the parking route planning stage, not only is the planning complexity high and time-consuming, but the number of attempts set for the vehicle to park autonomously is usually limited, and the success rate is still low.

[0069] The present application provides a path planning method, device, equipment and medium for automatic parking. By first reversely planning the vehicle's exit trajectory and then planning the vehicle's entry path to the vehicle's exit path, it ensures that the vehicle can be successfully parked in one go during the process of turning into the parking space, without the need for additional parking maneuvers, thereby solving the technical problems of high complexity, long time consumption and low success rate in the path planning of automatic parking of vehicles.

[0070] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0071] Figure 2 A flow chart of the path planning method for automatic parking provided in this application, such as Figure 2 As shown, the method includes:

[0072] Step S201, obtaining information about the vehicle to be parked, information about the position of obstacles and information about the parking space to be parked; the information about the vehicle to be parked includes information about the vehicle size, the range of the vehicle steering angle and the vehicle posture information; the vehicle posture information includes the current vehicle heading information and the position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked.

[0073] The waiting-to-park vehicle is a vehicle that needs to be automatically parked in a parking space, and the parking space to be parked is a parking space that the waiting-to-park vehicle needs to park in. In one example, after the waiting-to-park vehicle arrives near the parking space setting area, a camera, radar or other detection equipment can be used to detect an empty parking space as the parking space to be parked. After that, the vehicle stops driving and starts to execute the above-mentioned path planning method for automatic parking provided by the present application. After determining the automatic parking path, the vehicle drives according to the automatic parking path to realize automatic parking in the parking space to be parked.

[0074] In order to realize the path planning for the vehicle to automatically park into the parking space, so that the vehicle can automatically park into the parking space from the current position, it is necessary to first obtain the above-mentioned information of the vehicle to be parked, the obstacle position information and the parking space to be parked information.

[0075] Among them, the parking space information to be parked can indicate the position and size of the parking space to be parked; the obstacle position information indicates the position of the obstacle within a preset range from the parking space to be parked. The above obstacle position information can be obtained by relying on the sensors configured for the vehicle, and the selection of the preset range can be determined according to the actual situation. For example, the obstacle position information can indicate the position information of obstacles such as walls, pillars, and vehicles next to the parking space to be parked.

[0076] The above-mentioned information of the vehicle to be parked includes the vehicle size information, the vehicle steering angle range and the vehicle posture information of the vehicle to be parked. The vehicle size information may include the length m and width n of the vehicle. The vehicle steering angle range may indicate the range of steering angles of the vehicle when turning (for example, 0-40 degrees). The vehicle posture information is used to characterize the current position and posture of the vehicle, including the position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked and the current vehicle heading information. Among them, the midpoint of the rear axle of the wheel is the midpoint position of the rear axle of the vehicle, and the position information of the midpoint of the rear axle of the wheel can indicate the position information of the midpoint of the rear axle of the current vehicle. Through the analysis of the focus points of the driver's actual reversing into the garage, the midpoint of the rear axle of the wheel is a relatively fixed and characteristic point in the vehicle, and the position of the midpoint of the rear axle of the wheel relative to the entire vehicle remains unchanged. The midpoint of the rear axle of the wheel is used as a reference point when parking the vehicle into the parking space.

[0077] In one example, when the midpoint of the rear axle of the wheel is used as the parking reference point, the current vehicle heading information and the position information of the midpoint of the rear axle of the wheel may be simultaneously included in the posture information of the midpoint V of the rear axle of the wheel, and the posture information of the midpoint of the rear axle of the wheel may include position parameters (e.g., position coordinates) and heading parameters.

[0078] Exemplarily, in the process of acquiring information about the vehicle to be parked, the position of obstacles and the parking space to be parked, the vehicle may first acquire information about the parking space to be parked based on sensors, and on this basis, establish a global coordinate system based on the location of the parking space to be parked, and acquire vehicle posture information of the vehicle to be parked in the global coordinate system, including the current vehicle heading information and the position information of the midpoint of the rear axle of the wheel, and determine the obstacle position information based on the global coordinate system using sensors.

[0079] For an example, please see Figure 3 , Figure 3 FIG. 1 shows a schematic diagram of establishing a global coordinate system based on the information of the parking space to be parked. Figure 3 As shown, based on the position of the parking space to be parked, and the length Y and width X of the parking space, a coordinate system is established with the center point O of the parking space entrance as the origin, the direction horizontal to the parking space entrance as the x-axis direction, and the direction parallel to the length of the parking space as the y-axis direction. On this basis, the position information of the midpoint V of the rear axle of the wheel and the current vehicle heading information are obtained to obtain V(x, y, a), where (x, y) is the position coordinate of the midpoint V of the rear axle of the wheel, and a is the angle between the Y axis of the coordinate system and the front of the vehicle; the vertical distance L between the obstacle on the road side where the vehicle is parked and the plane where the parking space entrance is located is obtained. Wherein, L can be the actual distance of the obstacle. For example, in order to leave a cache distance, the value of L can be smaller than the actual distance of the obstacle.

[0080] Step S202, determining the position information of a parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position that the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked in the parking space.

[0081] In this embodiment, Figure 3 As shown, since the midpoint V of the rear axle of the wheel is the reference point in the path planning process, it is necessary to determine the position of the midpoint V of the rear axle of the wheel to be parked when the vehicle completes parking, that is, the position of the parking target point P. Since the midpoint of the rear axle of the wheel is located on the center axis of the wheel, the parking target point in the parking space to be parked is also set on the center axis of the parking space to be parked.

[0082] In one example, the parking target point can be determined in the parking space according to the relative position of the midpoint of the rear axle of the wheel in the vehicle. For example, the distance between the midpoint of the rear axle of the wheel and the rear of the vehicle can be obtained to obtain a first distance D1, and then based on the first distance D1, a point on the central axis of the parking space that is a target distance D2 from the bottom of the parking space is used as the parking target point.

[0083] Step S203, based on the obstacle position information and the vehicle size information, starting from the parking target point, simulate the vehicle to be parked driving out of the parking space to obtain vehicle driving out trajectories corresponding to multiple different steering angles; each steering angle is within the vehicle steering angle range.

[0084] For example, a vehicle model of the vehicle to be parked can be established based on the vehicle size information (including vehicle length m and vehicle width n) and the vehicle steering angle range of the vehicle to be parked. When the center point of the rear axle of the wheel of the vehicle to be parked is located at the parking target point based on the vehicle model, the vehicle is taken as the starting point and obstacle avoidance is taken as the goal. The vehicle exits the parking lot at different steering angles to obtain multiple feasible vehicle exit trajectories that do not interfere with obstacles.

[0085] For an example, see Figure 4 , is a schematic diagram of the process of reverse planning of a vehicle exit trajectory provided by an embodiment of the present application. In this process, multiple steering angles can be selected within the vehicle steering angle range at a preset steering angle interval to obtain a steering angle set; for each steering angle in the steering angle set, the parking target point P is used as the starting point, and the steering of the to-be-parked vehicle is simulated according to the vehicle size information. When the steering angle is fixed, the to-be-parked vehicle exits the to-be-parked parking space, and the candidate vehicle exit trajectory corresponding to the steering angle is obtained, such as Figure 4 As shown in , from one side of the parking space, 5 candidate vehicle exit trajectories are obtained; when the candidate vehicle exit trajectory does not interfere with the obstacle indicated by the obstacle position information, the candidate vehicle exit trajectory is determined as the vehicle exit trajectory. Figure 4As shown, two of the five candidate vehicle exit trajectories (the trajectories shown by the dotted lines in the figure) interfere with the obstacles around the parking space, so the remaining three candidate vehicle exit trajectories (the trajectories shown by the solid lines in the figure) are determined as vehicle exit trajectories.

[0086] The value of the preset steering angle interval can be determined according to actual conditions. For example, 5 degrees can be used as the steering angle interval.

[0087] Step S204, determining a target cut-in path for the midpoint of the rear axle of the wheel to reach the target vehicle exit trajectory based on the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of the multiple vehicle exit trajectories.

[0088] In this embodiment, after the vehicle exit trajectory has been determined, due to the reversibility of the trajectory, if the midpoint of the rear axle of the wheel of the vehicle to be parked can move and cut into the vehicle exit trajectory, the vehicle can then reverse into the parking space to be parked according to the vehicle exit trajectory.

[0089] like Figure 5 As shown, it is a schematic diagram of the process of planning the parking vehicle to be parked from the current parking position (i.e. the actual position) to cut into the vehicle exit trajectory provided by the present application. It should be noted that the midpoint of the rear axle of the wheel of the above-mentioned vehicle to be parked can move and cut into the vehicle exit trajectory, which means that the midpoint V of the rear axle of the wheel of the vehicle to be parked can reach a certain trajectory point in the vehicle exit trajectory, and when the midpoint V of the rear axle of the wheel reaches the trajectory point, the driving mode of the vehicle (also refer to the angle of the midpoint V of the rear axle of the wheel) is consistent with the tangent direction of the trajectory point in the vehicle exit trajectory. In other words, for the above-mentioned target entry path, if the trajectory point where the vehicle reaches the vehicle exit trajectory is point F, when the vehicle to be parked travels according to the target entry path to reach the vehicle exit trajectory, the driving direction of the vehicle is consistent with the tangent direction of the trajectory point F on the vehicle exit trajectory, so that the vehicle cuts in from the current position to the vehicle exit trajectory.

[0090] For example, in the process of determining the target cut-in path, a vehicle model of the vehicle to be parked can be established based on the vehicle size information and the vehicle steering angle range of the vehicle to be parked. Based on the vehicle model, the midpoint of the rear axle of the wheel of the vehicle to be parked is simulated starting from the actual position, with the goal of avoiding obstacles, and a feasible target cut-in path is planned to reach the vehicle exit trajectory.

[0091] As just an example, you can first simulate whether the vehicle can reach the vehicle exit trajectory only by linear translation. If the vehicle cannot enter the vehicle exit trajectory by linear translation, it is necessary to simulate the vehicle turning the steering wheel to plan a curved trajectory, or a combination of curved and straight trajectories.

[0092] For example, Figure 5 As shown, for the three vehicle exit trajectories obtained, the figure shows that three feasible entry trajectories can be obtained, and one of them can be determined as the target entry trajectory.

[0093] In this embodiment, since in the process of planning the target cut-in path, it is necessary not only to avoid obstacles but also to consider the vehicle's steering angle range, by first determining multiple feasible vehicle exit trajectories, on this basis, only at least one feasible cut-in path needs to be determined to enable the vehicle to cut into the vehicle exit trajectory from the current position, which is conducive to improving the success rate of target cut-in path planning, thereby improving the success rate of automatic parking of the vehicle.

[0094] Step S205: Combine the target cut-in path and the target vehicle exit trajectory to obtain a target automatic parking path corresponding to the vehicle to be parked.

[0095] In this embodiment, after determining the target cut-in path, the target cut-in path is combined with the target vehicle exit trajectory to obtain a complete vehicle automatic parking path, i.e., the target automatic parking path. Relying on the target automatic parking path, the vehicle to be parked can first reach the target vehicle exit trajectory according to the target cut-in path in the target automatic parking path. After that, the vehicle to be parked only needs to control the steering wheel to turn to the vehicle steering angle corresponding to the target vehicle exit trajectory, and can reverse into the parking space along the target vehicle exit trajectory until the midpoint V of the rear axle of the wheel reaches the parking target point P in the parking space, completing the automatic parking of the vehicle.

[0096] In this embodiment, due to the reversibility of the trajectory, the parking target point that the vehicle to be parked in the parking space to be parked needs to reach is determined based on the parking space information and the position information of the midpoint of the rear axle of the wheel, and then according to the obstacle position information, the reverse exit of the vehicle to be parked from the parking space is simulated starting from the parking target point to determine multiple optional vehicle exit trajectories, thereby realizing the trajectory planning for the smooth turning into the parking part during the parking process. On this basis, the vehicle is planned to cut into the vehicle exit trajectory for turning into the parking space from the current parking position, thereby completing the full path planning for automatic parking of the vehicle. Compared with the prior art that requires vehicles to park in a preset position area and usually requires complex warehouse route planning to ensure that the vehicle can turn smoothly into the warehouse, the present application adopts reverse exit path planning to ensure that the vehicle can turn smoothly into the warehouse. It not only has a small amount of calculation and less time consumption, but also ensures that the vehicle turns smoothly into the warehouse. In addition, since reverse planning obtains multiple vehicle exit trajectories, the planning success rate of the vehicle from the current position to the vehicle exit trajectory can be guaranteed. The vehicle does not have to stay in the preset position area in advance, which improves the flexibility of the vehicle's initial parking position and the success rate of the vehicle's automatic parking.

[0097] In an optional implementation, the above step S202 is implemented by the following process:

[0098] The parking space length of the parking space to be parked is acquired based on the parking space information, and the vehicle length of the vehicle to be parked is acquired based on the vehicle size information.

[0099] The difference between the length of the parking space and the length of the vehicle to be parked is obtained to obtain the remaining length.

[0100] According to the position information of the midpoint of the rear axle of the wheel, the distance between the midpoint of the rear axle of the wheel and the rear of the vehicle to be parked is obtained to obtain a first distance.

[0101] The target distance is determined according to the margin length and the first distance; the target distance is greater than the first distance, and the difference between the target distance and the first distance is greater than a preset safety distance threshold.

[0102] On the central axis of the parking space to be parked, a point whose distance from the bottom edge of the parking space is the target distance is determined as the parking target point.

[0103] Exemplarily, the value of the above-mentioned preset safety distance threshold can be determined according to actual conditions.

[0104] For example, Figure 3 As shown, the parking space length Y of the parking space to be parked, the vehicle length m of the vehicle to be parked, and the distance between the midpoint V of the rear axle of the wheel and the rear of the vehicle to be parked can be obtained as the first distance D1. The parking target point finally determined is the target distance D2. By setting the target distance D2 to be greater than D1, and the difference between D2 and D1 to be greater than the preset safety distance threshold ε, when the vehicle stays in the parking space, the rear of the vehicle and the bottom of the parking space can maintain a spacing distance of at least the preset safety distance threshold, thereby reducing the possibility of interference with obstacles at the rear of the parking space during the process of the vehicle entering and exiting the parking space, thereby improving safety. Exemplarily, in the process of determining the target distance D2, it is possible to first determine whether the margin length Δ=Ym is greater than twice the preset safety distance threshold ε. If so, the margin length can be evenly distributed to the front of the vehicle and the parking space position, that is, the target distance D2=D1+Δ / 2 is determined, so that the vehicle can be parked symmetrically in the parking space while ensuring a safe distance; if not, the target distance D2=D1+ε can be determined, so as to prioritize the cache distance between the vehicle and the bottom of the parking space, and avoid interference between the vehicle and obstacles at the bottom of the parking space.

[0105] In this embodiment, when determining the position of the parking target point in the parking space to be parked, the preset safety distance threshold ε is added on the basis of the distance between the midpoint V of the rear axle of the reference wheel and the rear of the vehicle to be parked as the first distance D1, so that the distance D2 between the parking target point and the bottom of the parking space is finally determined to be greater than D1+ε, thereby leaving a buffer position for the vehicle to avoid interference and scratches with obstacles at the bottom of the parking space during the process of the vehicle entering or leaving the parking space.

[0106] In actual applications, due to the vehicle steering angle range, the vehicle steering angle has a certain range limitation. In the simulation of vehicle outbound process, such as Figure 4 As shown in the figure, if the vehicle starts to turn out of the parking space at the parking position, it is very likely to interfere with the environmental obstacles on the side of the parking space. In order to reduce the possibility of interference between the vehicle's outbound process and the environmental obstacles on the side of the parking space and improve the success rate of route planning, the vehicle can be planned to start turning after reaching a position closer to the parking space entrance and exit.

[0107] For example, Figure 6 As shown, Figure 6 , a schematic diagram of the process of reverse planning of the vehicle exit trajectory provided by the embodiment of the present application is shown in FIG. In one example, the vehicle exit trajectory includes a front-pull trajectory and a target arc turning trajectory; the starting point of the front-pull trajectory is the parking target point P, and the end point is the front-pull target point P'; the front-pull target point is located on the central axis of the parking space to be parked; the starting point of the target arc turning trajectory is the front-pull target point P', based on this, please refer to Figure 7 , Figure 7 FIG. 1 is a flow chart of step S203 in a path planning method for automatically parking a parking space provided in an embodiment of the present application. Figure 7 As shown, in Figure 2 Based on the embodiment, step S203 may include the following steps S2031 to S2034.

[0108] Step S2031: Determine the minimum turning radius of the vehicle to be parked based on the vehicle turning angle range and the vehicle size information.

[0109] For example, the maximum steering angle Ψ in the steering angle range of the vehicle and the length m of the vehicle may be obtained, and then the minimum turning radius R of the vehicle to be parked may be determined according to the formula R=m / 2×sin(Ψ).

[0110] Step S2032: according to the obstacle position information, the vehicle turning starting point is determined with the goal of not interfering with obstacles when turning out of the warehouse with the minimum turning radius, and the vehicle turning starting point is determined as the front pulling target point.

[0111] Exemplarily, the vehicle turning starting point is the position point where the vehicle to be parked starts turning when simulating driving out of the parking space, and the position point is located on the central axis of the parking space to be parked; the front pulling target point is the end point of the vehicle's front pulling trajectory.

[0112] Exemplarily, it can be started from the time when the midpoint V of the rear axle of the vehicle to be parked is located at the parking target point P, and the vehicle to be parked can be simulated to turn with the minimum turning radius R, and it is determined whether there will be interference with the obstacle based on the obstacle position information. If there will be interference with the obstacle, the vehicle to be parked is simulated to move forward a preset distance along the central axis of the parking space to be parked, and then the vehicle to be parked is simulated to turn with the minimum turning radius again, and it is determined whether there will be interference with the obstacle based on the obstacle position information. If there will still be interference with the obstacle, the steps of "simulating the vehicle to be parked to move forward a preset distance along the central axis of the parking space to be parked, and then the vehicle to be parked is simulated to turn with the minimum turning radius again, and it is determined whether there will be interference with the obstacle based on the obstacle position information" are repeated until it is determined that the vehicle to be parked does not interfere with the obstacle based on the obstacle position information, and the point reached by the midpoint V of the rear axle of the wheel on the central axis of the parking space is determined as the vehicle turning starting point, that is, the front pulling target point.

[0113] Step S2033: Based on the obstacle position information and the vehicle size information, the to-be-parked vehicle is simulated to drive out of the parking space at multiple different steering angles within the vehicle steering angle range, with the to-be-parked vehicle being taken as the starting point, to obtain multiple target arc steering trajectories.

[0114] Exemplarily, the target circular arc turning trajectory is a feasible circular arc turning trajectory that does not interfere with obstacles.

[0115] For example, a vehicle model of the vehicle to be parked can be established based on the vehicle size information (including vehicle length m and vehicle width n) and the vehicle steering angle range of the vehicle to be parked. When the center point of the rear axle of the wheel of the vehicle to be parked is located at the front pull target point based on the vehicle model, the vehicle is taken as the starting point and obstacle avoidance is taken as the goal. The vehicle is driven out of the garage at different steering angles to obtain multiple feasible target arc steering trajectories that do not interfere with obstacles.

[0116] In one example, step S2033 includes the following process: within the vehicle steering angle range, multiple steering angles are selected at preset steering angle intervals to obtain a steering angle set; for each steering angle in the steering angle set, the tow target point is used as the starting point, the steering of the vehicle to be parked is simulated according to the vehicle size information and fixed as the steering angle, and then the vehicle drives out of the parking space to be parked to obtain a candidate arc steering trajectory corresponding to the steering angle; when the candidate arc steering trajectory does not interfere with the obstacle indicated by the obstacle position information, the candidate arc steering trajectory is determined as the target arc steering trajectory.

[0117] Exemplarily, the candidate circular arc turning trajectory is a circular arc turning trajectory that needs to be further determined whether it is feasible.

[0118] Step S2034: Combine the leading track with each target arc turning track to obtain a plurality of vehicle exit tracks.

[0119] Exemplarily, the front-pulling trajectory is the first trajectory of the vehicle in the process of exiting the parking space, which enables the vehicle to maintain a straight direction and approach the entrance and exit of the parking space. The target arc turning trajectory is the second trajectory of the vehicle in the process of exiting the parking space, which enables the vehicle to turn near the entrance and exit of the parking space to leave the parking space. For each target arc turning trajectory, it is combined with the front-pulling trajectory respectively to obtain a vehicle exit trajectory including the front-pulling trajectory and the target arc turning trajectory, that is, multiple vehicle exit trajectories are obtained.

[0120] In this embodiment, the vehicle turning starting point is determined based on the minimum turning radius, so that the vehicle reaches the vehicle turning starting point in a straight line and then turns to exit the parking space. This can reduce the possibility of interference between the vehicle and obstacles in the side parking space, improve the success rate of determining the vehicle exit trajectory, increase the number of feasible vehicle exit trajectories determined, and improve the success rate of subsequent path planning for vehicles to be parked from the current position to the vehicle exit trajectory.

[0121] Figure 8 This is a flow chart of step S204 in the path planning method for automatic parking provided in this application, as shown in FIG. Figure 8 As shown, Figure 7 Step S204 in the embodiment may include the following steps S2041 to S2048.

[0122] Step S2041, for each vehicle exit trajectory, based on obstacle position information, current vehicle heading information, vehicle steering angle range and position information of the midpoint of the rear axle of the wheel, with the goal of reaching the trajectory point in the vehicle exit trajectory, determine the first feasible entry trajectory for moving the midpoint of the rear axle of the wheel to reach the vehicle exit trajectory, and add each first feasible entry trajectory to the feasible entry trajectory set.

[0123] Exemplarily, in the process of determining a feasible approach path, the above-mentioned current vehicle heading information is used to provide a basis for planning the driving operation of the parked vehicle, because the planning for the approach path is also the planning for how the vehicle is operated to reach the vehicle exit trajectory; the above-mentioned obstacle position information and vehicle steering angle range are restrictive conditions in the path planning process. The vehicle cannot achieve steering beyond the vehicle angle range, and avoids obstacles in the process of planning the path; the above-mentioned position information of the midpoint of the rear axle of the wheel is used to provide the position of the midpoint of the rear axle of the wheel, and the midpoint of the rear axle of the wheel is a reference point in the process of path planning for the entire vehicle.

[0124] In this embodiment, for the above Figure 7 For each vehicle exit trajectory determined in step S203, one or more feasible entry paths corresponding to the vehicle exit trajectory are determined, that is, the first feasible entry path, and the obtained first feasible entry path is added to the feasible entry trajectory set.

[0125] Among them, the starting point of the first feasible approach path is the position pointed to by the position information of the midpoint of the rear axle of the above-mentioned wheel, and the end point of the first feasible approach path is the trajectory point on the vehicle's exit trajectory. Since the vehicle's exit trajectory includes countless trajectory points, even if the position of the midpoint of the rear axle of the vehicle's wheel is not limited to the preset position range, it is limited by the vehicle's steering range during path planning, and it is also necessary to avoid obstacles. However, in theory, as long as the approach path to any point on the vehicle's exit trajectory can be planned, the first feasible approach path can be obtained, which greatly improves the planning success rate of the first feasible approach path. Among them, illustratively, the trajectory points on the vehicle's exit trajectory can be limited to trajectory points located outside the parking space to be parked.

[0126] For example, see Fig. 9 , is a schematic diagram of the process of planning the target entry path provided in the embodiment of the present application. Fig. 9 As shown, with the goal of reaching the trajectory point in the vehicle exit trajectory, four first feasible entry trajectories can be obtained.

[0127] Step S2042: When the feasible cutting-in trajectory set includes a single first feasible cutting-in trajectory, the first feasible cutting-in trajectory is determined as a target cutting-in path.

[0128] Step S2043: when the feasible entry trajectory set includes a plurality of first feasible entry trajectories, a target feasible entry trajectory is selected from the feasible entry trajectory set as a target entry path based on a preset trajectory selection strategy.

[0129] Exemplarily, when the set of feasible entry trajectories includes a single first feasible entry trajectory, the first feasible entry trajectory is determined as the target entry path; when the set of feasible entry trajectories includes multiple first feasible entry trajectories, in order to determine a better target entry path, the target feasible entry trajectory is selected as the target entry path from the set of feasible entry trajectories based on a preset trajectory selection strategy.

[0130] Among them, the preset trajectory selection strategy is used to select a target feasible entry trajectory from a set of feasible entry trajectories. The trajectory selection strategy to be adopted can be determined according to actual conditions. For example, the preset trajectory selection strategy can be to select a target feasible entry trajectory based on the length of the trajectory route.

[0131] Exemplarily, the preset trajectory selection strategy may also be determined based on the number of operations during the vehicle driving process corresponding to the trajectory route.

[0132] For example, in one example, step S2043 includes the following process: when the feasible entry trajectory set includes multiple first feasible entry trajectories, obtain the total number of trajectory segments corresponding to each trajectory in the feasible entry trajectory set; the total number of trajectory segments is the sum of the number of straight line segments and curve segments included in the trajectory; and determine the trajectory with the smallest total number of corresponding trajectory segments as the target entry path.

[0133] The number of curve segments refers to the number of curve segments corresponding to different vehicle steering angles.

[0134] In this example, the sum of the number of straight segments and curved segments in the trajectory represents the number of operations during the vehicle's driving process corresponding to the trajectory. The trajectory with the smallest total number of corresponding trajectory segments is the trajectory with the least number of operations required. Determining it as the target entry path can reduce the number of operations (the number of steering wheel changes) during the process from the vehicle driving along the target entry path to the vehicle exit trajectory, reduce the vehicle driving time, and thus help reduce the vehicle parking time. In addition, the fewer the number of operations during driving, the less trajectory errors caused by the operation during driving can be reduced to a certain extent, thereby ensuring the smooth entry of the vehicle into the warehouse.

[0135] Step S2044: when there is no feasible cut-in trajectory in the feasible cut-in trajectory set, for each vehicle exit trajectory, a reverse gear operation without steering is simulated at the end of the vehicle exit trajectory to form an adjustment trajectory line.

[0136] For example, please refer to Fig.10 , which is a schematic diagram of the process of planning and adjusting the trajectory and adjusting the access trajectory provided by the embodiment of the present application. Due to the existence of the top obstacle in the figure and the limitation of the vehicle's steering angle range, when the vehicle turns, the rear part of the vehicle close to the top obstacle may interfere with the obstacle, and the vehicle cannot directly reach the trajectory point on the first feasible entry trajectory. At this time, by simulating the reverse gear operation of the vehicle in a non-steering state at the end point of the vehicle's exit trajectory, an adjustment trajectory line in the tangent direction can be formed at the end point F of the vehicle's exit trajectory, so that the vehicle can first reach the adjustment trajectory line and then enter the vehicle's exit trajectory along the adjustment trajectory line. In this process, the steering angle of the vehicle is relatively small. During the steering process, the possibility of interference between the rear part of the vehicle close to the top obstacle and the top obstacle is reduced, which is conducive to avoiding obstacles.

[0137] Step S2045, based on the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, with the goal of reaching the end point of the adjustment trajectory line, determine the adjustment access trajectory for the midpoint of the rear axle of the wheel to move to reach the adjustment trajectory line.

[0138] Exemplarily, after step S2044, a vehicle model of the vehicle to be parked can be established based on the vehicle size information (including vehicle length m and vehicle width n) and the vehicle steering angle range of the vehicle to be parked. When the center point of the rear axle of the wheel of the vehicle to be parked is located at the current position based on the vehicle model simulation, this is used as the starting point, obstacle avoidance is the goal, and reaching the end point of the adjustment trajectory line is the planning end point, and a feasible adjustment access trajectory that does not interfere with obstacles is determined.

[0139] For example, Fig.10 As shown, the above-mentioned adjustment access trajectory is the trajectory of the vehicle entering the adjustment trajectory line from the current position. In the process of planning the adjustment trajectory line, the end point F" on the adjustment trajectory line can be used as the target end point of the trajectory planning, and the rest can refer to the process of planning the first feasible entry trajectory.

[0140] In the process of planning and forming the adjustment trajectory line, the end point F" (equivalent to the length of the adjustment trajectory line) of the adjustment trajectory line can be determined according to actual conditions, or can be dynamically extended until at least one adjustment access trajectory can be determined.

[0141] Step S2046: Combine the adjusted access trajectory with the corresponding adjusted trajectory line to obtain a second feasible entry trajectory, and add the second feasible entry trajectory to the feasible entry trajectory set.

[0142] Exemplarily, the second feasible cut-in trajectory obtained by combining the adjusted access trajectory and the adjusted trajectory line is the cut-in path for the vehicle to cut into the vehicle exit trajectory from the current position, and it is added to the feasible cut-in trajectory set.

[0143] Step S2047: When the feasible cutting-in trajectory set includes a single second feasible cutting-in trajectory, the feasible cutting-in trajectory is determined as a target cutting-in path.

[0144] Step S2048: When the feasible entry trajectory set includes a plurality of second feasible entry trajectories, a target feasible entry trajectory is selected from the feasible entry trajectory set as a target entry path based on a preset trajectory selection strategy.

[0145] Exemplarily, when the set of feasible entry trajectories includes a single second feasible entry trajectory, the second feasible entry trajectory is determined as the target entry path; when the set of feasible entry trajectories includes multiple second feasible entry trajectories, in order to determine a better target entry path, the target feasible entry trajectory is selected as the target entry path from the set of feasible entry trajectories based on a preset trajectory selection strategy.

[0146] Among them, the preset trajectory selection strategy is used to select a target feasible entry trajectory from a set of feasible entry trajectories. The trajectory selection strategy to be adopted can be determined according to actual conditions. For example, the trajectory selection strategy can be to select a target feasible entry trajectory based on the length of the trajectory route.

[0147] Exemplarily, the preset trajectory selection strategy may also be determined based on the number of operations during the vehicle driving process corresponding to the trajectory route.

[0148] For example, in one example, step S2048 includes the following process: when the feasible entry trajectory set includes multiple second feasible entry trajectories, obtain the total number of trajectory segments corresponding to each trajectory in the feasible entry trajectory set; the total number of trajectory segments is the sum of the number of straight line segments and curve segments included in the trajectory; and determine the trajectory with the smallest total number of corresponding trajectory segments as the target entry path.

[0149] In this example, the sum of the number of straight segments and curved segments in the trajectory represents the number of operations during the vehicle's driving process corresponding to the trajectory. The trajectory with the smallest total number of corresponding trajectory segments is the trajectory with the least number of operations required. Determining it as the target entry path can reduce the number of operations (the number of steering wheel changes) during the process from the vehicle driving along the target entry path to the vehicle exit trajectory, reduce the vehicle driving time, and thus help reduce the vehicle parking time. In addition, the fewer the number of operations during driving, the less trajectory errors caused by the operation during driving can be reduced to a certain extent, thereby ensuring the smooth entry of the vehicle into the warehouse.

[0150] In this embodiment, by first planning one or more first feasible entry trajectories for each vehicle exit trajectory, the success rate of determining the target entry path can be improved. If there are multiple first feasible entry trajectories, by selecting the feasible entry trajectory with the least number of corresponding operations as the target entry path, it is helpful to reduce the time for the vehicle to autonomously park in the parking space. If there is no first feasible entry trajectory, by extending an adjustment trajectory line on the vehicle exit trajectory and planning the adjustment entry trajectory from the current position of the vehicle to the end point of the adjustment trajectory line again, it is helpful for the vehicle to avoid obstacles and ensure that the vehicle smoothly enters the vehicle exit trajectory.

[0151] Fig.11 A schematic diagram of the structure of the path planning device for automatic parking provided in this application, such as Fig.11 As shown, the path planning device 80 for automatic parking in a parking space provided in this embodiment includes:

[0152] The acquisition module 801 is used to acquire information about the vehicle to be parked, information about the position of the obstacle and information about the parking space to be parked; the information about the vehicle to be parked includes information about the size of the vehicle to be parked, a range of vehicle steering angles and vehicle posture information; the vehicle posture information includes current vehicle heading information and position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked; the obstacle position information indicates the position of the obstacle within a preset range from the parking space to be parked; the current vehicle heading information indicates the current driving direction of the vehicle to be parked; and the vehicle steering angle range indicates the range of steering angles that the vehicle to be parked can turn when turning.

[0153] The determination module 802 is used to determine the position information of the parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position where the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked.

[0154] The first path planning module 803 is used to simulate the vehicle to be parked driving out of the parking space based on the obstacle position information and the vehicle size information, with the parking target point as the starting point, to obtain vehicle driving-out trajectories corresponding to multiple different steering angles; each steering angle is within the vehicle steering angle range.

[0155] The second path planning module 804 is used to determine a target entry path from the midpoint of the rear axle of the wheel to the target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of the multiple vehicle exit trajectories.

[0156] The combination module 805 is used to combine the target cut-in path and the target vehicle exit trajectory to obtain the target automatic parking path corresponding to the vehicle to be parked.

[0157] In a possible implementation manner, the vehicle exit trajectory includes a front-pulling trajectory and a target circular arc turning trajectory; the starting point of the front-pulling trajectory is the parking target point, and the end point is the front-pulling target point; the front-pulling target point is located on the central axis of the parking space to be parked; the starting point of the target circular arc turning trajectory is the front-pulling target point; the first path planning module 803 can be specifically used to determine the minimum turning radius of the vehicle to be parked based on the vehicle steering angle range and the vehicle size information; according to the obstacle position information, with the goal of not interfering with the obstacle when turning out of the warehouse with the minimum turning radius, determine the vehicle turning starting point; determine the vehicle turning starting point as the front-pulling target point; according to the obstacle position information and the vehicle size information, take the front-pulling target point as the starting point, simulate the vehicle to be parked driving out of the parking space at multiple different steering angles within the vehicle steering angle range, and obtain multiple target circular arc turning trajectories; combine the front-pulling trajectory with each target circular arc turning trajectory to obtain multiple vehicle exit trajectories.

[0158] In a possible implementation manner, the first path planning module 803 may be specifically configured to select a plurality of steering angles within a vehicle steering angle range at a preset steering angle interval to obtain a steering angle set; for each steering angle in the steering angle set, taking a tow target point as a starting point, simulating the steering of the vehicle to be parked according to the vehicle size information when the steering angle is fixed, and driving out of the parking space to be parked to obtain a candidate arc steering trajectory corresponding to the steering angle; when the candidate arc steering trajectory does not interfere with an obstacle indicated by the obstacle position information, determining the candidate arc steering trajectory as a target arc steering trajectory.

[0159] In a possible implementation manner, the determination module 802 may be specifically configured to: obtain the length of the parking space to be parked based on the parking space information, and obtain the length of the vehicle to be parked based on the vehicle size information; obtain the difference between the length of the parking space and the length of the vehicle to be parked to obtain a surplus length; obtain the distance between the midpoint of the rear axle of the wheel and the rear of the vehicle to be parked based on the position information of the midpoint of the rear axle of the wheel to obtain a first distance; determine a target distance based on the surplus length and the first distance; the target distance is greater than the first distance, and the difference between the target distance and the first distance is greater than a preset safety distance threshold; and determine, on the central axis of the parking space to be parked, a point at a distance from the bottom edge of the parking space by the target distance as a parking target point.

[0160] In one possible implementation, the second path planning module 804 may be specifically used to, for each vehicle exit trajectory, determine the first feasible entry trajectory for moving the midpoint of the rear axle of the wheel to reach the vehicle exit trajectory based on obstacle position information, current vehicle heading information, vehicle steering angle range, and position information of the midpoint of the rear axle of the wheel, with the goal of reaching the trajectory point in the vehicle exit trajectory, and add each first feasible entry trajectory to a set of feasible entry trajectories; when the set of feasible entry trajectories includes a single first feasible entry trajectory, determine the first feasible entry trajectory as a target entry path; when the set of feasible entry trajectories includes multiple first feasible entry trajectories, select the target feasible entry trajectory from the set of feasible entry trajectories as the target entry path based on a preset trajectory selection strategy.

[0161] In a possible implementation manner, the second path planning module 804 may be specifically used to, when there is no feasible cut-in trajectory in the feasible cut-in trajectory set, for each vehicle exit trajectory, simulate the vehicle performing a reverse gear operation in a non-steering state at the end point of the vehicle exit trajectory to form an adjustment trajectory line; based on obstacle position information, current vehicle heading information, vehicle steering angle range and position information of the midpoint of the rear axle of the wheel, with the goal of reaching the end point of the adjustment trajectory line, determine an adjustment access trajectory for moving the midpoint of the rear axle of the wheel to reach the adjustment trajectory line; combine the adjustment access trajectory with the corresponding adjustment trajectory line to obtain a second feasible cut-in trajectory, and add the second feasible cut-in trajectory to the feasible cut-in trajectory set; when the feasible cut-in trajectory set includes a single second feasible cut-in trajectory, determine the feasible cut-in trajectory as a target cut-in path; when the feasible cut-in trajectory set includes multiple second feasible cut-in trajectories, select the target feasible cut-in trajectory from the feasible cut-in trajectory set as the target cut-in path based on a preset trajectory selection strategy.

[0162] In a possible implementation, the second path planning module 804 can be specifically used to obtain the total number of trajectory segments corresponding to each trajectory in the feasible entry trajectory set; the total number of trajectory segments is the sum of the number of straight line segments and curve segments included in the trajectory; and the trajectory with the smallest total number of corresponding trajectory segments is determined as the target entry path.

[0163] The path planning device for automatic parking in a parking space provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be described in detail here.

[0164] Fig.12 This is a schematic diagram of the structure of the electronic device provided in this application. Fig.12 As shown, the electronic device 90 provided in this embodiment includes: at least one processor 901 and a memory 902. Optionally, the device 90 further includes a communication component 903. The processor 901, the memory 902 and the communication component 903 are connected via a bus 904.

[0165] In a specific implementation process, at least one processor 901 executes the computer execution instructions stored in the memory 902, so that at least one processor 901 executes the above method.

[0166] The specific implementation process of the processor 901 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0167] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0168] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0169] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0170] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0171] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0172] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0173] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0174] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0175] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0176] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0177] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0178] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A path planning method for automatic parking, characterized in that: include: Obtain information about vehicles to be parked, obstacle locations, and parking spaces to be parked; The information of the vehicle to be parked includes the vehicle size information, the vehicle steering angle range and the vehicle posture information of the vehicle to be parked; the vehicle posture information includes the current vehicle heading information and the position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked; the obstacle position information indicates the position of the obstacle within a preset range from the parking space to be parked; the current vehicle heading information indicates the current driving direction of the vehicle to be parked; the vehicle steering angle range indicates the range of the steering angle of the vehicle to be parked when turning; Determine the position information of a parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position that the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked; According to the obstacle position information and the vehicle size information, taking the parking target point as the starting point, simulating the vehicle to be parked driving out of the parking space, and obtaining vehicle driving-out trajectories corresponding to a plurality of different steering angles; Each of the steering angles is within the vehicle steering angle range; Determine a target cut-in path for the midpoint of the rear axle of the wheel to reach a target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of a plurality of vehicle exit trajectories; The target cut-in path and the target vehicle exit trajectory are combined to obtain a target automatic parking path corresponding to the vehicle to be parked.

2. The method according to claim 1, characterized in that: The vehicle exit trajectory includes a front-pull trajectory and a target arc turning trajectory; the starting point of the front-pull trajectory is the parking target point, and the end point is the front-pull target point; the front-pull target point is located on the central axis of the parking space to be parked; The starting point of the target arc turning trajectory is the front pull target point; according to the obstacle position information and the vehicle size information, taking the parking target point as the starting point, simulating the vehicle to be parked driving out of the parking space, and obtaining vehicle driving-out trajectories corresponding to multiple different steering angles, respectively, including: determining a minimum turning radius of the vehicle to be parked based on the vehicle turning angle range and the vehicle size information; According to the obstacle position information, the vehicle turning starting point is determined with the goal of not interfering with the obstacle when turning out of the garage using the minimum turning radius; Determine the vehicle turning starting point as the front pulling target point; According to the obstacle position information and the vehicle size information, taking the front pull target point as the starting point, simulating the vehicle to be parked to drive out of the parking space at multiple different steering angles within the vehicle steering angle range, to obtain multiple target arc steering trajectories; The front-pulling trajectory is combined with each of the target arc turning trajectories to obtain a plurality of the vehicle exit trajectories.

3. The method according to claim 2, characterized in that The method of simulating the vehicle to be parked to drive out of the parking space at multiple different steering angles within the vehicle steering angle range according to the obstacle position information and the vehicle size information, and taking the front pull target point as the starting point, to obtain multiple target arc steering trajectories includes: Within the vehicle steering angle range, selecting a plurality of steering angles at preset steering angle intervals to obtain a steering angle set; For each steering angle in the steering angle set, taking the front-pull target point as a starting point, simulating the steering of the to-be-parked vehicle fixed at the steering angle according to the vehicle size information, and driving out of the to-be-parked parking space, to obtain a candidate arc steering trajectory corresponding to the steering angle; When the candidate circular arc turning trajectory does not interfere with the obstacle indicated by the obstacle position information, the candidate circular arc turning trajectory is determined as the target circular arc turning trajectory.

4. The method according to any one of claims 1 to 3, characterized in that The step of determining the position information of the parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel comprises: Acquire the parking space length of the parking space to be parked based on the parking space information, and acquire the vehicle length of the vehicle to be parked based on the vehicle size information; Obtaining a difference between the length of the parking space and the length of the vehicle to be parked to obtain a surplus length; According to the position information of the midpoint of the rear axle of the wheel, the distance between the midpoint of the rear axle of the wheel and the rear of the vehicle to be parked is acquired to obtain a first distance; Determine a target distance according to the margin length and the first distance; the target distance is greater than the first distance, and a difference between the target distance and the first distance is greater than a preset safety distance threshold; On the central axis of the parking space to be parked, a point whose distance from the bottom edge of the parking space is the target distance is determined as the parking target point.

5. The method according to claim 1, characterized in that The step of determining a target cut-in path for the midpoint of the rear axle of the wheel to reach the exit trajectory of the target vehicle according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, comprises: For each vehicle exit trajectory, based on the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, with the goal of reaching a trajectory point in the vehicle exit trajectory, determine a first feasible cut-in trajectory for the midpoint of the rear axle of the wheel to move to reach the vehicle exit trajectory, and add each of the first feasible cut-in trajectories to a set of feasible cut-in trajectories; When the set of feasible cutting-in trajectories includes a single first feasible cutting-in trajectory, determining the first feasible cutting-in trajectory as the target cutting-in path; When the feasible cutting-in trajectory set includes a plurality of the first feasible cutting-in trajectories, a target feasible cutting-in trajectory is selected from the feasible cutting-in trajectory set as the target cutting-in path based on a preset trajectory selection strategy.

6. The method according to claim 5, characterized in that The step of determining a target cut-in path for the midpoint of the rear axle of the wheel to reach the target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, further comprises: When there is no feasible cut-in trajectory in the set of feasible cut-in trajectories, for each vehicle exit trajectory, simulating a reverse gear operation of the vehicle without steering at the end of the vehicle exit trajectory to form an adjustment trajectory line; According to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel, with reaching the end point of the adjustment trajectory line as the goal, determining the adjustment access trajectory of the midpoint of the rear axle of the wheel to move to the adjustment trajectory line; Combining the adjusted access trajectory with the corresponding adjusted trajectory line to obtain a second feasible cut-in trajectory, and adding the second feasible cut-in trajectory to the feasible cut-in trajectory set; When the set of feasible cutting-in trajectories includes a single second feasible cutting-in trajectory, determining the feasible cutting-in trajectory as the target cutting-in path; When the feasible cutting-in trajectory set includes a plurality of the second feasible cutting-in trajectories, a target feasible cutting-in trajectory is selected from the feasible cutting-in trajectory set as the target cutting-in path based on a preset trajectory selection strategy.

7. The method according to claim 5 or 6, characterized in that: The step of selecting a target feasible entry trajectory from the set of feasible entry trajectories as the target entry path based on a preset trajectory selection strategy includes: Obtaining the total number of trajectory segments corresponding to each trajectory in the feasible entry trajectory set; the total number of trajectory segments is the sum of the number of straight line segments and curve segments included in the trajectory; The trajectory with the smallest total number of corresponding trajectory segments is determined as the target entry path.

8. A path planning device for automatic parking, characterized in that: include: An acquisition module is used to acquire information about the vehicle to be parked, information about the location of obstacles, and information about the parking space to be parked; The information of the vehicle to be parked includes the vehicle size information, the vehicle steering angle range and the vehicle posture information of the vehicle to be parked; the vehicle posture information includes the current vehicle heading information and the position information of the midpoint of the rear axle of the wheel corresponding to the vehicle to be parked; the obstacle position information indicates the position of the obstacle within a preset range from the parking space to be parked; the current vehicle heading information indicates the current driving direction of the vehicle to be parked; the vehicle steering angle range indicates the range of the steering angle of the vehicle to be parked when turning; a determination module, configured to determine position information of a parking target point in the parking space to be parked according to the parking space information and the position information of the midpoint of the rear axle of the wheel; the parking target point is located on the central axis of the parking space to be parked; the position information of the parking target point indicates the position where the midpoint of the rear axle of the wheel needs to reach when the vehicle is parked; A first path planning module is used to simulate the vehicle to be parked driving out of the parking space based on the obstacle position information and the vehicle size information, taking the parking target point as the starting point, and obtain vehicle driving-out trajectories corresponding to a plurality of different steering angles; Each of the steering angles is within the vehicle steering angle range; A second path planning module is used to determine a target cut-in path for the midpoint of the rear axle of the wheel to reach a target vehicle exit trajectory according to the obstacle position information, the current vehicle heading information, the vehicle steering angle range and the position information of the midpoint of the rear axle of the wheel; the target vehicle exit trajectory is any one of a plurality of vehicle exit trajectories; The combination module is used to combine the target cut-in path and the target vehicle exit trajectory to obtain a target automatic parking path corresponding to the vehicle to be parked.

9. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Parking prompting method and device, vehicle, medium and program product

    CN119314351A