Optimal planner switching method for three-point turns of autonomous vehicles

文档序号:1174158 发布日期:2020-09-18 浏览:6次 中文

阅读说明:本技术 自动驾驶车辆的三点转弯的最优规划器切换方法 (Optimal planner switching method for three-point turns of autonomous vehicles ) 是由 马霖 朱帆 许昕 于 2018-12-26 设计创作,主要内容包括:在自动驾驶车辆(ADV)的操作中规划并执行三点转弯。确定从起点并经过终点的候选路线,起点和终点位于与相反行进方向相关的车道中。候选路线被分类为部分重叠的第一段、第二段和第三段。与候选路线相关的总成本至少部分地基于第一段和第二段来确定。确定总成本是否低于阈值成本。响应于确定总成本低于阈值成本,基于候选路线规划三点转弯。此外,至少部分地基于规划的三点转弯来生成驾驶信号以控制ADV的操作。(Three-point turns are planned and executed in the operation of an autonomous vehicle (ADV). Candidate routes are determined from a starting point and through an end point, the starting point and the end point being located in lanes associated with opposite directions of travel. The candidate route is classified into a first segment, a second segment, and a third segment that partially overlap. A total cost associated with the candidate route is determined based at least in part on the first segment and the second segment. It is determined whether the total cost is below a threshold cost. In response to determining that the total cost is below the threshold cost, a three-point turn is planned based on the candidate route. Further, a driving signal is generated to control operation of the ADV based at least in part on the planned three-point turn.)

1. A computer-implemented method of planning a three-point turn in operating an autonomous vehicle (ADV), the method comprising:

determining a candidate route from a starting point to an ending point, the starting point being within a first lane associated with a first direction of travel and the ending point being within a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel;

classifying the candidate route into a first segment associated with the first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with the second direction of travel;

determining a total cost associated with the candidate route based at least in part on the first segment and the second segment; and

in response to determining that the total cost is below a threshold cost, planning the three-point turn based on the candidate route to drive the ADV to make the three-point turn.

2. The method of claim 1, wherein determining the candidate route comprises performing an a-Star search on map data, wherein both the first lane and the second lane associated with the first direction of travel and the second direction of travel, respectively, are considered searchable and connectable.

3. The method of claim 1, wherein the total cost includes at least an obstacle cost and a remaining lane length cost.

4. The method of claim 3, wherein the obstacle cost is determined based at least in part on a distance between the ADV and each of one or more obstacles near the candidate route.

5. The method of claim 3, wherein the remaining lane length cost is determined based at least in part on a length of the first segment.

6. The method of claim 1, further comprising completing the planned three-point turn when a difference between a heading of the ADV and a reference heading is less than a threshold heading difference.

7. The method of claim 6, further comprising switching operation of the ADV back into a normal operating mode after completing the planned three-point turn.

8. A non-transitory machine-readable medium having instructions stored thereon, which when executed by a processor, cause the processor to perform operations for planning a three-point turn in operating an autonomous vehicle (ADV), the operations comprising:

determining a candidate route from a starting point to an ending point, the starting point being within a first lane associated with a first direction of travel and the ending point being within a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel;

classifying the candidate route into a first segment associated with the first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with the second direction of travel;

determining a total cost associated with the candidate route based at least in part on the first segment and the second segment; and

in response to determining that the total cost is below a threshold cost, planning the three-point turn based on the candidate route to drive the ADV to make the three-point turn.

9. The machine-readable medium of claim 8, wherein determining the candidate route comprises performing an a-Star search on map data, wherein both the first lane and the second lane associated with the first direction of travel and the second direction of travel, respectively, are considered searchable and connectable.

10. The machine-readable medium of claim 8, wherein the total cost includes at least an obstacle cost and a remaining lane length cost.

11. The machine-readable medium of claim 10, wherein the obstacle cost is determined based at least in part on a distance between the ADV and each of one or more obstacles near the candidate route.

12. The machine-readable medium of claim 10, wherein the remaining lane length cost is determined based at least in part on a length of the first segment.

13. The machine-readable medium of claim 8, the operations further comprising completing the planned three-point turn when a difference between a heading of the ADV and a reference angle is less than a threshold heading difference.

14. The machine readable medium of claim 13, the operations further comprising switching operation of the ADV back into a normal operating mode after completing the planned three-point turn.

15. A data processing system comprising:

a processor; and

a memory coupled to the processor to store instructions that, when executed by the processor, cause the processor to perform operations for planning a three-point turn in operating an autonomous vehicle (ADV), the operations comprising:

