Parking path planning method, electronic device, and storage medium

By obtaining the vehicle's current posture and environmental information, determining the target parking mode and posture, and performing heuristic search, it solves the problems of difficult parking path planning and low success rate, and achieves efficient parking path planning in complex scenarios.

WO2024188042A1PCT designated stage expired Publication Date: 2024-09-19ZTE CORP

Patent Information

Application Number
PCT/CN2024/078553
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2024-02-26
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Parking path planning in the existing technology is difficult, resulting in a low parking success rate, especially in complex obstacle scenarios where a reasonable parking path cannot be quickly provided.

Method used

By obtaining the current posture and environmental information of the vehicle, the target parking mode and target parking posture are determined, heuristic search is performed using environmental scene understanding, and path planning is optimized to improve search efficiency and accuracy.

Benefits of technology

Shorten route search time in complex scenarios, improve parking success rate, and ensure route rationality and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078553_19092024_PF_FP_ABST
    Figure CN2024078553_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A parking path planning method, an electronic device, and a storage medium. The method comprises: acquiring a current pose of a vehicle, environment information within a preset range of the vehicle, and position information of a parking space waiting for parking; according to the current pose of the vehicle, the environment information, and the position information, determining a target parking mode of the vehicle arriving at said parking space, and a target parking pose corresponding to the target parking mode, wherein the target parking mode comprises target points that the vehicle passes through to arrive at said parking space and a sequence of passing through the target points; and according to the current pose, the target parking pose, and the target parking mode, searching for paths to said parking space, and determining a target path to said parking space.
Need to check novelty before this filing date? Find Prior Art

Description

Parking path planning method, electronic device and storage medium

[0001] Cross-references

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 14, 2023, with application number 202310293230.0 and application name “Parking path planning method, electronic device and storage medium”. The entire contents of the application are incorporated by reference into this application. Technical Field

[0003] The present application belongs to the field of path planning technology, and specifically relates to a parking path planning method, electronic equipment, and storage medium. Background Art

[0004] As urban congestion worsens, parking environments present characteristics such as limited space and complex obstacles, making parking increasingly difficult. Automated parking can effectively solve this parking problem, but path planning, as a key component of automated parking, must be able to cope with various complex parking environments.

[0005] However, the path planning solutions in related technologies have the problems of great difficulty in path searching and low parking success rate.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a parking path planning method, electronic device, and storage medium to solve the problems of difficult path search and low parking success rate in path planning solutions in related technologies.

[0008] In a first aspect, an embodiment of the present application provides a parking path planning method, comprising: obtaining a current posture of a vehicle, environmental information within a preset range of the vehicle, and position information of a parking space to be parked; determining a target parking mode for the vehicle to reach the parking space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information, wherein the target parking mode includes target points passed by the vehicle to reach the parking space and the order of passing the target points; searching for a path to reach the parking space based on the current posture, the target parking posture, and the target parking mode to determine the target path to reach the parking space.

[0009] In a second aspect, an embodiment of the present application further provides a parking path planning device, comprising: an acquisition module for acquiring a current posture of a vehicle, environmental information within a preset range of the vehicle, and position information of a parking space to be parked; a first determination module for determining a target parking mode for the vehicle to reach the parking space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information, wherein the target parking mode includes target points passed by the vehicle to reach the parking space and the order of passing the target points; a second determination module for searching for a path to reach the parking space to be parked based on the current posture, the target parking posture, and the target parking mode, and determining the target path to reach the parking space to be parked.

[0010] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0011] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] FIG1 is a flowchart of the steps of a parking path planning method according to an embodiment of the present application;

[0013] FIG2 is a flowchart of steps for determining a target parking mode in an embodiment of the present application;

[0014] FIG3 is a schematic diagram of points to be selected in an embodiment of the present application;

[0015] FIG4 is a schematic diagram of path planning in an embodiment of the present application;

[0016] FIG5 is a schematic diagram of a module of a parking path planning device according to an embodiment of the present application;

[0017] FIG6 is a schematic structural diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0019] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0020] In related technologies, parking path planning is typically performed using geometric or search methods. For example, geometric methods employ methods such as arc-line combinations, Reeds-Shepp curves, Dubins curves, polynomial curves, and spline curves. However, these methods have high requirements for the parking environment and cannot be adapted to all parking environments. Another example is search methods such as A*, D*, and Hybrid A*. These methods can adapt to various parking scenarios, but may require a long search time due to insufficient heuristic information.

