Automatic driving method and device
By obtaining the motion status of obstacles and determining the continuous traction point position and speed, the speed jump problem caused by the instability of the virtual wall of autonomous vehicles is solved, improving the riding experience and safety.
Patent Information
- Application Number
- CN202010947784.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-09-10
AI Technical Summary
During the cruise process of autonomous vehicles, due to the unstable setting of the virtual wall, the vehicle speed frequently accelerates or decelerates, affecting the user's riding experience.
By obtaining the motion state of the obstacle, the position and speed of the traction point are determined, making it a continuous function of the motion state of the obstacle, providing continuous speed constraints and avoiding sudden changes in the position and speed of the traction point caused by the influence of perceived noise.
It reduces vehicle speed jumps, improves the user's riding experience, and responds in advance in dangerous scenes to avoid collisions or affecting the riding experience.
Smart Images

Figure CN114162137B
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving, and more specifically, to an autonomous driving method and device. Background Art
[0002] Artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is also the study of the design principles and implementation methods of various intelligent machines, so that machines have the functions of perception, reasoning and decision-making. Research in the field of artificial intelligence includes robotics, natural language processing, computer vision, decision-making and reasoning, human-computer interaction, recommendation and search, basic AI theory, etc.
[0003] Autonomous driving is a mainstream application in the field of artificial intelligence. Autonomous driving technology relies on the collaboration of computer vision, radar, monitoring devices, and global positioning systems to enable motor vehicles to achieve autonomous driving without the need for active human operation. Autonomous vehicles use various computing systems to help transport passengers from one location to another. Some autonomous vehicles may require some initial or continuous input from operators (such as navigators, drivers, or passengers). Autonomous vehicles allow operators to switch from manual mode to autonomous driving mode or a mode in between. Since autonomous driving technology does not require humans to drive motor vehicles, it can theoretically effectively avoid human driving errors, reduce the occurrence of traffic accidents, and improve highway transportation efficiency. Therefore, autonomous driving technology is receiving more and more attention.
[0004] In order to maintain safety and comfort during cruising, an autonomous vehicle needs reasonable real-time speed constraints. Reasonable speed constraints can be generated by setting an untouchable virtual wall. For example, for a vehicle that is already in the lane of the ego vehicle, the vehicle is generally regarded as the object of the ego vehicle following the vehicle. The virtual wall can be set at the rear of the object of the ego vehicle following the vehicle, and the ego vehicle is kept at a safe distance from the virtual wall through reasonable speed constraints. For vehicles in adjacent lanes, there is a critical position for the setting of the virtual wall. For example, when the lateral distance between the other vehicle and the ego vehicle is less than the set threshold, the virtual wall is usually set at the rear of the other vehicle. When the lateral distance between the other vehicle and the ego vehicle is greater than or equal to the set threshold, the virtual wall is usually not set. However, when the ego vehicle detects a change in the position of the other vehicle, the lateral distance between the ego vehicle and the other vehicle may change and may change near the set threshold. At this time, the virtual wall may become unstable, that is, jump between setting the virtual wall and not setting the virtual wall. In addition, due to the presence of perception noise, there is an error in the position of the other vehicle detected by the ego vehicle. If the lateral distance between the ego vehicle and the other vehicle changes near the set threshold, the virtual wall will become unstable. In addition, for stationary obstacles near the ego vehicle, such as roadside parking, when the obstacle is relatively close to the lateral distance of the ego vehicle, due to the influence of sensor noise, the lateral distance between the obstacle and the ego vehicle detected by the ego vehicle may change near the set threshold, thereby causing the virtual wall to be unstable. When a virtual wall is set, there is a corresponding traction point corresponding to the virtual wall, which is used to pull the ego vehicle forward and provide speed constraints for the ego vehicle, for example, the ego vehicle decelerates; when the virtual wall is not set, there is no traction point to provide speed constraints for the ego vehicle, and the ego vehicle travels at a constant speed or accelerates. When the virtual wall is unstable, it will cause speed jumps, and the ego vehicle will frequently accelerate and decelerate, affecting the user's riding experience.
[0005] Therefore, how to reduce vehicle speed jumps during autonomous driving and improve the user's riding experience has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The present application provides an automatic driving method and device, which can reduce vehicle speed jumps and improve the user's riding experience.
[0007] In a first aspect, an automatic driving method is provided, the method comprising: obtaining a motion state of an obstacle, the motion state of the obstacle including a position of the obstacle and a speed of the obstacle; determining a position of a towing point and a speed of the towing point according to the motion state of the obstacle, the speed of the towing point being used to indicate an expected speed of the self-vehicle at the position of the towing point, the position of the towing point being a continuous function of the motion state of the obstacle, and the speed of the towing point being a continuous function of the motion state of the obstacle; and obtaining an expected acceleration of the self-vehicle according to the position of the towing point and the speed of the towing point.
[0008] In the embodiment of the present application, the position and speed of the towing point are both continuous functions of the motion state of the obstacle. After the obstacle is detected or the motion state of the obstacle is obtained, the speed constraint can be continuously provided to the vehicle. The position and speed of the towing point change continuously with the motion state of the obstacle, avoiding sudden changes in the position and speed of the towing point due to the influence of perceived noise, etc., thereby avoiding frequent acceleration or deceleration of the vehicle and improving the user's riding experience.
[0009] In addition, after detecting an obstacle or obtaining the movement state of the obstacle, the vehicle can continue to be provided with speed constraints, so that the vehicle can respond as quickly as possible in dangerous scenarios to avoid collisions or affect the riding experience. For example, after detecting an obstacle or obtaining the movement state of the obstacle, the position and speed of the towing point are determined, and the vehicle is continuously provided with speed constraints, rather than providing speed constraints only when the distance between vehicles is close. In this way, the vehicle can slow down in advance before a dangerous scenario occurs, improving riding safety.
[0010] For example, obstacles may include other vehicles, bicycles, pedestrians, and other objects.
[0011] The obstacle is located in the front area of the vehicle, and the front area of the vehicle includes the side front area of the vehicle, or can be understood as the side front area outside the target travel path of the vehicle.
[0012] For example, the obstacle may be another car parked on the roadside, another car driving in an adjacent lane, or a pedestrian crossing the road.
[0013] The position and speed of the towing point are both continuous functions of the motion state of the obstacle. The position and speed of the towing point change continuously with the motion state of the obstacle. Since the motion state of the obstacle changes continuously with time, the position and speed of the towing point also change continuously with time, that is, the position and speed of the towing point will not jump, avoiding frequent acceleration or deceleration of the vehicle.
[0014] In combination with the first aspect, in some implementations of the first aspect, the method further includes: generating a virtual wall according to the position of the obstacle, and the state of the virtual wall includes a penetrable state and an impenetrable state.
[0015] According to the scheme of the embodiment of the present application, the state of the virtual wall includes a permeable state and an impenetrable state. Under different intrusion levels, the virtual wall can present different states. For example, for obstacles with a low degree of intrusion, the virtual wall is in a permeable state, and the vehicle can slow down preventively. For obstacles with a high degree of intrusion, the virtual wall is in an impenetrable state, which ensures the driving safety of the vehicle, avoids the driver taking over in an emergency, or avoids sudden deceleration, thereby improving the user's riding experience.
[0016] The penetrable state means that the vehicle can pass through the virtual wall during driving, and the impenetrable state means that the vehicle cannot penetrate the virtual wall during driving, or in other words, it needs to maintain a certain safety distance from the virtual wall.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the virtual wall exists continuously.
[0018] In the existing scheme, when the ego vehicle detects that an obstacle jumps near the critical position of adding a wall, the ego vehicle will jump between setting a virtual wall and not setting a virtual wall, causing the ego vehicle to frequently accelerate or decelerate. In the embodiment of the present application, a virtual wall can be set from the moment an obstacle is detected, and the virtual wall exists continuously, which can provide a continuous speed constraint for the ego vehicle and avoid frequent acceleration or deceleration of the ego vehicle.
[0019] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: obtaining the target driving path of the vehicle; and determining the position of the towing point and the speed of the towing point according to the motion state of the obstacle, including: determining the position of the towing point and the speed of the towing point according to the motion state of the obstacle and the target driving path of the vehicle.
[0020] In combination with the first aspect, in certain implementations of the first aspect, the position of the towing point is characterized by a following distance.
[0021] In combination with the first aspect, in some implementations of the first aspect, the update frequency of the expected acceleration is greater than or equal to 20 Hz.
[0022] In combination with the first aspect, in certain implementations of the first aspect, the position and speed of the towing point are determined according to the motion state of the obstacle, including: calculating the collision risk according to the motion state of the obstacle; and determining the position and speed of the towing point according to the collision risk.
[0023] The collision risk can be used to characterize the degree of intrusion of obstacles, that is, the degree of intrusion into the target driving path of the vehicle.
[0024] The collision risk can also be called the proximity risk. The collision risk can be used to indicate the proximity between the obstacle and the vehicle. Alternatively, it can be understood that the collision risk is used to indicate the risk of collision between the obstacle and the vehicle. The higher the collision risk, the greater the collision risk.
[0025] In combination with the first aspect, in certain implementations of the first aspect, when the collision risk is less than a first threshold, the state of the virtual wall is a penetrable state; when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state.
[0026] In combination with the first aspect, in certain implementations of the first aspect, the speed of the obstacle includes the tangential speed of the obstacle, and the position of the towing point and the speed of the towing point are determined according to the collision risk, including: determining the penetration speed of the vehicle according to the collision risk, the penetration speed of the vehicle is negatively correlated with the collision risk; determining the speed of the towing point according to the tangential speed of the obstacle and the penetration speed of the vehicle.
[0027] The higher the collision risk, the lower the penetration speed of the vehicle.
[0028] In combination with the first aspect, in certain implementations of the first aspect, the position and speed of the towing point are determined according to the collision risk, including: when the collision risk is greater than or equal to a first threshold, the speed of the towing point is less than or equal to the tangential speed of the obstacle.
[0029] In combination with the first aspect, in certain implementations of the first aspect, calculating the collision risk based on the motion state of the obstacle includes: calculating a collision index based on the motion state of the obstacle, the collision index including at least one or more of the following: the distance between the obstacle and the lane line, the estimated time for the obstacle to cross the line, or the lateral distance between the obstacle and the vehicle; calculating the collision risk based on the collision index.
[0030] In combination with the first aspect, in some implementations of the first aspect, the method further includes: controlling an on-board display to display a positional relationship between the vehicle, the obstacle, and the virtual wall.
[0031] In a second aspect, an automatic driving device is provided, which includes: an acquisition unit, used to acquire the motion state of an obstacle, the motion state of the obstacle includes the position of the obstacle and the speed of the obstacle; a processing unit, used to: determine the position of a towing point and the speed of the towing point according to the motion state of the obstacle, the speed of the towing point is used to indicate the expected speed of the self-vehicle at the position of the towing point, the position of the towing point is a continuous function of the motion state of the obstacle, and the speed of the towing point is a continuous function of the motion state of the obstacle; and acquire the expected acceleration of the self-vehicle according to the position of the towing point and the speed of the towing point.
[0032] In the embodiment of the present application, the position and speed of the towing point are both continuous functions of the motion state of the obstacle. After the obstacle is detected or the motion state of the obstacle is obtained, the speed constraint can be continuously provided to the vehicle. The position and speed of the towing point change continuously with the motion state of the obstacle, avoiding sudden changes in the position and speed of the towing point due to the influence of perceived noise, etc., thereby avoiding frequent acceleration or deceleration of the vehicle and improving the user's riding experience.
[0033] In addition, after detecting an obstacle or obtaining the movement state of the obstacle, the vehicle can continue to be provided with speed constraints, so that the vehicle can respond as quickly as possible in dangerous scenarios to avoid collisions or affect the riding experience. For example, after detecting an obstacle or obtaining the movement state of the obstacle, the position and speed of the towing point are determined, and the vehicle is continuously provided with speed constraints, rather than providing speed constraints only when the distance between vehicles is close. In this way, the vehicle can slow down in advance before a dangerous scenario occurs, improving riding safety.
[0034] In combination with the second aspect, in some implementations of the second aspect, the processing unit is further used to: generate a virtual wall according to the movement state of the obstacle, and the state of the virtual wall includes a penetrable state and an impenetrable state.
[0035] In combination with the second aspect, in certain implementations of the second aspect, the virtual wall exists continuously.
[0036] In combination with the second aspect, in certain implementations of the second aspect, the acquisition unit is also used to: obtain the target driving path of the vehicle; and the processing unit is specifically used to: determine the position and speed of the towing point based on the motion state of the obstacle and the target driving path of the vehicle.
[0037] In combination with the second aspect, in certain implementations of the second aspect, the position of the towing point is characterized by a following distance.
[0038] In combination with the second aspect, in some implementations of the second aspect, the update frequency of the expected acceleration is greater than or equal to 20 Hz.
[0039] In combination with the second aspect, in some implementations of the second aspect, the processing unit is specifically used to: calculate the collision risk according to the motion state of the obstacle; and determine the position and speed of the towing point according to the collision risk.
[0040] In combination with the second aspect, in certain implementations of the second aspect, when the collision risk is less than a first threshold, the state of the virtual wall is a penetrable state; when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state.
[0041] In combination with the second aspect, in certain implementations of the second aspect, the speed of the obstacle includes the tangential speed of the obstacle, and the processing unit is specifically used to: determine the penetration speed of the vehicle based on the collision risk, the penetration speed of the vehicle is negatively correlated with the collision risk; determine the speed of the towing point based on the tangential speed of the obstacle and the penetration speed of the vehicle.
[0042] In combination with the second aspect, in some implementations of the second aspect, the processing unit is specifically configured to: when the collision risk is greater than or equal to a first threshold, the speed of the towing point is less than or equal to a tangential speed of the obstacle.
[0043] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is specifically used to: calculate a collision index based on the motion state of the obstacle, the collision index including at least one or more of the following: the distance between the obstacle and the lane line, the estimated time for the obstacle to cross the line, or the lateral distance between the obstacle and the vehicle; calculate the collision risk based on the collision index.
[0044] In combination with the second aspect, in some implementations of the second aspect, the device further includes a display unit, and the display unit is used to display the positional relationship between the vehicle, the obstacle and the virtual wall.
[0045] It should be understood that the expansion, limitation, explanation and description of the relevant contents in the above-mentioned first aspect also apply to the same contents in the second aspect.
[0046] In a third aspect, an automatic driving device is provided, comprising: a memory for storing programs; and a processor for executing the programs stored in the memory, wherein when the programs stored in the memory are executed, the processor is used to execute the method in the first aspect and any one of the implementations of the first aspect.
[0047] In a fourth aspect, a vehicle is provided, comprising the automatic driving device according to the second aspect and any one of the implementations of the second aspect.
[0048] According to a fifth aspect, a computer-readable medium is provided, wherein the computer-readable medium stores a program code for execution by a device, wherein the program code includes a method for executing any one of the implementations in the first aspect.
[0049] According to a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute a method in any one of the implementations of the first aspect.
[0050] In a seventh aspect, a chip is provided, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface and executes a method in any one of the implementation modes of the first aspect.
[0051] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in any one of the implementation methods in the first aspect.
[0052] The above chip can specifically be a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC). BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of the structure of an autonomous driving vehicle provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of the structure of a computer system provided in an embodiment of the present application;
[0056] Figure 4 A schematic diagram of an application of a cloud-side commanded autonomous driving vehicle provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of an application of a cloud-side commanded autonomous driving vehicle provided in an embodiment of the present application;
[0058] Figure 6 A schematic block diagram of an automatic driving device provided in an embodiment of the present application;
[0059] Figure 7 A schematic flowchart of an automatic driving method provided in an embodiment of the present application;
[0060] Figure 8 A schematic diagram of a collision indicator provided in an embodiment of the present application;
[0061] Fig. 9 A schematic diagram of the position of the traction point provided in an embodiment of the present application;
[0062] Fig.10 A schematic diagram of the speed of a traction point provided in an embodiment of the present application;
[0063] Fig.11 A schematic flowchart of an automatic driving method provided in an embodiment of the present application;
[0064] Fig.12 A schematic diagram of vehicle driving in an existing solution under lateral pressure;
[0065] Fig.13 A schematic diagram of vehicle driving in the solution provided in an embodiment of the present application in the case of sideways pressure on the vehicle;
[0066] Fig.14A schematic diagram of a vehicle driving in the case where the position of another vehicle changes according to an embodiment of the present application;
[0067] Fig.15 A schematic block diagram of an automatic driving device provided in an embodiment of the present application;
[0068] Fig.16 A schematic diagram of the hardware structure of the automatic driving device provided in an embodiment of the present application;
[0069] Fig.17 A schematic diagram of the structure of a computer program product provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0071] The solution of the embodiments of the present application can be applied in autonomous driving scenarios.
[0072] When an autonomous vehicle or smart car is driving, the driving goal is to drive in a safe and comfortable manner. When there is a risk of collision, it is necessary to avoid collision.
[0073] For example, the driving roads include urban open structured roads, highways or rural roads.
[0074] When there are obstacles around, there may be a risk of collision, such as in scenarios such as following a car or cutting in. The goal of the vehicle is to complete actions such as following a car or braking in a safe and comfortable manner. Obstacles include moving objects and stationary obstacles.
[0075] Figure 1 FIG. 1 shows an application scenario in an embodiment of the present application, where another vehicle 11 is located in front of the vehicle 12, and the other vehicle 11 has not invaded the lane of the vehicle 12, but has an invasion tendency, for example, Figure 1 As shown, the other vehicle 11 has a lateral speed, which can be understood as a tendency to invade the lane where the vehicle is located. The lateral speed refers to the speed perpendicular to the lane direction. The solution in the embodiment of the present application can be applied to this scenario to avoid frequent acceleration or deceleration of the vehicle 11, thereby improving the riding experience of the user.
[0076] Figure 21 is a functional block diagram of a vehicle 100 provided in an embodiment of the present application. In one embodiment, the vehicle 100 is configured to be in a fully or partially autonomous driving mode. For example, the vehicle 100 can control itself while in the autonomous driving mode, and can determine the current state of the vehicle and its surrounding environment through human operation, determine the possible behavior of at least one other vehicle in the surrounding environment, and determine the confidence level corresponding to the possibility of the other vehicle performing the possible behavior, and control the vehicle 100 based on the determined information. When the vehicle 100 is in the autonomous driving mode, the vehicle 100 can be placed in operation without human interaction.
[0077] The vehicle 100 may include various subsystems, such as a travel system 102, a sensor system 104, a control system 106, one or more peripheral devices 108, and a power source 110, a computer system 112, and a user interface 116. Optionally, the vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. In addition, each subsystem and element of the vehicle 100 may be interconnected by wire or wirelessly.
[0078] The propulsion system 102 may include components that provide powered movement for the vehicle 100. In one embodiment, the propulsion system 102 may include an engine 118, an energy source 119, a transmission 120, and wheels / tires 121. The engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine consisting of a gasoline engine and an electric motor, or a hybrid engine consisting of an internal combustion engine and an air compression engine. The engine 118 converts the energy source 119 into mechanical energy.
[0079] Examples of energy source 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. Energy source 119 may also provide energy to other systems of vehicle 100.
[0080] The transmission 120 can transmit mechanical power from the engine 118 to the wheels 121. The transmission 120 may include a gearbox, a differential, and a drive shaft. In one embodiment, the transmission 120 may also include other devices, such as a clutch. Among them, the drive shaft may include one or more shafts that can be coupled to one or more wheels 121.
[0081] The sensor system 104 may include several sensors that sense information about the environment surrounding the vehicle 100. For example, the sensor system 104 may include a positioning system 122 (the positioning system may be a GPS system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a laser rangefinder 128, and a camera 130. The sensor system 104 may also include sensors of the internal systems of the monitored vehicle 100 (e.g., an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors may be used to detect objects and their corresponding characteristics (position, shape, direction, speed, etc.). Such detection and recognition are key functions for the safe operation of the autonomous vehicle 100.
[0082] Positioning system 122 may be used to estimate the geographic location of vehicle 100. IMU 124 is used to sense position and orientation changes of vehicle 100 based on inertial acceleration. In one embodiment, IMU 124 may be a combination of an accelerometer and a gyroscope.
[0083] Radar 126 may utilize radio signals to sense objects within the surrounding environment of vehicle 100. In some embodiments, in addition to sensing objects, radar 126 may also be used to sense the speed and / or heading of an object.
[0084] The laser rangefinder 128 may utilize laser light to sense objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 128 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.
[0085] The camera 130 may be used to capture multiple images of the surrounding environment of the vehicle 100. The camera 130 may be a still camera or a video camera.
[0086] The control system 106 controls the operation of the vehicle 100 and its components. The control system 106 may include various elements, including a steering system 132 , a throttle 134 , a brake unit 136 , a computer vision system 140 , a path control system 142 , and an obstacle avoidance system 144 .
[0087] The steering system 132 is operable to adjust the forward direction of the vehicle 100. For example, in one embodiment, it may be a steering wheel system.
[0088] The throttle 134 is used to control the operating speed of the engine 118 and, in turn, the speed of the vehicle 100 .
[0089] The brake unit 136 is used to control the deceleration of the vehicle 100. The brake unit 136 can use friction to slow down the wheel 121. In other embodiments, the brake unit 136 can convert the kinetic energy of the wheel 121 into electric current. The brake unit 136 can also take other forms to slow down the rotation speed of the wheel 121 to control the speed of the vehicle 100.
[0090] The computer vision system 140 can be operated to process and analyze the images captured by the camera 130 in order to identify objects and / or features in the environment surrounding the vehicle 100. The objects and / or features may include traffic signs, road boundaries, and obstacles. The computer vision system 140 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 may be used to map the environment, track objects, estimate the speed of objects, and the like.
[0091] The route control system 142 is used to determine the driving route of the vehicle 100. In some embodiments, the route control system 142 may combine data from sensors, GPS 122, and one or more predetermined maps to determine the driving route for the vehicle 100.
[0092] The obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise negotiate potential obstacles in the environment of the vehicle 100 .
[0093] Of course, in one example, the control system 106 may include additional or alternative components other than those shown and described, or may also reduce some of the components shown above.
[0094] The vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripherals 108. The peripherals 108 may include a wireless communication system 146, an onboard computer 148, a microphone 150, and / or a speaker 152.
[0095] In some embodiments, the peripheral device 108 provides a means for a user of the vehicle 100 to interact with the user interface 116. For example, the onboard computer 148 can provide information to the user of the vehicle 100. The user interface 116 can also operate the onboard computer 148 to receive input from the user. The onboard computer 148 can be operated through a touch screen. In other cases, the peripheral device 108 can provide a means for the vehicle 100 to communicate with other devices located in the vehicle. For example, the microphone 150 can receive audio (e.g., voice commands or other audio input) from the user of the vehicle 100. Similarly, the speaker 152 can output audio to the user of the vehicle 100.
[0096] The wireless communication system 146 can communicate wirelessly with one or more devices directly or via a communication network. For example, the wireless communication system 146 can use 3G cellular communication, such as CDMA, EVDO, GSM / GPRS, or 4G cellular communication, such as LTE. Or 5G cellular communication. The wireless communication system 146 can communicate with a wireless local area network (WLAN) using WiFi. In some embodiments, the wireless communication system 146 can communicate directly with the device using an infrared link, Bluetooth, or ZigBee. Other wireless protocols, such as various vehicle communication systems, for example, the wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include public and / or private data communications between vehicles and / or roadside stations.
[0097] The power source 110 can provide power to various components of the vehicle 100. In one embodiment, the power source 110 can be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such batteries can be configured as a power source to provide power to various components of the vehicle 100. In some embodiments, the power source 110 and the energy source 119 can be implemented together, such as in some all-electric vehicles.
[0098] Some or all functions of the vehicle 100 are controlled by a computer system 112. The computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium such as a data storage device 114. The computer system 112 may also be a plurality of computing devices that control individual components or subsystems of the vehicle 100 in a distributed manner.
[0099] Processor 113 may be any conventional processor, such as a commercially available CPU. Alternatively, the processor may be a dedicated device such as an ASIC or other hardware-based processor. Figure 2The processor, memory, and other elements of the computer 110 are functionally illustrated in the same block, but it will be appreciated by those skilled in the art that the processor, computer, or memory may actually include multiple processors, computers, or memories that may or may not be stored in the same physical housing. For example, the memory may be a hard drive or other storage medium located in a housing different from the computer 110. Therefore, references to a processor or computer will be understood to include references to a collection of processors or computers or memories that may or may not operate in parallel. Rather than using a single processor to perform the steps described herein, some components such as the steering assembly and the deceleration assembly may each have their own processor that performs only calculations related to the functions specific to the component.
[0100] In various aspects described herein, the processor may be located remote from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are performed on a processor disposed within the vehicle and others are performed by a remote processor, including taking the necessary steps to perform a single maneuver.
[0101] In some embodiments, data storage device 114 may include instructions 115 (e.g., program logic) that may be executed by processor 113 to perform various functions of vehicle 100, including those described above. Data storage device 114 may also include additional instructions, including instructions to send data to, receive data from, interact with, and / or control one or more of propulsion system 102, sensor system 104, control system 106, and peripherals 108.
[0102] In addition to the instructions 115, the data storage device 114 may also store data such as road maps, route information, the vehicle's location, direction, speed, and other such vehicle data, as well as other information. Such information may be used by the vehicle 100 and the computer system 112 during operation of the vehicle 100 in autonomous, semi-autonomous, and / or manual modes.
[0103] In the embodiment of the present application, the vehicle 100 or the computer system 112 may obtain data from the data storage device 114 and execute the method 700 or the method 1100 described below.
[0104] The user interface 116 is used to provide information to or receive information from a user of the vehicle 100. Optionally, the user interface 116 may include one or more input / output devices within the set of peripherals 108, such as a wireless communication system 146, a vehicle computer 148, a microphone 150, and a speaker 152.
[0105] The computer system 112 may control functions of the vehicle 100 based on input received from various subsystems (e.g., the travel system 102, the sensor system 104, and the control system 106) and from the user interface 116. For example, the computer system 112 may utilize input from the control system 106 in order to control the steering unit 132 to avoid obstacles detected by the sensor system 104 and the obstacle avoidance system 144. In some embodiments, the computer system 112 may be operable to provide control over many aspects of the vehicle 100 and its subsystems.
[0106] Alternatively, one or more of the above-mentioned components may be installed or associated separately from the vehicle 100. For example, the data storage device 114 may exist partially or completely separate from the vehicle 100. The above-mentioned components may be communicatively coupled together in a wired and / or wireless manner.
[0107] Optionally, the above components are only examples. In actual applications, the components in the above modules may be added or deleted according to actual needs. Figure 1 It should not be understood as limiting the embodiments of the present application.
[0108] An autonomous vehicle traveling on a road, such as vehicle 100 above, can identify objects in its surrounding environment to determine adjustments to the current speed. The objects can be other vehicles, traffic control devices, or other types of objects. In some examples, each identified object can be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, spacing from the vehicle, etc., can be used to determine the speed to be adjusted by the autonomous vehicle.
[0109] Optionally, the autonomous vehicle 100 or a computing device associated with the autonomous vehicle 100 (eg, Figure 1 The computer system 112, computer vision system 140, data storage device 114) can predict the behavior of the identified objects based on the characteristics of the identified objects and the state of the surrounding environment (e.g., traffic, rain, ice on the road, etc.). Optionally, each identified object depends on the behavior of each other, so all identified objects can also be considered together to predict the behavior of a single identified object. The vehicle 100 can adjust its speed based on the predicted behavior of the identified objects. In other words, the self-driving car can determine what stable state the vehicle will need to adjust to (e.g., accelerate, decelerate, or stop) based on the predicted behavior of the objects. In this process, other factors can also be considered to determine the speed of the vehicle 100, such as the lateral position of the vehicle 100 in the road it is traveling on, the curvature of the road, the proximity of static and dynamic objects, etc.
[0110] In addition to providing instructions to adjust the speed of the autonomous vehicle, the computing device may also provide instructions to modify the steering angle of vehicle 100 so that the autonomous vehicle follows a given trajectory and / or maintains a safe lateral and longitudinal distance from objects near the autonomous vehicle (e.g., cars in adjacent lanes on the road).
[0111] The vehicle 100 may be a car, a truck, a motorcycle, a bus, a ship, an airplane, a helicopter, a lawn mower, an entertainment vehicle, an amusement park vehicle, construction equipment, a tram, a golf cart, a train, a cart, etc., and the embodiments of the present application are not particularly limited.
[0112] according to Figure 3 , the computer system 101 includes a processor 103, which is coupled to a system bus 105. The processor 103 may be one or more processors, each of which may include one or more processor cores. A display adapter (video adapter) 107, which may drive a display 109, which is coupled to the system bus 105. The system bus 105 is coupled to an input / output (I / O) bus 113 via a bus bridge 111. An I / O interface 115 is coupled to the I / O bus. The I / O interface 115 communicates with a variety of I / O devices, such as an input device 117 (e.g., keyboard, mouse, touch screen, etc.), a multimedia disk (media tray) 121 (e.g., CD-ROM, multimedia interface, etc.). A transceiver 123 (which may send and / or receive radio communication signals), a camera 155 (which may capture scene and dynamic digital video images), and an external USB interface 125. Optionally, the interface connected to the I / O interface 115 may be a USB interface.
[0113] The processor 103 may be any conventional processor, including a reduced instruction set computing ("RISC") processor, a complex instruction set computing ("CISC") processor, or a combination thereof. Alternatively, the processor may be a dedicated device such as an application specific integrated circuit ("ASIC"). Alternatively, the processor 103 may be a neural network processor or a combination of a neural network processor and the conventional processors described above.
[0114] Optionally, in various embodiments of the present application, the computer system 101 may be located remotely from the autonomous vehicle and may communicate wirelessly with the autonomous vehicle. In other aspects, some of the processes described herein are performed on a processor disposed within the autonomous vehicle, and others are performed by a remote processor, including taking actions required to perform a single maneuver.
[0115] Computer 101 can communicate with software deployment server 149 through network interface 129. Network interface 129 is a hardware network interface, such as a network card. Network 127 can be an external network, such as the Internet, or an internal network, such as Ethernet or a virtual private network (VPN). Optionally, network 127 can also be a wireless network, such as a WiFi network, a cellular network, etc.
[0116] The hard disk drive interface is coupled to the system bus 105. The hard disk drive interface is connected to the hard disk drive. The system memory 135 is coupled to the system bus 105. The data running in the system memory 135 may include the operating system (OS) 137 and application programs 143 of the computer 101.
[0117] The operating system includes a shell 139 and a kernel 141. The shell 139 is an interface between the user and the kernel of the operating system. The shell is the outermost layer of the operating system. The shell manages the interaction between the user and the operating system: waiting for user input, interpreting user input to the operating system, and processing various operating system output results.
[0118] The kernel 141 consists of those parts of the operating system that manage memory, files, peripherals, and system resources. Interacting directly with the hardware, the operating system kernel usually runs processes and provides communication between processes, provides CPU time slice management, interrupts, memory management, IO management, etc.
[0119] Application 143 includes programs 147 related to controlling the automatic driving of the car, such as a program for managing the interaction between the automatic driving car and obstacles on the road, a program for controlling the route or speed of the automatic driving car, and a program for controlling the interaction between the automatic driving car and other automatic driving cars on the road. Application 143 also exists on the system of deploying server 149. In one embodiment, when the application 147 needs to be executed, the computer system 101 can download the application 143 from the deploying server 149.
[0120] In the embodiment of the present application, the application 147 may include a program for controlling the speed of the autonomous driving vehicle, and the computer system 101 may call the application 147 to perform the following steps:
[0121] Obtain the motion state of the obstacle, which includes the position and speed of the obstacle;
[0122] The position and speed of the towing point are determined according to the motion state of the obstacle. The speed of the towing point is used to indicate the expected speed of the vehicle at the position of the towing point. The position of the towing point is a continuous function of the motion state of the obstacle, and the speed of the towing point is a continuous function of the motion state of the obstacle.
[0123] The expected acceleration of the vehicle is obtained according to the position and speed of the towing point.
[0124] Sensor 153 is associated with computer system 101. Sensor 153 is used to detect the environment around computer system 101. For example, sensor 153 can detect animals, cars, obstacles and crosswalks, etc., and further the sensor can detect the environment around the above-mentioned animals, cars, obstacles and crosswalks, such as: the environment around the animals, for example, other animals around the animals, weather conditions, brightness of the surrounding environment, etc. Optionally, if computer system 101 is located in an autonomous vehicle, the sensor can be a camera, an infrared sensor, a chemical detector, a microphone, etc.
[0125] The computer system 112 may also receive information from other computer systems or transfer information to other computer systems. Alternatively, sensor data collected from the sensor system 104 of the vehicle 100 may be transferred to another computer for processing. Figure 4 As shown, data from computer system 112 can be transmitted to cloud-side computer 420 via a network for further processing. The network and intermediate nodes can include various configurations and protocols, including the Internet, the World Wide Web, an intranet, a virtual private network, a wide area network, a local area network, a private network using one or more company's proprietary communication protocols, Ethernet, WiFi and HTTP, and various combinations of the foregoing. Such communication can be by any device capable of transmitting data to and from other computers, such as a modem and a wireless interface.
[0126] In one example, computer 420 may include a server having multiple computers, such as a load-balancing server farm, which exchanges information with different nodes of a network for the purpose of receiving, processing, and transmitting data from computer system 112. The server may be configured similarly to computer system 112, having a processor 430, memory 440, instructions 450, and data 460.
[0127] In one example, the server data 460 may include data received from a computer system, such as data collected by a vehicle sensor. The processor 430 reads the instruction 450 to execute the method 700 described below.
[0128] Figure 5An example of an autonomous driving vehicle and a cloud service center according to an example embodiment is shown. The cloud service center can receive information (such as data collected by vehicle sensors or other information) from autonomous driving vehicles 510 and 512 within its operating environment 500 via a network 502 such as a wireless communication network.
[0129] For example, the data received by the cloud service center may include speed information and location information of the autonomous driving vehicles 510 and 512.
[0130] The cloud service center runs the stored program related to controlling the automatic driving of the car according to the received data to control the automatic driving vehicles 510 and 512. The program related to controlling the automatic driving of the car can be a program for managing the interaction between the automatic driving car and obstacles on the road, a program for controlling the route or speed of the automatic driving car, and a program for controlling the interaction between the automatic driving car and other automatic driving cars on the road.
[0131] The network 502 provides portions of the map outwardly to the autonomous vehicle 510 or 512. In other examples, operations may be divided between different locations or centers. For example, multiple cloud service centers may receive, verify, combine, and / or send information reports. In some examples, information reports and / or sensor data may also be sent between autonomous vehicles. Other configurations are also possible.
[0132] In some examples, the cloud service center sends the autonomous driving vehicle a solution for possible driving situations in the environment (e.g., informing the obstacle ahead and informing how to bypass it). For example, the cloud service center can assist the vehicle in determining how to proceed when facing a specific obstacle in the environment. The cloud service center sends a response to the autonomous driving vehicle indicating how the vehicle should proceed in a given scenario. For example, based on the collected sensor data, the cloud service center can confirm the presence of a temporary parking sign in front of the road, and also determine that the lane is closed due to construction based on the "lane closed" sign and the sensor data of the construction vehicle on the lane. Accordingly, the cloud service center sends a recommended operating mode for the autonomous driving vehicle to pass the obstacle (e.g., instructing the vehicle to change lanes to another road). When the cloud service center observes the video stream in its operating environment and has confirmed that the autonomous driving vehicle can safely and successfully pass through the obstacle, the operating steps used by the autonomous driving vehicle can be added to the driving information map. Accordingly, this information can be sent to other vehicles in the area that may encounter the same obstacle, so as to assist other vehicles not only to identify the closed lane but also to know how to pass.
[0133] In order to maintain safety and comfort during cruising, self-driving cars need reasonable speed constraints. By setting an untouchable virtual wall (which can be called "adding a wall"), the self-driving car is kept at a safe distance from the virtual wall, thereby obtaining a reasonable speed constraint. The virtual wall is an imaginary wall that carries motion parameters such as distance and speed. The self-driving car needs to maintain a certain safe distance and speed to follow the wall. Common scenarios for adding a wall include: for objects that are already in the self-driving car lane, a virtual wall is set at the object position; for signs such as traffic lights and stop signs, a virtual wall is set at the stop line.
[0134] For vehicles in adjacent lanes, there are critical positions for setting virtual walls. For example, when the lateral distance between the other vehicle and the vehicle is less than a set threshold, the virtual wall is usually set at the rear of the other vehicle. When the lateral distance between the other vehicle and the vehicle is greater than or equal to the set threshold, the virtual wall is usually not set. However, when the vehicle detects a change in the position of the other vehicle, the lateral distance between the vehicle and the vehicle may change and may change near the set threshold. At this time, the virtual wall may become unstable, that is, it switches back and forth between setting the virtual wall and not setting the virtual wall. For example, due to the presence of perception noise, the position of the other vehicle detected by the vehicle has errors. If the lateral distance between the vehicle and the vehicle changes near the set threshold, the virtual wall will be unstable. In addition, for stationary obstacles near the vehicle, such as roadside parking, when the obstacle is close to the lateral distance of the vehicle, due to the influence of perception noise, the lateral distance between the obstacle detected by the vehicle and the vehicle may change near the set threshold, which will cause the virtual wall to be unstable. When a virtual wall is set, there is a corresponding traction point corresponding to the virtual wall, which is used to pull the vehicle forward and provide speed constraints for the vehicle. For example, in order to keep a certain distance from the virtual wall, the vehicle slows down. When no virtual wall is set, there is no corresponding traction point to provide speed constraints for the vehicle, and the vehicle travels at a constant speed or accelerates. When the virtual wall is unstable, it will cause speed jumps, and the vehicle will frequently accelerate and decelerate, affecting the user's riding experience.
[0135] For obstacles that tend to invade the lane of the ego vehicle but the invasion degree is low, if the lateral distance between the ego vehicle and the other vehicle is large, usually no virtual wall is set, and the ego vehicle can drive normally, for example, accelerate or drive at a constant speed, or the speed of the ego vehicle can be greater than the tangential speed of the obstacle, and surpass the obstacle before the obstacle invades the lane of the ego vehicle; if a virtual wall is set, the other vehicle becomes the following vehicle of the ego vehicle, and the ego vehicle always keeps a distance from the other vehicle and follows the vehicle. Especially when the lateral speed of the other vehicle is low, the ego vehicle needs to be subject to unnecessary speed constraints for a long time, which affects the normal driving of the ego vehicle. Therefore, in order to ensure the normal driving of the ego vehicle, the virtual wall is usually not set when the lateral distance between the ego vehicle and the other vehicle is large. However, as the invasion degree of the obstacle continues to increase, when the invasion degree of the obstacle is high, for example, when the lateral distance between the obstacle and the ego vehicle is less than the set threshold, the virtual wall is set. At this time, the tangential distance between the ego vehicle and the obstacle is too close, and the ego vehicle has no time to slow down, which may cause a collision risk, or, in order to avoid a collision, the ego vehicle suddenly decelerates sharply, or the driver takes over urgently, which seriously affects the riding experience. For example, when overtaking, if the lateral distance between the overtaken vehicle and the own vehicle is too close, or the overtaken vehicle makes a dangerous action of sideways pressure, the existing scheme usually does not slow down. In order to avoid a collision, the own vehicle needs to provide a higher lateral control capability, that is, it is necessary to quickly increase the lateral distance between the own vehicle and the overtaken vehicle, which affects the riding experience.
[0136] The present application proposes an automatic driving method and device, which can reduce sudden changes in vehicle speed and improve the user's riding experience.
[0137] Figure 6 A schematic block diagram of an automatic driving device 600 provided in an embodiment of the present application is shown.
[0138] In order to better understand the method in the embodiment of the present application, Figure 6 The functions of each module in the following are briefly described.
[0139] The device 600 includes an acquisition module 610 , a risk estimator module 620 , a towing point generator module 630 , and an acceleration generator module 640 .
[0140] The acquisition module 610 is used to acquire the motion state of the obstacle.
[0141] For example, obstacles may include other vehicles, bicycles, pedestrians, and other objects.
[0142] The motion state of the obstacle may include the position of the obstacle, the acceleration of the obstacle, or the speed of the obstacle.
[0143] The risk assessment module 620 is used to calculate the collision risk according to the motion state of the obstacle.
[0144] The collision risk can also be called the proximity risk. The collision risk can be used to indicate the proximity between the obstacle and the vehicle. Alternatively, it can be understood that the collision risk is used to indicate the risk of collision between the obstacle and the vehicle. The higher the collision risk, the greater the collision risk. For example, when the obstacle is located in the adjacent lane of the vehicle, the collision risk can be the risk of a side collision between the obstacle and the vehicle.
[0145] The specific method for calculating the collision risk may refer to step S720 in method 700 below.
[0146] It should be noted that the risk assessment module 620 is an optional module, and the acquisition module 610 can input the movement state of the obstacle to the traction point generation module 630 .
[0147] The traction point generation module 630 calculates the velocity and position of the traction point.
[0148] The speed of the towing point is used to indicate the expected speed of the vehicle at the towing point.
[0149] The position of the traction point is a continuous function of the motion state of the obstacle, and the speed of the traction point is a continuous function of the motion state of the obstacle.
[0150] The traction point generation module 630 can calculate the speed and position of the traction point according to the motion state of the obstacle.
[0151] Alternatively, when the apparatus 600 includes the risk assessment module 620, the traction point generation module 630 may calculate the speed of the traction point and the position of the traction point according to the collision risk.
[0152] The method for determining the position of the traction point and the speed of the traction point may refer to step S720 in the method 700 described below.
[0153] The acceleration generation module 640 calculates the desired acceleration of the ego vehicle.
[0154] Specifically, the expected acceleration is determined based on the position error and the velocity error.
[0155] Exemplarily, the expected acceleration is a linear combination of the position error and the velocity error.
[0156] The position error refers to the difference between the position of the towing point and the current position of the vehicle, and the speed error refers to the difference between the speed of the towing point and the current speed of the vehicle.
[0157] The method for determining the acceleration may refer to step S730 in method 700 below.
[0158] According to the solution of the embodiment of the present application, the position and speed of the towing point are both continuous functions of the motion state of the obstacle. After the obstacle is detected or the motion state of the obstacle is obtained, the speed constraint can be continuously provided to the vehicle. The position and speed of the towing point change continuously with the motion state of the obstacle, avoiding sudden changes in the position and speed of the towing point due to the influence of perceived noise, etc., thereby avoiding frequent acceleration or deceleration of the vehicle and improving the user's riding experience.
[0159] Combine the following Figures 7 to 14 The automatic driving method of the embodiment of the present application is introduced in detail.
[0160] Figure 7 This is an automatic driving method 700 of an embodiment of the present application. Figure 7 The method shown can be executed by an autonomous driving device, which can be a cloud service device, a terminal device, or a system composed of a cloud service device and a terminal device. For example, method 700 can be run on a device such as an onboard computer with sufficient computing power to execute the autonomous driving method, and the computing power of the onboard computer can meet an update rate of 30 Hz or higher. Figure 2 Computer system 112, Figure 3 Computer Systems 101, Figure 4 Computer system 112 or server 420 in, or Figure 5 Alternatively, method 700 may be executed by the cloud service center 520 in FIG. 6 .
[0161] The method 700 includes steps S710 to S730. Steps S710 to S730 are described in detail below.
[0162] S710: Obtain the motion state of the obstacle.
[0163] The obstacle is located in the front area of the vehicle, and the front area of the vehicle includes the side front area of the vehicle, or can be understood as the side front area outside the target travel path of the vehicle.
[0164] For example, obstacles may include movable objects such as other cars parked on the roadside, other cars driving on adjacent lanes, or pedestrians crossing the road. For another example, obstacles may also include stationary objects such as roadblocks or roadside trash cans.
[0165] The motion state of the obstacle may include the position of the obstacle, the acceleration of the obstacle, or the speed of the obstacle.
[0166] The speed of an obstacle includes the tangential speed of the obstacle and the lateral speed of the obstacle. Figure 8 As shown in the figure, lateral speed refers to the speed perpendicular to the lane direction. Tangential speed refers to the speed parallel to the lane direction.
[0167] Exemplarily, the motion state of the obstacle can be detected by the perception fusion module. For example, the perception fusion module may include Figure 2 The radar 126, the laser rangefinder 128 or the camera 130 in the embodiment. For example, the perception fusion module may include Figure 3 Sensor 153 in.
[0168] Furthermore, step S710 may also include obtaining a target driving path of the vehicle.
[0169] Exemplarily, the target driving path of the vehicle can be determined by a motion planning module. For example, the motion planning module may include Figure 2 The route control system 142 in.
[0170] The motion planning module can determine the target driving path of the vehicle based on parameters such as the road network topology, the vehicle's position and the vehicle's speed.
[0171] For example, the speed of the vehicle can be detected by a speed sensor. The position of the vehicle can be determined by a positioning system, for example, Figure 2 The road network topology can be determined by a navigation module, which can also be called a map module, for Figure 2 The path control system 142 provides support, that is, provides the road network topology.
[0172] When acquiring the target driving path of the vehicle, the obstacle may be an obstacle located in a front area of the target driving path, and the front area of the target driving path includes a side front area of the target driving path.
[0173] S720: Determine the position and speed of the traction point according to the motion state of the obstacle.
[0174] The position of the traction point is a continuous function of the motion state of the obstacle, and the speed of the traction point is a continuous function of the motion state of the obstacle.
[0175] The speed of the towing point is used to indicate the expected speed of the vehicle at the towing point.
[0176] For example, the position of the towing point is position A, and the speed of the towing point is speed B. The expected speed of the vehicle when it reaches position A is speed B. Alternatively, it can be understood that the vehicle is expected to reach position A at speed B.
[0177] The position of the traction point is a continuous function of the motion state of the obstacle, which means that the position of the traction point changes continuously with the motion state of the obstacle. Since the motion state of the obstacle changes continuously with time, the position of the traction point also changes continuously with time, that is, the position of the traction point will not jump.
[0178] The position jump of the traction point refers to the change from the existence of the traction point to the non-existence of the traction point, or the change from the non-existence of the traction point to the existence of the traction point. That is to say, after the obstacle is detected, the position of the traction point changes continuously with the movement state of the obstacle, and the position of the traction point will not jump between existence and non-existence. Or the "continuous" in the embodiment of the present application can be understood as that the position of the traction point is not limited to the two states of the non-existence of the traction point and the traction point being located at a fixed position. The position of the traction point changes with the movement state of the obstacle, and the position value of the traction point can include multiple values. The traction point being located at a fixed position refers to a position where a fixed distance is maintained between the traction point and the virtual wall.
[0179] The speed of the towing point is a continuous function of the motion state of the obstacle, which means that the speed of the towing point changes continuously with the motion state of the obstacle. Since the motion state of the obstacle changes continuously with time, the speed of the towing point also changes continuously with time, that is, the speed of the towing point will not jump.
[0180] The speed jump of the traction point refers to the change from the existence of the traction point to the non-existence of the traction point, or the change from the non-existence of the traction point to the existence of the traction point. That is to say, after the obstacle is detected, the speed of the traction point changes continuously with the movement state of the obstacle, and the speed of the traction point will not jump between the existence and non-existence. Or the "continuous" in the embodiment of the present application can be understood as that the speed of the traction point is not limited to the speed of the non-existence of the traction point and the speed of the traction point is a fixed speed. With the change of the movement state of the obstacle, the speed value of the traction point can include multiple speed values. It should be noted that the fixed speed of the traction point is not a constant value, but a fixed speed relative to a certain reference system. For example, the fixed speed of the traction point means that the speed of the traction point is the speed of the obstacle.
[0181] The towing point is used to provide a speed constraint for the vehicle. The existence of a towing point can provide a speed constraint for the vehicle, and the absence of a towing point cannot provide a speed constraint for the vehicle. In the embodiment of the present application, after an obstacle is detected, the speed constraint can be provided for the vehicle all the time, and there will be no jump between providing a speed constraint and not providing a speed constraint.
[0182] Since the motion state of the obstacle changes continuously with time, the position and speed of the towing point, which are continuous functions of the motion state of the obstacle, also change continuously with time, avoiding frequent acceleration or deceleration of the vehicle caused by sudden changes in the position and speed of the towing point.
[0183] Optionally, the method 700 further includes: generating a virtual wall according to the motion state of the obstacle.
[0184] Exemplarily, a virtual wall is generated according to the position of the obstacle. For example, the virtual wall may be located behind the obstacle, adjacent to the obstacle, and perpendicular to the lane direction. Fig. 9 As shown, the obstacle is another vehicle 11, and the virtual wall 901 may be located at the rear of the other vehicle 11 and perpendicular to the direction of the lane line.
[0185] The states of the virtual wall include a penetrable state and an impenetrable state. The penetrable state means that the vehicle can pass through the virtual wall during driving. Fig.14 As shown in , the virtual wall is a penetrable virtual wall, and the vehicle can penetrate the virtual wall. The impenetrable state means that the vehicle cannot penetrate the virtual wall during driving, or in other words, it needs to maintain a certain safety distance from the virtual wall, for example, Fig.13 As shown, the virtual wall is an impenetrable virtual wall and the vehicle cannot penetrate the virtual wall.
[0186] Exemplarily, the state of the virtual wall is related to the position of the pulling point.
[0187] Exemplarily, when the state of the virtual wall is a penetrable state, the position of the traction point may be at the virtual wall or in front of the virtual wall; when the state of the virtual wall is an impenetrable state, the position of the traction point is behind the virtual wall.
[0188] It should be understood that the above is only for illustration. In the implementation of this solution, the relationship between the state of the virtual wall and the position of the towing point may also include other forms of expression. For example, when the state of the virtual wall is a penetrable state, the position of the towing point may also be located behind the virtual wall. It should be noted that the descriptions such as "front" and "rear" in the embodiments of this application are all relative to the direction of the vehicle's forward movement. For example, Fig. 9 In the figure, the vehicle 12 is moving forward, that is, moving to the left side of the figure. In Figure 9 (a), the traction point 902 is located on the left side of the virtual wall 901, that is, the traction point 902 is located in front of the virtual wall 901.
[0189] like Fig. 9 As shown, Fig. 9 In the figure (a), the traction point 902 is located in front of the virtual wall 901, and the virtual wall 901 is in a penetrable state; Fig. 9 In the figure (b), the traction point 902 is located at the virtual wall 901, and the virtual wall 901 is in a penetrable state; Fig. 9 In FIG. (c), the traction point 902 is located behind the virtual wall 901, and the virtual wall 901 is in an impenetrable state. It should be understood that Fig. 9For illustration only, when the towing point is located behind the virtual wall, the virtual wall may also be in a penetrable state.
[0190] Exemplarily, the position of the towing point can be represented by the following distance. The following distance refers to the distance between the virtual wall and the towing point. For example, the following distance can be a positive number, zero, or a negative number. When the following distance is a positive number, the virtual wall is located behind the towing point, and the state of the virtual wall is an impenetrable state or a penetrable state; when the following distance is 0, the towing point is located at the virtual wall, and the state of the virtual wall is a penetrable state; when the following distance is a negative number, the virtual wall is located in front of the towing point, and the state of the virtual wall is a penetrable state. For another example, the following distance can be a positive number, zero, or a negative number. When the following distance is a positive number, the virtual wall is located in front of the towing point, and the state of the virtual wall is a penetrable state; when the following distance is 0, the towing point is located at the virtual wall, and the state of the virtual wall is a penetrable state; when the following distance is a negative number, the virtual wall is located behind the towing point, and the state of the virtual wall is an impenetrable state or a penetrable state.
[0191] It should be understood that the above is only an example, and the position of the towing point can also be indicated by other means, for example, the position of the towing point can be indicated by the tangential distance between the towing point and the obstacle, which is not limited in this application. The tangential distance refers to the distance parallel to the lane direction.
[0192] Optionally, the speed of the towing point is determined according to the tangential speed of the obstacle and the penetration speed of the ego vehicle.
[0193] For example, the speed of the towing point is the sum of the tangential speed of the obstacle and the penetration speed of the vehicle. The speed of the towing point V 牵引点 Satisfies the following formula.
[0194] V 牵引点 =V 切向 +V 穿透 ;
[0195] Among them, V 切向 represents the tangential velocity of the obstacle, V 穿透 Indicates the penetration speed of the vehicle.
[0196] Among them, the penetration speed of the vehicle is determined according to the motion state of the obstacle.
[0197] Optionally, the state of the virtual wall is related to the speed of the pulling point.
[0198] Exemplarily, when the speed of the traction point is less than or equal to the tangential speed of the obstacle, the state of the virtual wall is an impenetrable state. When the speed of the traction point is greater than the tangential speed of the obstacle, the state of the virtual wall is a penetrable state.
[0199] For example, the speed of the towing point is the sum of the tangential speed of the obstacle and the penetration speed of the vehicle. The penetration speed of the vehicle can be a positive number or zero, that is, the penetration speed of the vehicle is a non-negative number. In this case, if the penetration speed of the vehicle is 0, the speed of the towing point is equal to the tangential speed of the obstacle, and the state of the virtual wall is an impenetrable state. Alternatively, it can be understood that when the state of the virtual wall is an impenetrable state, the speed of the towing point can be determined only by the tangential speed of the obstacle.
[0200] like Fig.10 As shown, Fig.10 In Figure (a), the velocity V of the traction point 902 is 牵引点 is the tangential velocity V of the obstacle 切向 and the penetration speed V of the vehicle 穿透 The virtual wall 901 is in a penetrable state. Fig.10 In Figure (b), the velocity V of the traction point 902 is 牵引点 is the tangential velocity V of the obstacle 切向 and the penetration speed V of the vehicle 穿透 The virtual wall 901 is in a penetrable state. Fig.10 In Figure (c), the velocity V of the traction point 牵引点 is the tangential velocity V of the obstacle 切向 , the virtual wall 901 is in an impenetrable state.
[0201] For another example, the speed of the towing point is the sum of the tangential speed of the obstacle and the penetration speed of the vehicle, and the penetration speed of the vehicle can be positive, zero, or negative. In this case, if the penetration speed of the vehicle is 0 or negative, the speed of the towing point is equal to or less than the tangential speed of the obstacle, and the state of the virtual wall is impenetrable.
[0202] The traction point and the virtual wall correspond to each other, that is, when the virtual wall is set, there is a traction point to provide a speed constraint for the ego vehicle. When the virtual wall is not set, there is no traction point to provide a speed constraint for the ego vehicle. The virtual wall exists continuously, and the position and speed of the traction point are continuous functions of the motion state of the obstacle. Therefore, the speed constraint exists continuously, and the ego vehicle will not experience a jump in acceleration. In other words, although the state of the virtual wall will change, because the virtual wall exists continuously, or because the position and speed of the traction point change continuously, the acceleration of the ego vehicle will not jump with the change of the state of the virtual wall.
[0203] Optionally, step S720 includes: calculating the collision risk according to the motion state of the obstacle; and determining the position and speed of the towing point according to the collision risk.
[0204] The collision risk can also be called the proximity risk. The collision risk can be used to indicate the proximity between the obstacle and the vehicle. Alternatively, it can be understood that the collision risk is used to indicate the risk of collision between the obstacle and the vehicle. The higher the collision risk, the greater the collision risk. For example, when the obstacle is located in the adjacent lane of the vehicle, the collision risk can be the risk of a side collision between the obstacle and the vehicle.
[0205] Optionally, calculating the collision risk according to the motion state of the obstacle includes: calculating a collision index according to the motion state of the obstacle, and calculating the collision risk according to the collision index.
[0206] The collision index is explained below by taking the obstacle located in the adjacent lane of the vehicle as an example.
[0207] Exemplarily, the collision index includes any one or more of the following: the distance between the obstacle and the lane line (distance to lane, DTL), the time for the obstacle to reach the lane line (time to lane, TTL), and the lateral distance between the obstacle and the vehicle (distance to vehicle, DTV).
[0208] That is to say, the collision risk can be calculated based on any one or more of the above indicators. For example, the collision risk can be calculated based on DTL. For another example, the collision risk can be calculated based on TTL and DTV. For another example, the collision risk can be calculated based on DTL, TTL and DTV.
[0209] The lane line in DTL refers to the lane line between the obstacle and the vehicle. The time when the obstacle reaches the lane line is the estimated time when the obstacle crosses the lane.
[0210] Optionally, the lane line can be determined by the target driving path of the vehicle. That is, the collision index is determined according to the motion state of the obstacle and the target driving path of the vehicle, and the collision risk is calculated according to the collision index. Alternatively, it can be understood that the position and speed of the towing point are determined according to the motion state of the obstacle and the target driving path of the vehicle.
[0211] Furthermore, according to the target driving path, it can be determined that the vehicle has changed lanes, and accordingly, the lane lines in the above indicators will also change.
[0212] The lateral distance refers to the distance perpendicular to the lane direction, which can also be called the transverse distance. Correspondingly, the tangential distance refers to the distance parallel to the lane direction, which can also be called the longitudinal distance.
[0213] DTL represents the semantic information on traffic rules.
[0214] TTL is the quotient of DTL and the lateral speed of the obstacle, that is, the estimated time for the obstacle to cross the line. TTL represents the movement trend of the obstacle. The obstacle has a movement trend to move towards the lane of the vehicle, which can also be called the obstacle has an invasion trend.
[0215] DTV characterizes the collision risk in a kinematic sense.
[0216] For example, Figure 8 As shown, the obstacle is another car, and DTL and DTV are Figure 8 shown.
[0217] There is a negative correlation between the collision risk and DTL, TTL and DTV, that is, the higher the DTL, TTL and DTV, the lower the collision risk and the smaller the possibility of a collision.
[0218] For example, the collision risk satisfies the following formula.
[0219] risk=0.3*(2.0-DTL)+0.3*(1.0-TTL)+0.4*(2.5-DTV)
[0220] In the above formula, the collision risk is a monotonically decreasing function of DTL, TTL and DTV.
[0221] It should be noted that the above formula is only an example, and the near collision risk can also be calculated by other formulas, as long as the collision risk is a continuous function of DTL, TTL and DTV, and is negatively correlated with DTL, TTL and DTV.
[0222] It should be understood that the above is only for illustration, and the collision risk can also be calculated by other methods. For example, the collision risk can be calculated only by DTV and TTL. For another example, the collision risk can also be calculated by combining other parameters besides the above three parameters.
[0223] Optionally, the state of the virtual wall may be determined according to the collision risk.
[0224] For example, when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state. When the collision risk is less than the first threshold, the state of the virtual wall is a penetrable state. The value range of the first threshold is (0,1].
[0225] The collision risk can be a continuous function of the motion state of the obstacle, and the position of the towing point and the speed of the towing point are both continuous functions of the collision risk. Therefore, the position of the towing point and the speed of the towing point are both continuous functions of the motion state of the obstacle.
[0226] Exemplarily, when the collision risk is less than the second threshold, the position of the traction point is located in front of the virtual wall. When the collision risk is equal to the second threshold, the position of the traction point is located at the virtual wall. When the collision risk is greater than the second threshold, the position of the traction point is located behind the virtual wall. The value range of the second threshold is (0,1]. The second threshold is less than the first threshold.
[0227] The position of the towing point can be represented by the following distance, which is a continuous function of the collision risk. As mentioned above, in some embodiments, a positive following distance indicates that the towing point is located behind the virtual wall, a zero following distance indicates that the towing point is located at the virtual wall, and a negative following distance indicates that the towing point is located in front of the virtual wall. In this case, the following distance is positively correlated with the collision risk. That is, the higher the collision risk, the greater the following distance. If the towing point is located behind the virtual wall, the distance between the towing point and the virtual wall is greater; if the towing point is located in front of the virtual wall, the distance between the towing point and the virtual wall is smaller.
[0228] For example, the following distance and the collision risk risk can be determined by method one.
[0229] Following distance = own vehicle speed * (2.4 * risk – 1.2);
[0230] In method 1, the following distance is a monotonically increasing function of the collision risk. The second threshold is 0.5. When the collision risk is less than 0.5, the following distance is a positive number, and the towing point is located in front of the virtual wall; when the collision risk is greater than 0.5, the following distance is a negative number, and the towing point is located behind the virtual wall; when the collision risk is equal to 0.5, the following distance is 0, and the towing point is located at the virtual wall.
[0231] For another example, the following distance and the collision risk can be determined by method 2.
[0232] When the collision risk is greater than or equal to the first threshold, the following distance and the collision risk may satisfy the following formula.
[0233] Following distance = own vehicle speed * (2.4 * risk – 1.2);
[0234] When the collision risk is less than the first threshold, the following distance and the collision risk may satisfy the following formula.
[0235] Following distance = min(vehicle speed*(2.4*risk–1.2), d)
[0236] Where d represents the distance between the ego vehicle and the virtual wall.
[0237] In the second method, if the collision risk is less than 1, the following distance is a piecewise function. This piecewise function can be understood as follows: before the vehicle reaches the position indicated by the first term in the above formula, that is, the first term in the above formula is less than the second term, the following distance is a monotonically increasing function of the risk; after the vehicle reaches the position indicated by the first term, that is, the first term in the above formula is greater than the second term, the following distance is the distance between the vehicle and the virtual wall. The whole process remains continuous, and the virtual wall is in a penetrable state. When the collision risk is greater than or equal to 1, the following distance is a monotonically increasing function of the risk, and the state of the virtual wall is an impenetrable state.
[0238] Before the vehicle reaches the position indicated by the first item in the above formula, it can be understood that the position of the towing point calculated by the first item is in front of the vehicle. In this case, the position of the towing point is determined according to the value of the first item. After the vehicle reaches the position indicated by the first item in the above formula, it can be understood that the position of the towing point calculated by the first item is behind the vehicle. In this case, the position of the towing point is consistent with the position of the vehicle.
[0239] It should be understood that the above formula is for illustration only. In one implementation, when the state of the virtual wall is an impenetrable state, the calculation method of the position of the traction point in the existing solution can be reused.
[0240] For example, when the collision risk is greater than or equal to 1, the state of the virtual wall is an impenetrable state, and the following distance and the collision risk risk can satisfy the following formula.
[0241] Following distance = own vehicle speed * 1.2;
[0242] That is, when the collision risk is greater than or equal to 1, the following distance remains unchanged with the vehicle speed as the reference. For example, when the vehicle moves at a constant speed, the following distance remains unchanged.
[0243] This allows existing mature algorithms to be reused without the need for extensive road testing and re-debugging, saving debugging costs.
[0244] Fig. 9 The positions of the towing points at different collision risk levels are shown. Fig. 9 The collision risk in (a) is the lowest, and the collision risk in (c) is the highest. When the collision risk is low, the towing point is far away from the vehicle, such as Fig. 9 As shown in Figure (a), the towing point is located in front of the virtual wall, and the distance between the towing point and the vehicle is the largest. As the risk increases, the distance between the towing point and the vehicle decreases. Fig. 9 As shown in Figure (b), the traction point is located behind the virtual wall, relative to Fig. 9 As for Figure (a), the distance between the traction point and the vehicle decreases. Fig. 9As shown in Figure (c), the towing point is located behind the virtual wall. The collision risk in Figure (c) is the highest, and the distance between the towing point and the vehicle is the smallest. If the collision risk at this time is greater than or equal to the first threshold, the state of the virtual wall at this time is an impenetrable state, that is, the virtual wall at this time is equivalent to an impenetrable virtual wall. If the collision risk at this time is less than the first threshold, the state of the virtual wall at this time is a penetrable state.
[0245] Furthermore, the penetration speed of the ego vehicle is a continuous function of the collision risk.
[0246] Optionally, the penetration speed of the vehicle is negatively correlated with the collision risk, that is, the higher the risk, the lower the penetration speed of the vehicle.
[0247] Optionally, when the collision risk is greater than or equal to the first threshold, the speed of the traction point is less than or equal to the tangential speed of the obstacle, and the state of the virtual wall is an impenetrable state.
[0248] When the collision risk is less than the first threshold, the speed of the traction point is greater than the tangential speed of the obstacle, and the state of the virtual wall is a penetrable state.
[0249] Exemplarily, the penetration speed of the vehicle may satisfy the following formula.
[0250] V 穿透 =a*(1-risk);
[0251] In the above formula of the penetration speed of the ego vehicle, the penetration speed of the ego vehicle is a non-negative monotonically decreasing function of the collision risk. a is a parameter, and the value range of a is [0,300]. For example, the first threshold is 1, a is 25, when the collision risk is 0, the penetration speed of the ego vehicle is 25 m / s, when the collision risk is less than 1, the penetration speed of the ego vehicle is greater than 0, the speed of the towing point is greater than the tangential speed of the obstacle, and the state of the virtual wall is a penetrable state. When the collision risk is equal to 1, the penetration speed of the ego vehicle is 0, the speed of the towing point is equal to the tangential speed of the obstacle, and the state of the virtual wall at this time is an impenetrable state. When the collision risk is greater than 1, the penetration speed of the ego vehicle is less than 0, the speed of the towing point is less than the tangential speed of the obstacle, and the state of the virtual wall at this time is an impenetrable state.
[0252] Exemplarily, the penetration speed of the vehicle may satisfy the following formula.
[0253] V 穿透 =max(a*(1-risk),0);
[0254] In the above formula of the penetration speed of the ego vehicle, the penetration speed of the ego vehicle is a non-negative monotonically decreasing function of the collision risk, and the penetration speed of the ego vehicle is a non-negative number. a is a parameter, and the value range of a is [0,300]. For example, the first threshold is 1, a is 25, when the collision risk is 0, the penetration speed of the ego vehicle is 25 m / s, when the collision risk is less than 1, the penetration speed of the ego vehicle is greater than 0, the speed of the towing point is greater than the tangential speed of the obstacle, and the state of the virtual wall is a penetrable state. When the collision risk is greater than or equal to 1, the penetration speed of the ego vehicle is 0, the speed of the towing point is equal to the tangential speed of the obstacle, and the state of the virtual wall at this time is an impenetrable state.
[0255] Fig.10 The towing point speeds for different danger levels are shown. Fig.10 The danger level in (a) is the lowest, and the danger level in (c) is the highest. When the danger level is low, the penetration speed of the vehicle is high. As the danger level increases, the penetration speed of the vehicle decreases. When the danger level is greater than or equal to the second threshold, the penetration speed of the vehicle is 0. Fig.10 As shown in Figure 2, the speed of the towing point is the sum of the penetration speed of the vehicle and the tangential speed of the obstacle. Fig.10 In Figure (a), the risk level is the lowest and the penetration speed of the vehicle is the highest. Fig.10 The danger level in (b) is higher than that in (a), and the penetration speed of the ego vehicle is lower than that of the ego vehicle in (a). Fig.10 The danger level in Figure (c) is the highest, and its danger level is greater than the first threshold. The penetration speed of the vehicle is 0, and the speed of the traction point is the tangential speed of the obstacle.
[0256] The collision risk can be used to characterize the degree of intrusion of obstacles, that is, the degree of intrusion into the target driving path of the vehicle.
[0257] In the embodiment of the present application, when the degree of invasion of the obstacle is low, the collision risk is low, the virtual wall is in a penetrable state, and the vehicle can slow down preventively. When the degree of invasion of the obstacle is high, the collision risk is high, the virtual wall is in an impenetrable state, and the vehicle can maintain a safe distance to avoid collision.
[0258] Under different intrusion degrees, the state of the virtual wall is different, the position of the traction point and the speed of the traction point are different. In the gradual intrusion scene, the vehicle's response can be guaranteed to be continuous, improving the riding experience.
[0259] For example, when the ego vehicle is overtaking, the vehicle being overtaken is an obstacle outside the target driving path. When the degree of obstacle invasion is low, the ego vehicle can appropriately slow down to overtake to ensure safety. As the degree of obstacle invasion increases, the ego vehicle can maintain a stable speed or continue to slow down to avoid collision. The above processes are all continuous changes to avoid sudden changes in vehicle speed.
[0260] In one implementation, when the state of the virtual wall is an impenetrable state, the speed of the traction point can be realized by reusing the solution of the impenetrable virtual wall in the existing solution.
[0261] For example, if the speed of the traction point in the existing solution is the tangential speed of the obstacle, in the solution of the present application, when the state of the virtual wall is an impenetrable state, the speed of the traction point may be equal to the tangential speed of the obstacle.
[0262] This allows existing mature algorithms to be reused without the need for extensive road testing and re-debugging, saving debugging costs.
[0263] S730: Obtain the expected acceleration of the vehicle according to the position and speed of the towing point.
[0264] Specifically, the expected acceleration is determined based on the position error and the velocity error.
[0265] Exemplarily, the expected acceleration is a linear combination of the position error and the velocity error.
[0266] The position error refers to the difference between the position of the towing point and the current position of the vehicle, and the speed error refers to the difference between the speed of the towing point and the current speed of the vehicle.
[0267] For example, the following distance can be determined by the aforementioned method 2. In this case, the expected acceleration a 期望 Satisfies the following formula.
[0268] a 期望 =K1(V 牵引点 -V 自车 )+K2(S 牵引点 -S 自车 )
[0269] Wherein, K1 and K2 are coefficients. For example, K1 and K2 can be determined based on road test experience. The value range of K1 is (0, 10], and the value range of K2 is (0, 10].
[0270] For example, K1 = 1.0, K2 = 0.1. 牵引点 Indicates the position of the traction point, S 自车 Indicates the position of the vehicle. For example, the position can be represented by the S-axis coordinate in the Frenet coordinate system, and the S-axis coordinate can also be called the arc length coordinate.
[0271] For example, the expected acceleration a 期望 It can also be determined based on collision risk, position error and speed error.
[0272] For example, the following distance is determined by the aforementioned method 1. In this case, when the collision risk risk is greater than or equal to the first threshold, the expected acceleration a 期望 The following formula can be satisfied.
[0273] a 期望 =K1(V 牵引点 -V 自车 )+K2(S 牵引点 -S 自车 );
[0274] In one implementation, when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state, and the expected acceleration can be calculated by reusing an existing solution, for example, by the above formula.
[0275] When the collision risk is less than the first threshold, the following distance and the collision risk may satisfy the following formula.
[0276] a 期望 =K1(V 牵引点 -V 自车 )+max(K2(S 牵引点 -S 自车 ),0);
[0277] The above formula can be understood as follows: when the collision risk risk is less than the first threshold, the state of the virtual wall is a penetrable state. If the position of the towing point is in front of the ego vehicle, that is, the ego vehicle has not reached the position of the towing point, the expected acceleration is calculated based on the position error between the towing point and the ego vehicle and the speed error between the speed of the towing point and the speed of the ego vehicle, and the ego vehicle is towed to the position of the towing point; if the position of the towing point is behind the ego vehicle, that is, the ego vehicle has reached the position of the towing point, the latter term in the above formula is 0, and the expected acceleration is obtained through the speed error between the speed of the towing point and the speed of the ego vehicle, and the ego vehicle is towed to penetrate the virtual wall.
[0278] The expected acceleration can be output to the longitudinal planning module. The longitudinal planning module can be used to obtain the target vehicle speed.
[0279] Usually the virtual wall is an impenetrable virtual wall. When the position of the obstacle detected by the ego vehicle changes frequently near the critical point of adding the wall, the virtual wall may become unstable, that is, it jumps between having a virtual wall and not having a virtual wall, which has a discontinuous impact on the ego vehicle speed and causes a sudden change in the ego vehicle speed.
[0280] According to the solution of the embodiment of the present application, the position and speed of the towing point are both continuous functions of the motion state of the obstacle. After the obstacle is detected or the motion state of the obstacle is obtained, the speed constraint can be continuously provided to the vehicle. The position and speed of the towing point change continuously with the motion state of the obstacle, avoiding sudden changes in the position and speed of the towing point due to the influence of perceived noise, etc., thereby avoiding frequent acceleration or deceleration of the vehicle and improving the user's riding experience.
[0281] In existing solutions, impenetrable virtual walls are usually set in dangerous scenarios, for example, when the lateral distance between vehicles is close, which may easily cause collisions or sudden deceleration, affecting the user's riding experience. According to the solution of the embodiment of the present application, after an obstacle is detected or the motion state of the obstacle is obtained, speed constraints can be continuously provided to the vehicle, so that the vehicle can respond as quickly as possible in dangerous scenarios to avoid collisions or affect the riding experience. For example, after an obstacle is detected or the motion state of the obstacle is obtained, the position and speed of the towing point are determined, and speed constraints are continuously provided to the vehicle, rather than providing speed constraints only when the distance between vehicles is close. In this way, the vehicle can be decelerated in advance before a dangerous scenario occurs, thereby improving riding safety.
[0282] In addition, the state of the virtual wall in the embodiment of the present application includes a penetrable state and an impenetrable state. As mentioned above, the method can be applied to the cut-in scenario. The cut-in scenario refers to the scenario where an obstacle cuts into the lane of the vehicle. Under different intrusion levels, the virtual wall can present different states. For example, for obstacles with a low degree of intrusion, the virtual wall is in a penetrable state, and the vehicle can slow down preventively. As the degree of intrusion increases, the virtual wall changes to an impenetrable state, ensuring the driving safety of the vehicle. Since the vehicle has slowed down in advance, it can avoid the driver taking over due to an emergency cut-in, or avoid sudden deceleration, thereby improving the user's riding experience.
[0283] In addition, in the solution in the embodiment of the present application, when the risk level is high, the virtual wall is in an impenetrable state, which is equivalent to an impenetrable virtual wall, and can be compatible with the traditional impenetrable virtual wall solution. In this way, the existing mature algorithms can be reused without the need for a large number of road tests and re-debugging, saving debugging costs.
[0284] Fig.11 An automatic driving method 1100 provided in an embodiment of the present application is shown. The method 1100 can be regarded as an implementation of the method 700. In order to avoid unnecessary repetition, repeated descriptions are appropriately omitted when introducing the method 1100. The method 1100 includes steps S1110 to S1170, and steps S1110 to S1170 are described below.
[0285] S1110, obtaining the motion state of the obstacle.
[0286] Exemplarily, the motion state of the obstacle includes the speed of the obstacle and the position of the obstacle.
[0287] The motion state of obstacles can be obtained through the perception fusion module.
[0288] Furthermore, step S1110 also includes a target driving path of the vehicle.
[0289] Exemplarily, the obstacle is located in a lateral front area of the target driving path.
[0290] The target driving path of the ego vehicle can be obtained through the lateral planning module.
[0291] Step S1110 corresponds to step S710 in method 700. For detailed description, please refer to the aforementioned method 700, which will not be repeated here.
[0292] S1120, calculating a collision index.
[0293] The collision index is calculated based on the motion state of the obstacle.
[0294] Exemplarily, the collision index includes any one or more of the following: the distance DTL between the obstacle and the lane line, the estimated time TTL for the obstacle to cross the lane, and the lateral distance DTV between the obstacle and the vehicle.
[0295] S1130, calculating the collision risk.
[0296] The collision risk is calculated based on the collision index.
[0297] Exemplarily, the collision risk risk may satisfy the following formula.
[0298] risk=0.3*(2.0-DTL)+0.3*(1.0-TTL)+0.4*(2.5-DTV);
[0299] There is a negative correlation between the collision risk and DTL, TTL and DTV, that is, the higher the DTL, TTL and DTV, the lower the collision risk and the smaller the possibility of a collision.
[0300] S1140, determine the position of the traction point.
[0301] Exemplarily, the position of the towing point can be characterized by the following distance. The following distance is a continuous function of the collision risk. For example, the following distance can be a positive number, zero, or a negative number. In some embodiments, a positive following distance indicates that the towing point is located behind the virtual wall, a zero following distance indicates that the towing point is located at the virtual wall, and a negative following distance indicates that the towing point is located in front of the virtual wall. In this case, the following distance is positively correlated with the collision risk.
[0302] Exemplarily, the following distance and the collision risk risk can be determined by method one.
[0303] Following distance = own vehicle speed * (2.4 * risk – 1.2);
[0304] In method 1, the following distance is a monotonically increasing function of the collision risk. The second threshold is 0.5. When the collision risk is less than 0.5, the following distance is a positive number, and the towing point is located in front of the virtual wall; when the collision risk is greater than 0.5, the following distance is a negative number, and the towing point is located behind the virtual wall; when the collision risk is equal to 0.5, the following distance is 0, and the towing point is located at the virtual wall.
[0305] For another example, the following distance and the collision risk can be determined by method 2.
[0306] When the collision risk is greater than or equal to the first threshold, the following distance and the collision risk may satisfy the following formula.
[0307] Following distance = own vehicle speed * (2.4 * risk – 1.2);
[0308] When the collision risk is less than the first threshold, the following distance and the collision risk may satisfy the following formula.
[0309] Following distance = min(vehicle speed*(2.4*risk–1.2), d)
[0310] Where d represents the distance between the ego vehicle and the virtual wall.
[0311] In the second method, if the collision risk is less than 1, the following distance is a piecewise function. This piecewise function can be understood as follows: before the vehicle reaches the position indicated by the first term in the above formula, that is, the first term in the above formula is less than the second term, the following distance is a monotonically increasing function of the risk; after the vehicle reaches the position indicated by the first term, that is, the first term in the above formula is greater than the second term, the following distance is the distance between the vehicle and the virtual wall. The whole process remains continuous, and the virtual wall is in a penetrable state. When the collision risk is greater than or equal to 1, the following distance is a monotonically increasing function of the risk, and the state of the virtual wall is an impenetrable state.
[0312] S1150, determining the speed of the traction point.
[0313] Exemplarily, the speed of the towing point is determined by the tangential speed of the obstacle and the penetration speed of the ego vehicle.
[0314] For example, the speed of the towing point is equal to the sum of the tangential speed of the obstacle and the penetration speed of the vehicle. The speed of the towing point V 牵引点 Satisfies the following formula.
[0315] V 牵引点 =V 切向 +V 穿透 ;
[0316] The penetration speed of the ego vehicle is negatively correlated with the collision risk, that is, the greater the collision risk, the smaller the penetration speed of the ego vehicle.
[0317] Exemplarily, the penetration speed of the vehicle may satisfy the following formula.
[0318] V 穿透 =max(25*(1-risk),0);
[0319] In the above formula of the penetration speed of the ego vehicle, the penetration speed of the ego vehicle is a non-negative monotonically decreasing function of the collision risk, and the penetration speed of the ego vehicle is a non-negative number. The second threshold is 1. When the collision risk is 0, the penetration speed of the ego vehicle is 25 m / s. When the collision risk is less than 1, the penetration speed of the ego vehicle is greater than 0, the speed of the towing point is greater than the tangential speed of the obstacle, and the state of the virtual wall is a penetrable state. When the collision risk is greater than or equal to 1, the penetration speed of the ego vehicle is 0, the speed of the towing point is equal to the tangential speed of the obstacle, and the state of the virtual wall at this time is an impenetrable state.
[0320] Steps S1120 to S1150 correspond to step S720 in method 700. For detailed description, please refer to the aforementioned method 700 and will not be repeated here.
[0321] S1160, determine the expected acceleration.
[0322] Specifically, the expected acceleration is determined based on the position error and the velocity error.
[0323] Exemplarily, the expected acceleration is a linear combination of the position error and the velocity error.
[0324] The position error refers to the difference between the position of the towing point and the current position of the vehicle, and the speed error refers to the difference between the speed of the towing point and the current speed of the vehicle.
[0325] For example, the following distance can be determined by the aforementioned method 2. In this case, the expected acceleration a 期望Satisfies the following formula.
[0326] a 期望 =K1(V 牵引点 -V 自车 )+K2(S 牵引点 -S 自车 )
[0327] Wherein, K1 and K2 are coefficients. For example, K1 and K2 can be determined based on road test experience, for example, K1 = 1.0, K2 = 0.1. 牵引点 Indicates the position of the traction point, S 自车 Indicates the position of the vehicle.
[0328] For example, the expected acceleration a 期望 It can also be determined based on collision risk, position error and speed error.
[0329] For example, the following distance is determined by the aforementioned method 1. In this case, when the collision risk risk is greater than or equal to the first threshold, the expected acceleration a 期望 The following formula can be satisfied.
[0330] a 期望 =K1(V 牵引点 -V 自车 )+K2(S 牵引点 -S 自车 );
[0331] When the collision risk is less than the first threshold, the following distance and the collision risk may satisfy the following formula.
[0332] a 期望 =K1(V 牵引点 -V 自车 )+max(K2(S 牵引点 -S 自车 ),0);
[0333] The above formula can be understood as follows: when the collision risk risk is less than the first threshold, the state of the virtual wall is a penetrable state. If the position of the towing point is in front of the ego vehicle, that is, the ego vehicle has not reached the towing point, the expected acceleration is calculated based on the position error and the speed error, and the ego vehicle is towed to the towing point; if the position of the towing point is behind the ego vehicle, that is, the ego vehicle has reached the towing point, the latter term in the above formula is 0, and the expected acceleration is obtained through the speed error, and the ego vehicle is towed to penetrate the virtual wall.
[0334] Step S1160 corresponds to step S730 in method 700. For detailed description, please refer to the aforementioned method 700, which will not be repeated here.
[0335] S1170, output expected acceleration.
[0336] The expected acceleration can be output to the longitudinal planning module. The longitudinal planning module can be used to obtain the target vehicle speed.
[0337] According to the solution of the embodiment of the present application, the position and speed of the towing point are both continuous functions of the motion state of the obstacle. After the obstacle is detected or the motion state of the obstacle is obtained, the speed constraint can be continuously provided to the vehicle. The position and speed of the towing point change continuously with the motion state of the obstacle, avoiding sudden changes in the position and speed of the towing point due to the influence of perceived noise, etc., thereby avoiding frequent acceleration or deceleration of the vehicle and improving the user's riding experience.
[0338] Fig.12 and Fig.13 Schematic diagrams showing the effects of using the existing solution and the solution of the present application when a lateral vehicle cuts into the vehicle's lane are shown respectively.
[0339] The virtual wall used in the existing solution is an impenetrable virtual wall, that is, after adding the wall, the vehicle needs to keep a safe distance from the virtual wall. Fig.12 As shown, the other vehicle 11 performs a lateral squeezing action on the own vehicle 12, Fig.12 As can be seen from Figures (a) to (c), the other vehicle 11 gradually invades the lane of the vehicle 12. Fig.12 As shown in Figure (a), the other vehicle 11 does not invade the lane of the own vehicle, or in other words, the lateral distance between the own vehicle 12 and the other vehicle 11 is greater than the set threshold. The existing solutions usually do not add a virtual wall. Fig.12 In the figure (b), the invasion degree of the other car 11 is not high, or the lateral distance between the self-vehicle 12 and the other car 11 is greater than the set threshold. The existing solution usually does not add a virtual wall, and the self-vehicle can drive normally. Fig.12 In the figure (c), the other car has invaded the lane of the own car 12, and the invasion degree is high. The lateral distance between the own car 12 and the other car 11 is less than the set threshold. In this case, the existing solution adds a virtual wall 910, and the virtual wall 910 is an impenetrable virtual wall. Fig.12 As shown in FIG. 8( c ), when the virtual wall 910 is added, a collision may have occurred or the vehicle may need to be decelerated suddenly or the vehicle may need to be taken over by the driver urgently, which seriously affects the safety and riding experience of the vehicle.
[0340] The solution in the embodiment of the present application can add a virtual wall in advance, and the virtual wall includes a penetrable state and an impenetrable state. Without affecting the driving of the vehicle, the vehicle can be decelerated in advance to improve the safety and comfort of the ride.
[0341] like Fig.13 As shown, the other vehicle 11 performs a lateral squeezing action on the own vehicle 12, Fig.13As can be seen from Figures (a) to (c), the other vehicle 11 gradually invades the lane of the vehicle 12. Fig.13 As shown in FIG. 1 (a), the other vehicle 11 has not invaded the lane of the vehicle. The solution of the embodiment of the present application sets a virtual wall 901, and the virtual wall 901 includes a penetrable state and an impenetrable state. The state of the virtual wall 901 changes with the degree of invasion of the other vehicle 11. Fig.13 In the figure (b), the invasion degree of the other car 11 increases compared with the figure (a), and the state of the virtual wall 901 gradually becomes impenetrable. Fig.13 In Figure (c), the other vehicle has invaded the lane of the vehicle 12, and the invasion degree is high, and the virtual wall 901 is in an impenetrable state. Fig.13 In the embodiment, when another vehicle 11 is detected, a virtual wall 901 can be set to decelerate in advance, thereby improving the safety and comfort of riding.
[0342] Fig.14 A schematic diagram showing the effect of the solution of the present application when there is noise at the position of the other vehicle is shown.
[0343] In the existing scheme, when there is noise in the position of the other vehicle, the position of the other vehicle detected by the ego vehicle may jump between the critical position where the virtual wall is set and the critical position where the virtual wall is not set, resulting in the instability of the virtual wall and the frequent acceleration and deceleration of the ego vehicle. Fig.14 It is only a schematic diagram of the position change of the other vehicle detected by the own vehicle, and does not represent the actual position of the other vehicle 11.
[0344] The position of the other car 11 obtained by the car 12 is as follows Fig.14 As shown, the other car 11 is near the lane line, such as Fig.14 As shown in FIG. 1( a ), when the self-vehicle 12 detects the other vehicle 11 , a virtual wall 901 is set. The state of the virtual wall 901 includes a penetrable state and an impenetrable state. Fig.14 As shown in Figure (b), the invasion degree of the other car 11 is low, the virtual wall 901 is in a penetrable state, and the self-car 12 penetrates the virtual wall 901. Fig.14 In FIG. (c), the vehicle 12 continues to travel. Fig.14 During the driving process, the speed of the vehicle can be kept at a relatively stable state, and the vehicle can pass by the other vehicle 11 smoothly.
[0345] Fig.15 It is a schematic block diagram of the automatic driving device 3000 provided in an embodiment of the present application. Fig.15 The autonomous driving device 3000 shown includes an acquisition unit 3010 and a processing unit 3020 .
[0346] The acquisition unit 3010 and the processing unit 3020 can be used to execute the autonomous driving method of the embodiments of the present application, for example, can be used to execute method 700 or method 1100.
[0347] The acquisition unit 3010 is used to acquire the motion state of the obstacle, and the motion state of the obstacle includes the position of the obstacle and the speed of the obstacle. The processing unit 3020 is used to determine the position of the traction point and the speed of the traction point according to the motion state of the obstacle, and the speed of the traction point is used to indicate the expected speed of the vehicle at the position of the traction point. The position of the traction point is a continuous function of the motion state of the obstacle, and the speed of the traction point is a continuous function of the motion state of the obstacle; the expected acceleration of the vehicle is obtained according to the position of the traction point and the speed of the traction point.
[0348] Optionally, as an embodiment, the processing unit 3020 is specifically used to: generate a virtual wall according to the position of the obstacle, and the state of the virtual wall includes a penetrable state and an impenetrable state.
[0349] Optionally, as an embodiment, the virtual wall exists continuously.
[0350] Optionally, as an embodiment, the acquisition unit 3010 is also used to obtain the target driving path of the vehicle; and the processing unit 3020 is specifically used to determine the position and speed of the towing point according to the motion state of the obstacle and the target driving path of the vehicle.
[0351] Optionally, as an embodiment, the position of the towing point is characterized by a following distance.
[0352] Optionally, as an embodiment, the update frequency of the acceleration is expected to be greater than or equal to 20 Hz.
[0353] Optionally, as an embodiment, the processing unit 3020 is specifically used to: calculate the collision risk according to the motion state of the obstacle; and determine the position and speed of the towing point according to the collision risk.
[0354] Optionally, as an embodiment, when the collision risk is less than a first threshold, the state of the virtual wall is a penetrable state; when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state.
[0355] Optionally, as an embodiment, the speed of the obstacle includes the tangential speed of the obstacle, and the processing unit 3020 is specifically used to: determine the penetration speed of the vehicle according to the collision risk, and the penetration speed of the vehicle is negatively correlated with the collision risk; determine the speed of the towing point according to the tangential speed of the obstacle and the penetration speed of the vehicle
[0356] Optionally, as an embodiment, the processing unit 3020 is specifically configured to: when the collision risk is greater than or equal to a first threshold, the speed of the towing point is less than or equal to the tangential speed of the obstacle.
[0357] Optionally, as an embodiment, the processing unit 3020 is specifically used to: calculate a collision index based on the motion state of the obstacle, the collision index including at least one or more of the following: the distance between the obstacle and the lane line, the estimated time for the obstacle to cross the line, or the lateral distance between the obstacle and the vehicle; calculate the collision risk based on the collision index.
[0358] Optionally, as an embodiment, the processing unit 3020 is further used to: control the vehicle-mounted display to display the positional relationship between the vehicle, the obstacle and the virtual wall.
[0359] It should be noted that the above-mentioned device 3000 is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this.
[0360] For example, a "unit" may be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.
[0361] Therefore, the units of each example described in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0362] Fig.16 It is a schematic diagram of the hardware structure of the automatic driving device provided in an embodiment of the present application. Fig.16 The automatic driving device 4000 shown (the device 4000 may be a computer device) includes a memory 4001, a processor 4002, a communication interface 4003 and a bus 4004. The memory 4001, the processor 4002 and the communication interface 4003 are connected to each other through the bus 4004.
[0363] The memory 4001 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 4001 may store a program. When the program stored in the memory 4001 is executed by the processor 4002, the processor 4002 is used to execute each step of the automatic driving method of the embodiment of the present application. Specifically, the processor 4002 may execute the above Figure 7 Steps S710 to S730 in the method shown.
[0364] Processor 4002 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the autonomous driving method of the method embodiment of the present application.
[0365] The processor 4002 may also be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the autonomous driving method of the present application may be completed by an integrated logic circuit of hardware in the processor 4002 or by instructions in the form of software.
[0366] The processor 4002 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 4001, and the processor 4002 reads the information in the memory 4001, and combines its hardware to complete the functions required to be performed by the units included in the automatic driving device of the embodiment of the present application, or executes the automatic driving method of the embodiment of the present application.
[0367] The communication interface 4003 uses a transceiver device such as, but not limited to, a transceiver to implement communication between the device 4000 and other devices or a communication network. For example, the movement state of an obstacle can be obtained through the communication interface 4003.
[0368] The bus 4004 may include a path for transmitting information between various components of the device 4000 (eg, the memory 4001 , the processor 4002 , and the communication interface 4003 ).
[0369] It should be noted that although the above device 4000 only shows a memory, a processor, and a communication interface, in the specific implementation process, those skilled in the art should understand that the device 4000 may also include other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the device 4000 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the device 4000 may also only include the devices necessary to implement the embodiments of the present application, and does not necessarily include Fig.16 All devices shown in .
[0370] In some embodiments, the disclosed methods may be implemented as computer program instructions encoded in a machine-readable format on a computer-readable storage medium or on other non-transitory media or articles of manufacture. Fig.17 Schematically illustrates a conceptual partial view of an example computer program product arranged according to at least some embodiments presented herein, the example computer program product comprising a computer program for executing a computer process on a computing device. In one embodiment, the example computer program product 6000 is provided using a signal bearing medium 6010. The signal bearing medium 6010 may include one or more program instructions 6020, which when executed by one or more processors may provide the above-described Figure 7 or Fig.11 Thus, for example, reference to Figure 7 In the embodiment shown in , one or more features of method 700 may be undertaken by one or more instructions associated with signal bearing medium 6010. In addition, Fig.17 Program instructions 6020 in also describe example instructions.
[0371] In some examples, the signal-bearing medium 6010 may include a computer-readable medium 6030, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM) or a random access memory (RAM), etc. In some embodiments, the signal-bearing medium 6010 may include a computer-recordable medium 6040, such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, etc. In some embodiments, the signal-bearing medium 6010 may include a communication medium 6050, such as, but not limited to, a digital and / or analog communication medium (e.g., a fiber optic cable, a waveguide, a wired communication link, a wireless communication link, etc.). Thus, for example, the signal-bearing medium 6010 may be communicated by a wireless form of the communication medium 6050 (e.g., a wireless communication medium that complies with the IEEE 802.11 standard or other transmission protocol). One or more program instructions 6020 may be, for example, computer executable instructions or logic implementation instructions. In some examples, Figures 2 to 5 The computing device in can be configured to provide various operations, functions, or actions in response to program instructions 6020 communicated to the computing device by one or more of computer-readable medium 6030, computer-recordable medium 6040, and / or communication medium 6050. It should be understood that the arrangement described here is only for illustrative purposes. Thus, those skilled in the art will understand that other arrangements and other elements (e.g., machines, interfaces, functions, sequences, and functional groups, etc.) can be used instead, and some elements can be omitted together according to the desired results. In addition, many of the described elements are functional entities that can be implemented as discrete or distributed components, or in any appropriate combination and position to be combined with other components to implement.
[0372] It should be understood that the processor in the embodiment of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0373] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0374] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0375] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0376] In this application, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0377] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0378] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0379] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0380] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0381] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0382] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0383] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0384] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An automatic driving method, characterized in that: include: Acquiring a motion state of an obstacle, wherein the motion state of the obstacle includes a position of the obstacle and a speed of the obstacle; Determine the position of the traction point and the speed of the traction point according to the motion state of the obstacle, the speed of the traction point is used to indicate the expected speed of the vehicle at the position of the traction point, the position of the traction point is a continuous function of the motion state of the obstacle, and the speed of the traction point is a continuous function of the motion state of the obstacle; The expected acceleration of the vehicle is obtained according to the position of the towing point and the speed of the towing point.
2. The method according to claim 1, characterized in that The method further comprises: A virtual wall is generated according to the position of the obstacle, and the state of the virtual wall includes a penetrable state and an impenetrable state.
3. The method according to claim 2, characterized in that The virtual wall exists continuously.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Obtaining the target driving path of the vehicle; and The step of determining the position of the traction point and the speed of the traction point according to the motion state of the obstacle comprises: The position of the traction point and the speed of the traction point are determined according to the motion state of the obstacle and the target driving path of the vehicle.
5. The method according to any one of claims 1 to 3, characterized in that The position of the towing point is characterized by the following distance.
6. The method according to any one of claims 1 to 3, characterized in that The update frequency of the expected acceleration is greater than or equal to 20 Hz.
7. The method according to claim 2 or 3, characterized in that: The step of determining the position of the traction point and the speed of the traction point according to the motion state of the obstacle comprises: Calculating the collision risk according to the motion state of the obstacle; The position of the towing point and the speed of the towing point are determined according to the collision risk.
8. The method according to claim 7, characterized in that When the collision risk is less than a first threshold, the state of the virtual wall is a penetrable state; when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state.
9. The method according to claim 7, characterized in that: The speed of the obstacle includes the tangential speed of the obstacle, and The step of determining the position of the towing point and the speed of the towing point according to the collision risk comprises: determining a penetration speed of the vehicle according to the collision risk, wherein the penetration speed of the vehicle is negatively correlated with the collision risk; The speed of the towing point is determined according to the tangential speed of the obstacle and the penetration speed of the vehicle.
10. The method according to claim 9, characterized in that The step of determining the position of the towing point and the speed of the towing point according to the collision risk comprises: When the collision risk is greater than or equal to a first threshold, the speed of the traction point is less than or equal to the tangential speed of the obstacle.
11. The method according to claim 7, characterized in that Calculating the collision risk according to the motion state of the obstacle includes: Calculating a collision index according to the motion state of the obstacle, the collision index including at least one or more of the following: the distance between the obstacle and the lane line, the time when the obstacle reaches the lane line, and the lateral distance between the obstacle and the vehicle; The collision risk is calculated according to the collision index.
12. The method according to claim 2 or 3, characterized in that: The method further comprises: The vehicle-mounted display is controlled to display the positional relationship among the vehicle, the obstacle and the virtual wall.
13. An automatic driving device, characterized in that: include: an acquisition unit, configured to acquire a motion state of an obstacle, wherein the motion state of the obstacle includes a position of the obstacle and a speed of the obstacle; A processing unit for: Determine the position of the traction point and the speed of the traction point according to the motion state of the obstacle, the speed of the traction point is used to indicate the expected speed of the vehicle at the position of the traction point, the position of the traction point is a continuous function of the motion state of the obstacle, and the speed of the traction point is a continuous function of the motion state of the obstacle; The expected acceleration of the vehicle is obtained according to the position of the towing point and the speed of the towing point.
14. The device according to claim 13, characterized in that The processing unit is also used for: A virtual wall is generated according to the movement state of the obstacle, and the state of the virtual wall includes a penetrable state and an impenetrable state.
15. The device according to claim 14, characterized in that The virtual wall exists continuously.
16. The device according to any one of claims 13 to 15, characterized in that The acquisition unit is also used for: Obtaining the target driving path of the vehicle; and The processing unit is specifically used for: The position of the traction point and the speed of the traction point are determined according to the motion state of the obstacle and the target driving path of the vehicle.
17. The device according to any one of claims 13 to 15, characterized in that The position of the towing point is characterized by the following distance.
18. The device according to any one of claims 13 to 15, characterized in that The update frequency of the expected acceleration is greater than or equal to 20 Hz.
19. The device according to claim 14 or 15, characterized in that The processing unit is specifically used for: Calculating the collision risk according to the motion state of the obstacle; The position of the towing point and the speed of the towing point are determined according to the collision risk.
20. The device according to claim 19, characterized in that When the collision risk is less than a first threshold, the state of the virtual wall is a penetrable state; when the collision risk is greater than or equal to the first threshold, the state of the virtual wall is an impenetrable state.
21. The device according to claim 19, characterized in that The speed of the obstacle includes the tangential speed of the obstacle, and The processing unit is specifically used for: determining a penetration speed of the vehicle according to the collision risk, wherein the penetration speed of the vehicle is negatively correlated with the collision risk; The speed of the towing point is determined according to the tangential speed of the obstacle and the penetration speed of the vehicle.
22. The device according to claim 21, characterized in that The processing unit is specifically used for: When the collision risk is greater than or equal to a first threshold, the speed of the traction point is less than or equal to the tangential speed of the obstacle.
23. The device according to claim 19, characterized in that The processing unit is specifically used for: Calculating a collision index according to the motion state of the obstacle, the collision index including at least one or more of the following: the distance between the obstacle and the lane line, the estimated time for the obstacle to cross the lane, or the lateral distance between the obstacle and the vehicle; The collision risk is calculated according to the collision index.
24. The device according to claim 14 or 15, further comprising a display unit, wherein the display unit is used to display the positional relationship between the vehicle, the obstacle and the virtual wall.
25. A vehicle, characterized in that: An automatic driving device comprising any one of claims 13 to 24.
26. An automatic driving device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to call the program instructions to execute the method according to any one of claims 1 to 12.
27. A computer-readable storage medium, characterized in that: The computer-readable medium stores a program code for execution by a device, the program code including a program for executing the method according to any one of claims 1 to 12.
28. A chip, characterized in that: The chip includes a processor and a data interface, and the processor reads instructions stored in a memory through the data interface to execute the method according to any one of claims 1 to 12.
