Automatic parking method and apparatus

By considering the area type and location relationship of candidate route points in the automatic parking technology, combined with user driving habits, the parking path planning is optimized, which solves the problem of large differences between traditional automatic parking and manual parking scenarios, and improves user experience and Security.

WO2024188108A1PCT designated stage expired Publication Date: 2024-09-19YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Patent Information

Application Number
PCT/CN2024/080119
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2024-03-05
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The parking path planning method in traditional automatic parking technology is too simple, resulting in large differences between automatic parking and manual parking scenarios, which affects the user experience.

Method used

By obtaining the type and location relationship of the area where the candidate way point is located, determine the traffic cost, plan the parking path, reduce the possibility of unexpected traffic areas, reduce unnecessary gear changes, optimize steering, and evaluate obstacle types and collision risks. Plan routes based on user driving habits.

Benefits of technology

It improves the experience and efficiency of automatic parking, reduces the risk of collision and user tension, and improves the safety and accessibility of parking paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080119_19092024_PF_FP_ABST
    Figure CN2024080119_19092024_PF_FP_ABST
Patent Text Reader

Abstract

An automatic parking method and apparatus. The method comprises: acquiring a first candidate path point and a second candidate path point, wherein the first candidate path point is located in a first area, and the second candidate path point is located in a second area; determining a first cost according to the type of the first area and a positional relationship between the first candidate path point and the first area, and determining a second cost according to the type of the second area and a positional relationship between the second candidate path point and the second area; and planning a parking path according to the first cost and the second cost. Further disclosed are an automatic parking apparatus using the method, an automatic parking system, and a vehicle (100). By means of planning a parking path in combination with the types of areas where candidate path points are located, the possibility of vehicles passing through areas, such as grasslands, traversable curbs and traversable potholes, can be reduced, such that the experience of automatic parking can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Automatic parking method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 15, 2023, with application number 202310284876.2 and invention name “Method and Device for Automatic Parking”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of intelligent driving, and more specifically, to a method and device for automatic parking. Background Art

[0003] The rapid development of the automotive industry has led to the emergence of numerous assisted and autonomous driving technologies, such as automated parking, which can reduce driving stress and improve safety and convenience. However, traditional automated parking solutions employ a simplistic approach to parking path planning, resulting in significant discrepancies between the planned paths and those used in manual parking scenarios. This results in a less human-like automated parking experience, impacting the user experience.

[0004] In view of this, an automatic parking solution that can improve the parking experience is in urgent need of development.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method and apparatus for automatic parking, which can plan a parking route based on the type of area where candidate path points are located, thereby improving the automatic parking experience.

[0007] In the first aspect, a method for automatic parking is provided. The method can be executed by a vehicle, or by a terminal (such as a computing platform, etc.) provided in the vehicle, or by a chip or processing circuit in the terminal, and the embodiments of the present application are not limited to this.

[0008] The method includes: obtaining a first candidate path point and a second candidate path point, the first candidate path point being located in a first area and the second candidate path point being located in a second area; determining a first cost based on the type of the first area and the positional relationship between the first candidate path point and the first area, and determining a second cost based on the type of the second area and the positional relationship between the second candidate path point and the second area; and planning a parking path based on the first cost and the second cost.

[0009] In the present application, the cost of passing through the area where the candidate path point is located can be determined based on the type of area where the candidate path point is located and the positional relationship between the candidate path point and the area. By identifying the various areas in the parking environment where the vehicle is located, the possibility of the vehicle passing through unexpected passage areas in manual parking scenarios such as grass, traversable curbs, and traversable potholes during automatic parking can be reduced, thereby improving the automatic parking experience.

[0010] In combination with the first aspect, in certain implementations of the first aspect, the vehicle is in a first gear in a first planned path and in a second gear in a first candidate path, and the first candidate path is a predicted path between the first planned path and the first candidate path point. The method may further include: obtaining a first speed of the vehicle through the first planned path and a first duration of time for the vehicle to pass through the first candidate path; when the first gear and the second gear are different, determining a first driving distance based on the first speed and the first duration; determining a third cost based on the first driving distance and the length of the first candidate path; and planning a parking path based on the first cost and the second cost may include: planning the parking path based on the first cost, the second cost, and the third cost.

[0011] In this application, when a candidate path point involves a gear shift, the first speed of the vehicle as it passes through the first planned path can be used to determine the distance the vehicle can travel within a first time period without shifting gears, i.e., the first travel distance. By obtaining this first candidate path, the distance the vehicle can travel within the first time period with a gear shift, i.e., the length of the first candidate path, can be determined. The gear shift cost corresponding to the candidate path point can then be determined. This approach can reduce unnecessary gear shifts and improve parking efficiency.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: obtaining a first turning corner of the vehicle passing through a second planned path and a second turning corner of the vehicle passing through a second candidate path, the second candidate path being a predicted path between the second planned path and the first candidate path point; when the directions of the first turning corner and the second turning corner are different, determining a fourth cost based on the first turning corner and the second turning corner; planning a parking path based on the first cost and the second cost, including: planning the parking path based on the first cost, the second cost and the fourth cost.

[0013] In the present application, when the first turning corner and the second turning corner are in different directions, and the candidate path corresponding to the candidate path point will result in an S-shaped path in the parking trajectory, the turning cost caused by determining the candidate path point based on the first turning corner and the second turning corner can reduce the difficulty of tracking the trajectory at the execution layer while ensuring parking efficiency, reduce the probability of manual takeover, and reduce the risk of collision, thereby further enhancing users' trust in automatic parking.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the first turning angle is a maximum value of the turning angles adopted by the vehicle when passing through the second planned path.

[0015] In the present application, by adopting the maximum value of the turning angle adopted by the vehicle when passing through the second planned path, the impact caused by the change of the turning angle adopted by the vehicle in the second planned path can be reduced, and the impact of the vehicle turning angle return on the steering cost of the S-shaped path can be reduced.

[0016] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: determining the type of surrounding obstacles; determining a fifth cost based on the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determining a sixth cost based on the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; planning a parking path based on the first cost and the second cost includes: planning the parking path based on the first cost, the second cost, the fifth cost, and the sixth cost.

[0017] In this application, the cost of avoiding collisions is evaluated in combination with the type of obstacle, which can leave more safety space for non-extreme scenarios, increase the safety and passability of the parking path, and further enhance the user experience of automatic parking.

[0018] In combination with the first aspect, in some implementations of the first aspect, the type of the obstacle includes a dynamic obstacle or a static obstacle.

[0019] In this application, based on the classification of dynamic obstacles and static obstacles, the collision risk of the vehicle with obstacles during parking is evaluated. While taking into account the passability of the parking trajectory, the collision risk caused by the sudden movement of dynamic obstacles can be reduced, which can avoid the tension caused to the user in this scenario, improve the safety of the parking path, and enhance the user experience.

[0020] In combination with the first aspect, in certain implementations of the first aspect, the vehicle is in third gear in the third candidate path, and in fourth gear in the fourth candidate path, the third candidate path is a predicted path between the third planned path and the first candidate path point, and the fourth candidate path is a predicted path between the third planned path and the second candidate path point. The method also includes: determining a first gear cost coefficient based on the third gear, and determining a second gear cost coefficient based on the fourth gear; determining a seventh cost based on the first gear cost coefficient and the length of the third candidate path, and determining an eighth cost based on the second gear cost coefficient and the length of the fourth candidate path; planning a parking path based on the first cost and the second cost, including: planning the parking path based on the first cost, the second cost, the seventh cost and the eighth cost.

[0021] In this application, the gear cost is determined in combination with the gear corresponding to the candidate path point, which is conducive to planning the parking path in combination with the user's driving habits and driving experience, making the planned parking path easy for the user to understand and accept, and further improving the user's experience of automatic parking.

[0022] In combination with the first aspect, in certain implementations of the first aspect, the positional relationship between the first candidate path point and the first area includes the distance between the first candidate path point and a first boundary, where the first boundary is the boundary passed by the vehicle when entering the first area.

[0023] In the present application, the cost corresponding to the candidate path point is determined based on the distance between the boundary passed by the parking vehicle entering the first area and the candidate path point, which can improve the accuracy of the cost determined for the unexpected passage area.

[0024] In a second aspect, an automatic parking device is provided, which may include: an acquisition unit, which may be used to: acquire a first candidate path point and a second candidate path point, the first candidate path point being located in a first area, and the second candidate path point being located in a second area; a processing unit, which may be used to: determine a first cost based on the type of the first area and the positional relationship between the first candidate path point and the first area, and determine a second cost based on the type of the second area and the positional relationship between the second candidate path point and the second area; and plan a parking path based on the first cost and the second cost.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the vehicle is in the first gear in the first planned path and in the second gear in the first candidate path, and the first candidate path is a predicted path between the first planned path and the first candidate path point. The processing unit can also be used to: obtain a first speed of the vehicle through the first planned path, and a first duration of time for the vehicle to pass through the first candidate path; when the first gear is different from the second gear, determine a first driving distance based on the first speed and the first duration; determine a third cost based on the first driving distance and the length of the first candidate path; the processing unit can be used to: plan the parking path based on the first cost, the second cost, and the third cost.