[0021] In the above-mentioned related technologies, due to the lack of sufficient understanding of the vehicle's environment, it is impossible to quickly provide a reasonable parking path in complex obstacle scenarios, resulting in parking failure. To address this, the present embodiment first determines the target parking mode for the vehicle to reach the parking space and the target parking posture corresponding to the target parking mode based on the vehicle's current posture, environmental information and position information. Then, based on the current posture, the target parking posture and the target parking mode, a path to the parking space is searched to determine the target path to the parking space. This implements heuristic search based on environmental scene understanding, uses the target parking mode understood by the scene as heuristic information to guide the search for the target path to the parking space, improves the path search efficiency and ensures the rationality of the path.

[0022] The parking path planning method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings through exemplary embodiments and their application scenarios.

[0023] FIG1 shows a parking path planning method provided by an embodiment of the present application. The method can be executed by an electronic device, which may include a server and / or a terminal device. In other words, the method can be executed by software or hardware installed on the electronic device. The method includes the following steps:

[0024] Step 101: Acquire the current posture of the vehicle, environmental information within a preset range of the vehicle, and location information of the parking space to be parked.

[0025] In one embodiment, the vehicle in this embodiment has sensors required for positioning (position and posture estimation), parking space recognition, and obstacle detection.

[0026] The current position of the vehicle can be obtained by processing the positioning sensor, and the current position can be expressed as (x, y, yaw), where x represents the position of the vehicle in the x-axis direction, y represents the position of the vehicle in the y-axis direction, and yaw represents the heading angle of the vehicle.

[0027] The location information of the parking space to be parked can be obtained by a vehicle-mounted visual device or an ultrasonic detection device, and the location information can be expressed as {(x1, y1), (x2, y2), (x3, y3), (x4, y4)}, where the elements in the above set represent the coordinates of the four rectangular corners of the parking space to be parked.

[0028] It should be noted that the preset range of the vehicle may include the parking space to be parked, so that environmental information within the range from the vehicle to the parking space to be parked can be obtained.

[0029] Environmental information within a preset range of the vehicle can be represented by a grid map within the preset range of the vehicle. In one embodiment, the grid map can be a two-dimensional map obtained by processing an on-board ultrasonic radar, or a two-dimensional map generated by other sensors such as a lidar. The grid map can be represented as Gmap(xi,yi)=state, where (xi,yi) is an index of the grid map and state represents the state of the grid. For example, if the value of state is 1, it means that the grid corresponding to the index (xi,yi) is occupied. If the value of state is -1, it means that the grid corresponding to the index (xi,yi) is idle. If the value of state is 0, it means that the grid corresponding to the index (xi,yi) is unknown.

[0030] Step 102: Determine a target parking mode for the vehicle to arrive at the parking space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information.

[0031] The target parking pattern includes target points that the vehicle passes through to reach the parking space and the order in which the vehicle passes through the target points.

[0032] The target parking posture is the parking posture of the vehicle after parking with reference to the target parking mode.

[0033] In one embodiment, the current posture of the vehicle, the environmental information, and the position information can be used to analyze the target points that the vehicle will pass through to reach the parking space and the order in which the target points are passed. This achieves full utilization of the environment in which the reference vehicle is located to obtain the target parking mode, ensuring the rationality and accuracy of the determined target parking mode.

[0034] Step 103: searching for a path to the parking space based on the current posture, the target parking posture, and the target parking mode, and determining a target path to the parking space.

[0035] In one embodiment, a path to the parking space is searched based on the current position, the target parking position, and the target parking mode, and the target path to the parking space is determined. This implements path planning based on environmental scene understanding, improves path search efficiency, and ensures the rationality of path search. It can shorten path search time and improve search accuracy in complex scenarios, thereby increasing the parking success rate and resolving the problems of difficult path search and low parking success rate in related technologies.

