Dynamic parameter architecture for QP smoother

Through multiple sets of smoothing parameters and quadratic planning technology, the trajectory planning of autonomous vehicles is gradually adjusted, which solves the problem of insufficient smoothness of the reference line in traditional technology and improves the stability and control efficiency of the trajectory.

CN112445223BActive Publication Date: 2024-10-29BAIDU USA LLC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010147871.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-05
Publication Date
2024-10-29
Estimated Expiration
2040-03-05

AI Technical Summary

Technical Problem

Traditional trajectory planning technology relies on high-quality reference lines. The original reference lines may lack smoothness, leading to trajectory instability and oscillation. Existing solutions are inefficient by manually adjusting smoothing parameters.

Method used

Multiple sets of smoothing parameters are used to gradually and iteratively adjust the longitudinal and lateral degrees of freedom through quadratic programming (QP) smoothing operations until predetermined conditions are met, and smooth reference line segments are generated for controlling the trajectory of autonomous vehicles.

Benefits of technology

Effectively find appropriate smoothing parameters to avoid generating smooth reference lines that are unnecessarily far away from the original reference line, improving trajectory stability and control efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112445223B_ABST
    Figure CN112445223B_ABST
Patent Text Reader

Abstract

According to an exemplary method, a smoothing module can be used to iteratively perform a smoothing operation using a plurality of sets of smoothing parameters in an ordered list starting from a set of the most stringent parameters until the smoothing operation succeeds. The method includes the operation of generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters, and at least one set of smoothing parameters inserted therein; for each set of smoothing parameters, performing a quadratic programming (QP) smoothing operation on an original reference line segment until the QP smoothing operation succeeds; and controlling the ADV according to a smoothed reference line segment generated by a successful QP smoothing operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to autonomous vehicles. More specifically, embodiments of the present disclosure relate to reference line smoothing for autonomous vehicles. Background Art

[0002] A vehicle operating in an automated driving mode (e.g., without human control) can relieve occupants, particularly the driver, from some driving-related responsibilities. When operating in an automated driving mode, the vehicle can navigate to various locations using onboard sensors, allowing the vehicle to travel with minimal human interaction or in some cases without any passengers.

[0003] Motion planning and control are key operations in autonomous driving. Trajectory planning is a key component in autonomous driving systems. Traditional trajectory planning techniques rely heavily on high-quality reference lines, i.e., the guiding path for autonomous vehicles, such as the center line of the road, to generate stable trajectories.

[0004] Reference lines can be generated from map data points, usually a sequence of two-dimensional (2D) points in a world coordinate system. Reference lines generated directly from map data points are raw reference lines, which may lack the required smoothness and thus may cause trajectory instability and oscillation between planning cycles. Therefore, raw reference lines usually need to be smoothed using various smoothing techniques to obtain a better driving experience.

[0005] Quadratic Programming (QP) is often used for reference line smoothing. However, there is a debate between the closeness of the smoothed reference line to the original reference line and the success of the smoothing. Generally, the farther the smoothed reference line is, the greater the probability of successful smoothing.

[0006] Existing solutions include manually adjusting smoothing parameters to balance the degrees of freedom and success rate of points on the original reference line. This manual adjustment of smoothing parameters is suboptimal and inefficient. Summary of the invention

[0007] In a first aspect, the present disclosure provides a computer-implemented method of operating an autonomous vehicle (ADV), the method comprising:

[0008] generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters;

[0009] For each of the plurality of sets of smoothing parameters, performing a quadratic programming (QP) smoothing operation on a segment of the original reference line until the QP smoothing operation satisfies a predetermined condition; and

[0010] A trajectory for controlling the ADV is planned according to the smoothed reference line segments generated by the QP smoothing operation.

[0011] In a second aspect, the present disclosure provides a non-transitory machine-readable medium storing instructions for storing point cloud data in an autonomous vehicle (ADV), the instructions, when executed by a processor, causing the processor to perform operations comprising:

[0012] generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters;

[0013] For each of the plurality of sets of smoothing parameters, performing a quadratic programming (QP) smoothing operation on a segment of the original reference line until the QP smoothing operation satisfies a predetermined condition; and

[0014] A trajectory for controlling the ADV is planned according to the smoothed reference line segments generated by the QP smoothing operation.

[0015] In a third aspect, the present disclosure provides a data processing system, comprising:

[0016] Processor; and

[0017] a memory coupled to the processor to store instructions that, when executed by the processor, cause the processor to perform operations comprising:

[0018] generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters;

[0019] For each of the plurality of sets of smoothing parameters, performing a quadratic programming (QP) smoothing operation on a segment of the original reference line until the QP smoothing operation satisfies a predetermined condition; and

[0020] A trajectory for controlling the ADV is planned according to the smoothed reference line segments generated by the QP smoothing operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Embodiments of the present disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.

[0022] Figure 1 is a block diagram illustrating an autonomous driving vehicle network configuration according to one embodiment.

[0023] Figure 2is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment.

[0024] FIG. 3A to FIG. 3B is a block diagram illustrating an example of a perception and planning system used by an autonomous vehicle according to some implementations.

[0025] Figure 4 is a block diagram illustrating an example of a smoothing module according to one embodiment.

[0026] Figure 5 is a block diagram illustrating an exemplary system for smoothing a raw reference line according to one embodiment.

[0027] Figure 6 A dynamic QP smoother according to one embodiment is shown.

[0028] Figure 7 An example of using a dynamic QP smoother according to one embodiment is shown.

[0029] Figure 8 An exemplary process of smoothing an original reference line according to one embodiment is shown. DETAILED DESCRIPTION

[0030] Various embodiments and aspects of the present disclosure will be described with reference to the details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the present disclosure and should not be construed as limiting the present disclosure. Many specific details are described to provide a comprehensive understanding of the various embodiments of the present disclosure. However, in some cases, well-known or conventional details are not described to provide a concise discussion of the embodiments of the present disclosure.

[0031] As mentioned above, finding the right balance between appropriate smoothing parameters and smoothing success is a challenge. If the smoothing parameters are too loose, smoothing is more likely to succeed, but the resulting smoothed reference line may be too far from the original reference line and may not be as useful in controlling the autonomous vehicle.

[0032] Embodiments described in the present disclosure may enable finding a set of appropriate smoothing parameters to avoid generating a smoothed reference line that is unnecessarily far from the original reference line. According to an exemplary method, a smoothing module may be used to iteratively perform a smoothing operation using a plurality of sets of smoothing parameters in an ordered list, starting from a set of the most stringent parameters, until the smoothing operation succeeds. The method includes the operation of generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters, and at least one set of smoothing parameters inserted therein; for each set of smoothing parameters, performing a quadratic programming (QP) smoothing operation on a segment of the original reference line used to operate the ADV until the QP smoothing operation succeeds; and controlling the ADV according to the smoothed reference line segment generated by the successful QP smoothing operation.