[0026] In combination with the second aspect, in certain implementations of the second aspect, the processing unit can also be used to: obtain the first turning corner of the vehicle through the second planned path and the second turning corner of the vehicle through the second candidate path, the second candidate path being the predicted path between the second planned path and the first candidate path point; when the directions of the first turning corner and the second turning corner are different, determine the fourth cost based on the first turning corner and the second turning corner; the processing unit can be used to: plan the parking path based on the first cost, the second cost and the fourth cost.

[0027] In combination with the second aspect, in certain implementations of the second aspect, the first turning angle is a maximum value of the turning angles adopted by the vehicle when passing through the second planned path.

[0028] In combination with the second aspect, in certain implementations of the second aspect, the processing unit can also be used to: determine the type of surrounding obstacles; determine a fifth cost based on the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determine a sixth cost based on the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; the processing unit can be used to: plan the parking path based on the first cost, the second cost, the fifth cost and the sixth cost.

[0029] In combination with the second aspect, in certain implementations of the second aspect, the type of the obstacle includes a dynamic obstacle or a static obstacle.

[0030] In combination with the second aspect, in certain implementations of the second aspect, the vehicle is in the third gear in the third candidate path, and the vehicle is in the fourth gear in the fourth candidate path. The third candidate path is the predicted path between the third planned path and the first candidate path point, and the fourth candidate path is the predicted path between the third planned path and the second candidate path point. The processing unit can also be used to: determine the first gear cost coefficient based on the third gear, and determine the second gear cost coefficient based on the fourth gear; determine the seventh cost based on the first gear cost coefficient and the length of the third candidate path, and determine the eighth cost based on the second gear cost coefficient and the length of the fourth candidate path; the processing unit can be used to: plan the parking path based on the first cost, the second cost, the seventh cost and the eighth cost.

[0031] In combination with the second aspect, in certain implementations of the second aspect, the positional relationship between the first candidate path point and the first area includes the distance between the first candidate path point and a first boundary, where the first boundary is the boundary passed by the vehicle when entering the first area.

[0032] In a third aspect, an automatic parking device is provided, which includes: a memory for storing a computer program; and a processor for executing the computer program stored in the memory, so that the device performs the method in the above-mentioned first aspect and any possible implementation thereof.

[0033] In a fourth aspect, a vehicle is provided, comprising the apparatus of the second aspect or the third aspect and any possible implementation thereof.

[0034] In a fifth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect and any possible implementation thereof.

[0035] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable medium stores a computer program. When the computer program runs on a computer, the computer executes the method in the first aspect and any possible implementation thereof.

[0036] In a seventh aspect, a chip is provided, which includes a circuit for executing the method in the above-mentioned first aspect and any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] FIG1 is a functional block diagram of a vehicle provided in an embodiment of the present application;

[0038] FIG2 is a schematic diagram of a system architecture provided in an embodiment of the present application;

[0039] FIG3 is a schematic flow chart of an automatic parking method provided in an embodiment of the present application;

[0040] FIG4 is a schematic diagram of a parking scenario provided in an embodiment of the present application;

[0041] FIG5 is a schematic diagram of a process for evaluating the cost of collision avoidance risk provided by an embodiment of the present application;

[0042] FIG6 is a schematic diagram of a parking planning scenario provided in an embodiment of the present application;

[0043] FIG7 is a schematic diagram of a multi-circle equivalent model of a vehicle provided in an embodiment of the present application;

[0044] FIG8 is a schematic diagram of a parking planning scenario provided in an embodiment of the present application;

[0045] FIG9 is a schematic diagram of a process for evaluating the cost of an expected passage area provided in an embodiment of the present application;

[0046] FIG10 is a schematic diagram of a parking planning scenario provided in an embodiment of the present application;

[0047] FIG11 is a schematic diagram of another parking planning scenario provided in an embodiment of the present application;

[0048] FIG12 is a schematic diagram of a vehicle speed change during a gear shifting process provided by an embodiment of the present application;

[0049] FIG13 is a schematic diagram of another parking planning scenario provided in an embodiment of the present application;

[0050] FIG14 is a schematic diagram of another parking planning scenario provided in an embodiment of the present application;

[0051] FIG15 is a schematic diagram illustrating a process of an automatic parking method provided in an embodiment of the present application;

[0052] FIG16 shows a schematic block diagram of an automatic parking device provided in an embodiment of the present application;

[0053] FIG17 is a schematic block diagram of another automatic parking device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0055] FIG1 is a functional block diagram of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 may include a perception system 120, a display device 130, and a computing platform 150, wherein the perception system 120 may include one or more sensors for sensing information about the environment surrounding the vehicle 100. For example, the perception system 120 may include a positioning system, which may be a global positioning system (GPS), a BeiDou system, or other positioning systems. The perception system 120 may also include an inertial measurement unit (IMU), one or more of a laser radar, a millimeter-wave radar, an ultrasonic radar, and a camera device.

[0056] Some or all functions of vehicle 100 may be controlled by computing platform 150. Computing platform 150 may include one or more processors, such as processors 151 to 15n (n is a positive integer). A processor is a circuit capable of processing signals. In one implementation, the processor may be a circuit capable of reading and executing instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor may implement certain functions through the logical relationships of hardware circuits. The logical relationships of the hardware circuits may be fixed or reconfigurable. For example, the processor may be a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of the processor loading a configuration file to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. In addition, the computing platform 150 can also include a memory for storing instructions, and some or all of the processors 151 to 15n can call the instructions in the memory to implement corresponding functions.

[0057] The vehicle in this application is a vehicle in a broad sense, which can be a means of transportation (such as commercial vehicles, passenger cars, motorcycles, etc.), industrial vehicles (such as forklifts, trailers, tractors, etc.), engineering vehicles (such as excavators, bulldozers, cranes, etc.), agricultural equipment (such as mowers, harvesters, etc.), amusement equipment, toy vehicles, etc. The embodiments of this application do not specifically limit the type of vehicle.

[0058] Vehicle 100 may include an advanced driving assistant system (ADAS). ADAS utilizes a variety of sensors on intelligent driving equipment (including but not limited to: lidar, millimeter-wave radar, camera, ultrasonic sensor, global positioning system, inertial measurement unit) to obtain information from the vehicle's surroundings, and analyzes and processes the obtained information to implement functions such as obstacle perception, target recognition, vehicle positioning, path planning, driver monitoring / reminders, etc., thereby improving driving safety, automation, and comfort.

[0059] From a logical function perspective, ADAS systems generally include three main functional modules: perception module, decision module and execution module. The perception module perceives the surrounding environment of the vehicle body through sensors and inputs corresponding real-time data to the decision-making layer processing center. The perception module mainly includes on-board cameras / ultrasonic radars / millimeter-wave radars / lidars, etc.; the decision module uses computing devices and algorithms to make corresponding decisions based on the information obtained by the perception module; the execution module takes corresponding actions after receiving the decision signal from the decision module, such as driving, changing lanes, steering, braking, warnings, etc.

[0060] ADAS can provide different levels of automated driving assistance at different levels of automated driving (L0-L5) based on artificial intelligence algorithms and information acquired by multiple sensors. For example, the aforementioned automated driving levels (L0-L5) can be based on the grading standards of the Society of Automotive Engineers (SAE). L0 is no automation; L1 is driving assistance; L2 is partial automation; L3 is conditional automation; L4 is high automation; and L5 is full automation. At L1-L3, monitoring and responding to road conditions are performed jointly by the driver and the system, with the driver taking over dynamic driving tasks. At L4 and L5, the driver completely transitions to a passenger role. Currently, ADAS features include, but are not limited to, adaptive cruise control, automatic emergency braking, automated parking, blind spot monitoring, front cross-traffic alert / braking, rear cross-traffic alert / braking, front collision warning, lane departure warning, lane keep assist, rear collision warning, traffic sign recognition, traffic jam assistance, and highway assistance. It should be understood that the various functions described above can have specific modes at different levels of autonomous driving (L0-L5), and the higher the level of autonomous driving, the more intelligent the corresponding mode. For example, automatic parking can include automatic parking assist (APA), remote parking assist (RPA), and automatic valet parking (AVP). With APA, the driver does not need to operate the steering wheel, but still needs to operate the accelerator and brake on the vehicle; with RPA, the driver can use a terminal (such as a mobile phone) to remotely park the vehicle from outside the vehicle; with AVP, the vehicle can complete parking without a driver. In terms of the corresponding autonomous driving levels, APA is approximately at the L1 level, RPA is approximately at the L2-L3 level, and AVP is approximately at the L4 level.

[0061] As mentioned above, when controlling a vehicle into a parking space, the parking path planned by current automated parking systems often differs significantly from that used in manual parking scenarios. This means that automated parking is less user-friendly, impacting the user experience. For example, when there are obstacles in the parking scenario, the safety threshold for the clearance between the planned path and the obstacle is often too extreme, causing psychological tension in the driver and resulting in a poor user experience. Another example is that the planned parking path may occupy areas of lawn or curbs that the driver may not have anticipated. Furthermore, due to driver experience and experience with forward gear, drivers may be more inclined to park in forward gear in manual parking scenarios. The gear and / or shift timing used in traditional automated parking solutions may differ significantly from those used in manual parking scenarios. Furthermore, in manual parking scenarios, drivers often have a clearer vision for parking, while traditional automated parking solutions may frequently adjust direction or change lanes. All of these factors can affect the user experience with automated parking. In view of this, the present application provides a method and device for automatic parking, which can improve the user's parking experience.