[0036] Thus, this embodiment obtains the current position of the vehicle, environmental information within a preset range of the vehicle, and position information of the parking space to be parked; determines a target parking mode for the vehicle to reach the parking space and a target parking position corresponding to the target parking mode based on the current position of the vehicle, the environmental information, and the position information, wherein the target parking mode includes target points that the vehicle will pass through to reach the parking space and the order in which the target points are passed; searches for a path to reach the parking space based on the current position, the target parking position, and the target parking mode to determine the target path to reach the parking space. This achieves the use of the vehicle's own position information and the environment in which it is located to determine the target parking mode, i.e., to determine the target points that the vehicle will pass through to reach the parking space and the order in which the target points are passed, and uses the target parking mode to provide guidance for subsequent path search planning. This implements path planning based on environmental scene understanding, improves path search efficiency, ensures the rationality of path search, shortens path search time and improves search accuracy in complex scenarios, and improves parking success rate, thereby resolving the problems of difficult path search and low parking success rate in related technologies.

[0037] In one embodiment, as shown in FIG2 , determining a target parking mode for the vehicle to arrive at the to-be-parked space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information may include the following steps:

[0038] Step 201: Delineating a target area with the vehicle as the center and determining intersections of a plurality of preset driving trajectories of the vehicle and a boundary line of the target area as candidate points to obtain a candidate point set.

[0039] The target area includes the parking space to be parked, which enables the vehicle to reach the parking space to be parked via the selected point.

[0040] In one embodiment, the target area may be demarcated with the vehicle as the center and R as the radius, and the intersections of multiple preset driving trajectories of the vehicle and the boundary line of the target area may be determined as the candidate points.

[0041] The vehicle's multiple preset motion trajectories may include forward left turn, forward straight ahead, forward right turn, backward left turn, backward straight ahead, and backward right turn. In one embodiment, as shown in FIG3 , the candidate points 1-12 are generated by numbering them clockwise based on the candidate points for executing the forward straight ahead motion at the vehicle's current posture.

[0042] Step 202: According to the environmental information, select the reachable points that the vehicle can reach from the set of candidate points to obtain a reachable point set.

[0043] In one embodiment, the environmental information includes the status of a grid in a grid map within a preset range of the vehicle, wherein the status includes an idle state and an occupied state;

[0044] According to the environmental information, the reachable points reachable by the vehicle are selected from the set of candidate points. When obtaining the reachable point set, for any candidate point, according to the state of the grid, when the line between the vehicle and the candidate point is scanned within a preset angle range and there is an occupied grid in the scanning area, the candidate point can be deleted from the set of candidate points to obtain the reachable point set.

[0045] In one embodiment, due to obstacles in the parking environment, the vehicle cannot reach the candidate point along the predetermined trajectory. In this case, the unreachable node needs to be removed from the candidate point set. To quickly identify unreachable points, this embodiment uses a scan line method, which connects the vehicle center point and the candidate point to form a scan line. This scan line is rotated clockwise. If the area covered by the scan line within the preset angle range of the candidate point hits an occupied grid point (i.e., a grid occupied by an obstacle), the candidate point is considered unreachable and is removed from the candidate point set. In this way, after one rotation of the scan line, it can determine whether all candidate points are reachable, and finally output a set of reachable points.

[0046] Step 203: Determine at least one parking mode based on the current posture, the position information, and preset parking conditions.

[0047] In one embodiment, the parking pattern includes the accessible points that the vehicle passes through to reach the parking space and the order in which the vehicle passes through the accessible points.

[0048] After determining the set of reachable points, this embodiment can determine the reachable points that the vehicle passes through to reach the parking space and the order in which the vehicle passes through the reachable points based on the vehicle's current posture, the position information and preset parking conditions, that is, determine at least one parking mode, thereby realizing the determination of the parking mode with reference to environmental information.

[0049] In one embodiment, the preset parking conditions include: meeting preset parking specifications, and / or having a minimum number of accessible points to reach the parking space;

[0050] The determining of at least one parking mode based on the current posture, the position information, and the preset parking conditions may include: determining, based on the current posture and the position information, at least one route that passes through the reachable points in the process of the vehicle traveling to the space to be parked; selecting a route that meets the preset parking specifications from the at least one route, and / or selecting a route that passes through the fewest reachable points to reach the space to be parked from the at least one route, to obtain the at least one parking mode, wherein each route corresponds to one parking mode.

[0051] In one embodiment, the preset parking specifications may include parking with the front of the vehicle facing outward in a vertical parking space, parking in the direction of traffic flow in a horizontal parking space, etc.