[0033] In one embodiment, each group of smoothing parameters includes longitudinal degrees of freedom, transverse degrees of freedom, the degree of a polynomial function, and a plurality of control points on a section of the original reference line. The longitudinal degrees of freedom and the transverse degrees of freedom in the first group of smoothing parameters are respectively less than the longitudinal degrees of freedom and the transverse degrees of freedom in the second group of smoothing parameters. The multiple groups of smoothing parameters have the same polynomial function degree and the same number of control points on a section of the original reference line, but the longitudinal degrees of freedom and the transverse degrees of freedom are different.

[0034] In one embodiment, when performing a QP smoothing operation on each of the multiple sets of smoothing parameters, the smoothing module may perform the following operations: determining a bounding box centered on each of the multiple control points on a segment of the original reference line, and the bounding box has a length of the longitudinal degrees of freedom of the set of smoothing parameters and a width of the transverse degrees of freedom of the set of smoothing parameters; selecting multiple two-dimensional polynomials, each polynomial representing a segment of the optimal reference line between adjacent control points; and defining a set of constraints on the two-dimensional polynomials so that the two-dimensional polynomial can pass through each of the multiple bounding boxes.

[0035] In one embodiment, starting from the first set of smoothing parameters, the multiple sets of smoothing parameters are arranged in ascending order. In addition, in each set of smoothing parameters, the ratio between the longitudinal degree of freedom and the lateral degree of freedom is the same.

[0036] In one embodiment, the smoothing module may perform a smoothing operation on the original reference line in advance to obtain better performance. This may occur when the ADV calls the smoothing module to generate a smooth reference line for the entire trip in advance based on the HD map to obtain better performance.

[0037] Autonomous vehicles

[0038] Figure 1 is a block diagram showing a network configuration of an autonomous driving vehicle according to one embodiment of the present disclosure. Figure 1 , network configuration 100 includes an autonomous vehicle 101 that can be communicatively connected to one or more servers 103 to 104 via a network 102. Although one autonomous vehicle is shown, multiple autonomous vehicles can be connected to each other and / or to servers 103 to 104 via network 102. Network 102 can be any type of network, for example, a wired or wireless local area network (LAN), a wide area network (WAN) such as the Internet, a cellular network, a satellite network, or a combination thereof. Servers 103 to 104 can be any type of server or server cluster, such as a web or cloud server, an application server, a back-end server, or a combination thereof. Servers 103 to 104 can be data analysis servers, content servers, traffic information servers, maps and points of interest (MPOI) servers, or location servers, etc.

[0039] An autonomous vehicle refers to a vehicle that is configurable to be in an autonomous mode in which the vehicle navigates through an environment with little or no input from a driver. Such an autonomous vehicle may include a sensor system having one or more sensors configured to detect information related to the environment in which the vehicle is operating. The vehicle and its associated controller use the detected information to navigate through the environment. The autonomous vehicle 101 may operate in a manual mode, in a fully autonomous mode, or in a partially autonomous mode.

[0040] In one embodiment, the autonomous vehicle 101 includes, but is not limited to, a perception and planning system 110, a vehicle control system 111, a wireless communication system 112, a user interface system 113, and a sensor system 115. The autonomous vehicle 101 may also include certain common components included in an ordinary vehicle, such as: an engine, wheels, a steering wheel, a transmission, etc., which may be controlled by the vehicle control system 111 and / or the perception and planning system 110 using a variety of communication signals and / or commands, such as acceleration signals or commands, deceleration signals or commands, steering signals or commands, braking signals or commands, etc.

[0041] Components 110 to 115 may be communicatively coupled to each other via an interconnect, a bus, a network, or a combination thereof. For example, components 110 to 115 may be communicatively coupled to each other via a controller area network (CAN) bus. The CAN bus is a vehicle bus standard designed to allow microcontrollers and devices to communicate with each other in applications without a host. It is a message-based protocol originally designed for multiplexed electrical wiring within an automobile, but is also used in many other environments.

[0042] Figure 2 is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment. Figure 2In the embodiment, the sensor system 115 includes, but is not limited to, one or more cameras 211, a global positioning system (GPS) unit 212, an inertial measurement unit (IMU) 213, a radar unit 214, and a light detection and ranging (LIDAR) unit 215. GPS 212 may include a transceiver that is operable to provide information about the location of the autonomous vehicle. IMU unit 213 may sense the position and orientation changes of the autonomous vehicle based on inertial acceleration. Radar unit 214 may represent a system that uses radio signals to sense objects within the local environment of the autonomous vehicle. In some embodiments, in addition to sensing objects, radar unit 214 may additionally sense the speed and / or heading of the object. LIDAR unit 215 may use lasers to sense objects in the environment of the autonomous vehicle. LIDAR unit 215 may also include, among other system components, one or more laser sources, a laser scanner, and one or more detectors. Camera 211 may include one or more devices for collecting images of the environment surrounding the autonomous vehicle. Camera 211 may be a still camera and / or a video camera. The camera may be mechanically movable, for example, by mounting the camera on a rotating and / or tilting platform.

[0043] The sensor system 115 may also include other sensors, such as: a sonar sensor, an infrared sensor, a steering sensor, a throttle sensor, a brake sensor, and an audio sensor (e.g., a microphone). The audio sensor may be configured to collect sound from the environment around the autonomous vehicle. The steering sensor may be configured to sense the steering angle of the steering wheel, the wheels of the vehicle, or a combination thereof. The throttle sensor and the brake sensor sense the throttle position and the brake position of the vehicle, respectively. In some cases, the throttle sensor and the brake sensor may be integrated into an integrated throttle / brake sensor.

[0044] In one embodiment, the vehicle control system 111 includes, but is not limited to, a steering unit 201, a throttle unit 202 (also referred to as an acceleration unit), and a brake unit 203. The steering unit 201 is used to adjust the direction or forward direction of the vehicle. The throttle unit 202 is used to control the speed of the motor or engine, which in turn controls the speed and acceleration of the vehicle. The brake unit 203 decelerates the vehicle by providing friction to decelerate the wheels or tires of the vehicle. It should be noted that, as Figure 2 The components shown may be implemented in hardware, software or a combination thereof.