determining a candidate route from a starting point to an ending point, the starting point being within a first lane associated with a first direction of travel and the ending point being within a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel,

classifying the candidate route into a first segment associated with the first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with the second direction of travel,

determining a total cost associated with the candidate route based at least in part on the first segment and the second segment, an

In response to determining that the total cost is below a threshold cost, planning the three-point turn based on the candidate route to drive the ADV to make the three-point turn.

16. The data processing system of claim 15, wherein determining the candidate route comprises performing an a-Star search on map data, wherein both the first lane and the second lane associated with the first direction of travel and the second direction of travel, respectively, are considered searchable and connectable.

17. The data processing system of claim 15, wherein the total cost includes at least an obstacle cost and a remaining lane length cost.

18. The data processing system of claim 17, wherein the obstacle cost is determined based at least in part on a distance between the ADV and each of one or more obstacles near the candidate route.

19. The data processing system of claim 17, wherein the remaining lane length cost is determined based at least in part on a length of the first segment.

20. The data processing system of claim 15, the operations further comprising completing the planned three-point turn when a difference between a heading of the ADV and a reference angle is less than a threshold heading difference.

21. The data processing system of claim 20, the operations further comprising switching operation of the ADV back into a normal operating mode after completing the planned three-point turn.

Technical Field

Embodiments of the present disclosure relate generally to operating an autonomous vehicle. More specifically, embodiments of the present disclosure relate to planning three-point turns of an autonomous vehicle.

Background

Vehicles operating in an autonomous driving mode (e.g., unmanned) may relieve occupants, particularly the driver, from some driving-related duties. When operating in an autonomous driving mode, the vehicle may be navigated to various locations using onboard sensors, allowing the vehicle to travel with minimal human interaction or in some cases without any passengers.

Three-point turns (i.e., the reversal of the direction of travel of the vehicle at a location on the map not designated as a U-turn) are complex motions in autonomous vehicles. The planning and routing of three-point turns may be very different from the planning and routing of normal operation of an autonomous vehicle. Deciding whether to switch between the two planning and routing modes can be a challenging task.

Disclosure of Invention

In an aspect of the present disclosure, a computer-implemented method for planning a three-point turn in operating an autonomous vehicle (ADV) is provided. The method comprises the following steps: determining a candidate route from a starting point to an ending point, the starting point being within a first lane associated with a first direction of travel and the ending point being within a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel; classifying the candidate route into a first segment associated with a first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with a second direction of travel; determining a total cost associated with the candidate route based at least in part on the first segment and the second segment; and in response to determining that the total cost is below the threshold cost, planning a three-point turn based on the candidate route to drive the ADV to make the three-point turn.

In another aspect of the disclosure, a non-transitory machine-readable medium is provided having instructions stored therein to perform operations for planning a three-point turn in operating an autonomous vehicle (ADV), the operations including determining a candidate route from a starting point to an ending point, the starting point being in a first lane associated with a first direction of travel and the ending point being in a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel; classifying the candidate route into a first segment associated with a first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with a second direction of travel; determining a total cost associated with the candidate route based at least in part on the first segment and the second segment; and in response to determining that the total cost is below the threshold cost, planning a three-point turn based on the candidate route to drive the ADV to make the three-point turn.

In another aspect of the present disclosure, a data processing system is provided. The system includes a processor; and a memory coupled to the processor to store instructions that, when executed by the processor, cause the processor to perform operations for planning a three-point turn in operating an autonomous vehicle (ADV), the operations comprising: determining a candidate route from a starting point to an ending point, the starting point being within a first lane associated with a first direction of travel and the ending point being within a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel; classifying the candidate route into a first segment associated with a first direction of travel, a second segment associated with a three-point turn zone, and a third segment associated with a second direction of travel; determining a total cost associated with the candidate route based at least in part on the first segment and the second segment; and in response to determining that the total cost is below the threshold cost, planning a three-point turn based on the candidate route to drive the ADV to make the three-point turn.

Drawings

Embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements.

FIG. 1 is a block diagram illustrating a networked system according to one embodiment.

FIG. 2 is a block diagram illustrating an example of an autonomous vehicle according to one embodiment.

Fig. 3A-3B are block diagrams illustrating an example of a perception and planning system for use by an autonomous vehicle, according to one embodiment.

Fig. 4 is a diagram illustrating a typical three-point turn driving scenario.

