Preventive speed reduction planning
By using sensor data and deceleration prevention prediction models on autonomous vehicles to dynamically adjust speed limits, the problem of insufficient safety of traditional speed planning in complex environments is solved and the safety performance of autonomous vehicles is improved.
Patent Information
- Application Number
- CN202011550833.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-27
- Filing Date
- 2020-12-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-12-24
Smart Images

Figure CN113753071B_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 speed planning for an autonomous vehicle (ADV). Background Art
[0002] A vehicle operating in an autonomous mode (e.g., without a driver) can relieve occupants, particularly the driver, of certain driving-related responsibilities. When operating in an autonomous mode, the vehicle can be navigated 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. However, conventional speed planning operations can follow speed limits without considering different driving environments. However, in complex driving environments, the speed limit may need to be lowered, and thus, conventional speed planning operations may not provide sufficient safety precautions. Summary of the invention
[0004] According to one aspect of the present application, a computer-implemented method for operating an autonomous vehicle (ADV) is provided, the method may include:
[0005] sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV;
[0006] a first set of features extracted from the sensor data representing the driving environment, including one or more obstacles moving relative to the ADV;
[0007] generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV;
[0008] In response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; and
[0009] The ADV is controlled to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0010] According to another aspect of the present application, a non-transitory machine-readable medium storing instructions is provided. When the instructions are executed by a processor, the processor performs operations. The operations may include:
[0011] sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV;
[0012] a first set of features extracted from the sensor data representing the driving environment, including one or more obstacles moving relative to the ADV;
[0013] generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV;
[0014] In response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; and
[0015] The ADV is controlled to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0016] According to another aspect of the present application, a data processing system is provided, which may include:
[0017] Processor; and
[0018] sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV;
[0019] a first set of features extracted from the sensor data representing the driving environment, including one or more obstacles moving relative to the ADV;
[0020] generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV;
[0021] In response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; and
[0022] The ADV is controlled to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0023] According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] 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 references indicate similar elements.
[0025] Figure 1 is a block diagram illustrating a networked system according to one embodiment.
[0026] Figure 2 is a block diagram illustrating an example of an autonomous driving vehicle according to one embodiment.
[0027] FIG. 3A to FIG. 3B is a block diagram illustrating an example of an autonomous driving system for use with an autonomous vehicle according to one embodiment.
[0028] Figure 4 is a block diagram illustrating an example of a preventive notification module according to one embodiment.
[0029] Figure 5 An example of training a deceleration prevention prediction model using manual driving under different driving environments is shown.
[0030] Figure 6 is a flow chart illustrating an example of a method for training a deceleration prevention prediction model using manual driving under different driving environments.
[0031] Figure 7 is a flow chart illustrating an example of a method of performing a preventive deceleration.
[0032] Figure 8 is a flow chart illustrating an example of a method of performing a preventive deceleration. DETAILED DESCRIPTION
[0033] Various embodiments and aspects of the present disclosure will be described with reference to the details discussed below, and the accompanying drawings will illustrate various embodiments. The following description and the accompanying drawings are examples of the present disclosure and should not be construed as limiting the present disclosure. Many specific details are described to provide a thorough understanding of various embodiments of the present disclosure. However, in some cases, in order to provide a concise discussion of embodiments of the present disclosure, known or conventional details are not described.
[0034] Reference to "one embodiment" or "an embodiment" in the specification means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The phrase "in one embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment.
[0035] According to some embodiments, a method for an ADV to perform preventive deceleration in a complex driving environment is provided. The preventive notification module may be a separate module running in parallel with the planning module of the ADV. The preventive notification module may use a preventive deceleration prediction model to predict whether preventive deceleration should be performed. A first set of features representing the driving environment (e.g., obstacle relative speed, etc.) and a second set of features based on internal states (e.g., CPU usage, planning / control module running time, etc.) may be input into the preventive deceleration prediction model. The preventive deceleration prediction model may generate an output value to indicate whether preventive deceleration should be performed. The preventive notification module may generate a preventive notification based on the output value of the preventive deceleration prediction model. The preventive notification module may broadcast preventive notifications in the autonomous driving system (ADS) of the ADV. The planning module may receive the preventive notification and set the current speed limit to a predetermined percentage of the original speed limit to perform preventive deceleration. The preventive deceleration prediction model may be pre-trained using a deep neural network (DNN) based on a first set of features and a second set of features of driving data from previous manual driving.
[0036] According to some embodiments, a driving environment is sensed based on sensor data obtained from a plurality of sensors mounted on the ADV. A first set of features is extracted from the sensor data representing the driving environment, wherein the first set of features includes one or more obstacles moving relative to the ADV. A preventive notification is generated by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV. In response to the preventive notification, speed planning is performed to reduce a speed limit of the ADV to a predetermined percentage of the speed limit. The ADV is controlled to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0037] Figure 1 is a block diagram showing an autonomous driving network configuration according to one embodiment of the present disclosure. Figure 1 , network configuration 100 includes an autonomous driving vehicle (ADV) 101, which can be communicatively connected to one or more servers 103-104 via a network 102. Although one ADV is shown, multiple ADVs can be connected to each other and / or to servers 103-104 via network 102. Network 102 can be any type of wired or wireless network, such as a 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-104 can be any type of server or server cluster, such as a web server or cloud server, an application server, a back-end server, or a combination thereof. Servers 103-104 can be data analysis servers, content servers, traffic information servers, maps and points of interest (MPOI) servers, or location servers, etc.
[0038] An ADV refers to a vehicle that can be configured to be in an automated mode in which the vehicle navigates through an environment with little or no input from a driver. Such an ADV may include a sensor system having one or more sensors configured to detect information about the environment in which the vehicle is operating. The vehicle and its associated one or more controllers use the detected information to navigate through the environment. The ADV 101 may operate in a manual mode, a fully automated mode, or a partially automated mode.
[0039] In one embodiment, ADV 101 includes, but is not limited to, an automated driving system (ADS) 110, a vehicle control system 111, a wireless communication system 112, a user interface system 113, and a sensor system 115. ADV 101 may also include certain common components included in a common vehicle, such as an engine, wheels, a steering wheel, a transmission, etc., which may be controlled by the vehicle control system 111 and / or ADS 110 using various communication signals and / or commands, such as acceleration signals or commands, deceleration signals or commands, steering signals or commands, brake signals or commands, etc.
[0040] Components 110 to 115 may be communicatively coupled to one another via an interconnect, a bus, a network, or a combination thereof. For example, components 110 to 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 one another in applications without a host computer. The CAN bus is a message-based protocol originally designed for multi-way electrical wiring within an automobile, but is also used in many other environments.
[0041] 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 that is operable to provide information about the position of the autonomous vehicle. The IMU unit 213 may sense the position and direction changes of the ADV 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 ADV. In some embodiments, in addition to sensing objects, the radar unit 214 may also sense the speed and / or heading of the object. The laser radar unit 215 may use lasers to sense objects in the environment in which the autonomous vehicle is located. The LIDAR 215 may include one or more laser sources, a laser scanner, and one or more detectors, as well as other system components. The camera 211 may include one or more devices for capturing images of the autonomous ADV. The camera 211 may be a static camera and / or a video camera. For example, by mounting the camera on a rotating and / or tilting platform, the camera may be mechanically movable.
[0042] 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 capture sound from the environment around the ADV. 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.
[0043] 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 heading 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, thereby slowing down the wheels or tires of the vehicle. Note that, as Figure 2 The components shown may be implemented in hardware, software or a combination thereof.
[0044] Refer to Figure 6, the wireless communication system 112 allows communication between the ADV 101 and external systems, such as devices, sensors, other vehicles, etc. For example, the wireless communication system 112 can communicate wirelessly with one or more devices directly or via a communication network, such as communicating with the servers 103-104 through the network. The wireless communication system 112 can use any cellular communication network or wireless local area network (WLAN), such as 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 within the vehicle 101) using, for example, an infrared link, Bluetooth, etc. The user interface system 113 can be part of a peripheral device implemented within the vehicle 101, including, for example, a keyboard, a touch screen display device, a microphone, and a speaker.
[0045] Some or all functions of the autonomous vehicle 101 may be controlled or managed by the ADS 110, particularly when operating in an autonomous mode. The ADS 110 includes the hardware (e.g., one or more processors, memory, storage) and software (e.g., operating system, planning and routing programs) necessary 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 ADS 110 may be integrated with the vehicle control system 111.
[0046] For example, a user as a passenger may specify a starting location and a destination for a trip, for example, via a user interface. ADS 110 obtains trip-related data. For example, ADS 110 may obtain location and route data from an MPOI server, which may be part of servers 103-104. The location server provides location services, and the MPOI server provides map services and POIs for specific locations. Alternatively, such location and MPOI information may be cached locally in a permanent storage device of ADS 110.
[0047] When ADV 101 moves along the route, ADS 110 may also obtain real-time traffic information from a traffic information system or server (TIS). Note that servers 103-104 may be operated by a third-party entity. Alternatively, the functionality of servers 103-104 may be integrated with ADS 110. Based on real-time traffic information, MPOI information and location information detected or sensed by sensor system 115, and real-time local environmental data (e.g., obstacles, objects, nearby vehicles), ADS 110 may, for example, plan the best route according to the planned route via control system 111 and drive vehicle 101, so as to reach the designated destination safely and efficiently.
[0048] The server 103 may be a data analysis system that performs 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 a variety of vehicles, which may be ADVs or conventional vehicles driven by human drivers. The driving statistics 123 include information indicating the driving commands (e.g., throttle, brake, steering commands) and responses (e.g., speed, acceleration, deceleration, direction) of the vehicle captured by the vehicle's sensors at different points in time. 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), MPOIs, road conditions, weather conditions, etc.
[0049] Based on the driving statistics 123, the machine learning engine 122 generates or trains a set of rules, algorithms, and / or prediction models 124 for various purposes. In one embodiment, the algorithms 124 may include an algorithm or model that perceives the driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV; an algorithm or model that extracts a first set of features from the sensor data representing the driving environment, wherein the first set of features includes one or more obstacles moving relative to the ADV; an algorithm or model that generates a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV; an algorithm or model that performs speed planning to reduce the speed limit of the ADV to a predetermined percentage of the speed limit in response to the preventive notification; and / or an algorithm or model that controls the ADV to autonomously drive according to the reduced speed limit to perform preventive deceleration, as will be described in further detail below. The algorithms 124 may then be uploaded to the ADV for real-time utilization during autonomous driving.
[0050] Figure 3A and Figure 3B is a block diagram illustrating an example of an automated driving system for use with an ADV according to one embodiment. System 300 may be implemented as Figure 1 The ADV 101 includes, but is not limited to, the ADS 110, the control system 111, and the sensor system 115. FIG. 3A to FIG. 3B The ADS 110 includes but is not limited to a positioning module 301 , a perception module 302 , a prediction module 303 , a determination module 304 , a planning module 305 , a control module 306 , a route module 307 and a prevention notification module 308 . In one embodiment, the ADS 110 may include a prevention deceleration prediction model 314 .
[0051] Some or all of the modules 301 to 308 may be implemented in software, hardware, or a combination thereof. For example, these modules may be installed in permanent storage device 352, loaded into memory 351, and executed by one or more processors (not shown). Note that some or all of these modules may be communicatively coupled to Figure 2 Some or all modules of the vehicle control system 111 or Figure 2 Some or all modules of the vehicle control system 111 are integrated. Some of the modules 301 to 308 can be integrated together as an integrated module.
[0052] The positioning module 301 determines the current location of the ADV 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 the user interface and specify the starting location and destination of the trip. The positioning module 301 communicates with other components of the ADV 300, such as map and route data 311, to obtain trip-related data. For example, the positioning module 301 can obtain location and route data 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 specific locations, which can be cached as part of the map and route data 311. When the ADV 300 moves along the route, the positioning module 301 can also obtain real-time traffic information from a traffic information system or server.
[0053] Based on the sensor data provided by the sensor system 115 and the positioning information obtained by the positioning module 301, the perception of the surrounding environment is determined by the perception module 302. The perception information may represent what an average driver would perceive around the vehicle that the driver is driving. The perception may include lane configuration, traffic light signals, the relative position of another vehicle, pedestrians, buildings, sidewalks, or other traffic-related signs (e.g., stop signs, give way signs), etc., for example, in the form of objects. The lane configuration includes information describing one or more lanes, such as the shape of the lane (e.g., straight or curvature), the width of the lane, how many lanes there are in the road, one-way or two-way lanes, merging or splitting lanes, exit lanes, etc.
[0054] 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 in order to identify objects and / or features in the environment of the ADV. Objects may include traffic signals, road boundaries, other vehicles, pedestrians, and / or obstacles, etc. The computer vision system may use object recognition algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system may map the environment, track objects, and estimate the speed of objects, etc. The perception module 302 may also detect objects based on other sensor data provided by other sensors such as radar and / or LIDAR.
[0055] For each object, the prediction module 303 predicts the behavior that the object will exhibit in the environment. The prediction is performed based on the perception data of the driving environment at the time point 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 is likely to move directly forward or turn. If the perception data indicates that there is no traffic light at the intersection, the prediction module 303 may predict that the vehicle may have to come to a complete stop before entering the intersection. If the perception data indicates that the vehicle is currently in a left turn lane or a right turn lane, the prediction module 303 may predict that the vehicle will be more likely to make a left turn or a right turn, respectively.
[0056] For each object, the decision module 304 makes a decision about how to handle the object. For example, for a particular object (e.g., another vehicle in an intersection) and its metadata describing the object (e.g., speed, direction, steering angle), the decision module 304 determines how to encounter the object (e.g., overtake, yield, stop, pass). The decision module 304 may make such decisions based on a set of rules, such as traffic rules or driving rules 312, which may be stored in the persistent storage device 352.
[0057] The route 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 position to the destination position, for example, received from a user, the route module 307 obtains route and map information 311 and determines all possible routes or paths from the starting position to the destination position. The route module 307 can generate a reference route in the form of a topographic map for each route it determines to reach the destination position from the starting position. The reference route refers to an ideal route or path without any interference from 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 route. Then, the topographic map is provided to the decision module 304 and / or the planning module 305. The decision module 304 and / or the planning module 305 examine all possible routes, thereby selecting and modifying one of the best routes taking into account 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 actual path or route used to control the ADV may be close to or different from the reference route provided by the route module 307 , depending on the particular driving circumstances at that point in time.
[0058] Based on the determination of each of the perceived objects, the planning module 305 uses the reference route provided by the route module 307 as a basis to plan the path or route of the ADV and driving parameters (e.g., distance, speed, and / or steering angle). That is, for a given object, the determination module 304 determines what to do with the object, and the planning module 305 determines how to do it. For example, for a given object, the determination module 304 may determine to pass through the object, and the planning module 305 may determine whether to pass through the object on the left or right. Planning and control data are 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 indicate that the vehicle 300 moves 10 meters at a speed of 30 miles per hour (mph) and then changes to the right lane at a speed of 25mph.
[0059] Based on the planning and control data, the control module 306 controls and drives the ADV 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, steering commands) at different points in time along the route or path.
[0060] In one embodiment, the planning phase is performed in multiple planning cycles, also referred to as driving cycles, for example, in each time interval of 100 milliseconds (ms). For each planning cycle or driving cycle, one or more control commands will be issued based on the planning and control data. That is, for every 100ms, the planning module 305 plans the next route segment or path segment, for example, including the target position and the time required for the ADV to reach the target position. Alternatively, the planning module 305 can also specify a specific speed, direction and / or steering angle, etc. In one embodiment, the planning module 305 plans the route segment or path segment for the next predetermined time period such as 5 seconds. For each planning cycle, the planning module 305 plans the target position of the current cycle (for example, 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 (for example, throttle, brake, steering control commands) based on the planning and control data of the current cycle.
[0061] Note that the determination module 304 and the planning module 305 can be integrated into an integrated module. The determination module 304 / planning module 305 can include a navigation system or a function of a navigation system to determine a driving path for the ADV. For example, the navigation system can determine a series of speeds and direction headings to achieve the movement of the ADV along a path that substantially avoids perceived obstacles while allowing the ADV to advance roughly along a road-based path to the 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 ADV is running. The navigation system can combine data from a GPS system and one or more maps to determine a driving path for the ADV.
[0062] Figure 4 4 is a block diagram 400 illustrating an example of a precautionary notification module 308 according to one embodiment. During human driving, precautionary deceleration may be performed in complex driving environments, such as heavy traffic conditions, crowded neighborhoods, large curvatures of the road, short distances to stop signs, etc. For safety reasons, it may be advantageous to perform precautionary deceleration in complex driving environments. Therefore, it may be desirable to develop a method / system for an ADV with an automated driving system (ADS) to automatically perform precautionary deceleration in complex driving environments.
[0063] The ADV may be configured with a preventive notification module 308 to determine or predict whether a preventive deceleration should be performed. The preventive notification module 308 may be configured to work with the planning module 305 to perform preventive deceleration. However, for performance considerations (if the preventive notification module is placed in the planning line, the end-to-end time will increase), the preventive notification module 308 may be configured as an additional module that runs in parallel with the planning module 305. Otherwise, if the preventive notification module 308 is placed in the planning line, the end-to-end planning time may increase.
[0064] Reference Figure 4 , the preventive notification module includes but is not limited to an extraction module 401, a determination module 402, a notification generator 403, and a broadcast module 404, which together use a preventive deceleration prediction algorithm or model 314 to determine or predict whether a preventive deceleration should be performed. Note that the modules 401-404 can be integrated into a smaller number of modules or a single module.
[0065] According to one embodiment, the perception module 302 may perceive the driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV. The extraction module 401 may be configured to extract a first set of features from the sensor data representing the driving environment, wherein the first set of features may include one or more obstacles moving relative to the ADV. The determination module 402 may be configured to determine whether to generate a prevention notification based on an output value of a prevention deceleration prediction model in a corresponding planning cycle. The notification generator 403 may be configured to generate a prevention notification by applying the prevention deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV.
[0066] The determination module 402 may also be configured to determine whether to broadcast a preventive notification in an automated driving system (ADS) of the ADV in a corresponding planning period. The determination module 402 may also be configured to determine whether to broadcast the preventive notification in the ADS in a corresponding planning period based on whether the preventive notification is stable. In response to the preventive notification received from the ADS of the ADV, the planning module 305 may be configured to perform speed planning to reduce the speed limit of the ADV to a predetermined percentage of the speed limit. The control module 306 may be configured to control the ADV to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0067] The preventive deceleration prediction model 314 may be pre-trained using a deep neural network (DNN) based on a first set of features and a second set of features to predict or determine whether preventive deceleration should be performed, wherein the first set of features and the second set of features are from previous driving data with manual driving.
[0068] Figure 55 is a diagram showing an example of training a preventive deceleration prediction model using manual driving under different driving environments. The preventive deceleration prediction model can be trained offline using a deep neural network (DNN) to predict or determine whether preventive deceleration should be performed based on a first set of features and a second set of features, the first set of features and the second set of features being from previous driving data with manual driving.
[0069] The first set of features and the second set of features may be input values of a preventive deceleration prediction model. The preventive deceleration prediction model may generate an output value of "true" or "false" to indicate whether preventive deceleration should be performed. The preventive deceleration prediction model may be trained offline using a DNN. A DNN is an artificial neural network (ANN) with multiple layers between the input layer and the output layer. The DNN finds the correct mathematical operation to convert the input into the output, whether it is a linear relationship or a nonlinear relationship. The network moves through layers that calculate the probability of each output.
[0070] In offline training, previous driving data of manual driving in different environments may be collected for training the preventive deceleration prediction model. For example, during manual driving, the automatic driving system (ADS) of the ADV 501 may be turned on but not engaged. A route may be assigned in the ADS of the ADV, and the driver may drive the ADV following the given route.
[0071] A first set of features may be extracted from sensor data representing the driving environment. The first set of features may include a plurality of or a certain amount of obstacles in a set of relative distance ranges from the ADV, respectively. For example, the set of relative distance ranges may include a relative distance range of 60 meters, 30 meters, or 10 meters. Obstacles may include vehicles, pedestrians, motorcycles, bicycles, animals, or static obstacles. For example, the first set of features may include the number or quantity of vehicles within a relative distance range of 60 meters, 30 meters, or 10 meters, and / or the number or quantity of pedestrians within a relative distance range of 60 meters, 30 meters, or 10 meters.
[0072] The first set of features may include the distance to the ADV, the relative speed and the absolute speed of each of the predetermined number of nearest obstacles to the ADV. For example, the first set of features may include the distance to the ADV 501 for each of the five nearest obstacles (e.g., 502, 503, 504, 505, 506), the relative speed and the absolute speed of each of the five nearest obstacles (e.g., 502, 503, 504, 505, 506) to the ADV.
[0073] The first set of features may include the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, and / or the percentage of the current speed relative to the speed limit. For example, the first set of features may be the speed of the ADV, the acceleration, the current road curvature, and / or the percentage of the current speed / speed limit.
[0074] The first set of features may also include traffic light information about the current route and the distance to the stop line. The second set of features may be determined based on the internal state of the ADV. The second set of features may include central processing unit (CPU) usage, or planning / perception / prediction run time in the most recent cycle. CPU usage may be a comprehensive measure that reflects how complex the current driving environment is. The second set of features may be important features for predicting or determining whether preventive deceleration should be performed.
[0075] If the current vehicle ADV 501 has a speed below a predetermined percentage of the road speed limit, there may be a preventive deceleration. However, only a lower speed may not be a sufficient indication for preventive deceleration. For example, the ADV may have just started driving. If the ADV 501 has a speed below a predetermined percentage of the speed limit, and the ADV 501 does not accelerate at least at a predetermined acceleration threshold, preventive deceleration may be performed by the driver in a complex driving environment. Thus, the label "true" may be assigned to the output value of the preventive deceleration prediction model. The label "true" or the output value "true" may indicate that preventive deceleration should be performed. Otherwise, the label "false" may be assigned to the output value of the model. The label "false" or the output value "false" may indicate that preventive deceleration should not be performed. The predetermined percentage may be 40%, 50%, 60%, 70%, 80%, or any value therebetween. For example, the predetermined percentage may be 60%. The predetermined acceleration threshold may be 0.2, 0.3, 0.4 m / s 2 For example, the predetermined acceleration threshold may be 0.3 m / s 2 .
[0076] Previous driving data with manual driving may be collected from a large number of samples of the ADV. However, sometimes, some samples of the ADV may be unstable. For example, output values or flags in some samples may change within a predetermined duration, such as 5 minutes, which may indicate that the samples may not be stable. Unstable data may be removed from the samples. Thus, only data from stable samples may be saved.
[0077] The DNN with the first and second sets of features and output values (labels) can be used to train the deceleration prevention prediction model offline. After training, the deceleration prevention prediction model can be used online based on the first and second sets of features to generate output values to predict or determine whether deceleration prevention should be performed.
[0078] Figure 6 1 is a flowchart showing an example of a method for training a preventive deceleration prediction model using manual driving. By this method, a preventive deceleration prediction model can be trained offline with a DNN based on a first set of features and a second set of features from driving data of previous manual driving to predict or determine whether a preventive deceleration should be performed.
[0079] In block 601, previous driving data of manual driving in different environments may be collected for training a deceleration prevention prediction model. For example, during manual driving, an automated driving system (ADS) of an ADV (e.g., 501) may be turned on but not engaged. A route may be assigned in the ADS of the ADV, and the driver may drive the ADV following the given route.
[0080] A first set of features may be extracted from sensor data representing the driving environment. The first set of features may include a plurality of or a certain amount of obstacles in a set of relative distance ranges from the ADV, respectively. For example, the set of relative distance ranges may include a relative distance range of 60 meters, 30 meters, or 10 meters. Obstacles may include vehicles, pedestrians, motorcycles, bicycles, animals, or static obstacles. For example, the first set of features may include the number or quantity of vehicles within a relative distance range of 60 meters, 30 meters, or 10 meters, and / or the number or quantity of pedestrians within a relative distance range of 60 meters, 30 meters, or 10 meters.
[0081] The first set of features may include the distance to the ADV, the relative speed and absolute speed of each of a predetermined number of nearest obstacles to the ADV. For example, the first set of features may include the distance to the ADV 501 for each of the five nearest obstacles (e.g., 502, 503, 504, 505, 506), the relative speed and absolute speed of each of the five nearest obstacles (e.g., 502, 503, 504, 505, 506) to the ADV. The first set of features may include the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, and / or the percentage of the current speed relative to the speed limit. For example, the first set of features may be the speed of the ADV, the acceleration, the current road curvature, and / or the percentage of the current speed / speed limit.
[0082] A second set of features may be determined based on the internal state of the ADV. The second set of features may include central processing unit (CPU) usage, or planning / perception / prediction run time in the most recent cycle. CPU usage may be a comprehensive measure that reflects how complex the current driving environment is. The second set of features may be important features for predicting or determining whether preventive deceleration should be performed.
[0083] The first set of features and the second set of features may be input values of a preventive deceleration prediction model. The preventive deceleration prediction model may generate an output value of "true" or "false" to indicate whether a preventive deceleration should be performed.
[0084] In box 602, the output value of the preventive deceleration prediction model can be determined based on whether the ADV has a speed below a predetermined percentage of the speed limit and the ADV does not accelerate at a predetermined acceleration threshold. If the ADV 501 has a speed below a predetermined percentage of the speed limit and the ADV 501 does not accelerate at least at the predetermined acceleration threshold, the label "true" can be assigned to the output value of the preventive deceleration prediction model. The label "true" or the output value "true" can indicate that preventive deceleration should be performed. Otherwise, the label "false" can be assigned to the output value of the model. The label "false" or the output value "false" can indicate that preventive deceleration should not be performed. The predetermined percentage can be 40%, 50%, 60%, 70%, 80%, or any value therebetween. For example, the predetermined percentage can be 60%. The predetermined acceleration threshold can be 0.2, 0.3, 0.4 m / s 2 For example, the predetermined acceleration threshold may be 0.3 m / s 2 .
[0085] At block 603, data from non-stable samples may be removed. Previous driving data with manual driving may be collected from a large number of samples of the ADV. However, some samples of the ADV may not be stable. For example, output values or flags in some samples may change within a predetermined duration, such as 5 minutes, which may indicate that the sample may not be stable. Data from non-stable samples may be removed. Thus, only data from stable samples may be saved.
[0086] The DNN with the first and second sets of features and output values (labels) can be used to train the deceleration prevention prediction model. After training, the deceleration prevention prediction model can be used online based on the first and second sets of features to generate output values to predict or determine whether deceleration prevention should be performed.
[0087] Figure 7 700 is a flow chart showing an example of a method for performing preventive deceleration of an ADV. The method described herein provides preventive deceleration speed planning guided by manual driving data. In the method, in a complex driving environment, the ADV can automatically perform preventive deceleration guided by manual driving data, thereby improving the safety performance of the ADV in a complex driving environment.
[0088] Reference Figure 4 and Figure 7The ADV may be configured with a preventive notification module 308, which is a separate module that runs in its own thread and in parallel with the planning module 305 of the ADV. Based on the current driving environment and the internal state of the ADV, the preventive notification module 308 may be configured to call the preventive deceleration prediction model 314 to determine or predict whether a preventive deceleration should be performed. The preventive notification module 308 may only need to run at a lower frequency than the planning module 305, for example, to save computing power. In one embodiment, the preventive notification module 308 may only need to run at 1 Hz.
[0089] In box 701, for example, the driving environment can be perceived by the perception module 302 based on sensor data obtained from multiple sensors installed on the ADV. In box 702, a first set of features can be extracted from the sensor data representing the driving environment, for example, by the extraction module 401. The first set of features may include one or more obstacles moving relative to the ADV. In one embodiment, the first set of features may include the number of one or more obstacles within a relative distance range from the ADV, the distance from the ADV, the relative speed and absolute speed of each obstacle of a predetermined number of nearest obstacles to the ADV, the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, and / or the percentage of the current speed relative to the speed limit, traffic light information or the distance to the stop line, etc.
[0090] At box 703, a second set of features may be determined, for example, by the determination module 402 based on the internal state of the ADV. In one embodiment, the second set of features may include central processing unit (CPU) usage, or planning and control runtime in a planning cycle. At box 704, whether to generate a preventive notification may be determined, for example, by the determination module 402 based on the output value of the preventive deceleration prediction model 314 in the corresponding planning cycle. The preventive notification module 308 may be configured to call the preventive deceleration prediction model 314. The preventive deceleration prediction model 314 may have been previously trained with a DNN to generate an output value based on the first set of features and the second set of features to indicate whether preventive deceleration should be performed. In one embodiment, an output value of "true" may indicate that preventive deceleration should be performed, while an output value of "false" may indicate that preventive deceleration should not be performed.
[0091] At block 705, a preventive notification may be generated, for example, by the notification generator 403. As described above, the preventive notification may be generated by applying the preventive deceleration prediction model 314 to the first set of features and the second set of features determined based on the internal state of the ADV. The preventive notification may be based on the output value of the preventive deceleration prediction model 314 in the corresponding planning period. The preventive notification may have a value of "true" in response to the output value of the preventive deceleration prediction model 314 being "true"; the preventive notification may have a value of "false" in response to the output value of the preventive deceleration prediction model 314 being "false". A preventive notification having a value of "true" may indicate that preventive deceleration should be performed; a preventive notification having a value of "false" may indicate that preventive deceleration should not be performed.
[0092] At block 706, a determination may be made by the determination module 402 whether to broadcast a preventive notification in the automated driving system (ADS) of the ADV in the corresponding planning period. Note that the generated preventive notification may be unstable. For example, the output value of the preventive deceleration prediction model 314 may change and be inconsistent in the planning period. In one embodiment, a determination is made whether to broadcast a preventive notification in the ADS in the corresponding planning period based on whether the preventive notification is stable.
[0093] In one embodiment, whether the prevention notification is stable is based on whether the output value of the prevention deceleration prediction model is consistent in a predetermined number of the last planning cycles. When the output value of the prevention deceleration prediction model 314 is consistent in the predetermined number of the last planning cycles, the prevention notification is stable; when the output value of the prevention deceleration prediction model 314 is inconsistent in the predetermined number of the last planning cycles, the prevention notification is unstable. The predetermined number may be 3, 4, 5, 8, 10 or any value therebetween. For example, the predetermined number may be 5, and thus, when the output value of the prevention deceleration prediction model 314 is consistent in the last 5 planning cycles of, for example, 5 seconds, the prevention notification is stable. Otherwise, the prevention notification is unstable.
[0094] When the prevention notification is stable, the prevention notification generated in the corresponding planning cycle may be broadcast. When the prevention notification is unstable, the prevention notification generated in the corresponding planning cycle may not be broadcast. In one embodiment, old information from a previous planning cycle may be broadcast. For example, when the output value of the prevention deceleration prediction model 314 is inconsistent in the last 5 planning cycles, the previous prevention notification broadcast in the previous planning cycle may be broadcast again.
[0095] At box 707, based on the precautionary notification being stable, the precautionary notification may be broadcasted in the ADS, for example, by the broadcast module 404, in the corresponding planning cycle. At box 708, in response to the precautionary notification received from the ADS of the ADV, speed planning may be performed, for example, by the planning module 305, to reduce the speed limit of the ADV to a predetermined percentage of the speed limit. The predetermined percentage may be 30%, 40%, 50%, 60%, 70%, 80%, 90%, or any value therebetween. For example, the predetermined percentage may be 60%. At box 709, the ADV may be controlled, for example, by the control module 306, to automatically drive according to the reduced speed limit, thereby performing a precautionary deceleration.
[0096] Figure 8 800 is a flow chart showing a process of performing preventive deceleration of an ADV. Process 800 may be performed by processing logic that may include software, hardware, or a combination thereof. For example, process 800 may be performed by perception module 302, preventive notification module 308, planning module 305, and control module 306. Process 800 provides preventive deceleration speed planning guided by manual driving data. In this process, in a complex driving environment, the ADV may automatically perform preventive deceleration guided by manual driving data, thereby improving the safety performance of the ADV in a complex driving environment.
[0097] Reference Figure 8 In operation 801, the processing logic senses the driving environment around the ADV based on sensor data obtained from various sensors (e.g., LIDAR, RADAR, camera) installed on the ADV, thereby generating perception data describing the driving environment.
[0098] In operation 802 , processing logic extracts a first set of features from sensor data representing a driving environment, including one or more obstacles moving relative to an ADV.
[0099] In operation 803 , processing logic generates a preventive notification by applying a preventive deceleration prediction model to a first set of features and a second set of features determined based on an internal state of the ADV.
[0100] In one embodiment, the processing logic may also determine whether to generate a prevention notification based on an output value of a prevention deceleration prediction model in a corresponding planning period.
[0101] In one embodiment, the processing logic may also determine whether to broadcast a precautionary notification in an automated driving system (ADS) of the ADV during a corresponding planning period.
[0102] In one embodiment, whether to broadcast the prevention notification in the ADS in the corresponding planning period is based on whether the prevention notification is stable.
[0103] In one embodiment, whether the prevention notification is stable is based on whether the output value of the prevention deceleration prediction model is consistent in a predetermined number of last planning cycles.
[0104] In one embodiment, the processing logic may also determine to broadcast the precautionary notification in the ADS in a corresponding planning period based on the precautionary notification being stable.
[0105] In one embodiment, a first set of features from sensor data representative of the driving environment includes the number of one or more obstacles within a set of relative distance ranges from the ADV, the distance from the ADV, the relative speed and absolute speed of each of a predetermined number of nearest obstacles relative to the ADV, the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, and / or a percentage of the current speed relative to the speed limit, traffic light information, or the distance to a stop line.
[0106] In one embodiment, the second set of features determined based on the internal state of the ADV includes central processing unit (CPU) usage, or planning and control runtime in a planning cycle.
[0107] In one embodiment, a preventive deceleration prediction model is pre-trained using a DNN based on a first set of features and a second set of features from previous manual driving data to predict whether a preventive deceleration should be performed.
[0108] In response to the precautionary notification, processing logic performs speed planning to reduce the speed limit of the ADV to a predetermined percentage of the speed limit in operation 804. In one embodiment, processing logic may further determine to perform speed planning to steadily reduce the speed limit of the ADV to a predetermined percentage of the speed limit based on the precautionary notification.
[0109] In operation 805 , processing logic controls the ADV to automatically drive according to the reduced speed limit to perform preventive deceleration.
[0110] Note that some or all of the components shown and described above may be implemented in software, hardware, or a combination thereof. For example, such components may be implemented as software installed and stored in a permanent storage device, which may be loaded into a memory by a processor (not shown) and executed in the memory to implement the processes or operations described throughout this application. Alternatively, such components may 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 may be accessed via a corresponding driving program and / or operating system from an application. In addition, such components may be implemented as specific hardware logic in a processor or processor core as part of an instruction set that can be accessed by a software component through one or more specific instructions.
[0111] 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.
[0112] 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 devices, transmission or display devices.
[0113] 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).
[0114] The processes or methods depicted in the foregoing figures may be performed by processing logic including hardware (e.g., circuitry, dedicated logic, etc.), software (e.g., embodied on a non-transitory computer-readable medium), or a combination of both. Although the processes or methods are described above in terms of some sequential operations, it should be understood that some of the operations may be performed in a different order. In addition, some operations may be performed in parallel rather than sequentially.
[0115] The embodiments of the present disclosure are not described with reference to any particular programming language. It should 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.
[0116] In the above description, embodiments of the present invention have been described with reference to specific exemplary embodiments of the present invention. It will be apparent that various modifications may be made to the present invention without departing from the broader spirit and scope of the present invention as set forth in the appended claims. Therefore, this specification and the accompanying drawings should be understood in an illustrative rather than a restrictive sense.
Claims
1. A computer-implemented method for operating an automated driving vehicle (ADV), the method comprising: sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV; extracting a first set of features from the sensor data representing the driving environment, the driving environment including one or more obstacles moving relative to the ADV; generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV; in response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; as well as controlling the ADV automatic driving to perform preventive deceleration according to the reduced speed limit; The next route segment or path segment of the ADV is planned within a planning cycle, and whether to generate the prevention notification is determined based on an output value of the prevention deceleration prediction model in the corresponding planning cycle.
2. The method of claim 1, further comprising: Determining whether to broadcast the precautionary notification in an automated driving system ADS of the ADV in a corresponding planning period.
3. The method of claim 2, wherein: Determining whether to broadcast the precautionary notification in the ADS in the corresponding planning period is based on whether the precautionary notification is stable.
4. The method of claim 3, wherein: Whether the prevention notification is stable is based on whether the output value of the prevention deceleration prediction model is consistent in a predetermined number of last planning cycles.
5. The method of claim 3, further comprising: Based on the precautionary notification being stable, determining to broadcast the precautionary notification in the ADS in the corresponding planning period, wherein performing speed planning to reduce the speed limit of the ADV to the predetermined percentage of the speed limit is also based on the precautionary notification being stable.
6. The method of claim 1, wherein: The first set of features from the sensor data representing the driving environment includes at least one of the following: the amount of one or more obstacles within a set of relative distance ranges from the ADV, respectively; the distance from the ADV, the absolute speed for each of a predetermined number of nearest obstacles and the relative speed relative to the ADV, the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, the percentage of the current speed relative to the speed limit, traffic light information, or the distance to a stop line.
7. The method of claim 1, wherein: The second set of features determined based on the internal state of the ADV includes central processing unit CPU usage, or planning and control runtime in a planning cycle.
8. The method of claim 1, wherein: The preventive deceleration prediction model was previously trained using a deep neural network (DNN) to predict whether preventive deceleration should be performed based on the first set of features and the second set of features, the first set of features and the second set of features being from driving data of previous manual driving.
9. A non-transitory machine-readable medium storing instructions, which when executed by a processor causes the processor to perform operations comprising: sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV; extracting a first set of features from the sensor data representing the driving environment, the driving environment including one or more obstacles moving relative to the ADV; generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV; in response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; as well as controlling the ADV automatic driving to perform preventive deceleration according to the reduced speed limit; The next route segment or path segment of the ADV is planned within a planning cycle, and whether to generate the prevention notification is determined based on an output value of the prevention deceleration prediction model in the corresponding planning cycle.
10. The medium of claim 9, wherein: The operation further includes determining whether to broadcast the preventive notification in an automated driving system (ADS) of the ADV in a corresponding planning period.
11. The medium of claim 10, wherein: Determining whether to broadcast the prevention notification in the ADS in the corresponding planning period is based on whether the prevention notification is stable, and wherein whether the prevention notification is stable is based on whether an output value of the prevention deceleration prediction model is consistent in a predetermined number of last planning periods.
12. The medium of claim 10, wherein: The operations further include determining to broadcast the precautionary notification in the ADS in the corresponding planning period based on the precautionary notification being stable, wherein performing speed planning to reduce the speed limit of the ADV to the predetermined percentage of the speed limit is further based on the precautionary notification being stable.
13. The medium of claim 9, wherein: The first set of features from the sensor data representing the driving environment includes at least one of the following: the amount of one or more obstacles within a set of relative distance ranges from the ADV; the distance from the ADV, the absolute speed for each of a predetermined number of nearest obstacles and the relative speed relative to the ADV, the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, the percentage of the current speed relative to the speed limit, traffic light information, or the distance to a stop line, and wherein the second set of features determined based on the internal state of the ADV includes: central processing unit CPU usage, or planning and control runtime in a planning cycle.
14. The medium of claim 9, wherein: The preventive deceleration prediction model was previously trained using a deep neural network (DNN) to predict whether preventive deceleration should be performed based on the first set of features and the second set of features, the first set of features and the second set of features being from driving data of previous manual driving.
15. A data processing system comprising: processor; as well as sensing a driving environment based on sensor data obtained from a plurality of sensors mounted on the ADV; extracting a first set of features from the sensor data representing the driving environment, the driving environment including one or more obstacles moving relative to the ADV; generating a preventive notification by applying a preventive deceleration prediction model to the first set of features and a second set of features determined based on an internal state of the ADV; in response to the precautionary notification, performing speed planning to reduce a speed limit of the ADV to a predetermined percentage of the speed limit; as well as controlling the ADV automatic driving to perform preventive deceleration according to the reduced speed limit; The next route segment or path segment of the ADV is planned within a planning cycle, and whether to generate the prevention notification is determined based on an output value of the prevention deceleration prediction model in the corresponding planning cycle.
16. The system of claim 15, wherein: The operation also includes determining whether to broadcast the preventive notification in an automated driving system ADS of the ADV in a corresponding planning period.
17. The system of claim 16, wherein: Determining whether to broadcast the prevention notification in the ADS in the corresponding planning period is based on whether the prevention notification is stable, and wherein whether the prevention notification is stable is based on whether an output value of the prevention deceleration prediction model is consistent in a predetermined number of last planning periods.
18. The system of claim 16, wherein: The operations further include determining to broadcast the precautionary notification in the ADS in the corresponding planning period based on the precautionary notification being stable, wherein performing speed planning to reduce the speed limit of the ADV to the predetermined percentage of the speed limit is further based on the precautionary notification being stable.
19. The system of claim 15, wherein: The first set of features from the sensor data representing the driving environment includes at least one of the following: the amount of one or more obstacles within a set of relative distance ranges from the ADV; the distance from the ADV, the absolute speed for each of a predetermined number of nearest obstacles and the relative speed relative to the ADV, the current speed of the ADV, the acceleration of the ADV, the curvature of the road on which the ADV is traveling, the percentage of the current speed relative to the speed limit, traffic light information, or the distance to a stop line, and wherein the second set of features determined based on the internal state of the ADV includes: central processing unit CPU usage, or planning and control runtime in a planning cycle.
20. The system of claim 15, wherein: The preventive deceleration prediction model was previously trained using a deep neural network (DNN) to predict whether preventive deceleration should be performed based on the first set of features and the second set of features, the first set of features and the second set of features being from driving data of previous manual driving.
21. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.