[0052] In this step, at least one route that passes through a reachable point during the vehicle's journey to the parking space can be determined based on the current posture and position information. For example, referring to FIG3 , assuming that the vehicle's current posture is the direction indicated by the arrow at node 0 and node 4 is the final parking posture, the following partial routes passing through reachable points can be obtained:

[0053] (1)0-->12-->4;

[0054] (2)0-->1-->4;

[0055] (3)0-->7-->10-->0-->4;

[0056] Among them, under route (1), the vehicle turns left and drives forward for a distance to reach the area within the range of node 12, then turns right and reverses to enter the parking space. The parking space required for this mode is small, but a certain amount of space is required in the left-turn area.

[0057] In route (2), the vehicle drives straight ahead for a distance until it reaches the area of ​​node 1 where it can enter the parking space, then turns right and reverses to enter the parking space. This mode requires a large parking space in front. If there is an obstacle blocking the parking path, making node 1 unreachable, the possibility of this parking mode being decided is small.

[0058] In route (3), the vehicle first drives back a distance to the area of ​​node 7, then turns left to adjust the front of the vehicle to be parallel to the parking space, and then reverses in a straight line to enter the parking space. This mode requires a larger parking space and the overall path is longer.

[0059] With reference to the accessible points passed by the aforementioned routes, a route that meets the preset parking specifications can be selected from at least one route, and / or a route that passes through the least number of accessible points to reach the parking space can be selected from the at least one route to obtain at least one parking mode. For example, if the route that passes through the least number of accessible points to reach the parking space is selected from the at least one route, then routes 1 and 2 can be selected as parking modes.

[0060] It should be noted that when determining, based on the current position and location information, that the vehicle passes through at least one route with the reachable point during its journey to the parking space, nodes that the vehicle cannot reach in its next movement can be eliminated. For example, referring to Figure 3, if the vehicle's current position is in the direction indicated by the arrow at node 0, then nodes 3, 4, 5, 9, 10, and 11 cannot be reached in the vehicle's next movement. Therefore, links such as 0-->3, 0-->4, and 0-->5 are unreasonable jump links and need to be eliminated. Of course, the jump relationships between each node can be stored in a storage medium in the form of a relationship table. In this way, they can be screened out by table lookup during calculation, thereby speeding up the execution time of the algorithm.

[0061] In addition, in another embodiment, based on the current posture and the position information, determining at least one route that passes through the reachable point in the process of the vehicle traveling to the space to be parked, includes: determining the initial parking posture of the vehicle based on the position information; and based on the current posture and the initial parking posture, determining at least one route that passes through the reachable point in the process of the vehicle traveling to the space to be parked.

[0062] In one embodiment, the initial parking posture of the vehicle can be determined based on the position information, so that at least one route passing through a reachable point during the vehicle's travel to the parking space can be determined based on the vehicle's current posture and the initial parking posture.

[0063] It should be noted that, in another embodiment, when determining, based on the current posture and the position information, at least one route through which the vehicle passes through the reachable point in the process of traveling to the parking space, if the route cannot be determined based on the current posture and the initial parking posture, the initial parking posture can be adjusted, and the at least one route can be determined based on the current posture and the adjusted parking posture.

[0064] In one embodiment, if the route cannot be determined based on the current position and the initial parking position of the vehicle, that is, the parking mode cannot be determined, the parking position can be adjusted and the parking mode can be re-determined.

[0065] Step 204: Determine the target parking mode from the at least one parking mode, and determine a target parking posture corresponding to the target parking mode.

[0066] In one embodiment, after determining at least one parking mode, the target parking mode may be determined from the at least one parking mode. In this case, the target parking mode may be determined from the at least one parking mode in such a manner as to minimize the number of accessible points passed through the parking mode, minimize the required parking space, or minimize the overall path, although this is not specifically limited herein.

[0067] In this way, a target area is delineated with the vehicle as the center and the intersection points of multiple preset driving trajectories of the vehicle and the boundary line of the target area are determined as candidate points to obtain a set of candidate points, wherein the target area includes the parking space to be parked; according to the environmental information, reachable points that the vehicle can reach are selected from the set of candidate points to obtain a set of reachable points; according to the current posture, the position information and preset parking conditions, at least one parking mode is determined, and the parking mode includes the reachable points that the vehicle passes through to reach the parking space to be parked and the order in which the vehicle passes through the reachable points; the target parking mode is determined from the at least one parking mode, and the target parking posture corresponding to the target parking mode is determined; the vehicle surrounding environment is abstracted into a structural diagram in accordance with the vehicle kinematics, from which possible parking modes of the vehicle are extracted, providing guidance for subsequent path search planning.