FIG. 5 is a block diagram illustrating various modules according to one embodiment.

FIG. 6 is a diagram illustrating a planned three-point turn route, according to one embodiment.

FIG. 7 is a flow diagram illustrating an exemplary method of planning a three-point turn in operating an autonomous vehicle (ADV), according to one embodiment.

FIG. 8 is a block diagram illustrating a data processing system in accordance with one embodiment.

Detailed Description

Various embodiments and aspects of the disclosure will be described with reference to details discussed below, and the accompanying drawings will illustrate the various embodiments. The following description and drawings are illustrative of the present disclosure and are not to be construed as limiting the present disclosure. Numerous specific details are described to provide a thorough understanding of various embodiments of the present disclosure. However, in certain instances, well-known or conventional details are not described in order to provide a concise discussion of embodiments of the present disclosure.

Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the disclosure. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.

According to some embodiments, a three-point turn is planned and executed in the operation of an autonomous vehicle (ADV). A candidate route is determined from a starting point and through an ending point, the starting point being in a first lane associated with a first direction of travel and the ending point being in a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel. The candidate routes are classified into partially overlapping first, second, and third segments, the first segment being associated with a first direction of travel, the second segment being associated with a three-point turn zone, and the third segment being associated with a second direction of travel. A total cost associated with the candidate route is determined based at least in part on the first segment and the second segment using a predetermined cost function. It is determined whether the total cost is below a threshold cost. In response to determining that the total cost is below the threshold cost, a three-point turn is planned based on the candidate route. Further, a driving signal is generated to control operation of the ADV based at least in part on the planned three-point turn.

In one embodiment, determining the candidate route comprises performing a search algorithm, such as an a-Star search, on the map data, wherein both the first lane and the second lane, which are associated with the first direction of travel and the second direction of travel, respectively, are considered searchable and connectable.

In one embodiment, the total cost includes at least an obstacle cost and a remaining lane length cost. The obstacle cost is determined based at least in part on a distance between the ADV and each of the one or more obstacles near the candidate route. The remaining lane length cost is determined based at least in part on the length of the first segment. The remaining lane length refers to the length of the lane remaining in the current lane segment or route segment. That is, the remaining lane length is the distance between the current position of the vehicle and the end of the current lane segment.

In one embodiment, the planned three-point turn is completed when a difference between the heading of the ADV and the reference heading is less than a threshold heading difference. After completing the planned three-point turn, the operation of the ADV switches back into the normal operating mode.

Fig. 1 is a block diagram illustrating an autonomous vehicle network configuration according to one embodiment of the present disclosure. Referring to fig. 1, a network configuration 100 includes an autonomous vehicle 101 that may be communicatively coupled to one or more servers 103-104 through a network 102. Although one autonomous vehicle is shown, multiple autonomous vehicles may be coupled to each other and/or to servers 103-104 through network 102. The network 102 may be any type of network, such as 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. The servers 103-104 may be any type of server or cluster of servers, such as a network or cloud server, an application server, a backend server, or a combination thereof. The servers 103 to 104 may be data analysis servers, content servers, traffic information servers, map and point of interest (MPOI) servers, or location servers, etc.

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

In one embodiment, 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. Autonomous vehicle 101 may also include certain common components included in a common vehicle, such as: engines, wheels, steering wheels, transmissions, etc., which may be controlled by the vehicle control system 111 and/or the sensory and programming system 110 using a variety of communication signals and/or commands, such as, for example, acceleration signals or commands, deceleration signals or commands, steering signals or commands, braking signals or commands, etc.

The components 110-115 may be communicatively coupled to each other via an interconnect, bus, network, or combination thereof. For example, the components 110-115 may be communicatively coupled to one another 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 automobiles, but is also used in many other environments.

Referring now to fig. 2, in 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 regarding the location of the autonomous vehicle. The IMU unit 213 may sense position and orientation changes of the autonomous vehicle based on inertial acceleration. Radar unit 214 may represent a system that utilizes radio signals to sense objects within the local environment of an autonomous vehicle. In some embodiments, in addition to sensing an object, radar unit 214 may additionally sense a speed and/or heading of the object. The LIDAR unit 215 may use a laser to sense objects in the environment in which the autonomous vehicle is located. The LIDAR unit 215 may include one or more laser sources, laser scanners, and one or more detectors, among other system components. The camera 211 may include one or more devices used to capture 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.