[0062] For example, Figure 2 is a schematic diagram of a system architecture provided by an embodiment of the present application. System 200 may include a perception module, a planning module, and an execution module. The perception module may include one or more cameras and / or one or more radar sensors in the perception system 120 shown in Figure 1. The perception module is used to collect environmental information surrounding the vehicle, such as information about the parking area and obstacles. The perception module may also process the collected environmental information, for example, by building a world model consisting of the parking area, roads, obstacles, etc. The planning module may be the computing platform 150 shown in Figure 1, or one or more processors within the computing platform 150, or one or more processors within a cloud server associated with the vehicle 100 shown in Figure 1. The planning module may be used to select a target parking area based on parking area information; plan a motion path for the vehicle when parking in the area based on obstacle information and the target parking area; and further calculate corresponding control variables based on the motion path. When the execution module executes the control variables, the vehicle can park in the target parking area according to the planned motion path. In some possible implementations, the execution module may include a steering and braking system in the vehicle 100 .

[0063] In one embodiment, by processing the collected environmental information, map information containing semantics can be obtained. Based on the semantic map, the planning module can obtain information about the target parking space, information about surrounding dynamic obstacles and / or static obstacles, and information such as road structure. By constructing an obstacle distance potential field and a human-like passage area potential field, combined with the kinematic characteristics of the vehicle, the quality of the candidate motion path can be evaluated during the motion path planning process, and the final parking trajectory of the target parking space can be determined based on the optimal candidate motion path. The planning module can calculate the corresponding control quantity based on the final parking trajectory. The actuator can achieve a closed-loop parking control effect based on the vehicle control instructions of the planning module.

[0064] In some possible implementations, the system may include more or fewer modules, which is not limited in the embodiments of the present application.

[0065] For example, FIG3 is a flow chart of an automatic parking method provided by an embodiment of the present application. The method 300 can be executed by a vehicle, or by the computing platform, or by a processor or processing circuit in the computing platform. The method 300 may include the following steps:

[0066] S310: Acquire a first candidate path point and a second candidate path point, wherein the first candidate path point is located in a first area, and the second candidate path point is located in a second area.

[0067] For example, when planning a parking route, the next stage of route planning may involve multiple candidate pathpoints. A target pathpoint is determined from these multiple candidate pathpoints to plan the next stage of route planning. The first candidate pathpoint can be any candidate pathpoint, and the second candidate pathpoint can also be any candidate pathpoint. For example, if the first candidate pathpoint and the second candidate pathpoint have the same parent node, the planned parking route following the parent node can pass through either the first candidate pathpoint or the second candidate pathpoint.

[0068] For example, a parking scenario may involve various areas, such as grassy areas, vacant parking spaces, areas with curbs that can be crossed, and areas with small gullies, which are areas that drivers do not expect to pass through. Alternatively, areas that drivers expect to pass through may include passable roads and vacant flat land. The first area can be any area, and the second area can be any area. When planning a parking route, the candidate pathpoints involved can be located in each area.

[0069] S320, determining a first cost based on the type of the first area and the positional relationship between the first candidate path point and the first area, and determining a second cost based on the type of the second area and the positional relationship between the second candidate path point and the second area.

[0070] For example, the data collected by the perception system can be used to determine the type of each area in the parking scene based on preset classification rules.

[0071] In some possible implementations, expected and unintended traffic areas can be determined in a parking scenario. The expected traffic area may represent areas that the driver intends to pass through, such as roads and vacant lots. The unintended traffic area may represent areas that the driver does not intend to pass through, such as grass, areas where a traversable curb is located, areas where vacant parking spaces are located, and areas where a traversable ditch is located.

[0072] In some possible implementations, vegetation areas, areas with road smoothness below a preset condition, areas with road smoothness above a preset condition, and areas with wading water can be determined in the parking scene. For example, areas with road smoothness below a preset condition can include areas where curbs can be crossed, areas where gullies can be crossed, and so on.

[0073] In some possible implementations, soil-covered areas, concrete-covered areas, asphalt-covered areas, etc. in the parking scene may be determined. For example, a concrete road in the parking scene may belong to a concrete-covered area, and an asphalt road may belong to an asphalt-covered area.

[0074] It should be understood that the above description of the types of regions is only an example and is not limited to this embodiment of the present application.

[0075] Exemplarily, the positional relationship between the first candidate pathpoint and the first area may be the distance between the first candidate pathpoint and the boundary of the first area. For example, if the first candidate pathpoint is outside the unintended passage area, or if the first candidate pathpoint is within the expected passage area, the first cost may be zero. For another example, if the first candidate pathpoint is within the unintended passage area, the first cost may be determined based on the distance the first candidate pathpoint intrudes into the unintended passage area.

[0076] S330: Plan a parking route based on the first cost and the second cost.

[0077] For example, planning a parking path based on the first cost and the second cost may include determining a target pathpoint from the first and second candidate pathpoints based on the first and second costs, and planning a parking path based on the parent node and the target pathpoint. In other words, planning a parking path may include planning a parking path for any segment of the entire parking path from the starting parking position to the parking space.

[0078] In some possible implementations, the parent node may correspond to multiple candidate path points, and the costs corresponding to the multiple candidate path points may be determined respectively; the target path point may be determined based on the cost of each candidate path point; and a parking path between the parent node and the target path point may be planned.

[0079] Optionally, the vehicle is in a first gear in a first planned path and in a second gear in a first candidate path, and the first candidate path is a predicted path between the first planned path and the first candidate path point. The method may further include: obtaining a first speed of the vehicle through the first planned path and a first duration of time for the vehicle to pass through the first candidate path; when the first gear is different from the second gear, determining a first driving distance based on the first speed and the first duration; determining a third cost based on the first driving distance and the length of the first candidate path; and planning a parking path based on the first cost and the second cost may include: planning the parking path based on the first cost, the second cost, and the third cost.

[0080] In one embodiment, the parent node of the first candidate path point and the second candidate path point is the same, the first candidate path can be the predicted path between the first candidate path point and the parent node, the second candidate path can be the predicted path between the second candidate path point and the parent node, and the first planned path can be the planned path and predicted path between the parent node of the parent node and the parent node.

[0081] In another embodiment, the first speed can be understood as a characteristic value of the speed at which the vehicle is expected to pass through the first planned path. For example, in automatic parking, assuming that the parking speed of the vehicle in forward gear is 3 kilometers per hour (km / h) and the parking speed of the vehicle in reverse gear is 2km / h, the first speed can be determined based on the gear position used by the vehicle when passing through the first planned path. For another example, the first speed can be the maximum speed of the vehicle when passing through the first planned path. For another example, the first speed can be the planned speed of the vehicle before braking and decelerating near the parent node when passing through the first planned path.

[0082] In another embodiment, the first candidate path can be determined based on the positions of the first candidate path point and the parent node. For example, based on the coordinates of the first candidate path point and the parent node, a line segment connecting the two can be determined, and the line segment can be regarded as the first candidate path. For another example, after the cost of the first candidate path point is preliminarily confirmed based on the line segment, the path between the first candidate path point and the parent node is specifically planned during the path planning stage. For another example, the first candidate path can be predicted based on multiple path points including the first candidate path point, the parent node, and the path point before the parent node.

[0083] In another embodiment, the first gear may be a forward gear and the second gear may be a reverse gear; or the first gear may be a reverse gear and the second gear may be a forward gear. Alternatively, the first gear and the second gear may be other gears.

[0084] In another embodiment, the first duration can be understood as the predicted duration for the vehicle to travel from the parent node to the first candidate path point in the parking plan. For example, based on the first duration and the above-mentioned first speed, the distance that the vehicle can travel without shifting gears, that is, the first driving distance, can be calculated. For another example, the length of the first candidate path can be understood as the distance that the vehicle can travel within the first duration when shifting gears. Based on the difference between the first driving distance and the length of the first candidate path, the difference in distance that can be traveled with and without shifting gears within the first duration can be known. For another example, based on the difference, the cost caused by the gear shift involved in the first candidate path point can be determined.

[0085] Optionally, the method may further include: obtaining a first turning corner of the vehicle passing through a second planned path and a second turning corner of the vehicle passing through a second candidate path, the second candidate path being a predicted path between the second planned path and the first candidate path point; when the directions of the first turning corner and the second turning corner are different, determining a fourth cost based on the first turning corner and the second turning corner; planning a parking path based on the first cost and the second cost may include: planning the parking path based on the first cost, the second cost and the fourth cost.

[0086] In one embodiment, the second planned path may be a planned path, for example, it may be a planned path or a predicted path between the parent node of the first candidate node and the parent node of the parent node, that is, the second planned path and the first planned path may be the same path. For another example, the second planned path may be a planned path with the parent node as the end point and the gear position unchanged. For another example, the second planned path may be a planned path with the parent node as the end point and maintaining a forward posture or a reverse posture. For another example, the second candidate planned path may be a predicted path between the parent node and the first candidate path point.