[0068] In addition, in another embodiment, searching for a path to the parking space based on the current posture, the target parking posture, and the target parking mode, and determining the target path to the parking space may include: searching for a path between every two adjacent position points using an RS curve according to the current posture, the target parking posture, and the target parking mode, through a preset search algorithm; the position points include the starting position of the vehicle, the target point, and the parking space; when it is detected that there are no obstacles in the path being searched, determining the RS curve as the target path; when it is detected that there are obstacles in the path being searched, searching for a node with the minimum cost through the search algorithm for expansion, and determining the target path to the parking space based on the expanded node.

[0069] In one implementation, this embodiment may use an RS curve to calculate a connection path. The RS curve is a combination of an arc and a straight line, and may connect a starting point and an ending point.

[0070] Furthermore, this embodiment performs discrete sampling of the attempted search path. The grid coordinate range occupied by the vehicle model is determined by the conversion relationship between the vehicle's rear axle and the four corner points. If the grid occupied by the vehicle model overlaps with the grid occupied by the obstacle, it is determined that the vehicle will collide with the obstacle if traveling along this path, indicating that an obstacle exists in the path. If all path sampling points do not collide with the obstacle, the RS curve is determined as the target path. If at least one sampling point fails collision detection, indicating a collision with the obstacle, the path is unusable and the nodes must be expanded using kinematic formulas.

[0071] In one embodiment, this embodiment uses a kinematic formula to expand the optimal node, selecting the node with the lowest cost for expansion. The kinematic model is described as follows:

[0072] Among them, direction indicates the direction of exploring the node, forward is 1, backward is -1, step is the expansion step (meters), WB indicates the wheelbase of the vehicle (meters), and steer is the vehicle turning angle (degrees).

[0073] In one embodiment, the cost of the node is expressed by the following formula: f(n)=ω g *g(n)+ω h *h(n)+ω r *r(n);

[0074] Where f(n) represents the cost of the node, g(n) represents the cost from the vehicle's starting position to the node, h(n) represents the cost from the node to the parking space, r(n) represents the angle between the direction vector of the node and the position vector of the next position point of the node, ω g The weight value representing the cost from the vehicle's starting position to the node, ω h represents the weight value of the cost required to travel from the node to the parking space, and r(n) represents the weight value of the angle between the direction vector of the node and the position vector of the next position point of the node.

[0075] In another embodiment, f(n) in the above formula may represent the cost of the node, g(n) may represent the cost required to travel from the vehicle's starting position to the node, h(n) may represent the cost required to travel from the node to the parking space, r(n) may represent the angle between the direction vector of the node and the position vector of the next position point of the node, and ω g The weight value of the cost required to travel from the vehicle's starting position to the node, ω h It can represent the weight value of the cost required from the node to the parking space, the ω r The weight value may represent the angle between the direction vector of the node and the position vector of the next position point of the node.

[0076] It should be noted that when determining the target path to the parking space, a determination can also be made as to whether the maximum planning time has been exceeded. Excessive planning time can negatively impact the user experience. If a feasible path is not found within the maximum planning time, the path search process is directly exited. Furthermore, in this embodiment, if no nodes can be expanded, it indicates that no feasible path exists. If a feasible path exists, expansion continues. During the expansion process, the RS curve is used to attempt to calculate a connecting path every N exploration steps until a path to the target point is found. The step can be dynamically adjusted based on the search progress.

[0077] The embodiments of the present application are described below through the following examples.