The sensor system 115 may also include other sensors, such as: sonar sensors, infrared sensors, steering sensors, throttle sensors, brake sensors, and audio sensors (e.g., microphones). The audio sensor may be configured to collect sound from an environment surrounding the autonomous vehicle. The steering sensor may be configured to sense a steering angle of a steering wheel, wheels of a vehicle, or a combination thereof. The throttle sensor and the brake sensor sense a throttle position and a 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.

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 the components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.

Returning to fig. 1, wireless communication system 112 allows communication between autonomous vehicle 101 and external systems such as devices, sensors, other vehicles, and the like. For example, the wireless communication system 112 may be in direct wireless communication with one or more devices, or in wireless communication via a communication network, such as with the servers 103-104 through the network 102. The wireless communication system 112 may 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 may communicate directly with devices (e.g., passenger's mobile device, display device, speaker within the vehicle 101), for example, using infrared links, bluetooth, etc. The user interface system 113 may be part of a peripheral device implemented within the vehicle 101, including, for example, a keypad, a touch screen display device, a microphone, and speakers, among others.

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 awareness and planning system 110 includes the necessary hardware (e.g., processors, memory, storage devices) and software (e.g., operating systems, 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 the origin to the destination, and then drive the vehicle 101 based on the planning and control information. Alternatively, the sensing and planning system 110 may be integrated with the vehicle control system 111.

For example, a user who is a passenger may specify a start location and a destination of a trip, e.g., via a user interface. The perception and planning system 110 obtains trip related data. For example, the sensing and planning system 110 may obtain location and route information from an MPOI server, which may be part of the servers 103-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 cached locally in persistent storage of the sensing and planning system 110.

The perception and planning system 110 may also obtain real-time traffic information from a traffic information system or server (TIS) as the autonomous vehicle 101 moves along the route. It should be noted that the servers 103 to 104 may be operated by third party entities. Alternatively, the functionality of the servers 103-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 sensor system 115, perception and planning system 110 may plan an optimal route and drive vehicle 101, e.g., via control system 111, according to the planned route to safely and efficiently reach a designated destination.

Server 103 may be a data analysis system to perform data analysis services for various customers. In one embodiment, 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 vehicles or regular vehicles driven by human drivers). The driving statistics 123 include information indicative of driving commands issued (e.g., throttle, brake, steering commands) and responses of the vehicle captured by sensors of the vehicle 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 a route (including a start location and a destination location), MPOI, road conditions, weather conditions, and so forth.

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 three-point turn planner algorithm and/or a cost function to calculate the cost of making a three-point turn according to embodiments of the present disclosure. The algorithm 124 may then be uploaded to the ADV for real-time use during autonomous driving.

Fig. 3A and 3B are block diagrams illustrating an example of a perception and planning system for use with an autonomous vehicle according to one embodiment. The system 300 may be implemented as part of the autonomous vehicle 101 of fig. 1, including but not limited to the perception and planning system 110, the control system 111, and the sensor system 115. Referring to fig. 3A-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 formulation module 307, and a three-point turn planning module 308.

Some or all of the modules 301 to 308 may be implemented in software, hardware, or a combination thereof. For example, the modules may be installed in persistent 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 or integrated with some or all of the modules of the vehicle control system 111 of fig. 2. Some of the modules 301 to 308 may be integrated together into an integrated module. For example, the three-point turn module 308 may be implemented or integrated as part of the planning module 305.

The location 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 a map and route module) manages any data related to the user's journey or route. The user may, for example, log in via a user interface and specify a starting location and destination for 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 location module 301 may 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 for certain locations, which may be cached as part of the map and route information 311. The location module 301 may also obtain real-time traffic information from a traffic information system or server as the autonomous vehicle 300 moves along the route.

Based on the sensor data provided by sensor system 115 and the positioning information obtained by positioning module 301, perception module 302 determines a perception of the surrounding environment. The perception information may represent what an average driver would perceive around the vehicle the driver is driving. Perception may include, for example, lane configuration in the form of an object, a traffic light signal, a relative position of another vehicle, a pedestrian, a building, a crosswalk, or other traffic-related indicia (e.g., a stop sign, a yield sign), and so forth. The lane configuration includes information describing one or more lanes, such as, for example, the shape of the lane (e.g., straight or curved), the width of the lane, the number of lanes in the road, one-way or two-way lanes, merge or separate lanes, exit lanes, and so forth.