[0087] In another embodiment, the first turning angle may be a characteristic value of the turning angle of the vehicle passing through the second planned path. For example, it may be the average value of the turning angle of the vehicle passing through the second planned path. For another example, it may be the maximum value of the turning angle of the vehicle passing through the second planned path. For another example, it may be an angle that is a preset proportion (such as 70% or 80%) of the maximum value of the turning angle. It should be understood that the first turning angle may also be other characteristic values ​​of the turning angle in the second planned path, and the embodiments of the present application are not limited to this.

[0088] In another embodiment, when the vehicle adopts the first turning angle, the vehicle turns left, and when the vehicle adopts the second turning angle, the vehicle turns right. Therefore, it can be considered that the directions of the first turning angle and the second turning angle are different.

[0089] In some possible implementations, the first turning angle may be a maximum value of the turning angles used when the vehicle passes through the second planned path.

[0090] Optionally, the method may also include: determining the type of surrounding obstacles; determining a fifth cost based on the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determining a sixth cost based on the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; planning the parking path based on the first cost and the second cost may include: planning the parking path based on the first cost, the second cost, the fifth cost and the sixth cost.

[0091] For example, the type of obstacles around the vehicle can be determined based on the environmental information around the vehicle, and the obstacle distance cost of the candidate path point can be calculated based on the type of obstacle and the distance between the candidate path point and the obstacle.

[0092] In some possible implementations, the obstacle type may include a static obstacle or a dynamic obstacle. For example, the obstacle may be determined to be a static obstacle or a dynamic obstacle based on the moving speed of the obstacle.

[0093] In one embodiment, assume that the obstacles surrounding the vehicle include a standing pedestrian and a parking lot pillar. Since the pillar does not move, it can be considered a static obstacle. When the distance between the candidate waypoint and the pedestrian is equal to the distance between the waypoint and the pillar, although the pedestrian is standing and has zero speed, the risk posed by the pedestrian is different from that of the pillar because the pedestrian may move at any time. Therefore, the pedestrian can be considered a dynamic obstacle.

[0094] In another embodiment, assume that obstacles surrounding a vehicle include adults, children, and animals. Compared to children and animals, adults are more likely to avoid moving vehicles. When the distance between a candidate pathpoint and an adult is equal to the distance between a candidate pathpoint and a child, the risk posed by a child is greater, and the corresponding obstacle distance cost can be greater. For example, the corresponding obstacle distance cost coefficient can be determined based on the type of obstacle, and the obstacle distance cost can be determined in combination with the distance between the candidate pathpoint and the obstacle.

[0095] Optionally, the vehicle is in the third gear in the third candidate path, and in the fourth candidate path, the vehicle is in the fourth gear. The third candidate path is the predicted path between the third planned path and the first candidate path point, and the fourth candidate path is the predicted path between the third planned path and the second candidate path point. The method may also include: determining a first gear cost coefficient based on the third gear, and determining a second gear cost coefficient based on the fourth gear; determining a seventh cost based on the first gear cost coefficient and the length of the third candidate path, and determining an eighth cost based on the second gear cost coefficient and the length of the fourth candidate path; planning a parking path based on the first cost and the second cost may include: planning the parking path based on the first cost, the second cost, the seventh cost and the eighth cost.

[0096] In one embodiment, the first candidate path point and the second candidate path point have the same parent node, and the third planned path can be understood as the planned path before the parent node. The third candidate path can be a predicted path between the first candidate path point and the parent node, and the second candidate path can be a predicted path between the second candidate path point and the parent node.

[0097] In another embodiment, due to differences in drivers' gear usage habits and experience, a gear cost coefficient can be determined based on the gear information corresponding to a candidate pathpoint. The gear cost corresponding to the candidate pathpoint can be determined based on the length of the candidate path between the candidate pathpoint and its parent node and the gear cost coefficient. For example, the first cost, the second cost, and the gear costs corresponding to the first and second candidate pathpoints can be combined to plan a parking route.

[0098] In some possible implementations, the positional relationship between the first candidate path point and the first area includes: a distance between the first candidate path point and a first boundary, where the first boundary is a boundary passed by the vehicle when entering the first area.

[0099] In some possible implementations, method 300 may also be executed by a cloud server, or by a chip or processing circuit disposed in the cloud server. For example, the cloud server may exchange information with the vehicle, plan a parking path, and issue instructions to the vehicle regarding the planned parking path.

[0100] For ease of understanding and explanation, the lane keeping method provided by the embodiment of the present application is described below with reference to Figures 4 to 15 . The method embodiments in Figures 4 to 15 can be understood as an extension of method 300 .

[0101] When planning parking, determining collision risk solely by setting a safety threshold between the vehicle and an obstacle can result in an overly extreme planned trajectory. In some scenarios, improperly setting this safety threshold can still create collision risk and easily overwhelm the driver's takeover threshold, causing psychological stress. This is illustrated below using the scenario shown in Figure 4.

[0102] For example, Figure 4 is a schematic diagram of a parking scenario provided by an embodiment of the present application, wherein Figure 4 describes a parking scenario when there are different types of obstacles around the vehicle.

[0103] In one embodiment, as shown in the scenario (a) in Figure 4, the surrounding obstacles are relatively far from the vehicle, thus having little impact on the parking process. Based on the planned path, the vehicle can move from its current position to an intermediate position and then into the target parking space.

[0104] In another embodiment, as shown in the scenario (b) in FIG4 , there are static obstacles (e.g., cones, parking lot pillars, etc.) around the vehicle. When planning the parking path of the vehicle, the distance between the vehicle and the static obstacle needs to be considered to avoid the risk of collision due to the distance being too small. For example, when in the intermediate position, the distance between the vehicle and the static obstacle should be greater than or equal to the safety distance #1 (e.g., 0.5 meters, 0.3 meters). In other words, when the vehicle is automatically parking according to the planned path, the distance between the vehicle and the static obstacle should be greater than or equal to the safety distance #1.

[0105] In another embodiment, as shown in the scenario (c) of Figure 4, there are dynamic obstacles (e.g., pedestrians, moving vehicles, etc.) around the vehicle. When planning the parking path, the collision risk between the vehicle and the dynamic obstacle needs to be considered. For example, when in the neutral position, the distance between the vehicle and the dynamic obstacle should be greater than or equal to safety distance #2 (e.g., 0.6 meters, 1 meter).

[0106] Regardless of the type of obstacle, the same safety distance is set for dynamic obstacles and static obstacles. For example, the above-mentioned safety distance #1 and safety distance #2 are the same. Since the obstacle in (c) of Figure 4 is a dynamic obstacle, if safety distance #2 is the same as safety distance #1 and is configured to a smaller value, during the parking process, when the dynamic obstacle moves, if the vehicle brakes or the driver does not take over in time, there may be a risk of collision between the vehicle and the dynamic obstacle. If safety distance #2 is the same as safety distance #1 and is configured to a larger value, although the risk of collision with the dynamic obstacle can be avoided, it may reduce the probability of successfully planning automatic parking in the scenario shown in (b) of Figure 4. Moreover, during manual parking, drivers tend to prefer to maintain a larger safety distance between the vehicle and dynamic obstacles.

[0107] In some possible implementations, the safety distance #2 may be greater than the safety distance #1.

[0108] In the embodiment of the present application, the safety distance is determined according to the type of obstacle, which can ensure the success rate of automatic parking while avoiding collision between the vehicle and surrounding obstacles. It can also improve the humanization of automatic parking and avoid the tension caused to the driver due to unreasonable safety distance between the vehicle and obstacles.

[0109] In another embodiment, as shown in the scenario (d) of Figure 4 , the vehicle is in a narrow parking space. Compared to (a), (b), or (c) of Figure 4 , because the parking space is narrower, when planning the vehicle's parking path, to ensure the success rate of automated parking, it is necessary to maximize the use of the surrounding space to plan the vehicle's movement path. For example, in this scenario, when the vehicle is in a neutral position, the distance between the vehicle and the obstacle should be greater than or equal to safety distance #3 (e.g., 0.3 meters or 0.2 meters). For another example, compared to the scenario (b) of Figure 4 , in the scenario (d) of Figure 4 , even when the vehicle is in a neutral position and the surrounding obstacles (e.g., walls) are static obstacles, the distance between the vehicle and the static obstacles can be smaller than the distance between the vehicle and the static obstacles in the scenario (b) of Figure 4 . In other words, safety distance #3 can be smaller than safety distance #1 to improve the success rate of automated parking in narrow spaces. Moreover, during manual parking, when parking in narrow spaces, drivers tend to maximize the use of the space around the vehicle.

[0110] In the embodiments of the present application, by determining whether the vehicle is in a narrow parking space and determining a safe distance, the success rate of automated parking can be guaranteed while avoiding collisions with surrounding obstacles. This can also improve the human-like nature of automated parking. For example, when parking in open spaces, the safe distance between the vehicle and obstacles is set to a larger value compared to a narrow space, which can avoid driver anxiety caused by an unreasonable safe distance between the vehicle and obstacles.

