# US 11,117,569 B2 · Planning parking trajectory generation for self-driving vehicles using optimization method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,117,569 B2
- Document ID: US11117569B2
- Status: Granted
- Kind: B2
- Application number: 16/020,649
- Filed: 2018-06-27
- Published: 2020-01-02
- Granted: 2021-09-14
- Earliest claimed: 2018-06-27
- Assignees: Baidu USA LLC
- Applicants: Baidu USA LLC
- Inventors: Qi Luo; Dong Li; Yajia Zhang; Liangliang Zhang; Yifei Jiang; Jiaming Tao; Kecheng Xu; Jiangtao Hu
- Web page: https://patentgrep.com/patent/US11117569B2

## CPC

- B60W 30/06: Automatic manoeuvring for parking
- B60W 60/001: {Planning or execution of driving tasks}
- B60W 60/00274: {considering possible movement changes}
- G05D 1/00: Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots (drive control systems specially adapted for autonomous road vehicles B60W60/00)
- G05D 1/0212: {with means for defining a desired trajectory (involving a plurality of land vehicles G05D1/0287)}
- G06V 20/58: Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
- G06V 20/586: {of parking space}
- B60W 2420/403: Image sensing, e.g. optical camera
- B60W 2420/408: Radar; Laser, e.g. lidar
- B60W 2554/00: Input parameters relating to objects
- B60W 2554/20: Static objects
- B60W 2554/4029: Pedestrians
- B60W 2554/80: Spatial relation or speed relative to objects
- B60W 2710/20: Steering systems
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A parking system for autonomous driving vehicles optimizes a solution to a parking problem. The ADV detects a parking lot and selects a parking space. The ADV defines constraints for the parking lot, parking space, and kinematic constraints of the ADV, and generates a plurality of potential parking paths to the parking space, taking into account the constraints of the parking lot, parking space, and kinematics of the ADV, but without taking into any obstacles that may be surrounding the ADV. The ADV determines a cost for traversing each of the parking paths. One or more least cost candidate paths are selected from the parking paths, then one or more candidate paths are eliminated based on obstacles surrounding the ADV. Remaining candidates can be analyzed using a quadratic optimization system. A best parking path can be selected from the remaining candidates to navigate the ADV to the parking space.

## Claims

### Claim 1

A computer-implemented method of parking an autonomous driving vehicle (ADV), the method comprising:
scanning a parking lot using map information and a sensor system that generates sensor information of the ADV to determine and select an available parking space within the parking lot;
determining a plurality of parking lot constraints and a plurality of parking space constraints of the selected parking space using the map information and sensor system of the ADV;
determining a set of kinematic constraints on the ADV;
determining a plurality of parking paths from a current location of the ADV to the selected parking space based at least in part on the plurality of parking lot constraints, a plurality of parking space constraints of the selected parking space, the kinematic constraints upon the ADV, without considering any obstacles that may be surrounding the ADV;
determining a cost for each parking path in the plurality of parking paths;
selecting a plurality of candidate parking paths from the plurality of parking paths having a least cost among the plurality of parking paths;
detecting a plurality of obstacles surrounding the ADV, using the map information and sensor information of the ADV, wherein at least one of the plurality of obstacles includes a projected speed and a projected direction;
prior to navigating the ADV to the selected parking space, for each candidate parking path in the plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with the candidate parking path, eliminating the candidate parking path,
in response to determining that any obstacle in the plurality of obstacles having a projected speed and a projected direction, and having a predicted location that will conflict with the candidate parking path, eliminating the candidate parking path;
selecting a parking path from the remaining candidate parking paths having the least cost;
generating a reference line to navigate the ADV based on the selected parking path; and
navigating the ADV from the current ADV location to the parking space using the reference line.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the cost of a parking path is based at least in part on whether a portion of the parking path is driven in reverse, and whether the parking path requires the ADV to change a direction of the ADV from forward to reverse or reverse to forward, and logic of the ADV monitors and updates a location of each of the plurality of obstacles, including the predicted location of at least one obstacle having the predicted speed and predicted direction, during both forward and reverse driving direction of the ADV.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining a plurality of kinematic constraints of the ADV, wherein determining the plurality of parking paths is further based at least in part on the plurality of kinematic constraints of the ADV, and wherein a number of the selected plurality of candidate parking paths is a fixed number of the plurality of parking paths or a fixed percentage of the plurality of parking paths.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of kinematic constraints comprise: a length of the ADV, a width of the ADV, a maximum steering angle of the ADV, a maximum acceleration or deceleration of the ADV, a maximum or minimum speed of the ADV, and whether the ADV is driving in a forward mode or reverse mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of parking lot constraints, the plurality of parking space constraints, the kinematic constraints, and a plurality of obstacle constraints for each obstacle in the plurality of obstacles are expressed as a set of affines.