The perception module 302 may include a computer vision system or functionality of a computer vision system to process and analyze images captured by one or more cameras to identify objects and/or features in an autonomous vehicle environment. The objects may include traffic signals, road boundaries, other vehicles, pedestrians, and/or obstacles, etc. Computer vision systems 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, among other things. The perception module 302 may also detect objects based on other sensor data provided by other sensors, such as radar and/or LIDAR.

For each object, the prediction module 303 predicts how the object will behave in this case. The prediction is performed based on perception data that perceives the driving environment at a point in time that takes into account 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 the intersection has no traffic lights, the prediction module 303 may predict that the vehicle may need to be completely parked 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.

For each subject, the decision module 304 makes a decision on how to treat the subject. For example, for a particular object (e.g., another vehicle in a crossing route) and metadata describing the object (e.g., speed, direction, turn angle), the decision module 304 decides how to encounter the object (e.g., cut, yield, stop, exceed). The decision module 304 may make such a decision according to a rule set, such as traffic rules or driving rules 312, which may be stored in persistent storage 352.

The route formulation module 307 is configured to provide one or more routes or paths from a starting point to a destination point. For a given trip from a start location to a destination location, such as a given trip received from a user, the routing module 307 obtains route and map information 311 and determines all possible routes or paths from the start location to the destination location. The route formulation module 307 may generate a reference line in the form of a topographical map that identifies each route from the starting location to the destination location. A reference line refers to an ideal route or path that is not disturbed by anything else, 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 accurately or closely follow the reference line. The terrain map is then provided to a decision module 304 and/or a planning module 305. The decision module 304 and/or the planning module 305 checks all possible routes to select and modify one of the best routes according to other data provided by other modules, such as traffic conditions from the positioning module 301, driving environment sensed by the sensing module 302, and traffic conditions predicted by the prediction module 303. Depending on the particular driving environment at the point in time, the actual path or route used to control the ADV may be close to or different from the reference line provided by the routing module 307.

Based on the decisions for each of the perceived objects, the planning module 305 plans a path or route and driving parameters (e.g., distance, speed, and/or turn angle) for the autonomous vehicle using the reference lines provided by the routing module 307 as a basis. That is, for a given object, the decision module 304 decides what to do with the object, and the planning module 305 determines how to do. For example, for a given subject, the decision module 304 may decide to exceed the subject, while the planning module 305 may determine whether to exceed on the left or right side of the subject. Planning and control data is generated by the planning module 305, including 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 instruct the vehicle 300 to move 10 meters at a speed of 30 miles per hour (mph), and then change to the right lane at a speed of 25 mph.

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

In one embodiment, the planning phase is performed in a plurality of planning cycles (also referred to as drive cycles), for example, in cycles of 100 milliseconds (ms) each time interval. For each of the planning 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, e.g., including the target location and the time required for the ADV to reach the target location. Alternatively, the planning module 305 may also specify a particular speed, direction, and/or steering angle, etc. In one embodiment, the planning module 305 plans a route segment or a path segment for the next predetermined period of time (such as 5 seconds). For each planning cycle, the planning module 305 plans a target location for the current cycle (e.g., the next 5 seconds) based on the target locations 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 current cycle of planning and control data.

It should be noted that the decision module 304 and the planning module 305 may be integrated as an integrated module. The decision module 304/planning module 305 may include a navigation system or functionality of a navigation system to determine a driving path of an autonomous vehicle. For example, the navigation system may determine a series of speeds and heading directions for affecting movement of the autonomous vehicle along the following paths: the path substantially avoids perceived obstacles while advancing the autonomous vehicle 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 the GPS system and one or more maps to determine a driving path for the autonomous vehicle.

According to one embodiment, the three-point turn (TPT) module 308 is responsible for determining and providing three-point turn decisions or recommendations to the planning module 305. As described above, TPT module 308 may be implemented as part of planning module 305. Once the decision module 304 determines to make a three-point turn, the TPT module 308 is configured to determine whether a three-point turn at that point in time is feasible, and if so, how to make the three-point turn using one or more TPT algorithms 313.

As shown in fig. 4, various factors must be considered when deciding whether to make a three-point turn. When ADV 330 decides to make a three-point turn, it must make a first forward turn via path 341 toward the opposite lane or far lane curve of traffic. It must then move back via path 342 toward the near lane curve of the current lane. Thereafter it must make another forward movement via path 343 to complete the three-point turn. Other obstacles may be present, such as another vehicle 335 on the opposite lane toward the ADV 330. If the distance between the two vehicles 330 and 335 is too close, it may not be safe to make a three-point turn. Similarly, if the remaining lane length is insufficient, there may not be enough space to make a three-point turn. These scenarios must be considered as factors in determining whether and how to make a three-point turn. The remaining lane length refers to the length of the lane remaining in the current lane segment or route segment. That is, the remaining lane length is the distance between the current position of the vehicle and the end of the current lane segment.