[0078] Figure 4 shows a schematic diagram of parking in a horizontal, end-of-line parking space. When parking in a horizontal end-of-line scenario, analyzing the parking scenario diagram reveals an obstacle ahead of the vehicle, and the target parking space is occupied by a vehicle adjacent to the target parking space (see Figure 3). Therefore, nodes 1, 2, 3, 11, and 12 are all unreachable, and there is no navigable path. At this point, the decision maker must adjust the parking posture. Reversing the parking direction will allow node 7 to be reached, from which the vehicle can reverse right into the parking space. Node 7 corresponds to Key Area 2 in the diagram, with an upward orientation. A U-turn is required from the starting position (corresponding to node 0) to node 7. To adjust the posture from node 5 to the upward orientation at node 4, the parking pattern 0-->7-->10 must be followed, reaching Key Area 1. Therefore, the entire horizontal parking space parking scenario can be divided into three sections. The first section is from the starting position to key area 1, the second section is from key area 1 to key area 2, and the third section is from key area 2 to the final parking position. By performing graph search according to the segmented strategy, the search space is greatly reduced, and the parking path shown in Figure 4 can be quickly obtained.

[0079] By analyzing environmental information, this embodiment can make path planning more reasonable compared to related technologies, and can plan a parking path that is both simple and easy to operate. It can also greatly shorten the search time in complex obstacle scenarios and obtain more reasonable path planning.

[0080] FIG5 illustrates a parking path planning device provided by an embodiment of the present application, comprising: an acquisition module 501 for acquiring a current posture of a vehicle, environmental information within a preset range of the vehicle, and position information of a parking space to be parked; a first determination module 502 for determining a target parking mode for the vehicle to reach the parking space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information, wherein the target parking mode includes target points that the vehicle passes through to reach the parking space and the order in which the vehicle passes through the target points; and a second determination module 503 for searching for a path to the parking space to be parked based on the current posture, the target parking posture, and the target parking mode, and determining the target path to the parking space to be parked.

[0081] The parking path planning device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 1. To avoid repetition, it will not be described here.

[0082] It should be noted that the embodiments of the parking path planning device in this specification and the embodiments of the parking path planning method in this specification are based on the same inventive concept. Therefore, the schematic implementation of the embodiments of the parking path planning device can refer to the implementation of the aforementioned corresponding embodiments of the parking path planning method, and the repeated parts will not be repeated.

[0083] The parking path planning device in the embodiments of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine (ATM), or a self-service machine, etc., and the embodiments of the present application do not specifically limit this.

[0084] The parking path planning device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0085] Based on the same technical concept, an embodiment of the present application further provides an electronic device for executing the above-mentioned parking path planning method. FIG6 is a schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 610, a communications interface (Communications Interface) 620, a memory (memory) 630, and a communication bus 640, wherein the processor 610, the communications interface 620, and the memory 630 communicate with each other via the communication bus 640. The processor 610 can call a computer program stored in the memory 630 and executable on the processor 610 to perform the following steps: obtaining the current posture of the vehicle, environmental information within a preset range of the vehicle, and position information of the parking space to be parked; determining a target parking mode for the vehicle to reach the parking space and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information, wherein the target parking mode includes target points that the vehicle passes through to reach the parking space to be parked and the order in which the vehicle passes through the target points; searching for a path to reach the parking space to be parked based on the current posture, the target parking posture, and the target parking mode, and determining the target path to reach the parking space to be parked.

[0086] In one embodiment, determining a target parking mode for the vehicle to arrive at the space to be parked and a target parking posture corresponding to the target parking mode based on the current posture of the vehicle, the environmental information, and the position information includes: defining a target area centered on the vehicle and determining intersections of multiple preset driving trajectories of the vehicle and a boundary line of the target area as candidate points to obtain a candidate point set, wherein the target area includes the space to be parked; selecting reachable points reachable by the vehicle from the candidate point set based on the environmental information to obtain a reachable point set; determining at least one parking mode based on the current posture, the position information, and preset parking conditions, the parking mode including the reachable points that the vehicle passes through to reach the space to be parked and the order in which the vehicle passes through the reachable points; determining the target parking mode from the at least one parking mode, and determining a target parking posture corresponding to the target parking mode.

[0087] In one embodiment, the environmental information includes the status of a grid in a grid map within a preset range of the vehicle, wherein the status includes an idle state and an occupied state; and selecting, based on the environmental information, a reachable point that is reachable by the vehicle from the set of candidate points to obtain the reachable point set, includes: for any candidate point, based on the status of the grid, if the line between the vehicle and the candidate point is scanned within a preset angle range and there is an occupied grid in the scanning area, deleting the candidate point from the set of candidate points to obtain the reachable point set.