[0111] The following is a brief introduction to the method of automatic parking based on obstacle type, combined with Figures 5 to 7, so that the automatic parking success rate can be guaranteed in various parking scenarios involved in Figure 4 while reducing the risk of collision between the vehicle and surrounding obstacles.

[0112] For example, based on the vehicle's surrounding environment information, the types and distribution of obstacles in the vehicle's environment can be determined. Based on the types and distribution of obstacles, the costs corresponding to each extended node in the motion path planning can be determined. The extended nodes can be understood as candidate path points in method 300.

[0113] In some possible implementations, a two-dimensional or three-dimensional world model can be constructed based on the surrounding environment information, and the types of obstacles in the world model can be identified. For example, the two-dimensional world model can include a grid map obtained by rasterizing an image of the surrounding environment. For another example, a 1000*1000 pixel image can be rasterized to obtain a grid map, in which each grid in the grid map can occupy 1*1 pixels, or each grid can occupy multiple pixels (for example, 1*2, 2*2 or 2*4 pixels) to reduce the computational overhead and increase the computational speed.

[0114] In some possible implementations, a grid map including obstacle type information can be obtained by fusing radar point cloud data collected by lidar and ultrasonic radar with surrounding environment images collected by camera sensors.

[0115] For example, Figure 5 is a schematic diagram illustrating a process for evaluating collision avoidance risk costs, as provided in an embodiment of the present application. Data can be collected through sensors in perception systems, such as radar and cameras, to obtain information about the surrounding environment. By rasterizing this information, a grid map can be generated, and obstacle distribution information corresponding to the grid map can be obtained. Based on this grid map and obstacle distribution information, different types of obstacles can be processed separately, and the cost of each extended node's distance from the obstacle can be calculated.

[0116] In one embodiment, the risk category of the grid can be determined based on the types of obstacles included in the grid. For example, when the obstacles in the grid are dynamic obstacles such as humans and vulnerable road users (VRUs), the grid can be classified as a high-risk level. For another example, when the obstacles in the grid are static obstacles such as cones, pillars, trees, and walls, the grid can be classified as a low-risk level. For another example, obstacles of different risk levels can be assigned different levels of labels. For another example, grids of different risk levels can occupy different layers of a grid map. For another example, the grid map of each layer can be binarized to determine the grid occupied by the obstacles in the layer, thereby facilitating the determination of the distance between the extended nodes of the planned trajectory and the surrounding obstacles. By determining the collision risk cost between each extended node and the obstacle corresponding to each extended node, the target node can be determined from the multiple extended nodes.

[0117] The following is a brief description of the parking planning scenario shown in FIG6 .

[0118] For example, FIG6 is a schematic diagram of a parking planning scenario provided by an embodiment of the present application. As shown in FIG6(a), the surrounding area of ​​the vehicle may include obstacles such as vehicles and pedestrians. Extension nodes 1 to 4 are candidate nodes for planning the next parking trajectory. By determining the risk cost of the multiple extension nodes, the target node can be determined from them. For example, FIG6(a) can be understood as a two-dimensional world model constructed based on the surrounding environment information, or it can also be understood as a raster map after rasterization processing.

[0119] In one embodiment, as shown in FIG6( b ), pedestrians may be determined as dynamic obstacles.

[0120] In another embodiment, it is possible to determine whether an obstacle is a static obstacle or a dynamic obstacle based on the speed of each surrounding vehicle.

[0121] In yet another embodiment, the vacant parking spaces and / or occupied parking spaces in the parking area may be determined based on the distribution of the obstacles.

[0122] For example, pedestrians can be placed in layer 1 of the grid map. For another example, a parked vehicle (i.e., a static obstacle) can be placed in layer 0 of the grid map, while a moving vehicle can be placed in layer 1 of the grid map. For another example, as shown in Figure 6 (b), the distances between the vehicle and each dynamic obstacle in layer 1, as well as the distances between the vehicle and each static reference object in layer 0, can be determined when the vehicle is at expansion nodes 1 to 4, respectively.

[0123] In some possible implementations, the vehicle can be equated to a geometric shape based on its body parameters, and the distance between the vehicle and the obstacle can be calculated using the corresponding geometric shape. For example, the vehicle can be equated to a polygon (such as a rectangle). For another example, the vehicle can be equated to multiple circles.

[0124] For example, Figure 7 is a schematic diagram of a multi-circle equivalent model for a vehicle, as provided in an embodiment of the present application. As shown in Figure 7, the vehicle body can be equated to multiple circles that encompass the vehicle's contour. Accordingly, the distance between the vehicle and an obstacle can be calculated as the difference between the distance from the obstacle to the center of the nearest circle and the radius of that circle.

[0125] In some possible implementations, the obstacle distance cost of the extended node can be determined based on the distance between the vehicle and the obstacle. For example, the closest distance between the extended node and the surrounding obstacles can be calculated in each layer of the grid map to obtain the obstacle distance potential field value, which can be expressed as: ObstaclePotentialCost = max(w0×max((dist safe -dist0),0),…,w i ×max((dist safe -dist i ),0)). Among them, dist safe It can be understood as a safe distance, i represents the i-th obstacle, w i represents the obstacle distance cost coefficient corresponding to the i-th obstacle. The corresponding obstacle distance cost coefficient can be determined based on the obstacle type. For example, each obstacle distance cost coefficient can be determined based on information such as the risk level and the planned vehicle speed. It is understood that the higher the risk level corresponding to the obstacle type and the faster the planned vehicle speed, the larger the obstacle distance cost coefficient.

[0126] For example, according to the embodiments in Figures 4 to 7 , the obstacle distance cost of the candidate path point can be determined. In other words, according to the embodiments in Figures 4 to 7 , the seventh cost and the eighth cost involved in method 300 can be determined.

[0127] In the process of planning the parking trajectory, it is possible to pass through areas outside the driver's desired area (also known as unexpected areas, unexpected traffic areas), such as lawns, crossable curbs, small gullies, empty parking spaces and other areas. For example, when the planned parking path involves passing through a lawn, the lawn vegetation may be damaged. For another example, when the planned parking path involves passing through crossable curbs and / or small gullies, it will affect ride comfort and even lead to unexpected collision risks. In manual parking scenarios, the above-mentioned areas are usually avoided. When it is difficult to avoid, the above-mentioned areas will be passed as little as possible. The following is explained in conjunction with the scenario shown in Figure 8.

[0128] For example, Figure 8 is a schematic diagram of a parking planning scenario provided by an embodiment of the present application. As shown in Figure 8 (a), expansion nodes 5 and 6 can be understood as candidate nodes for planning the next parking trajectory. Expansion node 5 is within the parking area, while expansion node 6 is outside the parking area.

[0129] In one embodiment, the unintended traffic area in the scenario shown in Figure 8 (a) can be illustrated as Figure 8 (b). In a manual parking scenario, extended nodes 5 and 6 can also be understood as waypoints on two different parking paths. As mentioned above, in manual parking scenarios, driving in the unintended traffic area is often minimized. The parking path in this manual parking scenario can be illustrated as Figure 8 (b).

[0130] The following is a brief introduction to the method of automatic parking based on the driver's expected traffic area in conjunction with Figures 9 and 10, so that in the parking scenario involved in Figure 8, the success rate of automatic parking can be guaranteed while ensuring that the vehicle travels in the unintended traffic area as little as possible during the parking process.

[0131] For example, based on the surrounding environment information of the vehicle, the expected passage area and the unexpected passage area can be determined; based on the expected passage area and the unexpected passage area, the cost corresponding to each extended node in the motion path planning can be determined.

[0132] For example, FIG9 is a flow chart of the cost evaluation of an expected passage area provided in an embodiment of the present application. By collecting data through the sensors of the perception system, the surrounding environment information, such as environmental images, can be obtained. Through semantic segmentation processing, the expected passage area and the unexpected passage area can be determined. By performing cluster analysis on the expected passage area and / or the unexpected passage area in the parking scene, the decomposition line between the expected passage area and the unexpected passage area can be determined, or the boundary of the unexpected passage area can be determined. When the extended node is in the unexpected passage area, the cost corresponding to the extended node can be determined based on the distance between the extended node and the contour (also referred to as the intrusion distance). The following is a brief explanation in conjunction with the parking planning scenario shown in FIG10.

[0133] For example, FIG10 is a schematic diagram of a parking planning scenario provided in an embodiment of the present application.

[0134] In one embodiment, the boundary of the non-expected passage area is shown in (a) in Figure 10, and the extended node 7 is in the non-expected passage area. According to the movement path planned by the extended node 7, the vehicle will pass through the boundary of the non-expected passage area and enter the area. For example, as shown in (a) in Figure 10, the distance 1 can be understood as the intrusion distance corresponding to the extended node 7. For another example, the vector 1 shown in (a) in Figure 10 can be understood as a vector perpendicular to the boundary, and the intrusion distance can be understood as the distance between the extended node 7 and the boundary in the direction of vector 1. For another example, the intrusion distance can be understood as the length of the path between the boundary and the extended node 7 along the candidate parking path corresponding to the extended node 7.