Referring to FIG. 5, a block diagram 400 of various modules of a three-point turn module is shown, according to one embodiment. Candidate routes from the starting point and through the ending point are determined. The starting point is located within a first lane associated with a first direction of travel (e.g., a current heading direction). The end point is located within a second lane associated with a second direction of travel (e.g., a reverse direction relative to the current direction) that is opposite the first direction of travel. The start and end points may be collectively referred to as waypoints 410. In determining the candidate route, the search module of the TPT module 308 performs an a-Star (a) search 420 on the map data, wherein first and second lanes associated with the first and second directions of travel, respectively, are deemed searchable and connectable.

A-Star search is a computer algorithm widely used for path finding and graph traversal, which is the process of finding a path between multiple points (called "nodes"). It is widely used because of its performance and accuracy. A is an informed search algorithm, or best-first search, meaning that it is formulated from a weighted graph: starting from a particular starting node of the graph, it aims to find the path to a given target node with the smallest cost (minimum travel distance, shortest time, etc.). It accomplishes this by: by maintaining a tree of paths originating from the starting node and extending those paths one at a time until their termination criteria are met. In each iteration of its main loop, a needs to determine which of the paths to expand. This is done based on the cost of the path and the cost estimate needed to extend the path all the way to the target. A terminates when it chooses whether the extended path is a path from the starting point to the target or no path that can be extended.

In one embodiment, TPT module 308 includes a route segmenter or segmentation module 321 to segment and classify route segments from route candidates according to a predetermined segmentation algorithm or criteria. The candidate route is classified into a first segment 430, a second segment 432, and a third segment 434 that partially overlap, the first segment 430 being associated with a first direction of travel, the second segment 432 being associated with a three-point turn zone, and the third segment 434 being associated with a second direction of travel.

TPT module 308 also includes a cost calculator 322 to calculate a cost for making a three-point turn using a predetermined cost function, which may be part of TPT algorithm 313. Specifically, the total cost associated with the candidate route is determined at the cost evaluation module 440 based at least in part on the first segment 430 and the second segment 432. It is determined whether the total cost is below a predetermined threshold cost. The threshold cost is an adjustable parameter that can be determined empirically. In response to determining that the total cost is below the threshold cost, a three-point turn is planned at the three-point turn planner module 442 based on the candidate routes, where the TPT planner module 442 may be implemented as part of the planning module 305. Further, a driving signal is generated to control operation of the ADV based at least in part on the planned three-point turn.

In one embodiment, the total cost includes at least an obstacle cost and a remaining lane length cost. The obstacle cost is determined based at least in part on a distance between the ADV and each of one or more obstacles near the candidate route (e.g., obstacles that are a distance from the candidate route that is less than a threshold). The remaining lane length cost is determined based at least in part on the length of the first segment. In particular, the total cost may be determined based on a cost function:

Ctotal=α∑e-λ/dis+βe-/Δs

wherein, α∑ e-λ/disIndicating the cost of the obstacle, i.e., the total obstacle cost obtained by adding the individual obstacle costs of each obstacle all within a predetermined proximity β e-/ΔsRepresents the cost of remaining lane length, parameter dis represents the distance between the vehicle and the obstacle, Delta s (Δ s) represents the remaining lane length, parameters α, λ, β and are adjustable parameters that may be empirically determined.

As shown in the cost function above, when the distance between the vehicle and the obstacle is short, the corresponding obstacle cost will be higher, indicating that it may not be safe to make a three-point turn because of the presence of an obstacle nearby. Similarly, when the remaining lane length is shorter, the cost will be higher because there may not be enough space to make a three-point turn.

In one embodiment, the cost function and related parameters described above may be determined based on a number of driving statistics collected by a data analysis system (such as server 103 of FIG. 1) from a number of vehicles traveling in a similar travel environment or scene. When the total cost is below a predetermined threshold, the TPT planner 442 will be invoked to plan and control the vehicle to make a three-point turn.

In one embodiment, the planned three-point turn is completed when the completion condition check module 450 determines that the difference between the heading of the ADV and the reference heading is less than a threshold heading difference. The threshold heading difference is an adjustable parameter that can be empirically determined. After completing the planned three-point turn, operation of the ADV switches back to the normal operating mode 460.