[0045] Return to reference Figure 1, the wireless communication system 112 allows communication between the autonomous driving vehicle 101 and external systems such as devices, sensors, other vehicles, etc. For example, the wireless communication system 112 can communicate directly with one or more devices wirelessly, or communicate wirelessly via a communication network, such as communicating with servers 103 to 104 through the network 102. The wireless communication system 112 can use any cellular communication network or wireless local area network (WLAN), for example, using WiFi, to communicate with another component or system. The wireless communication system 112 can communicate directly with a device (e.g., a passenger's mobile device, a display device, a speaker in the vehicle 101) using, for example, an infrared link, Bluetooth, etc. The user interface system 113 can be part of a peripheral device implemented in the vehicle 101, including, for example, a keyboard, a touch screen display device, a microphone, and a speaker.

[0046] Some or all of the functions of the autonomous vehicle 101 may be controlled or managed by the perception and planning system 110, particularly when operating in an autonomous mode. The perception and planning system 110 includes the necessary hardware (e.g., processor, memory, storage) and software (e.g., operating system, planning and routing programs) to receive information from the sensor system 115, the control system 111, the wireless communication system 112, and / or the user interface system 113, process the received information, plan a route or path from a starting point to a destination point, and then drive the vehicle 101 based on the planning and control information. Alternatively, the perception and planning system 110 may be integrated with the vehicle control system 111.

[0047] For example, a user as a passenger may specify a starting location and a destination for a trip, for example, via a user interface. The perception and planning system 110 obtains trip-related data. For example, the perception and planning system 110 may obtain location and route information from an MPOI server, which may be part of the servers 103 to 104. The location server provides location services, and the MPOI server provides map services and POIs for certain locations. Alternatively, such location and MPOI information may be locally cached in a permanent storage device of the perception and planning system 110.

[0048] As the autonomous vehicle 101 moves along the route, the perception and planning system 110 may also obtain real-time traffic information from a traffic information system or server (TIS). It should be noted that the servers 103 to 104 may be operated by a third-party entity. Alternatively, the functionality of the servers 103 to 104 may be integrated with the perception and planning system 110. Based on the real-time traffic information, MPOI information, and location information, as well as real-time local environmental data (e.g., obstacles, objects, nearby vehicles) detected or sensed by the sensor system 115, the perception and planning system 110 may plan an optimal route and drive the vehicle 101 according to the planned route, for example, via the control system 111, to safely and efficiently reach a designated destination.

[0049] The server 103 may be a data analysis system, thereby performing data analysis services for various clients. In one embodiment, the data analysis system 103 includes a data collector 121 and a machine learning engine 122. The data collector 121 collects driving statistics 123 from various vehicles (autonomous driving vehicles or conventional vehicles driven by human drivers). The driving statistics 123 include information indicating the driving instructions issued (e.g., throttle, brake, steering instructions) and the responses of the vehicle captured by the vehicle's sensors at different time points (e.g., speed, acceleration, deceleration, direction). The driving statistics 123 may also include information describing the driving environment at different time points, such as routes (including starting and destination locations), MPOI, road conditions, weather conditions, etc. Based on the driving statistics 123, for various purposes, the machine learning engine 122 generates or trains a set of rules, algorithms and / or prediction models 124. In one embodiment, for example, the algorithm 124 may include an optimization method for optimizing path planning and speed planning. The optimization method may include a set of cost functions and polynomial functions used to represent path segments or time periods. These functions can be uploaded to the autonomous vehicle and used to generate smooth paths in real time.

[0050] Figure 3A and Figure 3B is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. System 300 may be implemented as Figure 1 A portion of an autonomous vehicle 101 includes, but is not limited to, a perception and planning system 110, a control system 111, and a sensor system 115. FIG. 3A to FIG. 3B The perception and planning system 110 includes but is not limited to a positioning module 301 , a perception module 302 , a prediction module 303 , a decision module 304 , a planning module 305 , a control module 306 , a route scheduling module 307 and a smoothing module 308 .

[0051] Some or all of the modules 301 to 308 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage 352, loaded into memory 351, and executed by one or more processors (not shown). It should be noted that some or all of these modules may be communicatively coupled to Figure 2 Some or all modules of the vehicle control system 111 of the present invention may be integrated with them. Some of the modules 301 to 308 may be integrated together into an integrated module. For example, the decision module 304 and the planning module 305 may be integrated into a single module; and the route arrangement module 307 and the smoothing module 308 may be integrated into a single module.

[0052] The positioning module 301 determines the current location of the autonomous vehicle 300 (e.g., using the GPS unit 212) and manages any data related to the user's itinerary or route. The positioning module 301 (also referred to as the map and route module) manages any data related to the user's itinerary or route. The user can log in, for example, via a user interface and specify the starting location and destination of the itinerary. The positioning module 301 communicates with other components of the autonomous vehicle 300, such as the map and route information 311, to obtain itinerary related data. For example, the positioning module 301 can obtain location and route information from a location server and a map and POI (MPOI) server. The location server provides location services, and the MPOI server provides map services and POIs at certain locations, which can be cached as part of the map and route information 311. When the autonomous vehicle 300 moves along the route, the positioning module 301 can also obtain real-time traffic information from a traffic information system or server.

[0053] Based on the sensor data provided by the sensor system 115 and the positioning information obtained by the positioning module 301, the perception module 302 determines the perception of the surrounding environment. The perception information may represent what an average driver would perceive around the vehicle the driver is driving. The perception may include, for example, lane configuration in the form of objects (e.g., straight lanes or curved lanes), traffic light signals, the relative position of another vehicle, pedestrians, buildings, crosswalks or other traffic-related signs (e.g., stop signs, yield signs), etc.

[0054] The perception module 302 may include a computer vision system or the functionality of a computer vision system to process and analyze images captured by one or more cameras to identify objects and / or features in the autonomous vehicle environment. The objects may include traffic signals, road boundaries, other vehicles, pedestrians, and / or obstacles, etc. The computer vision system may use object recognition algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system may map the environment, track objects, and estimate the speed of objects, etc. The perception module 302 may also detect objects based on other sensor data provided by other sensors such as radar and / or LIDAR.

[0055] For each object, the prediction module 303 predicts how the object will behave in this situation. The prediction is performed based on the perception data, which perceives the driving environment at a point in time considering a set of map / route information 311 and traffic rules 312. For example, if the object is a vehicle in the opposite direction and the current driving environment includes an intersection, the prediction module 303 will predict whether the vehicle is likely to move straight ahead or turn. If the perception data indicates that there is no traffic light at the intersection, the prediction module 303 may predict that the vehicle may need to come to a complete stop before entering the intersection. If the perception data indicates that the vehicle is currently in a left-turn only lane or a right-turn only lane, the prediction module 303 may predict that the vehicle will be more likely to turn left or right, respectively.

[0056] For each object, the decision module 304 makes a decision about how to handle the object. For example, for a particular object (e.g., another vehicle in a crossing path) and metadata describing the object (e.g., speed, direction, turn angle), the decision module 304 decides how to encounter the object (e.g., overtake, yield, stop, pass). The decision module 304 may make such decisions based on a rule set such as traffic rules or driving rules 312, which may be stored in the persistent storage device 352.

[0057] Based on the decision for each of the perceived objects, the planning module 305 plans a path or route and driving parameters (e.g., distance, speed, and / or turning angle) for the autonomous vehicle. In other words, for a given object, the decision module 304 decides what to do with the object, and the planning module 305 determines how to do it. For example, for a given object, the decision module 304 may decide to overtake the object, and the planning module 305 may determine whether to overtake on the left or right side of the object. Planning and control data are generated by the planning module 305 and include information describing how the vehicle 300 will move in the next movement cycle (e.g., the next route / path segment). For example, the planning and control data may indicate that the vehicle 300 moves at a speed of 30 miles per hour (mph) for 10 meters and then changes to the right lane at a speed of 25mph.

[0058] Based on the planning and control data, the control module 306 controls and drives the autonomous vehicle according to the route or path defined by the planning and control data by sending appropriate commands or signals to the vehicle control system 111. The planning and control data includes sufficient information to drive the vehicle from a first point on the route or path to a second point using appropriate vehicle settings or driving parameters (e.g., throttle, braking, and turning commands) at different points in time along the route or path.

[0059] In one embodiment, the planning phase is performed in multiple command cycles (also referred to as driving cycles), for example, in each cycle with a time interval of 100 milliseconds (ms). For each of the command cycles or driving cycles, one or more control commands will be issued based on the planning and control data. That is, for every 100ms, the planning module 305 plans the next route segment or path segment, for example, including the target position and the time required for the ADV to reach the target position. Alternatively, the planning module 305 can also specify a specific speed, direction and / or steering angle, etc. In one embodiment, the planning module 305 plans the route segment or path segment for the next predetermined period of time (such as 5 seconds). For each planning cycle, the planning module 305 plans the target position for the current cycle (e.g., the next 5 seconds) based on the target position planned in the previous cycle. The control module 306 then generates one or more control commands (e.g., throttle, brake, steering control commands) based on the planning and control data of the current cycle.

[0060] It should be noted that the decision module 304 and the planning module 305 can be integrated into an integrated module. The decision module 304 / planning module 305 may include a navigation system or the functionality of a navigation system to determine a driving path for an autonomous vehicle. For example, the navigation system may determine a series of speeds and directions of travel for influencing the autonomous vehicle to move along a path that substantially avoids perceived obstacles while allowing the autonomous vehicle to move along a roadway-based path to a final destination. The destination may be set based on user input via the user interface system 113. The navigation system may dynamically update the driving path while the autonomous vehicle is running. The navigation system may combine data from a GPS system and one or more maps to determine a driving path for the autonomous vehicle.

[0061] The decision module 304 / planning module 305 may also include the functionality of a collision avoidance system or a collision avoidance system to identify, evaluate and avoid or otherwise navigate potential obstacles in the environment of the autonomous vehicle. For example, the collision avoidance system may implement changes in the navigation of the autonomous vehicle by operating one or more subsystems in the control system 111 to take a turn maneuver, a turning maneuver, a braking maneuver, etc. The collision avoidance system may automatically determine feasible obstacle avoidance maneuvers based on surrounding traffic patterns, road conditions, etc. The collision avoidance system may be configured so that a turn maneuver is not taken when other sensor systems detect vehicles, building obstacles, etc. located in an adjacent area into which the autonomous vehicle will turn. The collision avoidance system may automatically select a maneuver that is both usable and maximizes the safety of the autonomous vehicle occupants. The collision avoidance system may select an avoidance maneuver that is predicted to cause the least amount of acceleration to occur in the passenger compartment of the autonomous vehicle.

[0062] The routing module 307 may generate a reference route, for example, from map information (such as information about a road segment, information about the road segment's lanes, and information about the distance of a lane from a curb). For example, a road may be divided into {A, B, and C} sections or segments to represent three road segments. The three lanes of section A may be listed as {A1, A2, and A3}. The reference route is generated by generating reference points along the reference route. For example, for a vehicle lane, the routing module 307 may connect the midpoints of two opposite curbs or endpoints of the vehicle lane provided by map data (which may be generated by the perception module 302 or may be pre-stored / downloaded). Based on the midpoints of the collected data points representing vehicles that previously traveled on the vehicle lane at different points in time and the machine learning data, the routing module 307 may calculate the reference points by selecting a subset of the collected data points within a predetermined proximity of the vehicle lane, and applying a smoothing function to the midpoints of the subset of the collected data points.

[0063] Based on the reference points or lane reference points, the routing module 307 may generate a reference line by interpolating the reference points so that the generated reference line is used as a reference line for controlling the ADV on the vehicle lane. In some embodiments, a reference point table and a road segment table representing the reference line are uploaded to the ADV in real time so that the ADV can generate a reference line based on the ADV's geographic location and driving direction. For example, in one embodiment, the ADV may generate a reference line by requesting a routing service for a path segment using a path segment identifier representing an upcoming road segment and / or based on the ADV's GPS location. Based on the path segment identifier, the routing service may return to the ADV a reference point table that includes reference points for all lanes of the road segment of interest. The ADV may refer to the reference points for the lanes of the path segment to generate a reference line for controlling the ADV on the vehicle lane.

[0064] The smoothing module 308 can generate a smooth road reference line based on the reference line provided by the routing module 307. For example, the smoothing module 308 selects a plurality of control points along the reference line. In one embodiment, the control points can be reference points of the reference line provided by the routing module 307, or some interpolation points along the reference line, which are approximately equidistant from their neighboring points. The smoothing module 308 adds a set of constraints representing a bounding area (e.g., a bounding box with a preconfigured size and / or direction) around each of the control points. The smoothing module 308 adds a set of joint smoothing constraints to ensure that the plurality of piecewise polynomials representing the reference line segments between adjacent control points are smoothly connected together. The smoothing module 308 selects an objective function having a set of kernels or weighting functions, and the piecewise polynomials will be targeted at the objective function. The smoothing module 308 uses a quadratic programming solver to optimize the objective function to generate a smooth road reference line.

[0065] As described above, the route or routing module 307 manages any data related to the user's trip or route. The user of the ADV specifies a starting location and a destination location to obtain trip-related data. The trip-related data includes route segments and reference lines or reference points for the route segments. For example, based on the route map information 311, the routing module 307 generates a route or road segment table and a reference point table. The reference points are related to the road segments and / or lanes in the road segment table. The reference points can be interpolated to form one or more reference lines for controlling the ADV. The reference points can be specific to the road segments and / or specific lanes of the road segments.

[0066] For example, the road segment table may be a name-value pair to include the previous and next road lanes of road segment A to road segment D. For example, for road segment A to road segment D with lane 1, the road segment table may be: {(A1, B1), (B1, C1), (C1, D1)}. The reference point table may include reference points in xy coordinates for the road segment lanes, for example, {(A1, (x1, y1)), (B1, (x2, y2)), (C1, (x3, y3)), (D1, (x4, y4))}, where A1...D1 refers to lane 1 of road segment A to road segment D, and (x1, y1)...(x4, y4) are the corresponding real-world coordinates. In one embodiment, the road segments and / or lanes are divided into segments / lanes of predetermined lengths, such as approximately 200 meters. In another embodiment, the road segments and / or lanes are divided into segments / lanes of variable lengths according to road conditions such as road curvature. In some embodiments, each road segment and / or lane may include several reference points. In some embodiments, the reference points may be converted to other coordinate systems, such as latitude-longitude.

[0067] In some embodiments, the reference point may be converted to a relative coordinate system, such as a station-lateral (SL) coordinate. A station-lateral coordinate system is a coordinate system that references a fixed reference point to follow a reference line. For example, a (S, L) = (1, 0) coordinate may represent one meter before a stationary point (i.e., the reference point) on the reference line, with a lateral offset of zero meters. A (S, L) = (2, 1) reference point may represent two meters before the stationary reference point along the reference line and one meter laterally offset from the reference line, e.g., one meter to the left.

[0068] In one embodiment, the smoothing module 308 generates a smoothed reference line based on reference points representing the reference line provided by the routing module 307. The smoothed reference line may be transformed into a relative coordinate system, such as the SL coordinate system, before the decision module and / or planning module (such as the decision module 304 and / or the planning module 305) combines the smoothed reference line with the perceived obstacle and / or traffic information.

[0069] In one embodiment, the decision module 304 generates a rough path distribution based on a reference line provided by the routing module 307 (the reference line has been smoothed by the smoothing module 308 as described above) and based on obstacle and / or traffic information around the ADV sensed by the ADV. The rough path distribution can be part of the path / speed distribution 313 that can be stored in the permanent storage device 352. The rough path distribution is generated by selecting points along the reference line. For each point, the decision module 304 moves the point to the left or right of the reference line (e.g., a candidate move) based on one or more obstacle decisions about how the object is encountered, while the remaining points remain stable. When using a cost function (e.g., Figure 3A A rough path distribution is generated by iteratively performing candidate moves on the path candidates using dynamic programming while searching for the path candidate with the lowest path cost (part of the cost function 315 in ). Examples of cost functions include costs based on: the curvature of the route path, the distance from the ADV to the perceived obstacle, and the distance from the ADV to the reference line. In one embodiment, the generated rough path distribution includes a site-lateral map as part of the SL map / ST map 314 that can be stored in the permanent storage device 352.

[0070] In one embodiment, the decision module 304 generates a rough speed profile (as part of the path / speed profile 313) based on the generated rough path profile. The rough speed profile represents the optimal speed when controlling the ADV at a specific point in time. Similar to the rough path profile, the ADV is configured to control obstacles based on a cost function (as a function of the cost function). Figure 3AThe rough speed profile determines whether the ADV should overtake or avoid an obstacle, and whether to avoid the obstacle to the left or right. In one embodiment, the rough speed profile includes a station-time (ST) graph (as part of the SL map / ST graph 314). The station-time graph indicates the distance traveled relative to time.

[0071] In one embodiment, the planning module 305 recalculates the rough path distribution based on obstacle decisions and / or artificial barriers to prohibit the planning module 305 from searching the geometric space of the barriers. For example, if it is determined that the rough speed distribution approaches an obstacle from the left, the planning module 305 may set a barrier (in the form of an obstacle) to the right of the obstacle to prevent calculations for ADVs approaching the obstacle from the right. In one embodiment, the rough path distribution is recalculated by optimizing the path cost function (as part of the cost function 315) using quadratic programming (QP). In one embodiment, the recalculated rough path distribution includes a site-lateral map (as part of the SL map / ST map 314).

[0072] In one embodiment, the planning module 305 recalculates the rough speed profile using quadratic programming (QP) to optimize the speed cost function (as part of the cost function 315). Similar speed fence constraints can be added to prohibit the QP solver from searching for some prohibited speeds. In one embodiment, the recalculated rough speed profile includes a station-time graph (as part of the SL map / ST map 314).

[0073] It should be noted that some or all of the components shown and described above may be implemented in software, hardware, or a combination thereof. For example, such components may be implemented as software installed and stored in a permanent storage device, which may be loaded into a memory by a processor (not shown) and executed in the memory to implement the processes or operations described throughout the present application. Alternatively, such components may be implemented as executable code programmed or embedded into dedicated hardware (such as an integrated circuit (e.g., an application-specific integrated circuit or ASIC), a digital signal processor (DSP), or a field programmable gate array (FPGA)), which may be accessed via a corresponding driver and / or operating system from an application. In addition, such components may be implemented as specific hardware logic in a processor or processor core as part of an instruction set that may be accessed by a software component through one or more specific instructions.

[0074] Quadratic Programming (QP) Smoothing

[0075] Figure 4is a block diagram showing an example of a smoothing module according to one embodiment. Figure 4 , the smoothing module 308 may apply a smoothing optimization based on a two-dimensional (2D) spline (e.g., a two-dimensional piecewise polynomial). The smoothing module 308 may include a constraint module 401, a bounding box module 405, and an objective function module 407. The constraint module 401 may define the definition of basic constraints, restrictions, restrictions, or conditions that must be satisfied by the QP optimization problem. The constraint module 401 may include, but is not limited to, an initial constraint 411, an equality constraint 413, and an inequality constraint 415. The initial constraint 411 includes a set of constraints corresponding to the initial conditions of the ADV (e.g., the direct direction and / or geographic location of the ADV). The equality constraint 413 includes a set of equality constraints that declare some equality conditions that must be satisfied. For example, the equality constraint 413 may include a set of constraints that guarantee that joint smoothness and / or some point-by-point constraints are satisfied (e.g., the spline will pass through certain points or have some specific point directions). The inequality constraint 415 includes a set of inequality constraints that guarantee that the spline is within a certain boundary (e.g., less than or greater than a certain constraint value). For example, inequality constraints 415 may include a set of constraints that guarantee that the spline will pass through certain boundaries. Both inequality constraints and equality constraints are hard constraints, which means that they need to be satisfied. Bounding box module 405 may establish a bounding region (e.g., a bounding box) around each control point. Objective function module 407 may generate one or more kernels as objective function parameters for quadratic programming optimization.

[0076] Figure 5 is a block diagram illustrating an exemplary system for smoothing an original reference line according to one embodiment. The routing module 307 provides a map or route segment information to the ADV based on the GPS location of the ADV. An original reference line 532 may be generated based on the map and route segment information. In one embodiment, the original reference line 532 may be represented by a plurality of control points, such as control point 505. The control points may be spaced approximately equally, such as approximately 5 to 10 meters apart.

[0077] Based on control points, such as Figure 3A The smoothing module of the smoothing module 308 applies 2D QP spline optimization to generate a smooth reference line 530 for controlling ADV. The smooth reference line 530 is a spline represented by one or more (e.g., piecewise) polynomials connected together. For example, a polynomial or polynomial function can represent a segment between two adjacent control points of a plurality of control points.

[0078] In one embodiment, each polynomial function within the spline may be a two-dimensional polynomial, for example,

[0079] x(t)=p0+p1t+p2t 2 +…+p n t n, and y(t) = q0 + q1t + q2t 2 +…+q n t n ,

[0080] where x and y represent the two-dimensional (x, y) geometric coordinates of the polynomial to the nth order, and p 0..n and q 0..n are the coefficients of the two-dimensional polynomial to be solved.

[0081] In another embodiment, the polynomial function may be one-dimensional. For example,

[0082] l(s)=p0+p1s+p2s 2 +…+p n s n ,

[0083] Where s, l represent the site-transverse one-dimensional (s, l) geometric coordinates of the polynomial to the nth order, and p 0..n are the coefficients of the one-dimensional polynomial to be solved.

[0084] refer to Figure 4 , the smoothing module 308 configures the order (i.e., degree) of the polynomial for the spline or piecewise polynomial to ensure a desired threshold of spline smoothness. In one embodiment, the piecewise polynomial may be preconfigured as a fifth-order polynomial. Based on the control points, the bounding box module 405 may define a bounding region, such as a bounding box 501, having a predetermined size, such as approximately 0.2 meters by 0.4 meters, to surround each of the control points. The bounding region may represent an inequality constraint (as part of the inequality constraint 415) that the smoothing reference line (e.g., spline or piecewise polynomial) 530 must touch or pass through.

[0085] For example, a control point (x1, y1) 505 with a bounding box of 0.2 meters by 0.4 meters may include an inequality constraint for the spline at point C(x(1), y(1)) 507 such as:

[0086] x1-0.1≤x(1)≤x1+0.1, and y1-0.1≤y(1)≤y1+0.2,

[0087] where (x1, y1) are the xy coordinates of the control point, and (x(1), y(1)) are the xy coordinates of the spline around the control point.

[0088] The equality constraint 413 or the inequality constraint 415 may include the edge 504 as a directional constraint imposed on the bounding box 501 so that the spline will have a specific point-to-point direction. In some embodiments, the constraint module 401 may add a set of joint constraints (as part of the equality constraint 413) to ensure, for example, joint smoothness, for example,

[0089] x2(t)=x1(t) and y2(t)=y1(t),

[0090] x'2(t)=x'1(t) and y'2(t)=y'1(t),

[0091] x″2(t)=y″1(t) and y″2(t)=y″1(t),

[0092] where x1(t) and x2(t) are two adjacent x-polynomials at value t; y1(t) and y2(t) are two adjacent y-polynomials at value t; and x′1(t), y′1(t) and x″1(t) and y″1(t) are the first and second derivatives of the two-dimensional piecewise polynomial at value t. Here, the second-order derivative equality constraint guarantees a certain threshold of joint smoothness between adjacent points.

[0093] Constraint module 401 may add a set of initial constraints to the piecewise polynomial (as part of initial constraints 411). The set of initial constraints may correspond to the current geographic location and / or current heading of the ADV, for example

[0094] x(0) = x0 and y(0) = y0,

[0095] x′(0)=dx0 and y′(0)=dy0,

[0096] Where (x0, y0) is the current xy coordinate of the ADV's geographic location, (dx0, dy0) is the ADV's current direction, and x(0), y(0) correspond to the initial values ​​of the first xy polynomial. In some embodiments, the constraint module 401 may add a set of endpoint constraints corresponding to the ADV's location and direction when the ADV reaches the destination point.

[0097] In some implementations, the smoothing module 308 may select an objective function (as part of the objective function 407) with various kernels or cost functions that the spline will target. Exemplary objective functions may include smoothing kernels and / or guiding kernels, such as:

[0098]

[0099] Where x(t), y(t) are xy two-dimensional piecewise polynomials, w1, ..., w3 are weight factors, (x′) 2 (t), (y′) 2 (t) is the square of the first derivative of the piecewise polynomial, (x″) 2 (t), (y″) 2 (t) is the square of the second derivative of the piecewise polynomial, (x″′) 2(t), y(″′) 2 (t) is the square of the third derivative of the piecewise polynomial, and x ref (t), y ref (t) is the xy reference route value of the average human driving route from previously collected data

[0100] In one embodiment, edge 504 can be perpendicular to line segments 505-506 on original reference line 532. The size of bounding box 501 defines the longitudinal and lateral degrees of freedom that smoothing module 308 uses to smooth original reference line 532.

[0101] As used herein, the longitudinal degree of freedom is the maximum longitudinal distance allowed between an original point on the original reference line 532 (e.g., point 505) and a corresponding point on the smoothed reference line 530 (e.g., point 507), and the transverse degree of freedom is the maximum transverse distance allowed between an original point on the original reference line 532 and a corresponding point on the smoothed reference line 530. The transverse degree of freedom is parallel to the edge 504, and the longitudinal degree of freedom is perpendicular to the edge 504.

[0102] Dynamic QP Smoother

[0103] Figure 6 A dynamic QP smoother according to one embodiment is shown. Figure 6 As shown in FIG. 6 , a dynamic QP smoother 601 may include two sets of smoothing parameters. A first set of smoothing parameters 603 is more stringent, while a second set of smoothing parameters 605 is more relaxed.

[0104] These two sets of smoothing parameters may be provided by default by the dynamic QP smoother 601 and may be adjusted via a user interface. In one embodiment, the dynamic QP smoother 601 may interpolate multiple sets of smoothing parameters between the first set of smoothing parameters 603 and the second set of smoothing parameters 605 .

[0105] In one embodiment, each set of smoothing parameters (i.e., two sets of default smoothing parameters and an interpolated set of smoothing parameters) may have the same smoothing parameters, including longitudinal degrees of freedom, lateral degrees of freedom, the degree of the polynomial function, and the number of control points on the original reference line segment.

[0106] In one embodiment, each set of smoothing parameters has different longitudinal degrees of freedom and different transverse degrees of freedom. In each set of smoothing parameters, the ratio between the longitudinal degrees of freedom and the transverse degrees of freedom is the same. Therefore, the size ratio of the bounding boxes generated for all smoothing parameter sets can be the same.

[0107] However, each set of smoothing parameters has a polynomial function of the same degree and the same number of control points. If there are other QP parameters defined by the dynamic QP smoother, the values ​​of these QP parameters are also the same for each set of smoothing parameters.

[0108] In one embodiment, the smoothing parameter sets may be ordered ascendingly, with the strict parameter set 603 being the first set of smoothing parameters in the ordered list of smoothing parameter sets, followed by the smoothing parameter set with the next greater longitudinal degrees of freedom.

[0109] In one embodiment, when invoked, the dynamic QP smoother 601 may use a strict set of parameters to smooth the original reference line segment. Figure 6 As shown in Figure 4 and Figure 5 As described in , during the smoothing process, the dynamic QP smoother 601 may call the constraint module 401, the boundary region module 405 and the objective function module 407.

[0110] If the smoothing operation fails on a strict parameter set, the reference line can be smoothed using the next set of smoothing parameters in the ordered list of smoothing parameter sets. This process can be repeated until the smoothing operation succeeds. If the smoothing operation fails on all smoothing parameter sets, the original reference line segment can be used as the smoothing reference line segment, where the curvature and direction information can be calculated from the adjacent original points.

[0111] In one embodiment, a loop structure may be used in the dynamic QP smoother 601 to smooth the original reference line segment using multiple sets of smoothing parameters. The loop may be terminated when the smoothing operation succeeds on a set of smoothing parameters in the ordered list of smoothing parameter sets.

[0112] After smoothing the first segment of the original reference line, the dynamic QP smoother 601 may start smoothing the next segment of the original reference line by performing the operations described above. The smoothed reference line segments may be concatenated for controlling ADV.

[0113] Figure 7 An example of using a dynamic QP smoother according to one embodiment is shown. Figure 7 As shown in FIG. , a set of strict smoothing parameters 701 and a set of loose smoothing parameters 703 may be provided by a dynamic QP smoother such as Figure 6 The two sets of smoothing parameters may be provided by default or may be generated by a configuration file, which may be modified via a user interface.

[0114] exist Figure 7, strict parameter set 701 includes transverse degrees of freedom A 705, longitudinal degrees of freedom A 709, spacing between control points A 711, and degree of polynomial function A 713. Similarly, relaxed parameter set 703 includes transverse degrees of freedom B 707, longitudinal degrees of freedom B 710, spacing between control points B 712, and degree of polynomial function B 714. For purposes of illustration, parameters in two sets of parameters are provided, and one or more additional smoothing parameters for QP optimization / smoothing may be included in both sets of parameters.

[0115] like Figure 7 As shown in FIG, the transverse degree of freedom A 705 in the strict parameter set 701 is different from the transverse degree of freedom B 707 in the loose parameter set 703. Similarly, the longitudinal degree of freedom A 709 in the strict parameter set 701 is different from the longitudinal degree of freedom B 710 in the loose parameter set 703.

[0116] However, for interval A 711 and interval B 712, both sets of smoothing parameters have the same value of 5 meters, and for times A 713 and times B 714, have the same value of 5. Any additional parameters that may be included in the parameter set will have the same value for both sets of parameters.

[0117] In one embodiment, when the ADV is traveling, a predetermined original reference line (e.g., 120 meters) may be generated. A smoothing module, such as smoothing module 308, may smooth the reference line segment by segment. Within each segment, a plurality of control points (e.g., A, B, C, D, and E) are selected for smoothing the original reference line segment. All segments are smoothed, and the smoothed reference line segments may be concatenated to form a smoothed reference line for controlling the ADV.

[0118] In one embodiment, multiple sets of smoothing parameters may be interpolated between strict parameter set 701 and relaxed parameter set 703. Each of the interpolated parameter sets may include the same parameters as strict parameter set 701 or relaxed parameter set 703, but with different longitudinal and transverse degrees of freedom.

[0119] In one embodiment, the multiple sets of interpolation parameters may be determined based on historical driving statistics. As an illustrative example, if 2 sets of smoothing parameters are interpolated based on the collected historical driving statistics, the dynamic QP smoother 601 may divide the absolute value of the difference between lateral degrees of freedom A 705 and lateral degrees of freedom B 707 by 3 (the number of intervals between lateral degrees of freedom A 705 and lateral degrees of freedom B 707) to obtain an incremental value |0.5-0.05| / 3. This is 0.15m. This incremental value may be used to generate the lateral degrees of freedom of the interpolation parameter set.

[0120] For example, the transverse degrees of freedom in the first set of interpolated parameters will be 0.05+0.15=0.20m. Since the ratio between the longitudinal degrees of freedom and the transverse degrees of freedom for each set of parameters is fixed, the longitudinal degrees of freedom for the first set of interpolated parameters can be calculated based on the transverse degrees of freedom (i.e., 0.20m) and the ratio between the transverse degrees of freedom A 705 and the longitudinal degrees of freedom A 709. In this example, the longitudinal degrees of freedom will be (0.20*0.2) / 0.05=0.8m.

[0121] The lateral degrees of freedom for the second set of interpolation parameters would be 0.05+0.15+0.15=0.35 m, and the longitudinal degrees of freedom would be (0.35*0.2) / 0.05=1.4 m.

[0122] Thus, in the embodiments shown in the above examples, there are equal intervals between the transverse degrees of freedom in two adjacent parameter sets, and there are also equal intervals between the longitudinal degrees of freedom in two adjacent parameter sets.

[0123] In other embodiments of the present invention, the intervals between the transverse degrees of freedom or the longitudinal degrees of freedom between two adjacent parameter sets may not be equal, and the ratios between the transverse degrees of freedom and the longitudinal degrees of freedom in different parameter sets may also be different, rather than being fixed as shown in the above examples.

[0124] In one embodiment, the dynamic QP smoother 601 may use four sets of smoothing parameters to smooth the first segment AE 732 of the original reference line. The first segment AE may be represented by five control points A, B, C, D, and E.

[0125] For each of the control points, the dynamic QP smoother 601 may call Figure 4 The bounding box module 405 described in the embodiment of the present invention generates a bounding box for each set of smoothing parameters.

[0126] Figure 7 Use control point C as an example. As shown, 4 bounding boxes 718, 720, 722, and 724 are generated with control point C as the center. Each bounding box is formed by the lateral degree of freedom and the longitudinal degree of freedom in one of the 4 sets of smoothing parameters. For example, bounding box 718 is formed by the lateral degree of freedom A 705 and the longitudinal degree of freedom A 709 in the strict parameter set 701. Therefore, bounding box 718 has a width of 0.05m and a length of 0.2m. Each of the 4 other control points in the original reference line segment AE can have the same set of bounding boxes as control point C.

[0127] The dynamic QP smoother 601 may first perform a smoothing operation using a strict parameter set 701. If a smoothed reference line segment (e.g., a smoothed reference line segment 730) is generated and the smoothed reference line segment passes through the minimum bounding box (i.e., bounding box 718) surrounding each of the five control points, the smoothing operation is considered successful. Otherwise, the dynamic QP smoother 601 may perform a smoothing operation using a looser parameter set, which is a parameter set with a lateral degree of freedom of 0.2m and a longitudinal degree of freedom of 0.8m. If the smoothing operation fails again, the dynamic QP smoother 601 may try the next parameter set. If all four sets of parameters are used and the smoothing operation fails, the original reference line segment AE 732 will be used as the smoothing reference line segment, and the dynamic QP smoother 601 may move to the next original reference line segment for smoothing.

[0128] Figure 8 An exemplary process 800 for smoothing an original reference line according to one embodiment is shown. The process 800 may be performed by processing logic that may include software, hardware, or a combination thereof. For example, the process 800 may be performed by Figure 6 The dynamic QP smoother 601 described in is executed.

[0129] Return to reference Figure 8 In operation 801, the processing logic generates a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters, and at least one set of smoothing parameters interpolated therebetween. In operation 802, for each of the plurality of sets of smoothing parameters, the processing logic performs a quadratic programming (QP) smoothing operation on an original reference line segment used to operate the ADV until the QP smoothing operation succeeds. In operation 803, the processing logic controls the ADV according to the smoothed reference line segment generated by the successful QP smoothing operation.

[0130] It should be noted that some or all of the components shown and described above may be implemented in software, hardware, or a combination thereof. For example, such components may be implemented as software installed and stored in a permanent storage device, which may be loaded into a memory by a processor (not shown) and executed in the memory to implement the processes or operations described throughout the present application. Alternatively, such components may be implemented as executable code programmed or embedded into dedicated hardware (such as an integrated circuit (e.g., an application-specific integrated circuit or ASIC), a digital signal processor (DSP), or a field programmable gate array (FPGA)), which may be accessed via a corresponding driver and / or operating system from an application. In addition, such components may be implemented as specific hardware logic in a processor or processor core as part of an instruction set that may be accessed by a software component through one or more specific instructions.

[0131] Some portions of the foregoing detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is generally considered herein to be a self-consistent sequence of operations leading to a desired result. These operations are those requiring physical manipulation of physical quantities.

[0132] All of these and similar terms are intended to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise expressly indicated in the above discussion, it should be understood that throughout the specification, discussions using terms such as those set forth in the appended claims refer to the actions and processes of a computer system or similar electronic computing device that manipulates data represented as physical (electronic) quantities within the computer system's registers and memories and transforms the data into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage, transmission or display devices.

[0133] Embodiments of the present disclosure also relate to devices for performing the operations herein. Such a computer program is stored in a non-transitory computer-readable medium. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium (e.g., a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory device).

[0134] The processes or methods depicted in the foregoing figures may be performed by processing logic including hardware (e.g., circuitry, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer-readable medium), or a combination of both. Although the processes or methods are described above in terms of some sequential operations, it should be understood that some of the operations may be performed in a different order. Furthermore, some operations may be performed in parallel rather than sequentially.

[0135] The embodiments of the present disclosure are not described with reference to any particular programming language. It will be appreciated that a variety of programming languages ​​may be used to implement the teachings of the embodiments of the present disclosure as described herein.

[0136] In the above description, embodiments of the present disclosure have been described with reference to specific exemplary embodiments of the present disclosure. It will be apparent that various modifications may be made to the present invention without departing from the broader spirit and scope of the present disclosure as set forth in the appended claims. Therefore, the present description and the accompanying drawings should be understood in an illustrative sense rather than a restrictive sense.

Claims

1. A computer-implemented method of operating an autonomous vehicle, the method include: generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters, each of the plurality of sets of smoothing parameters including longitudinal degrees of freedom and transverse degrees of freedom, and the ratio between the longitudinal degrees of freedom and the transverse degrees of freedom in each set of smoothing parameters being the same; For each of the plurality of groups of smoothing parameters, performing a quadratic programming smoothing operation on a segment of the original reference line until the quadratic programming smoothing operation satisfies a predetermined condition; as well as A trajectory for controlling the autonomous driving vehicle is planned based on a smoothed reference line segment generated by the quadratic programming smoothing operation.

2. The method according to claim 1, in, Each of the plurality of sets of smoothing parameters further includes a degree of a polynomial function and a plurality of control points selected on a segment of the original reference line.

3. The method according to claim 1, in, The longitudinal degrees of freedom and the lateral degrees of freedom in the first set of smoothing parameters are respectively smaller than the longitudinal degrees of freedom and the lateral degrees of freedom in the second set of smoothing parameters.

4. The method according to claim 2, in, The plurality of sets of smoothing parameters have the same degree of the polynomial function and the same number of control points selected on a segment of the original reference line, but have different longitudinal degrees of freedom and different lateral degrees of freedom.

5. The method according to claim 1, in, The multiple groups of smoothing parameters are arranged in ascending order starting from the first group of smoothing parameters.

6. The method according to claim 1, in, Performing the quadratic programming smoothing operation on each of the plurality of sets of smoothing parameters further comprises: Determine a bounding box centered at each of the plurality of control points on the first segment of the original reference line, wherein the bounding box has a longitudinal degree of freedom of the set of smoothing parameters as a length and a lateral degree of freedom of the set of smoothing parameters as a width; selecting a plurality of two-dimensional polynomials, each of which represents a segment of an optimal reference line between adjacent control points; and A set of constraints on the two-dimensional polynomials is defined such that the plurality of two-dimensional polynomials can pass through each of a plurality of bounding boxes.

7. A non-transitory machine-readable medium storing instructions for storing point cloud data in an autonomous vehicle, the instructions, when executed by a processor, causing the processor to perform operations, the operations include: generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters, each of the plurality of sets of smoothing parameters including longitudinal degrees of freedom and transverse degrees of freedom, and the ratio between the longitudinal degrees of freedom and the transverse degrees of freedom in each set of smoothing parameters being the same; For each of the plurality of groups of smoothing parameters, performing a quadratic programming smoothing operation on a segment of the original reference line until the quadratic programming smoothing operation satisfies a predetermined condition; as well as A trajectory for controlling the autonomous driving vehicle is planned based on a smoothed reference line segment generated by the quadratic programming smoothing operation.

8. The non-transitory machine-readable medium of claim 7, in, Each of the plurality of sets of smoothing parameters further includes a degree of a polynomial function and a plurality of control points selected on a segment of the original reference line.

9. The non-transitory machine-readable medium of claim 7, in, The longitudinal degrees of freedom and the lateral degrees of freedom in the first set of smoothing parameters are respectively smaller than the longitudinal degrees of freedom and the lateral degrees of freedom in the second set of smoothing parameters.

10. The non-transitory machine-readable medium of claim 8, in, The plurality of sets of smoothing parameters have the same degree of the polynomial function and the same number of control points selected on a segment of the original reference line, but have different longitudinal degrees of freedom and different lateral degrees of freedom.

11. The non-transitory machine-readable medium of claim 7, in, The multiple groups of smoothing parameters are arranged in ascending order starting from the first group of smoothing parameters.

12. The non-transitory machine-readable medium of claim 7, in, Performing the quadratic programming smoothing operation on each of the plurality of sets of smoothing parameters further comprises: Determine a bounding box centered at each of the plurality of control points on the first segment of the original reference line, wherein the bounding box has a longitudinal degree of freedom of the set of smoothing parameters as a length and a lateral degree of freedom of the set of smoothing parameters as a width; selecting a plurality of two-dimensional polynomials, each of which represents a segment of an optimal reference line between adjacent control points; and A set of constraints on the two-dimensional polynomials is defined such that the plurality of two-dimensional polynomials can pass through each of a plurality of bounding boxes.

13. A data processing system, include: processor; as well as a memory coupled to the processor to store instructions that, when executed by the processor, cause the processor to perform operations comprising: generating a plurality of sets of smoothing parameters, including a first set of smoothing parameters, a second set of smoothing parameters looser than the first set of smoothing parameters, and at least one set of smoothing parameters interpolated between the first set of smoothing parameters and the second set of smoothing parameters, Each of the plurality of groups of smoothing parameters includes longitudinal degrees of freedom and transverse degrees of freedom, and the ratio between the longitudinal degrees of freedom and the transverse degrees of freedom in each group of smoothing parameters is the same; For each of the plurality of sets of smoothing parameters, performing a quadratic programming smoothing operation on a segment of the original reference line until the quadratic programming smoothing operation satisfies a predetermined condition; and A trajectory for controlling the autonomous driving vehicle is planned based on the smoothed reference line segments generated by the quadratic programming smoothing operation.

14. The system according to claim 13, in, Each of the plurality of sets of smoothing parameters further includes a degree of a polynomial function and a plurality of control points selected on a segment of the original reference line.

15. The system according to claim 13, in, The longitudinal degrees of freedom and the lateral degrees of freedom in the first set of smoothing parameters are respectively smaller than the longitudinal degrees of freedom and the lateral degrees of freedom in the second set of smoothing parameters.

16. The system according to claim 14, in, The plurality of sets of smoothing parameters have the same degree of the polynomial function and the same number of control points selected on a segment of the original reference line, but have different longitudinal degrees of freedom and different lateral degrees of freedom.

17. The system according to claim 13, in, The multiple groups of smoothing parameters are arranged in ascending order starting from the first group of smoothing parameters.

Citation Information

Patent Citations

  • Smooth road reference line for autonomous driving vehicles based on 2d constrained smoothing spline

    CN109521762A