### Claim 6 (depends on 5)

The method of claim 5, wherein determining the plurality of parking paths further comprises performing a quadratic optimization on the parking lot constraints, parking space constraints, and kinematic constraints of the ADV.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
prior to navigating the ADV to the selected parking space, in response to determining that, after eliminating at least one of the plurality of candidate paths, there is no remaining candidate path:
automatically relaxing at least one constraint of at least one obstacle;
determining a new plurality of parking paths without considering any obstacles surrounding the ADV;
determining a cost for each parking path in the new plurality of parking paths;
selecting a new plurality of candidate parking paths from the new plurality of parking paths having a least cost among the new plurality of parking paths;
for each candidate parking path in the new plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with the candidate parking path, eliminating the candidate parking path; and
in response to any obstacle in the plurality of obstacles having a projected speed and a projected direction, and having a predicted location conflicting with the candidate parking path, eliminating the candidate parking path;
selecting a new parking path from the remaining new candidate parking paths;
generating a new reference line to navigate the ADV based on the selected new parking path; and
navigating the ADV from the current ADV location to the parking space using the new reference line.

### Claim 8

A non-transitory computer-readable medium programmed with executable instructions that, when executed by a processing system, perform operations for parking an autonomous driving vehicle (ADV), the operations comprising:
scanning a parking lot using map information and a sensor system that generates sensor information of the ADV to determine and select an available parking space within the parking lot;
determining a plurality of parking lot constraints and a plurality of parking space constraints of a selected parking space using the map information and sensor system of the ADV;
determining a set of kinematic constraints on the ADV;
determining a plurality of parking paths from a current location of the ADV to the selected parking space based at least in part on the plurality of parking lot constraints, a plurality of parking space constraints of the selected parking space, the kinematic constraints upon the ADV, and without considering any obstacles surrounding the ADV;
determining a cost for each parking path in the plurality of parking paths;
selecting a plurality of candidate parking paths from the plurality of parking paths having a least cost among the plurality of parking paths;
detecting a plurality of obstacles surrounding the ADV using the map information and sensor information of the ADV, wherein at least one of the plurality of obstacles includes a projected speed and a projected direction;
prior to navigating the ADV to the selected parking space, for each candidate parking path in the plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with the candidate parking path, eliminating the candidate parking path,
in response to determining that any obstacle in the plurality of obstacles having a projected speed and a projected direction, and a predicted location that will conflict with the candidate parking path, eliminating the candidate parking path;
selecting a parking path from the remaining candidate parking paths;
generating a reference line to navigate the ADV based on the selected parking path; and
navigating the ADV from the current ADV location to the parking space using the reference line.

### Claim 9 (depends on 8)

The medium of claim 8, wherein determining the cost of a parking path is based at least in part on whether a portion of the parking path is driven in reverse, and whether the parking path requires the ADV to change a direction of the ADV from forward to reverse or reverse to forward driving direction, and logic of the ADV monitors and updates a location of each of the plurality of obstacles, and the predicted location of at least one obstacle having the predicted speed and predicted direction, during both forward and reverse driving directions of the ADV.

### Claim 10 (depends on 8)

The medium of claim 8, the operations further comprising:
determining a plurality of kinematic constraints of the ADV, wherein determining the plurality of parking paths is further based at least in part on the plurality of kinematic constraints of the ADV, and wherein a number of the selected plurality of candidate parking paths is a fixed number of the plurality of candidate parking paths or a fixed percentage of the plurality of parking paths.

### Claim 11 (depends on 10)

The medium of claim 10, wherein the plurality of kinematic constraints comprise: a length of the ADV, a width of the ADV, a maximum steering angle of the ADV, a maximum acceleration or deceleration of the ADV, a maximum or minimum speed of the ADV, and whether the ADV is driving in a forward mode or reverse mode.

### Claim 12 (depends on 8)

The medium of claim 8, wherein the plurality of parking space constraints and a plurality of obstacle constraints are expressed as a set of affines.

### Claim 13 (depends on 12)

The medium of claim 12, wherein determining the plurality of parking paths further comprises performing a quadratic optimization on the parking lot constraints, parking space constraints, kinematic constraints, and plurality of obstacle constraints for each of the plurality of obstacles.

### Claim 14 (depends on 8)