Referring to FIG. 6, a diagram of a planned three-point turn route 500 is shown, according to one embodiment. The route 500 begins at a start point 510 within a first lane 520 associated with a first direction of travel and passes through an end point 512 within a second lane 522 associated with a second direction of travel opposite the first direction of travel. The first lane 520 includes subsections 1-4 and the second lane 522 includes subsections 5-7. The route 500 is classified into first, second, and third segments that partially overlap, the first segment being associated with a first direction of travel, the second segment being associated with a three-point turn zone, and the third segment being associated with a second direction of travel. Thus, here, the first section comprises subsections 1 to 4; the second segment comprises subsections 4 and 5; the third section comprises subsections 5 to 7.

Referring to FIG. 7, a flow diagram of an exemplary method 600 for planning a three-point turn when operating an autonomous vehicle (ADV) is shown, according to one embodiment. The method 600 may be implemented in hardware, software, or a combination thereof. At block 610, a candidate route is determined that starts from a starting point and passes through an ending point, the starting point being in a first lane associated with a first direction of travel and the ending point being in a second lane associated with a second direction of travel, the second direction of travel being opposite the first direction of travel. At block 620, the candidate route is classified into first, second, and third segments that partially overlap, the first segment being associated with a first direction of travel, the second segment being associated with a three-point turn zone, and the third segment being associated with a second direction of travel. At block 630, a total cost associated with the candidate route is determined based at least in part on the first segment and the second segment. At block 640, it is determined whether the total cost is below a threshold cost. At block 650, in response to determining that the total cost is below the threshold cost, a three-point turn is planned based on the candidate route. Further, at block 660, a driving signal is generated to control operation of the ADV based at least in part on the planned three-point turn.

It should be noted that some or all of the components as 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 persistent storage device, which may be loaded into and executed by a processor (not shown) to perform the processes or operations described throughout this 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 Field Programmable Gate Array (FPGA), which is accessible via a respective driver and/or operating system from an application. Further, such components may be implemented as specific hardware logic within a processor or processor core as part of an instruction set accessible by software components through one or more specific instructions.

FIG. 8 is a block diagram illustrating an example of a data processing system that may be used with one embodiment of the present disclosure. For example, system 1500 may represent any of the data processing systems described above that perform any of the processes or methods described above, such as, for example, any of sensing and planning systems 110 or servers 103-104 of fig. 1. System 1500 may include many different components. These components may be implemented as Integrated Circuits (ICs), portions of integrated circuits, discrete electronic devices or other modules adapted for a circuit board, such as a motherboard or add-in card of a computer system, or as components otherwise incorporated within a chassis of a computer system.

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 is to be understood that some embodiments may have additional components and, further, other embodiments may have different arrangements of the components shown. 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 repeater, a set-top box, or a combination thereof. Further, while only a single machine or system is illustrated, the term "machine" or "system" shall also be taken to include any collection of machines or systems that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.

In one embodiment, the system 1500 includes a processor 1501, memory 1503, and devices 1505-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, Central Processing Unit (CPU), or the like. More specifically, processor 1501 may be a Complex Instruction Set Computing (CISC) microprocessor, Reduced Instruction Set Computing (RISC) microprocessor, Very Long Instruction Word (VLIW) microprocessor, or a processor implementing other instruction sets, or processors 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 communications processor, a cryptographic processor, a coprocessor, an embedded processor, or any other type of logic capable of processing instructions.

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 the 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. The system 1500 may also include a graphics interface to communicate with an optional graphics subsystem 1504, which may include a display controller, a graphics processor, and/or a display device.

Processor 1501 may be in communication with memory 1503, which in one embodiment may be implemented via multiple memory devices to provide a given 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. Memory 1503 may store information including sequences of instructions that are executed by processor 1501, or any other device. For example, executable code and/or data for various operating systems, device drivers, firmware (e.g., an input output basic system or BIOS), and/or applications may be loaded into memory 1503 and executed by processor 1501. The operating system may be any type of operating system, for example, a Robotic Operating System (ROS), fromOf a company

Figure BDA0002184831340000152

Operating System, from apple Inc

Figure BDA0002184831340000153

FromOf a companyLINUX, UNIX, or other real-time or embedded operating systems.

System 1500 may also include IO devices such as devices 1505 through 1508 including network interface device 1505, optional input device 1506, and other optional IO devices 1507. 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 telephone transceiver, a satellite transceiver (e.g., a Global Positioning System (GPS) transceiver), or other Radio Frequency (RF) transceiver, or a combination thereof. The NIC may be an ethernet card.