[0135] In another embodiment, as shown in FIG10( b ), the non-expected passage area 2 and the non-expected passage area 3 may be different types of areas. For example, the non-expected passage area 2 may be a grassland, and the non-expected passage area 3 may be an area where a curb can be crossed.

[0136] In another embodiment, when multiple non-expected passage areas are involved, the intrusion distance of the extended node into the multiple non-expected passage areas can be determined based on the boundaries of the multiple non-expected passage areas. For example, as shown in (b) in Figure 10, vector 2 and vector 3 are unit vectors perpendicular to the boundaries of the two non-expected passage areas, and vector 4 and vector 5 are vectors formed by the boundaries of the two non-expected passage areas and the extended node 8. The intrusion distance (denoted as DistToPlane) of the extended node 8 into the non-expected passage area 2 can be calculated based on the dot product of vector 2 and vector 4, where a positive value for DistToPlane indicates that the node has not invaded the area, and a negative value for DistToPlane indicates that the node has invaded the area. For another example, the human-like cost (denoted as hominine potential cost) of the extended node can be expressed as: hominine potential cost = max(w1×max(-DistToPlane1,0),…,w i ×max(-DistToPlane i ,0)), where DistToPlane i It can be understood as the intrusion distance of the extended node into the i-th unexpected passage area, w i This can be understood as the cost coefficient corresponding to the i-th non-expected traffic area. For another example, the cost coefficients corresponding to all non-expected traffic areas can be the same. For another example, the non-expected traffic areas can be further subdivided. For example, the cost coefficient corresponding to the area where there are vacant parking spaces can be smaller than the cost coefficient corresponding to the area where there are crossable curbs.

[0137] Exemplarily, according to the embodiments in FIG. 8 to FIG. 10 , the cost caused by the candidate path point intruding into the unintended passage area can be determined based on the type of area and the positional relationship between the candidate path point and the area.

[0138] In manual parking scenarios, drivers have far more experience and time driving in forward gear than in reverse gear. Therefore, they tend to start in forward gear to adjust the vehicle's position and maneuver it into a parking space in reverse gear. Traditional automated parking methods, on the other hand, often start in reverse gear, resulting in significant differences between automated and manual parking scenarios. This is illustrated below using the scenario shown in Figure 11.

[0139] For example, Figure 11 is a schematic diagram of a parking planning scenario provided by an embodiment of the present application. Figures (a) and (b) in Figure 11 can be understood as different parking planning schemes in the same parking environment.

[0140] In one embodiment, as shown in FIG11( a ), when parking, the vehicle starts in reverse gear and reverses into the parking space via paths 1 to 3. This process involves two gear shifts.

[0141] In another embodiment, as shown in FIG11( b ), when parking, the vehicle starts in forward gear, passes through paths 1 and 2, and is then reversed into the parking space using reverse gear. This process involves one gear shift.

[0142] As mentioned above, the driver's time and experience in driving in forward gear are much higher than that in driving in reverse gear. In order to make the automatic parking situation similar to manual parking, the cost of the expansion node can be determined according to the gear corresponding to the expansion node.

[0143] For example, when the driving gear corresponding to the expansion node is the forward gear, the gear cost corresponding to the expansion node can be calculated using gear cost coefficient 1. When the driving gear corresponding to the expansion node is the reverse gear, the gear cost corresponding to the expansion node can be calculated using gear cost coefficient 2. Gear cost coefficient 1 is smaller than gear cost coefficient 2.

[0144] In one embodiment, taking the scenario shown in (a) in FIG6 as an example, the vehicle can travel to the extension node 1 by using the forward gear, and can travel to the extension node 4 by using the reverse gear. For example, the gear cost corresponding to the extension node 1 can be calculated based on the length of the planned path between the end point of the planned path and the extension node 1, and the gear cost coefficient 1. For another example, the gear cost corresponding to the extension node 4 can be calculated based on the length of the planned path between the end point of the planned path and the extension node 4, and the gear cost coefficient 2. For another example, the gear cost coefficient 1 is 1.0, and the gear cost coefficient 2 is 2.0. Among them, the end point of the planned path can be understood as the parent node of the extension node.

[0145] In another embodiment, the distance between any extension node from extension node 1 to extension node 4 and the end point of the planned path is equal, for example, the distance is recorded as step. For example, the gear cost of each extension node can be expressed as: distancecost = w d ×step, where the w d It can be expressed as the gear cost coefficient corresponding to the expansion node. For another example, the gear cost coefficient can also be related to the parking speed. The gear cost coefficient can be expressed as follows: It can be said that when parking in forward gear at a parking speed of 3 km / h, the gear cost coefficient is 1.0, and when parking in reverse gear at a parking speed of 2 km / h, the gear cost coefficient is 1.5.

[0146] For example, in the process of planning a parking trajectory, when the gear position corresponding to the parent node is different from the gear position from the parent node to the extended node, the extended node involves a gear shift. For example, the extended node 4 shown in (a) in Figure 6. Since a gear shift process can be divided into a braking phase, a gear shift phase and a starting phase. The gear shift process causes a loss in the vehicle's driving distance. For example, as shown in Figure 12, Figure 12 is a schematic diagram of a vehicle speed change in a gear shift process provided in an embodiment of the present application. In the same time and using a preset parking speed, the distance traveled by the vehicle in the gear shift scenario is less than the distance traveled in the non-gear shift scenario.

[0147] In some possible implementations, the shift cost can be determined based on the difference in travel distance between a shift scenario and a non-shift scenario. For example, taking extended node 4 in Figure 6 (a) as an example, the time 1 and travel distance 1 required to travel from the parent node to extended node 4 in a shift scenario can be estimated. Based on the vehicle's parking speed at the parent node and time 1, and using a uniform motion model, the expected travel distance 2 corresponding to time 1 in a non-shift scenario can be estimated. The shift cost corresponding to extended node 4 can then be determined based on the difference between travel distance 1 and expected travel distance 2.

[0148] In automated scenarios, frequently adjusting the vehicle's turning angle can lead to increased tracking errors in the control variables during closed-loop control and can also result in a less-than-smooth planned parking trajectory. Limiting the turning angle during parking can result in a longer parking trajectory, increased gear shifting, and the need for more space. Because parking spaces are typically confined, drivers often manipulate the steering wheel to maximize the vehicle's turning angle in manual parking scenarios to improve parking success rates. Furthermore, drivers often have a clearer understanding of parking strategies and are less likely to frequently adjust the steering wheel angle during parking. Consequently, for a single-segment planned path, the vehicle may rarely follow an S-shaped trajectory. This is illustrated below with reference to the scenario shown in Figure 13.

[0149] For example, Figure 13 is a schematic diagram of a parking planning scenario provided by an embodiment of the present application. (a) and (b) in Figure 13 can be understood as different parking planning schemes in the same parking environment.

[0150] In one embodiment, as shown in FIG13(a), when parking, the vehicle first drives right and then left until it reaches a neutral position, and then reverse gear is used to control the vehicle to reverse into the parking space. During the process of driving the vehicle in forward gear to the neutral position, the vehicle's movement path presents an S-shaped pattern.

[0151] In another embodiment, as shown in (b) of FIG13 , when parking, the vehicle moves to the left to a neutral position, and then the reverse gear is used to control the vehicle to reverse into the parking space.

[0152] As mentioned above, in manual parking scenarios, since drivers often have a clearer idea of ​​parking, for a single-segment planned path, for example, the planned path before the intermediate posture shown in (b) in Figure 13, the vehicle will rarely travel in an S-shaped trajectory.

[0153] For example, if the expected turning angle of the single segment path before the parent node is different from the direction of the turning angle corresponding to the extended node, the turning cost of the extended node can be determined based on the expected turning angle of the single segment path. The following is a brief explanation of the parking planning scenario shown in Figure 14.

[0154] For example, Figure 14 is a schematic diagram of a parking planning scenario provided by an embodiment of the present application, wherein (b) in Figure 14 can be understood as the vehicle turning angle corresponding to the planned path in (a) in Figure 14 .

[0155] In one embodiment, as shown in (a) of FIG14 , the endpoint of the planned path can be understood as the parent node of extension nodes 1 to 4. During the process of traveling from the endpoint of the planned path to any of the extension nodes 1 to 3, no gear shifting is required. The path from the vehicle's current position along the planned path to extension nodes 1, 2, or 3 can be understood as a single-segment path. However, when the vehicle travels from its current position along the planned path to extension node 4, a gear shift is required. In this case, the planned path can be considered a single-segment path, and the path from the parent node to the extension node can be understood as another single-segment path.

