The present disclosure relates to systems and methods for predicting a vehicle trajectory, and more particularly, to systems and methods for predicting a vehicle trajectory using features extracted from map and sensor data.
Vehicles share roads with other vehicles, bicycles, pedestrians, and objects, such as traffic signs, road blocks, fences, etc. Therefore, drivers need to constantly adjust driving to avoid colliding the vehicle with such obstacles. While some obstacles are generally static and therefore easy to avoid, some others might be moving. For a moving obstacle, the driver has to not only observe its current position but to predict its moving trajectory in order to determine its future positions. For example, another vehicle on the road coming towards the vehicle may go straight, stop, or make turns. The driver typically makes the prediction based on observations such as turn signals provided by the coming vehicle, the vehicle's traveling speed, etc.
Automatous driving vehicles need to make similar decisions to avoid obstacles. Therefore, automatous driving technology relies heavily on automated prediction of other vehicles' trajectories. However, existing prediction systems and methods are limited by the vehicle's ability to “see” (e.g., to collect relevant data), ability to process the data, and ability to make accurate predictions based on the data. Accordingly, automatous driving vehicles can benefit from improvements to the existing prediction systems and methods.
Embodiments of the disclosure improve the existing prediction systems and methods in automatous driving by providing systems and methods for predicting a vehicle trajectory using features extracted from map and sensor data.
Embodiments of the disclosure provide a system for predicting a trajectory of a vehicle. The system includes a communication interface configured to receive a map of an area in which the vehicle is traveling and sensor data acquired associated with the vehicle. The system includes at least one processor configured to position the vehicle in the map and identify one or more objects surrounding the vehicle based on the positioning of the vehicle. The at least one processor is further configured to extract features of the vehicle and the one or more objects from the sensor data. The at least one processor is also configured to determine a plurality of candidate trajectories, determine a probability for each candidate trajectory based on the extracted features, and identify the candidate trajectory with the highest probability as the predicted trajectory of the vehicle.
Embodiments of the disclosure also provide a method for predicting a trajectory of a vehicle. The method includes receiving, by a communication interface, a map of an area in which the vehicle is traveling and sensor data acquired associated with the vehicle. The method further includes positioning, by at least one processor, the vehicle in the map and identifying, by the at least one processor, one or more objects surrounding the vehicle based on the positioning of the vehicle. The method also includes extracting, by the at least one processor, features of the vehicle and the one or more objects from the sensor data. The method additionally includes determining, by the at least one processor, a plurality of candidate trajectories, determining, by the at least one processor, a probability for each candidate trajectory based on the extracted features, and identifying the candidate trajectory with the highest probability as the predicted trajectory of the vehicle.
Embodiments of the disclosure further provide a non-transitory computer-readable medium having instructions stored thereon that, when executed by at least one processor, causes the at least one processor to perform operations. The operations include receiving a map of an area in which the vehicle is traveling and sensor data acquired associated with the vehicle. The operations further include positioning the vehicle in the map and identifying one or more objects surrounding the vehicle based on the positioning of the vehicle. The operations further include extracting features of the vehicle and the one or more objects from the sensor data. The operations also include determining a plurality of candidate trajectories, determining a probability for each candidate trajectory based on the extracted features, and identifying the candidate trajectory with the highest probability as the predicted trajectory of the vehicle.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
Each of road A and road B is shown as a two-way road. For example, road B includes first direction lanes 102 and 104 and second direction lanes 108 and 110. The first and second directions may be opposite to each other and separated by a divider 106. It is contemplated that one or both of the roads may be one-way and/or have more or less lanes.
Various vehicles may be traveling on the roads in both directions. For example, vehicle 120 may be traveling east-bound on first direction lane 102, and vehicle 130 may be traveling west-bound on second direction lane 103. In some embodiments, vehicles 120 and 130 may be electric vehicles, fuel cell vehicles, hybrid vehicles, or conventional internal combustion engine vehicles. In some embodiments, vehicle 120 may be an autonomous or semi-autonomous vehicle.
The vehicle traffic at cross-road 100 may be regulated by traffic lights 140. Traffic lights 140 may be installed in one or both directions. In some embodiments, traffic lights 140 may include lights in three colors: red, yellow and green, to signal the right of way at cross-road 100. In some embodiments, traffic lights 140 may additionally include turn protection lights to regulate the left, right, and/or U-turns at cross-road 100. For example, a left turn protection light may allow vehicles in certain lanes (usually the left-most lane) to turn left without having to yield to vehicles traveling straight in the opposite direction.
In some embodiments, vehicle 120 may be equipped with or in communication with a vehicle trajectory prediction system (e.g., system 200 shown in
As illustrated in
In some embodiments, sensors 230 may include a LiDAR that measures a distance between vehicle 120 and vehicle 130, and the position of vehicle 130 in a 3-D map. In some embodiments sensor 230 may also include a GPS/IMU (inertial measurement unit) sensor to capture position/pose data of vehicle 120. In some embodiments, sensors 230 may additionally include cameras to capture images of vehicle 130 and traffic light 140. Since the images captured by sensors 220 and sensors 230 are from different angles, they may supplement each other to provide more detailed information of vehicle 130 and surrounding objects. In some embodiments, sensors 220 and 230 may acquire data that tracks the trajectories of moving objects, such as vehicles, pedestrians, etc.
In some embodiments, sensors 230 may be equipped on vehicle 120 and thus travel with vehicle 120. For example,
As illustrated in
Consistent with some embodiments, sensor 340 may be a LiDAR that measures the distance to a target by illuminating the target with pulsed laser lights and measuring the reflected pulses. Differences in laser return times and wavelengths can then be used to make digital 3-D representations of the target. For example, sensor 340 may measure the distance between vehicle 120 and vehicle 130 or other objects. The light used for LiDAR scan may be ultraviolet, visible, or near infrared. Because a narrow laser beam can map physical features with a very high resolution, a LiDAR scanner is particularly suitable for positioning objects in a 3-D map. For example, a LiDAR scanner may capture point cloud data, which may be used to position vehicle 120, vehicle 130 and/or other objects.
In some embodiments, sensors 350 may include one or more cameras mounted on body 310 of vehicle 120. Although
As illustrated in
Consistent with the present disclosure, sensors 340-360 may communicate with server 210 via a network to transmit the sensor data continuously, or regularly, or intermittently. In some embodiments, any suitable network may be used for the communication, such as a Wireless Local Area Network (WLAN), a Wide Area Network (WAN), wireless communication networks using radio waves, a cellular network, a satellite communication network, and/or a local or short-range wireless network (e.g., Bluetooth™).
Referring back to
As shown in
Server 210 may be configured to analyze the sensor data received from sensors 230 (e.g., sensors 340-360) and the map data received from 3-D map database 240 to predict the trajectories of other vehicles on the roads, such as vehicle 130.
Communication interface 402 may send data to and receive data from components such as sensors 220 and 230 via direct communication links, a Wireless Local Area Network (WLAN), a Wide Area Network (WAN), wireless communication networks using radio waves, a cellular network, and/or a local wireless network (e.g., Bluetooth or WiFi), or other communication methods. In some embodiments, communication interface 402 can be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection. As another example, communication interface 402 can be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links can also be implemented by communication interface 402. In such an implementation, communication interface 402 can send and receive electrical, electromagnetic or optical signals that carry digital data streams representing various types of information via a network.
Consistent with some embodiments, communication interface 402 may receive sensor data 401 acquired by sensors 220 and/or 230, as well as map data 403 provided by 3-D map database 240, and provide the received information to memory 406 and/or storage 408 for storage or to processor 404 for processing. Sensor data 401 may include information capturing vehicles (such as vehicle 130) and other objects surrounding the vehicles. Sensor data 401 may contain data captured over time that characterize the movements of the objects. In some embodiments, map data 403 may include point cloud data.
Communication interface 402 may also receive a learning model 405. In some embodiments, learning model 405 may be applied by processor 404 to predict vehicle trajectories based on features extracted from sensor data 401 and map data 403. In some embodiments, learning model 405 may be a predictive model, such as a decision tree learning model. A decision tree uses observations of an item (represented in the branches) to predict a target value of the item (represented in the leaves). In some embodiments, gradient boosting may be combined with the decision tree learning model to form a prediction model as an ensemble of decision trees. For example, learning model 405 may become a Gradient Boosting Decision Tree model formed with stage-wise decision trees.
In some embodiments, learning model 405 may be trained using known vehicle trajectories and their respective sample features, such as semantic features including the vehicle speed, the lane markings of vehicle lane, the status of the traffic light, the orientation of the vehicle, vehicle turn signals, vehicle breaking signals, etc. The sample features may additionally include non-semantic features extracted from data descriptive of the vehicle movements. In some embodiments, learning model 405 may be trained by server 210 or another computer/server ahead of time.
Processor 404 may include any appropriate type of general-purpose or special-purpose microprocessor, digital signal processor, or microcontroller. Processor 404 may be configured as a separate processor module dedicated to predicting vehicle trajectories. Alternatively, processor 404 may be configured as a shared processor module for performing other functions related to or unrelated to vehicle trajectory predictions. For example, the shared processor may further make autonomous driving decision based on the predicted vehicle trajectories.
As shown in
Positioning unit 440 may be configured to position the vehicle whose trajectory is being predicted (e.g., vehicle 130) in map data 403. In some embodiments, sensor data 401 may contain various data captured of the vehicle to assist the positioning. For example, LiDAR data captured by sensor 340 mounted on vehicle 120 may reveal the position of vehicle 130 in the point cloud data. In some embodiments, the point cloud data captured of vehicle 130 may be matched with map data 401 to determine the vehicle's position. In some embodiments, positioning methods such as simultaneous localization and mapping (SLAM) may be used to position the vehicle.
In some embodiments, the positions of the vehicle (e.g., vehicle 130) may be labeled on map data 401. For example, a subset of point cloud data P1 is labeled as corresponding to vehicle 130 at time T1, a subset of point cloud data P2 is labeled as corresponding to vehicle 130 at time T2, and a subset of point cloud data P3 is labeled as corresponding to vehicle 130 at time T3, etc. The labeled subsets indicate the existing moving trajectory and moving speed of the vehicle.
Object identification unit 442 may identify objects surrounding the vehicle. These objects may include, e.g., traffic lights 104, traffic signs, lane markings, and other vehicles, etc. In some embodiments, various image processing methods, such as image segmentation, classification, and recognition method, may be applied to identify the objects. In some embodiments, machine learning techniques may also be applied for the identification. Such objects may provide additional information useful to the vehicle trajectory prediction. For example, if the vehicles travelling on a right-turn only lane, it is more likely that it is going to turn right than turning left. Alternatively, if the traffic light regulating the lane is red, the vehicle will likely not move immediately. If there is a no U-turn sign at the crossing, the vehicle is unlikely going to make a U-turn.
Feature extraction unit 444 may be configured to extract features from sensor data 401 and map data 403 that are indicative of a future trajectory of a vehicle. The features extracted may be semantical or non-semantical. Semantical features may include, e.g., the vehicle speed, the lane markings of vehicle lane (indicating a travel restriction of the lane), the status of the traffic light (including the type of light that is on and the color of the light), the vehicle heading direction, vehicle turn signals, vehicle braking signals, etc. Various feature extraction tools may be used, such as image segmentation, object detection, etc. For example, lane markings (e.g., left-turn only arrow, right-turn only arrow, go-straight only arrow, or combination arrows) can be detected from the sensor data based on color and/or contrast information as the markings are usually in white paint and road surface is usually black or gray in color. When color information is available, lane markings can be identified based on their distinct color (e.g., white). When grayscale information is available, lane markings can be identified based on their different shading (e.g., lighter gray) in contrast to the background (e.g., darker gray for regular road pavements). As another example, traffic light signals, vehicle turn signals, and braking signals can be detected by detecting the change (e.g., resulting from blinking, flashing, or color changing) in image pixel intensities. In some embodiments, machine learning techniques may also be applied to extract the feature(s).
Trajectory prediction unit 446 may predict the vehicle trajectory using the extracted features. In some embodiments, trajectory prediction unit 446 may determine a plurality of candidate trajectories, such as candidate trajectories 151-154 for vehicle 130 (shown in
In some embodiments, before applying learning model 405, trajectory prediction unit 446 may first remove one or more candidate trajectories that conflicts with any of the features. For example, if the vehicle is on a lane with right-turn only lane marking, and the vehicle is signaling a right-turn, a left-turn trajectory and a U-turn trajectory may be eliminated since the probably that the vehicle will turn left or make a U-turn under such conditions is substantially low. As another example, if the vehicle is on the left-most lane and signaling a left-turn, but a traffic sign forbids a U-turn, the U-turn trajectory may be eliminated. By removing certain candidate trajectories, trajectory prediction unit 446 simplifies the prediction task and conserves processing power of processor 404.
In some embodiments, trajectory prediction unit 446 may compare the determined probabilities for the respective candidate trajectories with a threshold. If none of the candidate trajectory has a probability exceeding the threshold, trajectory prediction unit 446 may determine that the prediction is not sufficiently reliable and additional “observations” are necessary to improve the prediction. In some embodiments, trajectory prediction unit 446 may determine what additional sensor data can be acquired and generate control signals to be transmitted to sensors 220 and/or 230 for capturing the additional data. For example, it may be determined that the LiDAR should be tilted at a different angle or that the camera should adjust its focal point. The control signal may be provided to sensors 220 and/or 230 via communication interface 402.
Memory 406 and storage 408 may include any appropriate type of mass storage provided to store any type of information that processor 404 may need to operate. Memory 406 and storage 408 may be a volatile or non-volatile, magnetic, semiconductor, tape, optical, removable, non-removable, or other type of storage device or tangible (i.e., non-transitory) computer-readable medium including, but not limited to, a ROM, a flash memory, a dynamic RAM, and a static RAM. Memory 406 and/or storage 408 may be configured to store one or more computer programs that may be executed by processor 404 to perform vehicle trajectory functions disclosed herein. For example, memory 406 and/or storage 408 may be configured to store program(s) that may be executed by processor 404 to predict the vehicle trajectory based on features extracted from the sensor data 401 captured by various sensors 220 and/or 230, and map data 403.
Memory 406 and/or storage 408 may be further configured to store information and data used by processor 404. For instance, memory 406 and/or storage 408 may be configured to store sensor data 401 captured by sensors 220 and/or 230, map data 403 received from 3-D map database 240, and learning model 405. Memory 406 and/or storage 408 may also be configured to store intermediate data generated by processor 404 during feature extraction and trajectory prediction, such as the features, the candidate trajectories, and the calculated probabilities for the candidate trajectories. The various types of data may be stored permanently, removed periodically, or disregarded immediately after each frame of data is processed.
In step S502, server 210 receives a map of the area vehicle 130 is traveling. In some embodiments, server 210 may determine the position of vehicle 120 based on, e.g., the GPS data collected by sensor 360, and identify a map area surrounding the position. If vehicle 130 is also connected with server 210 via a network, server 210 may alternatively identify the map area surrounding the GPS position of vehicle 130. Server 210 may receive the relevant 3-D map data, e.g., map data 403, from 3-D map database 240.
In step S504, server 210 receives the sensor data capturing vehicle 130 and surrounding objects. In some embodiments, the sensor data may be captured by various sensors such as sensors 220 installed along the roads and/or sensors 230 (including, e.g., sensors 340-360) equipped on vehicle 120. The sensor data may include vehicle speed acquired by a speedometer, images (including video images) acquired by cameras, point cloud data acquired by a LiDAR, etc. In some embodiments, the sensor data may be captured over time to track the movement of vehicle 130 and surrounding objects. The sensors may communicate with server 210 via a network to transmit the sensor data, e.g., sensor data 401, continuously, or regularly, or intermittently.
Method 500 proceeds to step S506, where server 210 positions vehicle 130 in the map. In some embodiments, the point cloud data captured of vehicle 130, e.g., by sensor 340, may be matched with map data 403 to determine the vehicle's position in the map. In some embodiments, positioning methods such as SLAM may be used to position vehicle 130. In some embodiments, the positions of vehicle 130 at different time points may be labeled on map data 403 to trace the prior trajectory and moving speed of the vehicle. Labeling of the point cloud data may be performed by server 210 automatically or with human assistance.
In step S508, server 210 identifies other objects surrounding vehicle 130. Features of such objects may provide additional information useful for predicting the trajectory of vehicle 130. For example, these objects may include, e.g., traffic lights 104, traffic signs, lane markings, and other vehicles at cross-road 100, etc. In some embodiments, various image processing methods and machine learning methods may be implemented to identify the objects.
In step S510, server 210 extracts features of vehicle 130 and its surrounding objects from sensor data 401 and map data 403. In some embodiments, the features extracted may include semantical or non-semantical that are indicative of future trajectory of the vehicle. For example, extracted features of vehicle 130 may include, e.g., the vehicle speed, the vehicle heading direction, vehicle turn signals, vehicle braking signals, etc. Extracted features of surrounding objects may include, e.g., the lane markings of vehicle lane (indicating a travel restriction of the lane), the status of the traffic light (including the type of light that is on and the color of the light), and information on the traffic signs. In some embodiments, various feature extraction methods including image processing methods and machine learning methods may be implemented.
In step S512, server 210 determines multiple candidate trajectories for vehicle 130. Candidate trajectories are possible trajectories vehicle 130 may follow. For example, vehicle 130 may follow one of the four candidate trajectories 151-154 (shown in
Method 500 proceeds to step S514 to determine a probability for each candidate trajectory. In some embodiments, server 210 may apply learning model 405 for the prediction. In some embodiments, learning model 405 may be a predictive model, such as a decision tree learning model. For example, learning model 405 may be a Gradient Boosting Decision Tree model. In some embodiments, learning model 405 may be trained using known vehicle trajectories and their respective sample features. In step S514, learning model 405 may be applied to determine a probability for each candidate trajectory based on the extracted features. For example, it may be determined that vehicle 130 has a 10% probability to follow candidate trajectory 151 to make a right-turn, 50% probability to follow candidate trajectory 152 to go straight, 30% probability to follow candidate trajectory 153 to make a left-turn, and 10% probability to follow candidate trajectory 154 to make a U-turn.
In step S516, server 210 may compare the probabilities with a predetermined threshold. In some embodiments, the predetermined threshold may be a percentage higher than 50%, such as 60%, 70%, 80%, or 90%. If no probability is higher than the threshold (S516: No), the prediction may be considered unreliable. In some embodiments, method 500 may return to step S504 to receive additional sensor data to improve the prediction. In some embodiments, server 210 may determine what additional sensor data can be acquired and generate control signals to direct sensors 220 and/or 230 to capture the additional data to be received in step S504.
If at least the highest probability is higher than the threshold (S516: Yes), server 210 may predict the vehicle trajectory in step S518 by selecting the corresponding candidate trajectory from the candidate trajectories. In some embodiments, the candidate trajectory with the highest probability may be identified as the predicted trajectory of the vehicle. For example, candidate trajectory 152 may be selected as the predicted trajectory of vehicle 130 when it has the highest probability.
The prediction result provided by method 500 may be used to aid vehicle controls or driver's driving decisions. For example, an autonomous vehicle may make automated control decisions based on the predicted trajectories of other moving vehicles in order not to collide with them. The prediction may also be used to help alerting a driver to adjust his intended driving path and/or speed to avoid collision. For example, audio alerts such as beeping may be provided.
Another aspect of the disclosure is directed to a non-transitory computer-readable medium storing instructions which, when executed, cause one or more processors to perform the methods, as discussed above. The computer-readable medium may include volatile or non-volatile, magnetic, semiconductor, tape, optical, removable, non-removable, or other types of computer-readable medium or computer-readable storage devices. For example, the computer-readable medium may be the storage device or the memory module having the computer instructions stored thereon, as disclosed. In some embodiments, the computer-readable medium may be a disc or a flash drive having the computer instructions stored thereon.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed system and related methods. Other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the disclosed system and related methods.
It is intended that the specification and examples be considered as exemplary only, with a true scope being indicated by the following claims and their equivalents.
This application is a bypass continuation to PCT Application No. PCT/CN2019/109354, filed Sep. 30, 2019. The present application is also related to PCT Application Nos. PCT/CN2019/109350, PCT/CN2019/109352, and PCT/CN2019/109351, each filed Sep. 30, 2019. The entire contents of all of the above-identified applications are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/109354 | Sep 2019 | US |
Child | 17674787 | US |