The input device 1506 may include a mouse, a touch pad, a touch-sensitive screen (which may be integrated with the display device 1504), a pointing device (such as a stylus) and/or a keyboard (e.g., a physical keyboard or a virtual keyboard displayed as part of the touch-sensitive screen). For example, the input device 1506 may include a touch screen controller coupled to a touch screen. Touch screens and touch screen controllers, for example, may detect contact and movement or discontinuities thereof using 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.

IO device 1507 may include an audio device. The audio device may include a speaker and/or microphone to facilitate voice-enabled functions, such as voice recognition, voice replication, digital recording, and/or telephony 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. The device 1507 may also include an imaging processing subsystem (e.g., a camera) that may include an optical sensor, such as a Charge Coupled Device (CCD) or Complementary Metal Oxide Semiconductor (CMOS) optical sensor, for facilitating camera functions, such as recording photographs and video clips. Certain sensors can be coupled to interconnect 1510 via a sensor hub (not shown), while other devices, such as a keyboard or thermal sensors, can be controlled by an embedded controller (not shown) depending on the particular configuration or design of system 1500.

To provide persistent storage for information such as data, applications, one or more operating systems, etc., a mass storage device (not shown) may also be coupled to processor 1501. In various embodiments, such mass storage devices may be implemented via Solid State Devices (SSDs) in order to achieve thinner and lighter system designs and improve system responsiveness. However, in other embodiments, the mass storage device may be implemented primarily using a Hard Disk Drive (HDD), with a smaller amount of the SSD storage device acting as an SSD cache to enable non-volatile storage of context state and other such information during a power down event, enabling fast power up upon a system activity restart. Additionally, a flash device may be coupled to processor 1501, for example, via a Serial Peripheral Interface (SPI). Such flash memory devices may provide non-volatile storage of system software, including the BIOS and other firmware of the system.

Storage 1508 may include a computer-accessible storage medium 1509 (also referred to as a machine-readable storage medium or a computer-readable medium) on which is stored one or more sets of instructions or software (e.g., modules, units, and/or logic 1528) embodying any one or more of the methodologies or functions described herein. The processing module/unit/logic 1528 may represent any of the components described above, such as the planning module 305, the control module 306, the three-point turn planning module 308, and so forth. Processing module/unit/logic 1528 may also reside, completely or at least partially, within memory 1503 and/or within processor 1501 during execution thereof by data processing system 1500, memory 1503 and processor 1501, data processing system 1500, memory 1503 and processor 1501 also constituting machine-accessible storage media. Processing module/unit/logic 1528 may also transmit or receive over a network via network interface device 1505.

The computer-readable storage medium 1509 may also be used to permanently store some of the software functions described above. While the computer-readable storage medium 1509 is shown in an exemplary embodiment to be a single medium, the term "computer-readable storage medium" should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term "computer-readable storage medium" shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure. The term "computer-readable storage medium" shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media, or any other non-transitory machine-readable medium.

The processing module/unit/logic 1528, components, and other features described herein may be implemented as discrete hardware components or integrated within the functionality of hardware components, such as ASICS, FPGAs, DSPs, or similar devices. Further, the processing module/unit/logic 1528 may be implemented as firmware or functional circuitry within a hardware device. Further, the processing module/unit/logic 1528 may be implemented in any combination of hardware devices and software components.

It should be noted that while system 1500 is illustrated with 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 embodiments of the present disclosure. It will also be appreciated that network computers, hand-held computers, mobile telephones, servers, and/or other data processing systems which have fewer components or perhaps more components may also be used with embodiments of the present disclosure.

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 here, and generally, considered to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities.

It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the above discussion, it is appreciated that throughout the description, discussions utilizing terms such as those set forth in the appended claims, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

Embodiments of the present disclosure also relate to apparatuses 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., read only memory ("ROM"), random access memory ("RAM"), magnetic disk storage media, optical storage media, flash memory devices).

The processes or methods depicted in the foregoing figures may be performed by processing logic that comprises 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 appreciated that some of the operations may be performed in a different order. Further, some operations may be performed in parallel rather than sequentially.

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 embodiments of the disclosure as described herein.

In the foregoing specification, embodiments of the disclosure have been described with reference to specific exemplary embodiments thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope of the disclosure as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:机器人的运动控制方法、控制系统和存储装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类