[0088] In one embodiment, the preset parking conditions include: meeting preset parking specifications, and / or having a minimum number of accessible points passed through to reach the space to be parked; determining at least one parking mode based on the current position, the position information, and the preset parking conditions includes: determining, based on the current position and the position information, at least one route that passes through the accessible points in the process of the vehicle traveling to the space to be parked; selecting a route that meets the preset parking specifications from the at least one route, and / or selecting a route that has the minimum number of accessible points passed through to reach the space to be parked from the at least one route, to obtain the at least one parking mode, wherein each route corresponds to one parking mode.

[0089] In one embodiment, determining, based on the current posture and the position information, at least one route through which the vehicle passes through the reachable point in the process of traveling to the space to be parked includes: determining, based on the position information, an initial parking posture of the vehicle; and determining, based on the current posture and the initial parking posture, at least one route through which the vehicle passes through the reachable point in the process of traveling to the space to be parked.

[0090] In one embodiment, determining, based on the current posture and the position information, at least one route that passes through the reachable point in the process of the vehicle traveling to the to-be-parked space includes: if the route cannot be determined based on the current posture and the initial parking posture, adjusting the initial parking posture, and determining the at least one route based on the current posture and the adjusted parking posture.

[0091] In one embodiment, searching for a path to the parking space based on the current posture, the target parking posture, and the target parking mode to determine the target path to the parking space includes: using a preset search algorithm and an RS curve to attempt to search for a path between every two adjacent position points, the position points including the vehicle's starting position, the target point, and the parking space based on the current posture, the target parking posture, and the target parking mode; determining the RS curve as the target path when it is detected that no obstacles exist in the attempted search path; and when it is detected that an obstacle exists in the attempted search path, searching for a node with the minimum cost through the search algorithm for an extension, and determining the target path to the parking space based on the extended node.

[0092] In one embodiment, the cost of the node is expressed by the following formula: f(n)=ω g *g(n)+ω h *h(n)+ω r *r(n); where f(n) represents the cost of the node, g(n) represents the cost from the vehicle's starting position to the node, h(n) represents the cost from the node to the parking space, r(n) represents the angle between the direction vector of the node and the position vector of the next position point of the node, ω g The weight value representing the cost from the vehicle's starting position to the node, ω h represents the weight value of the cost required to travel from the node to the parking space, and r(n) represents the weight value of the angle between the direction vector of the node and the position vector of the next position point of the node.

[0093] In one embodiment, the cost of the node is expressed by the following formula: f(n)=ω g *g(n)+ω h *h(n)+ω r*r(n); where f(n) represents the cost of the node, g(n) represents the cost from the vehicle's starting position to the node, h(n) represents the cost from the node to the parking space, r(n) represents the angle between the direction vector of the node and the position vector of the next position point of the node, ω g The weight value representing the cost from the vehicle's starting position to the node, ω h represents the weight value of the cost from the node to the parking space, the ω r The weight value representing the angle between the direction vector of the node and the position vector of the next position point of the node.

[0094] The relevant execution steps can refer to the various steps of the above-mentioned parking path planning method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0095] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices other than terminals.

[0096] The above electronic device structure does not constitute a limitation of the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. to configure the display panel. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include but are not limited to a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0097] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM) and direct rambus random access memory (DRRAM).

[0098] A processor may include one or more processing units. In one embodiment, the processor integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into the processor.

[0099] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned parking path planning method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0100] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk.

[0101] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0102] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0103] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0105] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A parking path planning method, comprising: Acquire the current position of the vehicle, the environment information within the preset range of the vehicle and the position information of the parking space to be parked; Determining a target parking mode for the vehicle to arrive at the parking space and a target parking mode corresponding to the target parking mode according to the current posture of the vehicle, the environment information and the position information, wherein the target parking mode includes target points that the vehicle passes through to arrive at the parking space and an order of passing through the target points; According to the current posture, the target parking posture and the target parking mode, a path to the parking space is searched to determine the target path to the parking space.

