Determining the speed of an autonomous vehicle
By determining the speed constraint function in the autonomous vehicle and combining the speed limit, path curvature and obstacles to generate a speed set, the problem of insufficient optimization of path selection and speed control in the existing technology is solved, and safer and more comfortable autonomous driving is achieved. Driving vehicle navigation.
Patent Information
- Application Number
- CN201911264414.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-05-28
- Filing Date
- 2019-12-11
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-12-11
AI Technical Summary
In the motion planning and control of autonomous vehicles, existing technology is difficult to effectively combine speed constraints, path curvature and environmental obstacles, resulting in insufficient optimization of path selection and speed control, affecting the safety and comfort of the vehicle.
By determining the speed constraint function, combined with the speed limit, path curvature and obstacle set in the environment, continuous and differentiable speed sets are generated, and the path and speed of the autonomous vehicle are controlled based on these speed sets.
It achieves safer and more comfortable path planning and vehicle control, improves the navigation performance of autonomous vehicles in complex environments, and ensures the best matching and coordination between the vehicle and the environment.
Smart Images

Figure CN112009487B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure generally relate to operating an autonomous vehicle. More specifically, embodiments of the present disclosure relate to determining the speed of an autonomous vehicle. 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. A path describes the geometry of how an autonomous vehicle moves. Various factors influence the desirability of any given path, including those related to passenger comfort and safety. Summary of the invention
[0004] One aspect of the present disclosure provides a method, comprising: determining a first reference line representing a path for an autonomous vehicle through an environment; determining a speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment, wherein the speed constraint function comprises a continuous function; determining a set of speeds for the path through the environment based on the speed constraint function; and controlling the autonomous vehicle based on the path and the set of speeds.
[0005] Another aspect of the present disclosure provides a non-transitory machine-readable medium storing instructions, which, when executed by a processor, causes the processor to perform operations, the operations comprising: determining a first reference line representing a path of an autonomous vehicle through an environment; determining a speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment, wherein the speed constraint function comprises a continuous function; determining a set of speeds for the path through the environment based on the speed constraint function; and controlling the autonomous vehicle based on the path and the set of speeds. Another aspect of the present disclosure provides a data processing system, the system comprising a processor and a memory coupled to the processor to store instructions, the instructions, when executed by the processor, cause the processor to perform operations. The operations comprise: determining a first reference line representing a path of an autonomous vehicle through an environment; determining a speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment, wherein the speed constraint function comprises a continuous function; determining a set of speeds for the path through the environment based on the speed constraint function; and controlling the autonomous vehicle based on the path and the set of speeds. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Embodiments of the present disclosure are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like reference numerals indicate similar elements.
[0007] Figure 1 is a block diagram illustrating a networked system according to one embodiment.
[0008] Figure 2 is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment.
[0009] FIG. 3A to FIG. 3B is a block diagram illustrating an example of a perception and planning system for use with an autonomous vehicle, according to one embodiment.
[0010] Figure 4 is a block diagram illustrating an example of a decision making and planning process according to one embodiment.
[0011] Figure 5 An example environment 500 is shown in which an ADV 500 may be located according to one embodiment.
[0012] Fig. 6A is a graph illustrating an example function representing one or more constraints on the speed of an ADV, according to one embodiment.
[0013] Figure 6B is a graph 650 illustrating an example speed constraint function according to one embodiment.
[0014] Figure 7 is a block diagram illustrating various example components involved in a speed constraint function determination process according to one embodiment.
[0015] Figure 8 is a flow chart illustrating an example method for controlling an ADV according to one embodiment.
[0016] Fig. 9 is a block diagram illustrating a data processing system according to one embodiment. DETAILED DESCRIPTION
[0017] 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 various embodiments of the present disclosure. However, in some cases, well-known or conventional details are not described to provide a concise discussion of embodiments of the present disclosure.
[0018] References in this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment can be included in at least one embodiment of the present disclosure. The appearances of the phrase "in one embodiment" in various places in this specification are not necessarily all referring to the same embodiment.
[0019] Some embodiments relate to methods, devices, and systems for controlling an autonomous vehicle (ADV). The ADV may determine a speed set based on a speed constraint function. The speed constraint function may represent a set of speed limits associated with the environment in which the ADV is located, a set of path curvatures of the ADV, and a set of obstacles in the environment. The speed constraint function may be a single, continuous, differentiable function. The speed constraint function may be generated from a plurality of separate functions (e.g., a function representing each of a set of speed limits associated with the environment in which the ADV is located, a set of path curvatures of the ADV, and a set of obstacles in the environment). At least one separate function may be discontinuous and / or non-differentiable; the ADV may generate a speed constraint function by discretizing separate functions, obtaining function values at discrete points, forming segments, and generating polynomial functions for different segments.
[0020] 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 , the 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 the network 102. The 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.
[0021] An autonomous vehicle refers to a vehicle that can be configured to be in an autonomous driving mode, in which the vehicle navigates through an environment with little or no input from the 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 operates. The vehicle and its associated controller use the detected information to navigate through the environment. The autonomous vehicle 101 can operate in a manual mode, in a fully autonomous driving mode, or in a partially autonomous driving mode. Hereinafter, the terms "automatic vehicle" and "autonomous driving vehicle" (ADV) may be used interchangeably.
[0022] 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, an infotainment system 114, 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.
[0023] 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.
[0024] Reference now Figure 2In one 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. The GPS system 212 may include a transceiver operable to provide information about the location of the autonomous vehicle. The IMU unit 213 may sense the position and orientation changes of the autonomous vehicle based on inertial acceleration. The 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, the radar unit 214 may additionally sense the speed and / or heading of the object. The LIDAR unit 215 may use lasers to sense objects in the environment of the autonomous vehicle. The LIDAR unit 215 may include, among other system components, one or more laser sources, a laser scanner, and one or more detectors. The camera 211 may include one or more devices for capturing images of the environment surrounding the autonomous vehicle. The 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.
[0025] 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 surrounding 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.
[0026] 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.
[0027] Back to 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.
[0028] 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 device) and software (e.g., operating system, planning and routing program) 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.
[0029] For example, a user as a passenger may specify a starting location and a destination of 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 of certain locations. Alternatively, such location and MPOI information may be locally cached in a permanent storage device of the perception and planning system 110.
[0030] 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 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 a path or 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.
[0031] The server 103 may be a data analysis system for 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, which may be autonomous vehicles or conventional vehicles driven by human drivers. The driving statistics 123 include information indicating driving commands issued (e.g., throttle, brake, steering commands) and responses of the vehicle captured by the vehicle's sensors at different points in time (e.g., speed, acceleration, deceleration, direction). The driving statistics 123 may also include information describing the driving environment at different points in time, such as routes (including starting and destination locations), MPOI, road conditions, weather conditions, etc.
[0032] Based on the driving statistics 123, the machine learning engine 122 generates or trains a set of rules, algorithms, and / or predictive models 124 for various purposes. In one embodiment, the algorithm 124 may include a path algorithm that receives inputs, constraints, and a cost function and generates a path for the ADV taking into account the comfort associated with the path and the preference for the path to stay close to the centerline of the lane and away from obstacles with buffers. The cost function for path planning may also be generated as part of the algorithm 124. The algorithm 124 may then be uploaded to the ADV for use in real time during autonomous driving.
[0033] 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 of the present disclosure. 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. 3BThe 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 making module 307 , a static obstacle mapper 308 and a path planner 309 .
[0034] Some or all of the modules 301 to 309 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 309 may be integrated together into an integrated module.
[0035] 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 trip or route. The positioning module 301 (also referred to as the map and route module) manages any data related to the user's trip or route. The user can log in, for example, via a user interface and specify the starting location and destination of the trip. The positioning module 301 communicates with other components of the autonomous vehicle 300, such as map and route information 311, to obtain trip-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. As 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.
[0036] 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 can represent what an average driver would perceive around the vehicle that the driver is driving. The perception can include, for example, lane configuration in the form of objects, traffic light signals, the relative position of another vehicle, pedestrians, buildings, crosswalks or other traffic-related signs (e.g., stop signs, yield signs), etc. The lane configuration includes information describing one or more lanes, such as the shape of the lane (e.g., straight or curved), the width of the lane, how many lanes there are in a road, one-way or two-way lanes, merging or diverging lanes, exit lanes, etc.
[0037] 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.
[0038] For each object, the prediction module 303 predicts what the object will behave in the situation. The prediction is performed based on the perception data of the perceived driving environment at that point in time, according to 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 will likely move straight ahead or make a 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.
[0039] 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 can make such decisions based on a rule set such as traffic rules or driving rules 312, which can be stored in the persistent storage device 352.
[0040] The route making module 307 is configured to provide one or more routes or paths from the starting point to the destination point. For a given trip from the starting location to the destination location (e.g., received from a user), the route making module 307 obtains route and map information 311 and determines all possible routes or paths from the starting location to the destination location. The route making module 307 can generate a reference line for each of the routes from the starting location to the destination location determined by it in the form of a topographic map. The reference line refers to an ideal route or path without any interference from other things such as other vehicles, obstacles, or traffic conditions. That is, if there are no other vehicles, pedestrians, or obstacles on the road, the ADV should follow the reference line accurately or closely. The topographic map is then provided to the decision module 304 and / or the planning module 305. Based on other data provided by other modules (such as traffic conditions from the positioning module 301, the driving environment perceived by the perception module 302, and traffic conditions predicted by the prediction module 303), the decision module 304 and / or the planning module 305 examine all possible routes to select and modify one of the optimal routes. The actual path or route used to control the ADV may differ substantially from the reference line provided by the route planning module 307 , depending on the particular driving circumstances at that point in time.
[0041] Based on the decision for each of the perceived objects, the planning module 305 plans a path or route for the autonomous vehicle and driving parameters (e.g., distance, speed, and / or turning angle) using the reference lines provided by the route making module 307 as a basis. 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 25 mph.
[0042] As part of the planning process, the path planner 309 may generate a plurality of planned ADV states based on the cost function 313 , which may be stored in the persistent storage 352 .
[0043] 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, brake, and steering commands) at different points in time along the route or path.
[0044] In one embodiment, the planning phase is performed in multiple planning cycles (also referred to as driving cycles) (such as, for example, in each 100 millisecond (ms) time interval). For each of the planning cycles or driving cycles, one or more control commands will be issued based on the planning data and the control data. That is, for each 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 time period (such as 5 seconds). For each planning cycle, the planning module 305 plans the target position of the current cycle (e.g., the next 5 seconds) based on the target position planned in the previous cycle. Then, the control module 306 generates one or more control commands (e.g., throttle command, brake command, steering control command) based on the planning data and control data of the current cycle.
[0045] 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 can 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 can determine a series of speeds and directions for enabling 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 can be set based on user input via the user interface system 113. The navigation system can dynamically update the driving path while the autonomous vehicle is running. The navigation system can combine data from a GPS system and one or more maps to determine a driving path for the autonomous vehicle.
[0046] In one embodiment, the path is planned in the SL coordinate system. The SL coordinate system can be defined relative to a reference line (road / lane centerline). The longitudinal distance or s distance represents the distance in the tangent direction of the reference line. Correspondingly, the lateral distance or l distance represents the distance perpendicular to the s direction. Assuming that the vehicle is traveling along the reference line, the longitudinal dimension in the SL space represents the longitudinal distance of a specific object from the current position of the vehicle. The lateral dimension in the SL space represents the shortest distance between the object and the reference line at a specific time or position represented by the longitudinal dimension. Such a graph in the SL space is called an SL graph. In one embodiment, the lateral distance can be simply defined as the distance from the reference line. Therefore, in addition to being represented in a Cartesian coordinate system (XY plane), the vehicle position (posture) can also be represented in the SL coordinate system as an ordered pair relative to the reference line (longitudinal posture / position "s posture", lateral posture / position "l posture"), or simply (s, l).
[0047] Figure 4 4 is a block diagram illustrating an example of a decision and planning process 400 according to one embodiment. The decision and planning process 400 includes positioning / sensing data 401, a path decision process 403, a speed decision process 405, a path planning process 407, a speed planning process 409, an aggregator 411, and a trajectory calculator 413.
[0048] The path decision process 403 and the speed decision process 405 can be composed of Figure 3B The decision module 304 shown in FIG. Figure 3B , the decision module 304 can use dynamic programming to generate a rough path profile as the initial constraints of the path planning process 407 / speed planning process 409. The decision module 304 can use a path state machine, which provides previous planning results and important information, such as whether the ADV is cruising or changing lanes, and traffic rules. Based on the state, traffic rules, reference lines provided by the route making module 307, and obstacles perceived by the ADV, the path decision process 403 can decide how to handle the perceived obstacles as part of the rough path profile (i.e., ignore, overtake, give way, stop, pass).
[0049] For example, in one embodiment, a rough path outline is generated by a cost function, and the cost function composed of costs is based on: the curvature of the path and the distance from the reference line and / or reference points to the obstacles. Points on the reference line are selected and moved to the left or right side of the reference line as candidate moves representing path candidates. Each candidate movement has an associated cost. Dynamic programming can be used to solve the associated costs of candidate movements of one or more points on the reference line sequentially and one point at a time for the optimal cost. Dynamic programming (or dynamic optimization) can be a mathematical optimization method that can decompose the problem to be solved into a series of value functions, solve each of these value functions only once and store their solutions. The next time the same value function appears, simply look up the previously calculated solution, thereby saving computing time without having to recalculate its solution.
[0050] The speed decision process 405 may use the speed state machine, speed traffic rules, and one or more station timing diagrams. The speed decision process 405 may use dynamic programming to generate a rough speed profile as an initial constraint for the path planning process 407 / speed planning process 409. Based on the state of the speed state machine, the speed traffic rules, the rough path profile generated by the path decision process 403, and the perceived obstacles, the speed decision process 405 may generate a rough speed profile to control when to accelerate and / or decelerate the ADV.
[0051] The path planning process 407 can use a rough path outline (e.g., a station-traverse map) as initial constraints to recalculate the optimal reference line using quadratic programming. Quadratic programming involves minimizing or maximizing an objective function (e.g., a quadratic function with multiple variables) subject to bounds, linear equality, and / or inequality constraints. The difference between dynamic programming and quadratic programming is that quadratic programming optimizes all candidate motions for all points on the reference line at once. The path planning process 407 can apply a smoothing algorithm (e.g., B-splines or regression) to the output station-traverse map. The path cost can be used to recalculate the reference line with a path cost function to optimize the total cost of the reference point candidate moves, for example, using quadratic programming (QP) optimization.
[0052] The speed planning process 409 may use a rough speed profile (e.g., a station-time graph) and one or more ST graphs to determine one or more speeds of the ADV. In some embodiments, the ST graph may include an ST trajectory. As discussed in more detail below, the ST trajectory may indicate the distance traveled by the ADV at different points in time along the path. Thus, the ST trajectory (of the ST graph) may be used to indicate or determine the speed of the vehicle at different points in time. The ST graph may also include or indicate one or more stop conditions. For example, the ST graph may also indicate the distance and time at which the ADV should stop to avoid an obstacle, such as a pedestrian, a sidewalk, a road divider (e.g., a center divider), another vehicle, etc. Although it may be possible to Figure 4 , but other types of graphs (e.g., SL graphs, graphs using Cartesian coordinate systems, etc.) may be used in other embodiments. The speed planning process 409 may also use one or more constraints to determine one or more speeds of the ADV. A constraint may be one or more conditions that should be satisfied when determining a set of speeds during the speed planning process 409. For example, a constraint may be a condition imposed on a QP optimization problem that a candidate solution should satisfy. As discussed in more detail below, a speed constraint function may be used to represent one or more constraints.
[0053] Aggregator 411 performs the function of aggregating path and speed planning results. For example, in one embodiment, aggregator 411 may combine a two-dimensional ST map and a SL map into a three-dimensional SLT map. In another embodiment, aggregator 411 may interpolate (or fill in additional points) based on 2 consecutive points on an SL reference line or ST curve. In another embodiment, aggregator 411 may convert a reference point from (S, L) coordinates to (x, y) coordinates. Trajectory generator 413 may calculate a final trajectory to control the ADV. For example, based on the SLT map provided by aggregator 411, trajectory generator 413 calculates a list of (x, y, T) points that indicate when the ADV should pass through a specific (x, y) coordinate.
[0054] Therefore, refer again Figure 4 , the path decision process 403 and the speed decision process 405 will generate a rough path profile and a rough speed profile that take into account obstacles and / or traffic conditions. Given all path and speed decisions related to obstacles, the path planning process 407 and the speed planning process 409 will use QP programming to optimize the rough path profile and the speed profile according to the obstacles to generate an optimal trajectory with minimum path cost and / or speed cost.
[0055] Figure 5An example environment 500 is shown in which an ADV 500 according to one embodiment may be located. The environment 500 includes an ADV 505 traveling on a road 510 and a reference line 550 that may represent a path of the ADV 505 along the road 510. As discussed above, the reference line 550 and / or the path may be determined by the planning process 407 or the planning module 305 (e.g., may have been previously determined, calculated, generated, etc.). The reference line 550 includes an initial (e.g., starting, departure, etc.) position 501 and a destination (e.g., final, end, etc.) position 503. The initial position 501 may be the current position of the ADV 505, and the destination position 503 may be a target position to be reached. The environment 500 also includes another vehicle 515. The vehicle 515 may be an obstacle to the ADV 500. For example, the reference line 550 may avoid the vehicle 515 to help prevent the ADV from colliding, hitting, and / or contacting the ADV with the ADV 500. The reference line 550 may be a smooth reference line generated by the route planning module 307 or may be calculated based on map geometry information (eg, midpoint values traced along the lane from side curbs and / or lane dividers / path markings). Figure 5 Reference lines 550, ADV 505, paths, roads 510, and / or other elements shown in FIG. 5 may be used as shown in FIG.
[0056] Figure 5 For example, the position of ADV 505 can be represented by a Cartesian coordinate system as shown by the X-axis and the Y-axis in FIG.
[0057] In some embodiments, the reference line 550 (representing the path of the ADV) can be converted from xy coordinates to SL coordinates so that the path can be represented on a SL diagram. In other embodiments, the reference line 550 (representing the path of the ADV) can be converted from xy coordinates to ST coordinates so that the path can be represented on a ST diagram.
[0058] like Figure 5 As shown, reference line 550 may have a length 520. As shown and discussed in more detail below, length 520 of reference line 550 may be represented on an S-axis (e.g., a vertical axis) of the ST diagram. Reference line 550 may be divided or segmented into a plurality of reference line segments. For example, a first reference line segment may be between ADV 505 and distance S0, a second reference line segment may be between distance S0 and distance S1, a third reference line segment may be between distance S1 and distance S2, and so on.
[0059] Fig. 6A is a diagram 600 showing example functions 610, 620, and 630 representing the ADV 505 (in accordance with one embodiment) Figure 5600). The X-axis of the graph 600 represents the distance along the reference line 550. As discussed above, the ADV 505 can travel along the reference line 550 selected and / or generated by the planning module 305 and / or the route making module 307. The Y-axis of the graph 600 represents different speeds of the ADV.
[0060] although( Figure 5 The reference line 550 (shown in FIG. 5 ) may indicate a path that the ADV 505 may travel on or take, but the reference line 550 may not indicate at what speeds the ADV 505 should travel at different portions, sections, segments, etc. of the reference line 550. As described above, the planning module 305 may determine (e.g., generate, obtain, calculate, etc.) a set of speeds (e.g., one or more speeds) for the ADV 505 as the ADV 505 travels along different portions of the reference line 550. The planning module 305 may use a speed planning function to determine the set of speeds for the ADV 505 along different portions of the reference line 550.
[0061] When determining the speed set for the ADV 505 along different portions of the reference line 550, the planning module 305 can use various constraints, limits, boundaries, etc. In one embodiment, one type of constraint can be one or more speed limits (e.g., traffic or legal speed limits) along the reference line 550. For example, the reference line 550 can be along a road in the environment (e.g., along Figure 5 500 in the environment 500 shown in FIG. 5 ). A road may have different speed limits along different portions of the road. For example, a first portion of the road may have a speed limit of 45 miles per hour (mph), a second portion of the road may have a speed limit of 25 mph, and a third portion of the road may have a speed limit of 45 mph. A speed limit (e.g., a traffic or legal speed limit) may indicate the maximum speed allowed for the ADV 505 along a portion of the road and / or reference line 550. In some embodiments, one or more speed limits may be used as constraints and as targets and / or objects. For example, the ADV 505 should not travel at a speed (e.g., velocity) faster than the speed limit, but should travel at a speed as close to the speed limit as possible to reduce the total travel time for the ADV 505 to reach the destination. One or more speed limits along the road and / or reference line 550 are indicated by a function 610 represented by three dashed lines in the graph 600. The leftmost dashed line may indicate a speed limit of 45 mph, the middle dashed line may indicate a speed limit of 25 mph, and the rightmost dashed line may indicate a speed limit of 45 mph.
[0062] In one embodiment, the curvature of the reference line 550 and / or the path can also be a constraint (e.g., a limit, boundary, upper limit, restriction, etc.) on the speed of the ADV 505. For example, if a portion of the reference line 550 and / or the path has a greater curvature (e.g., a greater bend), the speed at which the ADV 505 travels along that portion of the reference line 550 and / or the path can be reduced. If a portion of the reference line 550 and / or the path has a lesser curvature (e.g., a lesser bend), the speed at which the ADV 505 travels along that portion of the reference line 550 and / or the path can be increased. The reference line 550 and / or the path can have different curvatures at different portions of the reference line 550. The speeds allowed due to different curvatures (e.g., a set of curvatures) of the reference line 550 and / or the path are shown by function 620, which is represented as a dotted line in graph 600.
[0063] In one embodiment, obstacles that are also located in the environment where ADV 505 is located may also be constraints. For example, various static (e.g., non-moving) and / or moving obstacles may be located in the environment where ADV 505 is located. Examples of obstacles may include obstacles, dividers, poles, pedestrians, bicycles, motorcycles, vehicles, etc. As ADV 505 travels along reference line 550 and / or path, the distance of ADV 505 to one or more obstacles may also affect the speed at which ADV 505 should travel. Moving obstacles (e.g., pedestrians, bicycles, motorcycles, vehicles, etc.) may have unexpected behavior (e.g., may move close to reference line 550 and / or path), which may also cause ADV 505 to get too close to and / or hit obstacles. In addition, sensor data generated by sensors of ADV 505 may have errors and / or inaccuracies (e.g., due to sensor failure or uncalibrated sensors, due to severe weather conditions, etc.). These errors may also cause ADV 505 to move too close to obstacles. If the ADV 505 is traveling around obstacles at certain portions of the reference line 550 and / or path, it may be useful to reduce the speed of the ADV 505. Figure 5 , the speed allowed due to vehicle 515 (eg, an obstacle) is shown by function 630 , which is represented as a dashed line in graph 600 .
[0064] like Fig. 6AAs shown, the three functions 610, 620 and 630 are three separate functions. Functions 610 and 630 may be discontinuous or non-continuous functions (e.g., may be discontinuous functions). Because functions 610 and 630 are discontinuous, functions 610 and 630 may not be differentiable (e.g., may be non-differentiable functions). Planning module 305 may be configured to use smooth, continuous and / or differential functions to represent constraints, limits, etc. on the speed of ADV 505. A single smooth, continuous and / or differentiable function representing constraints, limits, etc. on the speed of ADV 505 may allow planning module 305 to determine the speed set of ADV 505 more quickly and / or efficiently. However, since functions 610 and 630 are discontinuous, it may not be possible to combine functions 610, 620 and 630 into a continuous single composite function.
[0065] As discussed above, the X-axis of graph 600 represents the Figure 5 . The reference line 550 can be divided into discrete segments based on resolution (e.g., a specified or required resolution). For example, the reference line 550 can be divided into segments or portions that are 1 foot long, 5 feet long, 1 meter long, 10 meters long, or any other suitable length. The length of each segment or portion can be referred to as resolution. The length of each segment or portion can also be referred to as Δs. The configuration file or parameter can indicate a specific or desired resolution to the planning module 305, or the user can provide a specific or desired resolution via user input. In one embodiment, the planning module 305 can also divide the speed constraints and / or limits represented by functions 610, 620, and 630 based on resolution or Δs. For example, the planning module can identify discrete distances (e.g., Δs, 2Δs, 3Δs, etc.) along the X-axis. The planning module 305 can determine the value of each function 610, 620, and 630 at each distance in those distances. For example, the planning module 305 can determine a first set of values of the functions 610, 620, and 630 at Δs (e.g., the value of the function 610 at Δs, the value of the function 620 at Δs, and the value of the function 630 at Δs), determine a second set of values of the functions 610, 620, and 630 at 2Δs, determine a third set of values of the functions 610, 620, and 630 at 3Δs, and so on. The value of each function 610, 620, and 630 at each discrete distance along the X-axis (e.g., Δs, 2Δs, 3Δs, etc.) is represented by a point in the graph. The values reached by the functions 610, 620, and 630 can also be referred to as speed values. In other words, if there are m discrete distances (or m points), the value of each function 610, 620, and 630 at the discrete distance can be represented as Determining the value of each function 610, 620, and 630 at each discrete distance along the X-axis may be referred to as discretizing the functions 610, 620, and / or 630 (e.g., discretizing the set of speed limits represented by function 610, the set of reference line curvatures represented by function 620, and the obstacles represented by function 630).
[0066] In one embodiment, the planning module 305 can determine the lowest speed value for the functions 610, 620, and 630 at each discrete distance along the X-axis. For example, the planning module 305 can determine the lowest speed values for the functions 610, 620, and 630 at Δs, 2Δs, 3Δs, 4Δs, 5Δs, etc. The lowest speed values are represented by points 640 in the graph 400. For example, the lowest speed value (e.g., the lowest speed) at Δs is from the function 630, the lowest speed at 7Δs is from the function 620, and the lowest speed at 13Δs is from the function 610.
[0067] Figure 6B 6 is a graph 650 illustrating an example speed constraint function 660 according to one embodiment. The X-axis of the graph 650 represents distance along the reference line 550. As described above, the ADV 505 may travel along the reference line 550 selected and / or generated by the planning module 305 and / or the route making module 307. The Y-axis of the graph 650 represents different speeds of the ADV.
[0068] In one embodiment, the planning module 305 can determine, generate, obtain, calculate, etc. a speed constraint function based on a set of speed limits associated with the environment (e.g., function 610), a set of curvatures along the reference line 550 and / or the path (e.g., function 620), and one or more obstacles (e.g., function 630). Speed Constraint Function Can be a continuous function. Since the velocity constraint function is a continuous function, so the velocity constraint function It can also be a differential function. Speed constraint function can be differentiable because the derivative (For example ) is also continuous.
[0069] As described above, planning module 305 may determine functions 610, 620, and 630 ( Fig. 6A) at each discrete distance (e.g., Δs, 2Δs, 3Δs, etc.) along the X-axis. In one embodiment, the planning module 305 may connect each speed value (e.g., each minimum speed value) to form a segment 655. Each segment 655 is represented as a line between two points in the graph 650. For example, a first segment 655 (starting from the left side of the graph 650) may be formed by connecting a first speed value (e.g., the first point on the left side of the graph 650) with a second speed value having one of the speed values of the next speed value (e.g., the second point on the left side of the graph 650). In one embodiment, the planning module may use a polynomial function to represent each segment 655. The polynomial function (which represents the segment 655) may be a quintic polynomial function. In other embodiments, other types of polynomial functions (e.g., quadratic polynomials) may be used. Polynomial functions such as combinations and cascades may be used to generate, determine, and obtain speed constraint functions. For example, each of the polynomial functions may form a part of the speed constraint function. Therefore, the speed constraint function may be a piecewise combination of different polynomial functions representing the segment 655.
[0070] As discussed above, the speed constraint function can be a combination of different polynomial functions representing the segments 655. Speed values (e.g., points) can connect multiple segments 655 together. In one embodiment, the planning module can use a constant second term (e.g., a constant second order term) to connect consecutive segments 655 (e.g., to perform piecewise combination of different polynomial functions representing segments 655). The second term can be defined using the following equation:
[0071]
[0072] The planning module can perform an optimization process defined using the following equation:
[0073]
[0074] The goal of the optimization process can be to minimize the value of the equation:
[0075]
[0076] The optimization process can be subject to the following constraints:
[0077]
[0078]
[0079] where Z is the set of integers.
[0080] The optimization step may determine, generate, obtain, calculate, etc. a velocity constraint function based on a polynomial function representing segment 655 using equations (1)-(5). Based on the speed constraint function Can be a continuous function. Speed constraint function It may also be a first-order differential piecewise function that is smoothly connected at the velocity values (eg, each velocity value represented by a point in graph 650 is connected at the connection).
[0081] One or more embodiments described herein may allow the ADV 505 (e.g., the planning module 305) to generate, obtain, determine, etc. a single smooth, continuous, and / or differentiable function based on multiple other functions that represent speed limits / restrictions, wherein at least one of the other functions is not continuous. By combining multiple functions, at least one of which is discontinuous, into a single smooth, continuous, and / or differentiable function, the planning module 305 is able to use a single function to represent the limit or restriction on the speed of the ADV 505, which allows the ADV 505 and / or the planning module 305 to determine the speed set of the ADV 505 more quickly and / or more efficiently. In addition, the planning module 305 may be configured to use a single continuous speed constraint function when planning or determining the speed set of the ADV along the reference line 550. It may be difficult or time consuming to modify or amend the planning module 305 to use multiple separate functions that may be discontinuous. In addition, if the speed constraint function is a continuous and / or differentiable function, this allows the planning module 305 to use the speed constraint function directly (e.g., directly use the speed constraint function as part of the QP optimization). Discontinuous and / or non-differentiable functions cannot be used directly by planning module 305. Therefore, generating a single speed constraint function that is smooth, continuous, and / or differentiable may be more efficient than modifying or revising planning module 305.
[0082] Figure 7 is a block diagram illustrating various example components involved in an optimization process according to one embodiment. Figure 7 As shown, the planning module includes a function generator 710. Input 720 is provided to the function generator 710. The input 720 may include a reference line and / or a path of the ADV. Constraints 730 may include speed limit constraints (e.g., legal speed limits), curvature constraints (e.g., limits on the speed of the ADV due to one or more curvatures of the path), and obstacle constraints (e.g., limits on the speed of the ADV due to one or more obstacles). The speed limit constraints, curvature constraints, and obstacle constraints may be implemented using separate functions (e.g., Fig. 6A, 610, 620, and 630 shown in ). The function generator includes a discretization module 711, an evaluation module 712, and a combination module 713. As discussed above (e.g., determining the resolution for discretizing constraints and / or functions), the discretization module 711 can discretize speed limit constraints, curvature constraints, and obstacle constraints. As discussed above, the evaluation module 712 can evaluate the constraints and / or functions and identify the lowest value (e.g., the lowest speed value). As discussed above, the combination module 715 can form segments between different speed values and can generate a speed constraint function. As discussed above, the speed constraint function can be generated based on multiple polynomial functions (e.g., multiple quintic polynomial functions) representing multiple segments. The speed constraint function based on can be a continuous function. As discussed above, the speed constraint function can also be a first-order differentiable piecewise function that is smoothly connected at different speed values.
[0083] Figure 8 800 is a flow chart illustrating an example method for controlling an ADV according to one embodiment. Process 800 may be performed by processing logic that may include software, hardware, or a combination thereof. Process 800 may be performed by processing logic that may include hardware (e.g., circuits, dedicated logic, programmable logic, processors, processing devices, central processing units (CPUs), systems on chips (SoCs), etc.), software (e.g., instructions running / executing on a processing device), firmware (e.g., microcode), or a combination thereof. In some embodiments, process 800 may be performed by a planning module (e.g., Figure 3B The planning module 305 shown is executed.
[0084] At block 810, process 800 determines a reference line for the ADV. As discussed above, the reference line may indicate a path for the ADV to traverse the environment. At block 820, process 800 determines a speed constraint function based on a set of speed limits, a set of path curvatures (e.g., speed limits due to the set of curvatures), and a set of obstacles in the environment (e.g., speed limits due to the obstacles). To determine the speed constraint function, process 800 may perform blocks 821 to 825. As discussed above, at block 821, process 800 may discretize constraints and / or functions. At block 822, as discussed above in conjunction with Fig. 6A As discussed, process 800 may determine a speed set. At block 823, as described above in conjunction with Figure 6B As discussed, process 800 may form segments between different speeds or speed values. At block 824, process 800 may determine polynomial functions for different segments. At block 825, as discussed above, process 800 may combine polynomial functions to generate a speed constraint function. At block 830, the process may determine a speed set based on the speed constraint function. At block 840, the process may control the ADV based on the reference line and the speed set.
[0085] It should be noted that some or all of the components shown and described above can be implemented in software, hardware, or a combination thereof. For example, such components can be implemented as software installed and stored in a permanent storage device, which can be loaded in a memory by a processor (not shown) and executed in the memory to implement the process or operation described throughout the present application. Alternatively, such components can be implemented as executable code programmed or embedded in 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 can be accessed via a corresponding driver and / or operating system from an application. In addition, such components can be implemented as specific hardware logic in a processor or processor core as part of an instruction set that can be accessed by a software component through one or more specific instructions.
[0086] Fig. 9 is a block diagram illustrating an example of a data processing system that can be used with one embodiment of the present disclosure. For example, system 1500 can represent any data processing system described above that performs any of the above processes or methods, such as Figure 1 The perception and planning system 110 or any one of the servers 103 to 104 and the path planner 309 of Figure 6. The system 1500 may include many different components. These components may be implemented as integrated circuits (ICs), parts of integrated circuits, discrete electronic devices, or other modules suitable for circuit boards (such as, motherboards or plug-in cards of computer systems) or as components otherwise incorporated into the chassis of computer systems.
[0087] It should also be noted that system 1500 is intended to illustrate a high-level view of many components of a computer system. However, it should be understood that additional components may be provided in some embodiments, and in addition, different arrangements of the components shown may be provided in other embodiments. System 1500 may represent a desktop computer, a laptop computer, a tablet computer, a server, a mobile phone, a media player, a personal digital assistant (PDA), a smart watch, a personal communicator, a gaming device, a network router or hub, a wireless access point (AP) or a repeater, a set-top box, or a combination thereof. In addition, although only a single machine or system is shown, the term "machine" or "system" should also be understood to include any set of machines or systems that individually or collectively execute one (or more) instruction sets to execute any one or more methods discussed herein.
[0088] In one embodiment, system 1500 includes a processor 1501, a memory 1503, and devices 1505 to 1508 connected by a bus or interconnect 1510. Processor 1501 may represent a single processor or multiple processors including a single processor core or multiple processor cores. Processor 1501 may represent one or more general-purpose processors, such as a microprocessor, a central processing unit (CPU), etc. More specifically, processor 1501 may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or a processor implementing a combination of instruction sets. Processor 1501 may also be one or more special-purpose processors, such as an application-specific integrated circuit (ASIC), a cellular or baseband processor, a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, a graphics processor, a communication processor, an encryption processor, a coprocessor, an embedded processor, or any other type of logic capable of processing instructions.
[0089] Processor 1501 (which may be a low-power multi-core processor socket, such as an ultra-low voltage processor) may serve as a main processing unit and central hub for communicating with various components of the system. Such a processor may be implemented as a system on a chip (SoC). Processor 1501 is configured to execute instructions for performing the operations and steps discussed herein. System 1500 may also include a graphics interface that communicates with an optional graphics subsystem 1504, which may include a display controller, a graphics processor, and / or a display device.
[0090] The processor 1501 may communicate with the memory 1503, which in one embodiment may be implemented via a plurality of memory devices to provide a certain amount of system storage. The memory 1503 may include one or more volatile storage (or memory) devices, such as random access memory (RAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), or other types of storage devices. The memory 1503 may store information including sequences of instructions to be executed by the processor 1501 or any other device. For example, executable code and / or data of various operating systems, device drivers, firmware (e.g., input-output basic system or BIOS), and / or applications may be loaded into the memory 1503 and executed by the processor 1501. The operating system may be any type of operating system, such as the Robot Operating System (ROS), a Company Operating system, Mac from Apple From Company LINUX, UNIX, or other real-time or embedded operating systems.
[0091] System 1500 may also include IO devices, such as devices 1505 to 1508, including a network interface device 1505, an optional input device 1506, and other optional IO devices 1507. The network interface device 1505 may include a wireless transceiver and / or a network interface card (NIC). The wireless transceiver may be a WiFi transceiver, an infrared transceiver, a Bluetooth transceiver, a WiMax transceiver, a wireless cellular phone transceiver, a satellite transceiver (e.g., a global positioning system (GPS) transceiver) or other radio frequency (RF) transceivers or combinations thereof. The NIC may be an Ethernet card.
[0092] Input device 1506 may include a mouse, a touchpad, a touch-sensitive screen (which may be integrated with display device 1504), a pointer device (such as a stylus), and / or a keyboard (e.g., a physical keyboard or a virtual keyboard displayed as part of a touch-sensitive screen). For example, input device 1506 may include a touch screen controller coupled to a touch screen. The touch screen and touch screen controller may, for example, use any of a variety of touch-sensitive technologies (including, but not limited to, capacitive, resistive, infrared, and surface acoustic wave technologies), as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen to detect contact and movement or discontinuity thereof.
[0093] IO devices 1507 may include audio devices. The audio devices may include speakers and / or microphones to facilitate voice-enabled functions such as voice recognition, voice replication, digital recording, and / or telephone functions. Other IO devices 1507 may also include universal serial bus (USB) ports, parallel ports, serial ports, printers, network interfaces, bus bridges (e.g., PCI-PCI bridges), sensors (e.g., such as accelerometer motion sensors, gyroscopes, magnetometers, light sensors, compasses, proximity sensors, etc.), or combinations thereof. Device 1507 may also include an imaging processing subsystem (e.g., a camera), which may include an optical sensor such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) optical sensor for facilitating camera functions (e.g., recording photos and video clips). Certain sensors may be coupled to interconnect 1510 via a sensor hub (not shown), while other devices such as a keyboard or thermal sensor may be controlled by an embedded controller (not shown) according to the specific configuration or design of system 1500.
[0094] In order to provide permanent storage of information such as data, applications, one or more operating systems, etc., a mass storage device (not shown) may also be connected to the processor 1501. In various embodiments, in order to achieve a thinner and lighter system design and improve system responsiveness, such a mass storage device may be implemented via a solid-state device (SSD). However, in other embodiments, the mass storage device may be implemented primarily using a hard disk drive (HDD), wherein a smaller amount of SSD storage devices act as SSD caches to achieve non-volatile storage of context states and other such information during power-off events, thereby enabling fast power-on when system activities are restarted. In addition, a flash memory device may be connected to the processor 1501, for example, via a serial peripheral interface (SPI). Such a flash memory device may provide non-volatile storage of system software, including the BIOS and other firmware of the system.
[0095] The storage device 1508 may include a computer-accessible storage medium 1509 (also referred to as a machine-readable storage medium or computer-readable medium) on which is stored one or more instruction sets or software (e.g., modules, units, and / or logic 1528) embodying any one or more of the methods or functions described herein. The processing module / unit / logic 1528 may represent any of the above-mentioned components, such as the planning module 305, the control module 306, and the path planner 309. The processing module / unit / logic 1528 may also reside completely or at least partially in the memory 1503 and / or in the processor 1501 during its execution by the data processing system 1500, the memory 1503, and the processor 1501, which also constitute a machine-accessible storage medium. The processing module / unit / logic 1528 may also be transmitted or received via the network interface device 1505 over a network. The computer-readable storage medium 1509 may also be used to permanently store some of the software functions described above. Although computer-readable storage medium 1509 is shown as a single medium in the exemplary embodiment, the term "computer-readable storage medium" should be considered to include a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) storing the one or more instruction sets. The term "computer-readable storage medium" should also be considered to include any medium capable of storing or encoding an instruction set for execution by a machine and causing the machine to perform any one or more methods of the present disclosure. Therefore, the term "computer-readable storage medium" should be considered to include, but not limited to, solid-state memories and optical and magnetic media, or any other non-transitory machine-readable medium.
[0096] The processing modules / units / logic 1528, components, and other features described herein may be implemented as discrete hardware components or integrated into the functionality of hardware components (such as ASICS, FPGAs, DSPs, or similar devices). In addition, the processing modules / units / logic 1528 may be implemented as firmware or functional circuits within a hardware device. In addition, the processing modules / units / logic 1528 may be implemented in any combination of hardware devices and software components.
[0097] It should be noted that although system 1500 is shown as having various components of a data processing system, it is not intended to represent any particular architecture or manner of interconnecting the components; as such details are not germane to the embodiments of the present disclosure. It should also be appreciated that network computers, handheld computers, mobile phones, servers, and / or other data processing systems having fewer or possibly more components may also be used with embodiments of the present disclosure.
[0098] 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.
[0099] It should be borne in mind, however, that 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 utilizing 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.
[0100] 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).
[0101] The processes or methods depicted in the foregoing figures may be performed by processing logic including hardware (e.g., circuits, 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. In addition, some operations may be performed in parallel rather than sequentially.
[0102] 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.
[0103] In the above description, embodiments of the present invention 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 disclosure without departing from the broader spirit and scope of the present invention 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 method comprising: determining a first reference line representing a path of the autonomous vehicle through the environment; Determining a continuous speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment includes: discretize one or more of: the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment based on a specified resolution; and determining a set of speeds based on the set of speed limits associated with the environment, the set of path curvatures, the set of obstacles in the environment, and the specified resolution; determining a set of speeds for the path through the environment based on the speed constraint function; and The autonomous vehicle is controlled based on the path and the set of speeds.
2. The method according to claim 1, wherein: The speed constraint function comprises a combination of a set of polynomial functions representing a set of segments.
3. The method according to claim 2, wherein: A constant second term is used to connect consecutive segments in the segment set.
4. The method according to claim 1, wherein: Determining the speed constraint function further includes: Segment sets are formed between the speed sets by connecting each speed in the speed set with the next speed in the speed set.
5. The method according to claim 4, wherein: Determining the speed constraint function further includes: A set of polynomial functions is determined to represent the set of segments, wherein each polynomial function in the set of polynomial functions represents a corresponding segment in the set of segments.
6. The method according to claim 5, wherein: The set of polynomial functions includes a set of quintic polynomial functions.
7. The method according to claim 5, wherein: Determining the speed constraint function further includes: The set of polynomial functions are combined to generate the speed constraint function.
8. The method according to claim 1, wherein: using a set of functions to represent the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment; and At least one of the set of functions comprises a discontinuous function.
9. The method according to claim 1, wherein: using a set of functions to represent the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment; and At least one of the set of functions is non-differentiable.
10. The method according to claim 1, wherein: The speed constraint function includes a differentiable function.
11. A non-transitory machine-readable medium storing instructions, which, when executed by a processor, cause the processor to perform operations comprising: determining a first reference line representing a path of the autonomous vehicle through the environment; Determining a continuous speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment includes: discretize one or more of: the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment based on a specified resolution; and determining a set of speeds based on the set of speed limits associated with the environment, the set of path curvatures, the set of obstacles in the environment, and the specified resolution; determining a set of speeds for the path through the environment based on the speed constraint function; and The autonomous vehicle is controlled based on the path and the set of speeds.
12. The non-transitory machine-readable medium of claim 11, wherein: The speed constraint function comprises a combination of a set of polynomial functions representing a set of segments.
13. The non-transitory machine-readable medium of claim 12, wherein: A constant second term is used to connect consecutive segments in the segment set.
14. The non-transitory machine-readable medium of claim 11, wherein: Determining the speed constraint function further includes: Segment sets are formed between the speed sets by connecting each speed in the speed set with the next speed in the speed set.
15. The non-transitory machine-readable medium of claim 14, wherein: Determining the speed constraint function further includes: A set of polynomial functions is determined to represent the set of segments, wherein each polynomial function in the set of polynomial functions represents a corresponding segment in the set of segments.
16. The non-transitory machine-readable medium of claim 15, wherein: The set of polynomial functions includes a set of quintic polynomial functions.
17. The non-transitory machine-readable medium of claim 15, wherein: Determining the speed constraint function further includes: The set of polynomial functions are combined to generate the speed constraint function.
18. The non-transitory machine-readable medium of claim 11, wherein: using a set of functions to represent the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment; and At least one of the set of functions comprises a discontinuous function.
19. The non-transitory machine-readable medium of claim 11, wherein: using a set of functions to represent the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment; and At least one of the set of functions is non-differentiable.
20. Data processing system, including: 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: determining a first reference line representing a path of the autonomous vehicle through the environment; Determining a continuous speed constraint function based on a set of speed limits associated with the environment, a set of path curvatures, and a set of obstacles in the environment includes: discretize one or more of: the set of speed limits associated with the environment, the set of path curvatures, and the set of obstacles in the environment based on a specified resolution; and determining a set of speeds based on the set of speed limits associated with the environment, the set of path curvatures, the set of obstacles in the environment, and the specified resolution; determining a set of speeds for the path through the environment based on the speed constraint function; and The autonomous vehicle is controlled based on the path and the set of speeds.