[0156] In another embodiment, the change in the turning angle of the vehicle during the process of traveling from the current position to the parent node can be shown in (b) of Figure 14. A positive turning angle can be understood as the vehicle turning left, and a negative turning angle can be understood as the vehicle turning right. The maximum turning angle corresponding to the planned path can be recorded as maxSteerAngle left , where the subscript left can indicate that the vehicle turns left in the path. For example, for extended node 1, the turning angle corresponding to the extended node 1 is equal to the max SteerAngle left The direction is the same as that of the max SteerAngle left, it can be understood that the turning angle of the vehicle in the path from the current position to the extension node 1 is corrected. For another example, for the extension node 2, the turning angle corresponding to the extension node 2 is zero, which can be understood as the process of the vehicle traveling from the current position along the planned path to the extension node 2, when it reaches the extension node 2, the turning angle of the vehicle is completely corrected. For another example, when the vehicle travels from the current position along the planned path to the extension node 3, the vehicle will travel in an S-shaped curve. Since the planned trajectory corresponding to the extension node 3 is S-shaped, the steering cost corresponding to the extension node 3 should be greater than the steering cost corresponding to the extension node 1 and / or the extension node 2.

[0157] In another embodiment, the steering cost corresponding to the determined extended node 3 can be determined based on the expected turning angle of the path (i.e., the planned path) ending at the parent node. For example, the expected turning angle can be the above-mentioned max SteerAngle left Alternatively, it may be the average turning angle within the path. For another example, the expected turning angle may be other characteristic turning angles within the path, etc., which is not limited in the present embodiment.

[0158] For example, the following briefly describes the expected turning angle of a single segment path ending at the parent node as max SteerAngle. The turning angle of the vehicle at the extended node is denoted as SteerAngle, and the direction of the turning angle can be indicated by the subscript left or right. For example, when the expected turning angle max SteerAngle of the single segment path is to the right, and the turning angle SteerAngle corresponding to the extended node is to the left, the SteerAngle of the left turn caused by the extended node is left The steering cost can be compared with max SteerAngle right For example, when the expected turning angle max SteerAngle of the single segment path is to the left, and the turning angle SteerAngle corresponding to the expansion node is to the right, the SteerAngle of the left turn caused by the expansion node is right The steering cost can be compared with max SteerAngle left Positive correlation.

[0159] In some possible implementation scenarios, the steering cost of the extended node can be expressed as follows: SteerAngleCost = w bs ×SteerAngle+w ds ×|SteerAngle-SteerAngle last |+C1×SteerAngle right +C2×SteerAngle left , where SteerAngle can represent the angle at the expansion node, SteerAnglelast Can represent the angle at the parent node, w bs 、w ds , C1, C2 are cost coefficients. The C1, C2 can be related to the expected turning angle of the planned path before the parent node. For example, when the turning angle corresponding to the extended node is to the left, the SteerAngle right It can be regarded as zero; for example, when the corner corresponding to the expansion node is to the right, the SteerAngle left Can be regarded as zero. For example, C1 = max(SteerAngle left1 ,SteerAngle left2 ,…), where SteerAngle left1 、SteerAngle left2 etc. can represent the corners at multiple path points in the planned path before the parent node, and the directions of the multiple corners are left. For another example, C2=max(SteerAngle right1 ,SteerAngle right2 ,…), where SteerAngle right1 、SteerAngle right2 It can represent the corners at multiple path points within the path, and the directions of the multiple corners are right.

[0160] For example, FIG15 is a flowchart of an automatic parking method provided in an embodiment of the present application.

[0161] In some possible implementations, parking planning may be performed based on the vehicle's starting position, the final position of the vehicle when parking in the parking space, and the vehicle's surrounding environment.

[0162] In some possible implementations, multiple extension nodes can be obtained through analysis based on the priority queue in the parking planning process, and the trajectory cost corresponding to the node can be determined. For example, the cost of avoiding collision risk can be evaluated based on the distance between the extension node and the obstacle. For another example, the cost of the human-like passage area, that is, the unexpected passage cost, can be evaluated based on the positional relationship between the extension node and the unexpected passage area. For another example, the gear cost can be evaluated based on the gear corresponding to the extension node. For another example, when the extension node involves shifting, the corresponding gear shifting cost can be evaluated. For another example, the turning cost can be evaluated based on the turning angle corresponding to the extension node. For another example, the various costs involved in the extension node can be determined in combination with the embodiments in Figures 3 to 14.

[0163] In one embodiment, by combining the trajectory cost, node computation cost, and heuristic cost corresponding to the expansion node, a target expansion node can be determined from the multiple expansion nodes, and a path between the parent node and the expansion node can be planned. Parking of the vehicle can be controlled based on the planned path.

[0164] The method provided in the embodiments of the present application is described in detail above with reference to Figures 3 to 15 . The apparatus provided in the embodiments of the present application will be described in detail below with reference to Figures 16 and 17 . The description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, any details not described in detail can be referred to in the method embodiment above.

[0165] For example, FIG16 shows a schematic block diagram of an automatic parking device 1600 (hereinafter referred to as device 1800 ) provided in an embodiment of the present application. The device may include an acquisition unit 1610 and a processing unit 1620 .

[0166] The apparatus 1600 may include a unit for executing any one of the methods in FIG. 3 to FIG. 15 , and each unit in the apparatus 1600 may be used to execute a corresponding process in the method embodiments in FIG. 3 to FIG. 15 .

[0167] When the device 1600 is used to execute the method 300 in FIG. 3 , the acquiring unit 1610 may be used to execute step S310 in the method 300 , and the processing unit 1620 may be used to execute steps S320 to S330 in the method 300 .

[0168] Specifically, the acquisition unit 1610 can be used to: acquire a first candidate path point and a second candidate path point, the first candidate path point being located in the first area, and the second candidate path point being located in the second area; the processing unit 1620 can be used to: determine a first cost based on the type of the first area and the positional relationship between the first candidate path point and the first area, and determine a second cost based on the type of the second area and the positional relationship between the second candidate path point and the second area; and plan a parking path based on the first cost and the second cost.

[0169] Optionally, the vehicle is in the first gear in the first planned path and in the second gear in the first candidate path, and the first candidate path is a predicted path between the first planned path and the first candidate path point. The processing unit 1620 can also be used to: obtain a first speed of the vehicle through the first planned path, and a first duration of time for the vehicle to pass through the first candidate path; when the first gear is different from the second gear, determine a first driving distance based on the first speed and the first duration; determine a third cost based on the first driving distance and the length of the first candidate path; the processing unit 1620 can be used to: plan the parking path based on the first cost, the second cost and the third cost.

[0170] Optionally, the processing unit 1620 can also be used to: obtain the first turning corner of the vehicle through the second planned path and the second turning corner of the vehicle through the second candidate path, the second candidate path being the predicted path between the second planned path and the first candidate path point; when the directions of the first turning corner and the second turning corner are different, determine the fourth cost based on the first turning corner and the second turning corner; the processing unit 1620 can be used to: plan the parking path based on the first cost, the second cost and the fourth cost.

[0171] Optionally, the first turning angle is a maximum value of the turning angles adopted by the vehicle when passing through the second planned path.

[0172] Optionally, the processing unit 1620 can also be used to: determine the type of surrounding obstacles; determine a fifth cost based on the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determine a sixth cost based on the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; the processing unit 1620 can be used to: plan the parking path based on the first cost, the second cost, the fifth cost and the sixth cost.

[0173] Optionally, the type of the obstacle includes a dynamic obstacle or a static obstacle.

[0174] Optionally, the vehicle is in the third gear in the third candidate path and in the fourth gear in the fourth candidate path. The third candidate path is the predicted path between the third planned path and the first candidate path point, and the fourth candidate path is the predicted path between the third planned path and the second candidate path point. The processing unit 1620 can also be used to: determine the first gear cost coefficient based on the third gear, and determine the second gear cost coefficient based on the fourth gear; determine the seventh cost based on the first gear cost coefficient and the length of the third candidate path, and determine the eighth cost based on the second gear cost coefficient and the length of the fourth candidate path; the processing unit 1620 can be used to: plan the parking path based on the first cost, the second cost, the seventh cost and the eighth cost.

[0175] Optionally, the positional relationship between the first candidate path point and the first area includes a distance between the first candidate path point and a first boundary, where the first boundary is a boundary passed by the vehicle when entering the first area.

[0176] It should be understood that the division of the various units in the above devices is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into a single physical entity, or physically separated. All units in the above devices can be implemented entirely through a processor calling software, or entirely through hardware circuits, or partially through a processor calling software, with the remainder implemented through hardware circuits. Furthermore, the various units in the above devices can be fully or partially integrated together, or can be implemented independently.

[0177] In a specific implementation, the acquisition unit 1610 may be implemented by at least one transceiver or transceiver-related circuitry, and the processing unit 1620 may be implemented by at least one processor or processor-related circuitry. In one example, one or more processors may determine the first cost and the second cost. In another example, one or more processors may plan a parking path based on the first cost and the second cost.

[0178] For example, in a specific implementation, the apparatus 1600 may be the vehicle 100 shown in FIG1 , or the apparatus 1600 may be a terminal disposed in the vehicle, such as the computing platform 150. Alternatively, the apparatus 1600 may be a processor or chip in the terminal, such as the processor or chip in the computing platform 150.

[0179] In some possible implementations, the device 1600 may also be a cloud server, or may be a chip or processing circuit disposed in the cloud server. For example, the cloud server may exchange information with the vehicle, and the cloud server may indicate the planned parking path by issuing instructions.