2. The parking path planning method according to claim 1, wherein: The determining, according to the current posture of the vehicle, the environment information and the position information, a target parking mode for the vehicle to arrive at the parking space and a target parking posture corresponding to the target parking mode includes: Delimiting a target area with the vehicle as the center and determining intersections of a plurality of preset driving trajectories of the vehicle and a boundary line of the target area as candidate points to obtain a candidate point set, wherein the target area includes the parking space to be parked; According to the environmental information, select a reachable point that is reachable by the vehicle from the set of candidate points to obtain a reachable point set; Determining at least one parking mode according to the current position, the position information and the preset parking condition, the parking mode including the accessible points that the vehicle passes through to reach the parking space and the order of passing through the accessible points; The target parking mode is determined from the at least one parking mode, and a target parking posture corresponding to the target parking mode is determined.

3. The parking path planning method according to claim 2, wherein: The environmental information includes the state of a grid in a grid map within a preset range of the vehicle, wherein the state includes an idle state and an occupied state; The step of selecting, according to the environmental information, a reachable point that is reachable by the vehicle from the set of candidate points to obtain a reachable point set includes: For any candidate point, according to the state of the grid, when the line between the vehicle and the candidate point is scanned within a preset angle range and there is an occupied grid in the scanning area, the candidate point is deleted from the candidate point set to obtain the reachable point set.

4. The parking path planning method according to claim 2, wherein: The preset parking conditions include: meeting preset parking specifications, and / or having a minimum number of accessible points to reach the parking space; The determining at least one parking mode according to the current posture, the position information and the preset parking condition includes: Determining, according to the current posture and the position information, at least one route that passes through the reachable point during the process of the vehicle traveling to the parking space; A route that meets the preset parking specification is selected from the at least one route, and / or a route with the least number of accessible points passed through to reach the parking space is selected from the at least one route to obtain the at least one parking mode, wherein each of the routes corresponds to one parking mode.

5. The parking path planning method according to claim 4, wherein: The determining, based on the current position and the position information, at least one route that passes through the reachable point during the process of the vehicle traveling to the parking space includes: Determining an initial parking position of the vehicle according to the position information; At least one route passing through the reachable point during the process of the vehicle traveling to the parking space is determined according to the current position and the initial parking position.

6. The parking path planning method according to claim 5, wherein: The determining, based on the current position and the position information, at least one route that passes through the reachable point during the process of the vehicle traveling to the parking space includes: In the case that the route cannot be determined according to the current posture and the initial parking posture, the initial parking posture is adjusted, and the at least one route is determined according to the current posture and the adjusted parking posture.

7. The parking path planning method according to claim 1, wherein: The step of searching for a path to the parking space according to the current position, the target parking position and the target parking mode to determine the target path to the parking space includes: According to the current posture, the target parking posture and the target parking mode, a preset search algorithm is used to try to search for a path between every two adjacent position points using an RS curve, wherein the position points include a starting position of the vehicle, the target point and the parking space to be parked; In the case where it is detected that there is no obstacle in the attempted search path, determining the RS curve as the target path; When it is detected that there is an obstacle in the path being searched, the search algorithm is used to search for a node with the minimum cost for expansion, and a target path to the parking space is determined based on the expanded node.

8. The parking path planning method according to claim 7, wherein: The cost of the node is expressed by the following formula: f(n)=ω g *g(n)+ω h *h(n)+ω r *r(n); Wherein, f(n) represents the cost of the node, g(n) represents the cost from the starting position of the vehicle to the node, h(n) represents the cost from the node to the parking space, r(n) represents the angle between the direction vector of the node and the position vector of the next position point of the node, ω g The weight value representing the cost from the starting position of the vehicle to the node, ω h represents the weight value of the cost from the node to the parking space, the ω r The weight value representing the angle between the direction vector of the node and the position vector of the next position point of the node.

9. An electronic device comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the parking path planning method as described in any one of claims 1 to 8.

10. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the parking path planning method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Parking path setting method and system

    CN109733384A

  • Parking path determination method and device, vehicle and storage medium

    CN113460040A

  • Parking path planning method, parking path planning device, vehicle and storage medium

    CN113985871A

  • Path planning method and device for parking vehicle head into parking space, and storage medium

    CN114523958A

  • Path planning method, system and device for autonomous driving

    US20200149906A1

Cited By

  • Path planning method and device based on parking scene, equipment and storage medium

    CN119821372A

  • Parking path generation method and electronic equipment

    CN122058901A

  • Layered retrieval guide visual world model planning method and system for automatic parking

    CN122519256A

  • Global path planning-based horizontal transport device dispatching method and device

    WO2026076880A1