The medium of claim 8, further comprising:
prior to navigating the ADV to the selected parking space, in response to determining that, after eliminating at least one of the plurality of candidate paths, there is no remaining candidate path:
automatically relaxing at least one constraint of at least one obstacle;
determining a new plurality of parking paths without considering any obstacles surrounding the ADV;
determining a cost for each parking path in the new plurality of parking paths;
selecting a new plurality of candidate parking paths from the new plurality of parking paths having a least cost among the new plurality of parking paths; and
for each candidate parking path in the new plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with conflict with any segment of the candidate parking path, eliminating the candidate parking path; and
in response to any obstacle in the plurality of obstacles has a projected speed and a projected direction, and having a predicted location that will conflict with any segment of the candidate parking path, eliminating the candidate parking path;
selecting a new parking path from the remaining new candidate parking paths;
generating a reference line to navigate the ADV based on the selected new parking path; and
navigating the ADV from the current ADV location to the parking space using the reference line.

### Claim 15

A system comprising a processing system having at least one hardware processor, the processing system coupled to a memory programmed with executable instructions that, when executed by the processing system perform operations for parking an autonomous driving vehicle (ADV), the operations comprising:
scanning a parking lot using map information and a sensor system that generates sensor information of the ADV to determine and select an available parking space within the parking lot;
determining a plurality of parking lot constraints and a plurality of parking space constraints of a selected parking space using the map information and sensor system of the ADV;
determining a set of kinematic constraints on the ADV;
determining a plurality of parking paths from a current location of the ADV to the selected parking space based at least in part on the plurality of parking lot constraints, a plurality of parking space constraints of the selected parking space, the kinematic constraints upon the ADV, and without considering any obstacles that may be surrounding the ADV;
determining a cost for each parking path in the plurality of parking paths;
selecting a plurality of candidate parking paths from the plurality of parking paths having a least cost among the plurality of parking paths;
detecting a plurality of obstacles surrounding the ADV using the map information and sensor information of the ADV, wherein at least one of the plurality of obstacles includes a projected speed and a projected direction;
prior to navigating the ADV to the selected parking space, for each candidate parking path in the plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with the candidate parking path, eliminating the candidate parking path,
in response to determining that any obstacle in the plurality of obstacles having a projected speed and a projected direction, and a predicted location that will conflict with the candidate parking path, eliminating the candidate parking path;
selecting a parking path from the remaining candidate parking paths;
generating a reference line to navigate the ADV based on the selected parking path; and
navigating the ADV from the current ADV location to the parking space using the reference line.

### Claim 16 (depends on 15)

The system of claim 15, wherein determining the cost of a parking path is based at least in part on whether a portion of the parking path is driven in reverse, and whether the parking path requires the ADV to change a direction of the ADV from forward to reverse or reverse to forward driving direction, and logic of the ADV monitors and updates a location of each of the plurality of obstacles, and the predicted location of at least one obstacle having the predicted speed and predicted direction, during both forward and reverse driving direction of the ADV.

### Claim 17 (depends on 15)

The system of claim 15, the operations further comprising:
determining a plurality of kinematic constraints of the ADV, wherein determining the plurality of parking paths is further based at least in part on the plurality of kinematic constraints of the ADV, and wherein a number of the selected plurality of candidate parking paths is a fixed number of the plurality of parking paths or a fixed percentage of the plurality of parking paths.

### Claim 18 (depends on 17)

The system of claim 17, wherein the plurality of kinematic constraints comprise: a length of the ADV, a width of the ADV, a maximum steering angle of the ADV, a maximum acceleration or deceleration of the ADV, a maximum or minimum speed of the ADV, and whether the ADV is driving in a forward mode or reverse mode.

### Claim 19 (depends on 15)

The system of claim 15, wherein the plurality of parking lot constraints, the plurality of parking space constraints, the kinematic constraints, and a plurality of obstacle constraints for each obstacle in the plurality of obstacles are expressed as a set of affines.

### Claim 20 (depends on 19)

The system of claim 19, wherein determining the plurality of parking paths further comprises performing a quadratic optimization on the parking lot constraints, parking space constraints, and the kinematic constraints.

### Claim 21 (depends on 15)

The system of claim 15, the operations further comprising:
prior to navigating the ADV to the selected parking space, in response to determining that, after eliminating at least one of the plurality of candidate paths, there is no remaining candidate path:
automatically relaxing at least one constraint of at least one obstacle;
determining a new plurality of parking paths without considering any obstacles surrounding the ADV;
determining a cost for each parking path in the new plurality of parking paths;
selecting a new plurality of candidate parking paths from the new plurality of parking paths having a least cost among the new plurality of parking paths;
for each candidate parking path in the new plurality of candidate parking paths:
in response to determining that any static obstacle in the plurality of obstacles will conflict with conflict with the candidate parking path, eliminating the candidate parking path; and
in response to any obstacle in the plurality of obstacles having a projected speed and a projected direction, and having a predicted location that will conflict with the candidate parking path, eliminating the candidate parking path;
selecting a new parking path from the remaining new candidate parking paths;
generating a new reference line to navigate the ADV based on the selected new parking path; and
navigating the ADV from the current ADV location to the parking space using the new reference line.