[0180] For example, Figure 17 is a schematic block diagram of another automatic parking device 2000 (hereinafter referred to as device 2000) provided in an embodiment of the present application. Device 2000 may include: a processor 2010, an interface circuit 2020, and a memory 2030. The processor 2010, the interface circuit 2020, and the memory 2030 are connected via an internal connection path. The memory 2030 is used to store instructions, and the processor 2010 is used to execute the instructions stored in the memory 2030 and receive / send some parameters through the interface circuit 2020. Optionally, the memory 2030 may be coupled to the processor 2010 via an interface or integrated with the processor 2010.

[0181] In some possible implementations, the device 2000 may be provided in the vehicle 100 shown in Figure 1. In one embodiment, the device 2000 may be the computing platform 150 shown in Figure 1. In another embodiment, the device 2000 may be a processor or chip of the computing platform 150.

[0182] In some possible implementations, the device 2000 may also be a cloud server, or may be a chip or processing circuit disposed in the cloud server. For example, the cloud server may exchange information with the vehicle, and the cloud server may indicate the planned parking path by issuing instructions.

[0183] It should be noted that the interface circuit 2020 may include but is not limited to a transceiver device such as an input / output interface to implement communication between the apparatus 2000 and other devices.

[0184] The interface circuit 2020 can be used to implement communication between the apparatus 2000 and other devices or communication networks. For example, the interface circuit 2020 can be used to obtain information collected by sensors and control the vehicle's actuators to perform corresponding operations.

[0185] An embodiment of the present application also provides an automatic parking system, which may include one or more sensors and a computing platform, and the computing platform includes the above-mentioned device 1600 or the above-mentioned device 2000.

[0186] An embodiment of the present application also provides a vehicle, which includes the above-mentioned device 1600 or the above-mentioned device 2000.

[0187] An embodiment of the present application further provides a server, which includes the above-mentioned device 1600 or the above-mentioned device 2000.

[0188] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer implements the methods in the above embodiments of the present application.

[0189] An embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer implements the methods in the above embodiments of the present application.

[0190] An embodiment of the present application also provides a chip, including a circuit, for executing the methods in the above embodiments of the present application.

[0191] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or a power-on erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0192] It should be understood that for the convenience and brevity of description, the specific working processes and beneficial effects of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0193] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification of the present application and the appended claims, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

[0194] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0195] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0196] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0197] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0198] In addition, each functional unit in each embodiment of the present application 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.

[0199] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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 and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.

[0200] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for automatic parking, characterized in that: include: Acquire a first candidate path point and a second candidate path point, wherein the first candidate path point is located in a first area and the second candidate path point is located in a second area; Determine a first cost according to the type of the first area and the positional relationship between the first candidate path point and the first area, and determine a second cost according to the type of the second area and the positional relationship between the second candidate path point and the second area; A parking path is planned according to the first cost and the second cost.

2. The method according to claim 1, characterized in that The vehicle is in a first gear in a first planned path, and in a second gear in a first candidate path, the first candidate path is a predicted path between the first planned path and the first candidate path point, and the method further includes: Acquire a first speed of the vehicle passing through the first planned path, and a first duration of the vehicle passing through the first candidate path; When the first gear position is different from the second gear position, determining a first driving distance according to the first speed and the first duration; determining a third cost according to the first driving distance and the length of the first candidate path; The planning of a parking path according to the first cost and the second cost includes: The parking path is planned according to the first cost, the second cost and the third cost.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire a first turning angle of the vehicle passing through a second planned path and a second turning angle of the vehicle passing through a second candidate path, where the second candidate path is a predicted path between the second planned path and the first candidate path point; When the first corner and the second corner are in different directions, determining a fourth cost according to the first corner and the second corner; The planning of a parking path according to the first cost and the second cost includes: The parking path is planned according to the first cost, the second cost and the fourth cost.

4. The method according to claim 3, characterized in that The first turning angle is a maximum value of a turning angle adopted by the vehicle when passing through the second planned path.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Determine the types of surrounding obstacles; Determine a fifth cost according to the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determine a sixth cost according to the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; The planning of a parking path according to the first cost and the second cost includes: The parking path is planned according to the first cost, the second cost, the fifth cost and the sixth cost.

6. The method according to any one of claims 1 to 5, characterized in that The types of obstacles include dynamic obstacles or static obstacles.

7. The method according to any one of claims 1 to 6, characterized in that The vehicle is in a third gear in a third candidate path, and the vehicle is in a fourth gear in a fourth candidate path, the third candidate path is a predicted path between a third planned path and the first candidate path point, and the fourth candidate path is a predicted path between the third planned path and the second candidate path point, and the method further includes: determining a first gear cost coefficient according to the third gear, and determining a second gear cost coefficient according to the fourth gear; determining a seventh cost according to the first gear cost coefficient and the length of the third candidate path, and determining an eighth cost according to the second gear cost coefficient and the length of the fourth candidate path; The planning of a parking path according to the first cost and the second cost includes: The parking path is planned according to the first cost, the second cost, the seventh cost and the eighth cost.

8. The method according to any one of claims 1 to 7, characterized in that The positional relationship between the first candidate path point and the first area includes a distance between the first candidate path point and a first boundary, where the first boundary is a boundary passed by the vehicle when entering the first area.

9. An automatic parking device, characterized in that: include: An acquiring unit, configured to acquire a first candidate path point and a second candidate path point, wherein the first candidate path point is located in a first area and the second candidate path point is located in a second area; a processing unit, configured to determine a first cost according to a type of the first area and a positional relationship between the first candidate path point and the first area, and to determine a second cost according to a type of the second area and a positional relationship between the second candidate path point and the second area; A parking path is planned according to the first cost and the second cost.

10. The device according to claim 9, characterized in that The vehicle is in a first gear in a first planned path, and in a second gear in a first candidate path, the first candidate path is a predicted path between the first planned path and the first candidate path point, and the processing unit is further used for: Acquire a first speed of the vehicle passing through the first planned path, and a first duration of the vehicle passing through the first candidate path; When the first gear position is different from the second gear position, determining a first driving distance according to the first speed and the first duration; determining a third cost according to the first driving distance and the length of the first candidate path; The processing unit is used for: The parking path is planned according to the first cost, the second cost and the third cost.

11. The device according to claim 9 or 10, characterized in that The processing unit is also used for: Acquire a first turning angle of the vehicle passing through a second planned path and a second turning angle of the vehicle passing through a second candidate path, where the second candidate path is a predicted path between the second planned path and the first candidate path point; When the first corner and the second corner are in different directions, determining a fourth cost according to the first corner and the second corner; The processing unit is used for: The parking path is planned according to the first cost, the second cost and the fourth cost.

12. The device according to claim 11, characterized in that The first turning angle is a maximum value of a turning angle adopted by the vehicle when passing through the second planned path.

13. The device according to any one of claims 9 to 12, characterized in that The processing unit is also used for: Determine the types of surrounding obstacles; Determine a fifth cost according to the distance between the first candidate path point and the surrounding obstacles and the type of the surrounding obstacles, and determine a sixth cost according to the distance between the second candidate path point and the surrounding obstacles and the type of the surrounding obstacles; The processing unit is used for: The parking path is planned according to the first cost, the second cost, the fifth cost and the sixth cost.

14. The device according to any one of claims 9 to 13, characterized in that The types of obstacles include dynamic obstacles or static obstacles.

15. The device according to any one of claims 9 to 14, characterized in that The vehicle is in a third gear in a third candidate path, and the vehicle is in a fourth gear in a fourth candidate path, the third candidate path is a predicted path between a third planned path and the first candidate path point, and the fourth candidate path is a predicted path between the third planned path and the second candidate path point, and the processing unit is further used to: determining a first gear cost coefficient according to the third gear, and determining a second gear cost coefficient according to the fourth gear; determining a seventh cost according to the first gear cost coefficient and the length of the third candidate path, and determining an eighth cost according to the second gear cost coefficient and the length of the fourth candidate path; The processing unit is used for: The parking path is planned according to the first cost, the second cost, the seventh cost and the eighth cost.

16. The device according to any one of claims 9 to 15, characterized in that The positional relationship between the first candidate path point and the first area includes a distance between the first candidate path point and a first boundary, where the first boundary is a boundary passed by the vehicle when entering the first area.

17. An automatic parking device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program stored in the memory, so that the apparatus performs the method according to any one of claims 1 to 8.

18. An automatic parking system, characterized in that: The system comprises one or more sensors and a computing platform, wherein the computing platform comprises the apparatus according to any one of claims 9 to 17.

19. A vehicle, characterized in that: Comprising the apparatus according to any one of claims 9 to 17, or comprising the system according to claim 18.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Automatic parking method and device

    CN118665457A

  • Automatic parking method and device, vehicle and storage medium

    CN112590775A

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

    CN113985871A

  • Parking speed planning method and system and storage medium

    CN115489516A

  • Automatic parking system

    DE102017216442A1

Cited By

  • Real-time monitoring method and system based on layer and operator layer fusion

    CN119058751A

  • Parking path planning method and device, electronic equipment and storage medium

    CN119239579A

  • Transportation route recommendation method, system and equipment based on satellite positioning

    CN119394325A

  • Automated parking method, parking control apparatus, and medium and device

    WO2025251542A1