WO2022062825A1 - Vehicle control method, device, and vehicle - Google Patents

Vehicle control method, device, and vehicle Download PDF

Info

Publication number
WO2022062825A1
WO2022062825A1 PCT/CN2021/114741 CN2021114741W WO2022062825A1 WO 2022062825 A1 WO2022062825 A1 WO 2022062825A1 CN 2021114741 W CN2021114741 W CN 2021114741W WO 2022062825 A1 WO2022062825 A1 WO 2022062825A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
obstacle
potential energy
motion state
collision
Prior art date
Application number
PCT/CN2021/114741
Other languages
French (fr)
Chinese (zh)
Inventor
张晓毓
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022062825A1 publication Critical patent/WO2022062825A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • B60W60/0011Planning or execution of driving tasks involving control alternatives for a single driving scenario, e.g. planning several paths to avoid obstacles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • B60W30/09Taking automatic action to avoid collision, e.g. braking and steering
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • B60W30/095Predicting travel path or likelihood of collision
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/08Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
    • B60W30/095Predicting travel path or likelihood of collision
    • B60W30/0956Predicting travel path or likelihood of collision the prediction being responsive to traffic or environmental parameters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles

Definitions

  • the present application relates to the field of autonomous driving, and more particularly, to a vehicle control method, device, and vehicle.
  • Artificial intelligence is a 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.
  • artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that responds in a similar way to human intelligence.
  • Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the 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, and basic AI theory.
  • Autopilot is a mainstream application in the field of artificial intelligence.
  • Autopilot technology relies on the cooperation of computer vision, radar, monitoring devices and global positioning systems to allow motor vehicles to achieve autonomous driving without the need for human active 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 an operator, such as a pilot, driver, or passenger.
  • An autonomous vehicle permits the operator to switch from a manual mode of operation to a self-driving mode or a mode in between. Since automatic 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 the efficiency of highway transportation. Therefore, autonomous driving technology is getting more and more attention.
  • the motion state of obstacles around the vehicle can be input into the AI model to obtain the speed and direction of movement of the vehicle through the AI model, so as to adjust the speed and direction of movement of the vehicle to avoid collision between the vehicle and obstacles around the vehicle .
  • the safety of the controlled vehicle cannot be satisfied.
  • the present application provides a vehicle control method, device and vehicle, so as to improve the safety of adjusting the target movement speed and target movement direction of the vehicle.
  • a control scheme for a vehicle including: collecting the motion state of an obstacle within a preset range; inputting the motion state of the obstacle into an artificial intelligence AI model and a potential energy function, respectively, to determine the first motion of the vehicle.
  • the potential energy function indicates the possibility of collision between the obstacle and the vehicle by calculating the collision potential energy between the obstacle and the vehicle, the greater the collision potential energy, the more The higher the possibility of the collision, the smaller the potential energy of the collision, the smaller the possibility of the collision, the first motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the first motion state is The second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model; based on the first motion state and/or the second motion state, a target motion state of the vehicle is determined, and the target motion state is The state includes the target movement speed and target movement direction of the vehicle.
  • the motion state of the obstacle is input into the AI model and the potential energy function respectively to obtain the first motion state and the second motion state
  • the target motion state of the vehicle is determined based on the first motion state and the second motion state , so as to avoid that the target motion state of the vehicle can only be determined based on the AI model in the prior art, which is beneficial to improve the safety of determining the target motion state of the vehicle.
  • determining the second motion state of the vehicle based on the potential energy function is beneficial to improve the accuracy of determining the target motion state, and avoids the prior art from determining the vehicle's motion state only based on the relative distance between the vehicle and the obstacle. target motion state.
  • the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle .
  • the collision potential energy between the obstacle and the vehicle is inversely related to the relative distance between the obstacle and the vehicle, and is positively related to the relative speed between the obstacle and the vehicle, which is beneficial to measure the obstacle and the vehicle. the possibility of a collision between them.
  • the above-mentioned relative speed may be a component of the relative speed between the obstacle and the vehicle in the direction of travel of the vehicle.
  • the collision potential energy between the obstacle and the vehicle is positively correlated with the component of the relative speed in the traveling direction of the vehicle, which is beneficial to improve the accuracy of the possibility of collision between the obstacle and the vehicle.
  • the determining the target motion state of the vehicle based on the first motion state and/or the second motion state includes: if the relative relationship between the obstacle and the vehicle is If the distance is less than the first preset distance, and/or the relative speed between the obstacle and the vehicle is higher than the first preset speed, then the target motion state of the vehicle is determined based on the second motion state; and /or, if the relative distance between the obstacle and the vehicle is greater than the second preset distance, and/or the relative speed between the obstacle and the vehicle is lower than the second preset speed, based on The first motion state determines the target motion state of the vehicle, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed .
  • the target motion state of the vehicle can be determined based on the second motion state determined by the potential energy function, which is beneficial to improve the safety of determining the target motion state of the vehicle.
  • the first motion state of the vehicle determines the target motion state of the vehicle, which is beneficial to reduce the time for determining the target motion state of the vehicle.
  • the second motion state of the vehicle is determined, so that the change between the current collision potential energy and the adjusted collision potential energy is relatively small. Small, that is to say, the movement speed of the vehicle changes is smaller, and the movement angle of the vehicle changes is smaller, so as to improve the comfort of the passengers.
  • inputting the motion state of the obstacle into a potential energy function to determine the second motion state of the vehicle includes: determining the vehicle based on a second objective function min(f ⁇ F 1 ).
  • the second motion state of wherein F 1 represents the preset first collision potential energy threshold, and f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
  • the second motion state of the vehicle is determined, so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, which is beneficial to improve the determination of the vehicle's The security of the target motion state.
  • the potential energy function is Wherein, k, ⁇ , ⁇ represent constant coefficients, C represents a constant, ⁇ represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
  • a method for controlling a vehicle comprising: calculating a relative speed and a relative distance between an obstacle and a vehicle; calculating the relationship between the obstacle and the vehicle based on the relative speed, the relative distance, and a potential energy function Collision potential energy between vehicles, wherein the collision potential energy indicates the possibility of collision between the obstacle and the vehicle, the higher the collision potential energy is, the higher the collision probability is, and the smaller the collision potential energy is, the higher the collision potential energy is.
  • determining the second motion state of the vehicle based on the potential energy function is beneficial to improve the accuracy of determining the target motion state, and avoids determining the target motion state of the vehicle only based on the relative distance between the vehicle and the obstacle in the prior art .
  • the second motion state of the vehicle is determined, so that there is a difference between the current collision potential energy and the adjusted collision potential energy
  • the change of the vehicle is smaller, that is to say, the movement speed of the vehicle changes is smaller, and the movement angle of the vehicle change is smaller, so as to improve the comfort of the passengers.
  • the second motion state of the vehicle is determined so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, which is beneficial to improve the safety of determining the target motion state of the vehicle.
  • the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle .
  • the collision potential energy between the obstacle and the vehicle is inversely related to the relative distance between the obstacle and the vehicle, and is positively related to the relative speed between the obstacle and the vehicle, which is beneficial to measure the obstacle and the vehicle. the possibility of a collision between them.
  • the above-mentioned relative speed may be a component of the relative speed between the obstacle and the vehicle in the direction of travel of the vehicle.
  • the collision potential energy between the obstacle and the vehicle is positively correlated with the component of the relative speed in the traveling direction of the vehicle, which is beneficial to improve the accuracy of the possibility of collision between the obstacle and the vehicle.
  • the second motion state of the vehicle is determined, so that the current collision potential energy and the adjusted collision potential energy are The change between them is small, that is to say, the movement speed changed by the vehicle is smaller, and the movement angle changed by the vehicle is smaller, so as to improve the comfort of the passengers.
  • comfort mode may be input by the driver, or may be selected by the controller in the vehicle based on the current road conditions, which is not limited in this embodiment of the present application.
  • the method further includes: in a safe mode, based on a second objective function min(f ⁇ F 1 ), determining a second motion state of the vehicle, wherein F 1 represents a preset The first collision potential energy threshold of , f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
  • the second motion state of the vehicle is determined based on the second objective function min (f ⁇ F 1 ), so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, there are It is beneficial to improve the safety of determining the target motion state of the vehicle.
  • the above-mentioned safety mode may be input by the driver, or may be selected by the controller in the vehicle based on the current road conditions, which is not limited in this embodiment of the present application.
  • a control device for a vehicle has the function of implementing the device in the method design of the first aspect.
  • These functions can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more units corresponding to the above functions.
  • a control device for a vehicle has the function of implementing the device in the method design of the second aspect.
  • These functions can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more units corresponding to the above functions.
  • a computing device including an input-output interface, a processor, and a memory.
  • the processor is used to control the input and output interface to send and receive signals or information
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the computing device executes the method in the first aspect.
  • a computing device including an input-output interface, a processor, and a memory.
  • the processor is used to control the input and output interface to send and receive signals or information
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the computing device executes the method in the second aspect.
  • a computer program product comprising: computer program code, which, when the computer program code is run on a computer, causes the computer to perform the methods in the above aspects.
  • a computer-readable medium stores program codes, which, when executed on a computer, cause the computer to execute the methods in the above-mentioned aspects.
  • a chip system in a ninth aspect, includes a processor for a computing device to implement the functions involved in the above aspects, for example, generating, receiving, sending, or processing the data involved in the above methods and/or or information.
  • the chip system further includes a memory for storing necessary program instructions and data of the computing device.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a vehicle including an input-output interface, a processor and a memory.
  • the processor is used to control the input and output interface to send and receive signals or information
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the computing device executes the methods in the above aspects.
  • the above-mentioned vehicle may have an automatic driving function.
  • FIG. 1 is a functional block diagram of a vehicle 100 to which the embodiments of the present application are applied.
  • FIG. 2 is a schematic diagram of an applicable automatic driving system according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a vehicle control method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the architecture of an intelligent driving system according to another embodiment of the present application.
  • FIG. 5 is a flowchart of control of a vehicle according to another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a relationship between a vehicle and an obstacle in a coordinate system according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a motion state between a vehicle and an obstacle in a coordinate system according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a collision risk level according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an interaction system according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
  • FIG. 12 is a schematic block diagram of a computing device according to another embodiment of the present application.
  • FIG. 1 is a functional block diagram of a vehicle 100 provided by an embodiment of the present application.
  • the vehicle 100 is configured in a fully or partially autonomous driving mode.
  • the vehicle 100 can control itself while in an autonomous driving mode, and can determine the current state of the vehicle and its surroundings through human manipulation, determine the likely behavior of at least one other vehicle in the surrounding environment, and determine the other vehicle
  • the vehicle 100 is controlled based on the determined information with a confidence level corresponding to the likelihood of performing the possible behavior.
  • the vehicle 100 may be placed to operate without human interaction.
  • Vehicle 100 may include various subsystems, such as travel system 102 , sensor system 104 , control system 106 , one or more peripherals 108 and power supply 110 , computer system 112 , and user interface 116 .
  • vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. Additionally, each of the subsystems and elements of the vehicle 100 may be interconnected by wire or wirelessly.
  • the travel system 102 may include components that provide powered motion for the vehicle 100 .
  • travel system 102 may include engine 118 , energy source 119 , 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 gasoline engine and electric motor hybrid engine, an internal combustion engine and an air compression engine hybrid engine.
  • Engine 118 converts energy source 119 into mechanical energy.
  • Examples of energy sources 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity.
  • the energy source 119 may also provide energy to other systems of the vehicle 100 .
  • Transmission 120 may transmit mechanical power from engine 118 to wheels 121 .
  • Transmission 120 may include a gearbox, a differential, and a driveshaft.
  • transmission 120 may also include other devices, such as clutches.
  • the drive shaft may include one or more axles that may be coupled to one or more wheels 121 .
  • the sensor system 104 may include several sensors that sense information about the environment surrounding the vehicle 100 .
  • the sensor system 104 may include a positioning system 122 (the positioning system may be a global positioning system (GPS) system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, Radar 126 , laser rangefinder 128 and camera 130 .
  • the sensor system 104 may also include sensors of the internal systems of the vehicle 100 being monitored (eg, an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding characteristics (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous vehicle 100 .
  • the positioning system 122 may be used to estimate the geographic location of the vehicle 100 .
  • the IMU 124 is used to sense position and orientation changes of the vehicle 100 based on inertial acceleration.
  • IMU 124 may be a combination of an accelerometer and a gyroscope.
  • Radar 126 may utilize radio signals to sense objects within the surrounding environment of vehicle 100 .
  • the radar 126 may also be used to sense one or more of the target's speed, position, and heading.
  • the laser rangefinder 128 may utilize laser light to sense objects in the environment in which the vehicle 100 is located.
  • the laser rangefinder 128 may include one or more laser sources, laser scanners, and one or more detectors, among other system components.
  • Camera 130 may be used to capture multiple images of the surrounding environment of vehicle 100 .
  • Camera 130 may be a still camera or a video camera.
  • Control system 106 controls the operation of the vehicle 100 and its components.
  • Control system 106 may include various elements including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , route control system 142 , and obstacle avoidance system 144 .
  • the steering system 132 is operable to adjust the heading of the vehicle 100 .
  • it may be a steering wheel system.
  • the throttle 134 is used to control the operating speed of the engine 118 and thus the speed of the vehicle 100 .
  • the braking unit 136 is used to control the deceleration of the vehicle 100 .
  • the braking unit 136 may use friction to slow the wheels 121 .
  • the braking unit 136 may convert the kinetic energy of the wheels 121 into electrical current.
  • the braking unit 136 may also take other forms to slow the wheels 121 to control the speed of the vehicle 100 .
  • Computer vision system 140 may be operable to process and analyze images captured by camera 130 in order to identify objects and/or features in the environment surrounding vehicle 100 .
  • the objects and/or features may include traffic signals, road boundaries and obstacles.
  • Computer vision system 140 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques.
  • SFM structure from motion
  • the computer vision system 140 may be used to map the environment, track objects, estimate the speed of objects, and the like.
  • the route control system 142 is used to determine the travel route of the vehicle 100 .
  • route control system 142 may combine data from sensors, GPS 122, and one or more predetermined maps to determine a driving route for vehicle 100.
  • the obstacle avoidance system 144 is used to identify, evaluate and avoid or otherwise overcome potential obstacles in the environment of the vehicle 100 .
  • control system 106 may additionally or alternatively include components other than those shown and described. Alternatively, some of the components shown above may be reduced.
  • Peripherals 108 may include a wireless communication system 146 , an onboard computer 148 , a microphone 150 and/or a speaker 152 .
  • peripherals 108 provide a means for a user of vehicle 100 to interact with user interface 116 .
  • the onboard computer 148 may provide information to the user of the vehicle 100 .
  • User interface 116 may also operate on-board computer 148 to receive user input.
  • the onboard computer 148 can be operated via a touch screen.
  • peripheral devices 108 may provide a means for vehicle 100 to communicate with other devices located within the vehicle.
  • microphone 150 may receive audio (eg, voice commands or other audio input) from a user of vehicle 100 .
  • speakers 152 may output audio to a user of vehicle 100 .
  • Wireless communication system 146 may wirelessly communicate with one or more devices, either directly or via a communication network.
  • wireless communication system 146 may use 3G cellular communications, such as code division multiple access (CDMA), Global System for Mobile Communications (GSM)/GPRS, or fourth generation (4th generation, 4G) communications such as LTE. Or the fifth generation (5th-Generation, 5G) communication.
  • the wireless communication system 146 may communicate with a wireless local area network (WLAN) using WiFi.
  • the wireless communication system 146 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee.
  • Other wireless protocols, such as various vehicle communication systems, for example, wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include communication between vehicles and/or roadside stations public and/or private data communications.
  • DSRC dedicated short range communications
  • the power supply 110 may provide power to various components of the vehicle 100 .
  • the power source 110 may be a rechargeable lithium-ion or lead-acid battery.
  • One or more battery packs of such a battery may be configured as a power source to provide power to various components of the vehicle 100 .
  • power source 110 and energy source 119 may be implemented together, such as in some all-electric vehicles.
  • Computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer readable medium such as data memory 114 .
  • Computer system 112 may also be multiple computing devices that control individual components or subsystems of vehicle 100 in a distributed fashion.
  • the processor 113 may be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor.
  • FIG. 1 functionally illustrates the processor, memory, and other elements of the computer 110 in the same block, one of ordinary skill in the art will understand that the processor, computer, or memory may actually include a processor, a computer, or a memory that may or may not Multiple processors, computers, or memories stored within the same physical enclosure.
  • the memory may be a hard drive or other storage medium located within an enclosure other than computer 110 .
  • reference to a processor or computer will be understood to include reference to a collection of processors or computers or memories that may or may not operate in parallel.
  • some components such as the steering and deceleration components may each have their own processor that only performs computations related to component-specific functions .
  • a processor may be located remotely 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 while others are performed by a remote processor, including taking steps necessary to perform a single maneuver.
  • the memory 114 may contain instructions 115 (eg, program logic) executable by the processor 113 to perform various functions of the vehicle 100 , including those described above.
  • Memory 114 may also contain additional instructions, including instructions to send data to, receive data from, interact with, and/or control one or more of travel system 102 , sensor system 104 , control system 106 , and peripherals 108 . instruction.
  • memory 114 may store data such as road maps, route information, vehicle location, direction, speed, and other such vehicle data, among 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.
  • the above-mentioned processor 113 may also execute the planning scheme for the longitudinal motion parameters of the vehicle according to the embodiments of the present application, so as to help the vehicle to plan the longitudinal motion parameters.
  • the specific longitudinal motion parameter planning method reference may be made to the introduction of FIG. 3 below. , and are not repeated here for brevity.
  • a user interface 116 for providing information to or receiving information from a user of the vehicle 100 .
  • user interface 116 may include one or more input/output devices within the set of peripheral devices 108 , such as wireless communication system 146 , onboard computer 148 , microphone 150 and speaker 152 .
  • Computer system 112 may control functions of vehicle 100 based on input received from various subsystems (eg, travel system 102 , sensor system 104 , and control system 106 ) and from user interface 116 .
  • computer system 112 may utilize input from control system 106 in order to control steering unit 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144 .
  • computer system 112 is operable to provide control of various aspects of vehicle 100 and its subsystems.
  • one or more of these components described above may be installed or associated with the vehicle 100 separately.
  • memory 114 may exist partially or completely separate from vehicle 100 .
  • the above-described components may be communicatively coupled together in a wired and/or wireless manner.
  • FIG. 1 should not be construed as a limitation on the embodiment of the present invention.
  • An autonomous vehicle traveling on a road can recognize objects within its surroundings to determine adjustments to current speed.
  • the objects may be other vehicles, traffic control equipment, or other types of objects.
  • each identified object may be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, distance from the vehicle, etc., may be used to determine the speed at which the autonomous vehicle is to adjust.
  • autonomous vehicle 100 or a computing device associated with autonomous vehicle 100 eg, computer system 112, computer vision system 140, memory 114 of FIG.
  • autonomous vehicle 100 For example, traffic, rain, ice on the road, etc.
  • each identified object is dependent on the behavior of the other, so it is also possible to predict the behavior of a single identified object by considering all identified objects together.
  • the vehicle 100 can adjust its speed based on the predicted behavior of the identified object.
  • the autonomous vehicle can determine that the vehicle will need to adjust to a steady state (eg, accelerate, decelerate, or stop) based on the predicted behavior of the object.
  • a steady state eg, accelerate, decelerate, or stop
  • other factors may also be considered to determine the speed of the vehicle 100, such as the lateral position of the vehicle 100 in the road being traveled, the curvature of the road, the proximity of static and dynamic objects, and the like.
  • the computing device may also provide instructions to modify the steering angle of the vehicle 100 so that the autonomous vehicle follows a given trajectory and/or maintains contact with objects in the vicinity of the autonomous vehicle (eg, , cars in adjacent lanes on the road) safe lateral and longitudinal distances.
  • objects in the vicinity of the autonomous vehicle eg, , cars in adjacent lanes on the road
  • the above-mentioned vehicle 100 can be a car, a truck, a motorcycle, a bus, a boat, an airplane, a helicopter, a lawn mower, a recreational vehicle, a playground vehicle, construction equipment, a tram, a golf cart, a train, a cart, etc.
  • the embodiments of the invention are not particularly limited.
  • FIG. 2 is a schematic diagram of a suitable automatic driving system according to an embodiment of the present application.
  • the computer system 101 includes a processor 103 , and the processor 103 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 video adapter 107 which can drive a display 109, is coupled to the system bus 105.
  • the system bus 105 is coupled to an input/output (I/O) bus 113 through a bus bridge 111 .
  • I/O interface 115 is coupled to the I/O bus.
  • I/O interface 115 communicates with various I/O devices, such as input device 117 (eg, keyboard, mouse, touch screen, etc.), media tray 121, (eg, CD-ROM, multimedia interface, etc.).
  • Transceiver 123 which can transmit and/or receive radio communication signals
  • camera 155 which can capture sceneries and dynamic digital video images
  • external USB interface 125 external USB interface 125 .
  • the interface connected to the I/O interface 115 may be a USB interface.
  • the processor 103 may be any conventional processor, including a Reduced Instruction Set Computing (Reduced Instruction Set Computing, RISC) processor, a Complex Instruction Set Computing (Complex Instruction Set Computer, CISC) processor or a combination of the above.
  • the processor may be a special purpose device such as an application specific integrated circuit ASIC.
  • the processor 103 may be a neural network processor or a combination of a neural network processor and the above-mentioned conventional processors.
  • computer system 101 may be located remotely from the autonomous vehicle and may communicate wirelessly with the autonomous vehicle.
  • some of the processes described herein are performed on a processor disposed within the autonomous vehicle, others are performed by a remote processor, including taking actions required to perform a single maneuver.
  • Network interface 129 is a hardware network interface, such as a network card.
  • the network 127 may be an external network, such as the Internet, or an internal network, such as an Ethernet network or a virtual private network (Virtual Private Network, VPN).
  • the network 127 may also be a wireless network, such as a Wi-Fi network, a cellular network, and the like.
  • the hard disk drive interface is coupled to the system bus 105 .
  • the hard drive interface is connected to the hard drive.
  • System memory 135 is coupled to system bus 105 . Data running in system memory 135 may include operating system 137 and application programs 143 of computer 101 .
  • the operating system includes a shell 139 and a kernel 141 .
  • Shell 139 is an interface between the user and the kernel of the operating system.
  • Shell 139 is the outermost layer of the operating system.
  • Shell 139 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 outputs.
  • Kernel 141 consists of those parts of the operating system that manage memory, files, peripherals, and system resources. Interacting directly with hardware, the operating system kernel usually runs processes and provides inter-process communication, providing CPU time slice management, interrupts, memory management, IO management, and more.
  • Application 143 includes programs that control the autonomous driving of the vehicle, such as programs that manage the interaction between the autonomous vehicle and obstacles on the road, programs that control the route or speed of the autonomous vehicle, and programs that control the interaction between the autonomous vehicle and other autonomous vehicles on the road. .
  • Application 143 also exists on the system of software deploying server 149 .
  • computer system 101 may download application 143 from software deploying server 149 when application 147 needs to be executed.
  • the above-mentioned application program may further include an application program corresponding to the target object perception scheme provided by the embodiments of the present application, wherein the target object perception scheme of the embodiments of the present application will be described in detail below. For the sake of brevity, the This will not be repeated here.
  • Sensors 153 are associated with computer system 101 .
  • the sensor 153 is used to detect the environment around the computer 101 .
  • the sensor 153 can detect objects, such as animals, vehicles, obstacles, etc., and further sensors can detect the surrounding environment of the above objects, such as: the environment around the animal, other animals appearing around the animal, weather conditions , the brightness of the surrounding environment, etc.
  • the sensors may be lidars, cameras, infrared sensors, chemical detectors, microphones, and the like.
  • the AI model is usually used to plan the speed and direction of movement of the vehicle, so as to avoid the collision between the vehicle and the obstacles around the vehicle.
  • the safety of the controlled vehicle due to the uninterpretability and unpredictability of the AI model, the safety of the controlled vehicle cannot be satisfied.
  • the present application provides a new vehicle control method, that is, on the basis of the above-mentioned AI model-based control of the vehicle's motion speed and motion direction, a new method based on the potential energy function to calculate the obstacle and the motion direction is added.
  • the collision potential energy between vehicles is used to control the speed and direction of movement of the vehicle, so that in the process of controlling the speed and direction of movement of the vehicle, the high perception and decision-making performance of the AI model can be retained, and potential energy can be introduced.
  • FIG. 3 is a flowchart of a vehicle control method according to an embodiment of the present application. It should be understood that the method shown in FIG. 3 may be performed by the obstacle avoidance system shown in FIG. 1 , or by the processor 103 shown in FIG. 2 . The method shown in FIG. 3 includes steps 310 to 330 .
  • the motion state of the obstacle may include information such as the obstacle's running speed, the running direction, and the position of the obstacle.
  • the above potential energy function indicates the possibility of collision between the obstacle and the vehicle by calculating the collision potential energy between the obstacle and the vehicle.
  • the collision potential energy is inversely correlated with the relative distance between the obstacle and the vehicle, and the collision potential energy is positively correlated with the relative speed between the obstacle and the vehicle.
  • the above potential energy function can be expressed as Wherein, k, ⁇ , ⁇ represent constant coefficients, C represents a constant, ⁇ represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
  • the above potential energy function can also be expressed as Wherein, k', ⁇ ', ⁇ ' represent constant coefficients, C' represents a constant, ⁇ ' represents the relative speed between the obstacle and the vehicle, d' represents the obstacle and the vehicle relative distance between.
  • magnitude f 1 (v") represents a function based on relative velocity
  • C represents a constant
  • d' represents a relative distance between the obstacle and the vehicle
  • f 2 (d) represents a function based on relative distance.
  • a target motion state of the vehicle based on the first motion state and/or the second motion state, where the target motion state includes a target motion speed and a target motion direction of the vehicle.
  • FIG. 4 is a schematic diagram of the architecture of an intelligent driving system according to another embodiment of the present application.
  • the intelligent driving system 400 includes a controller 401 , a perception device 402 , an interaction system 403 and an execution system 404 .
  • the sensing device 402 is used to obtain information on obstacles such as vehicles, people and infrastructure around the vehicle through sensors, including images of obstacles and detection information, wherein the detection information may vary according to different types of sensing devices.
  • the lidar can transmit a detection signal (eg, a laser beam) to the target, and then compare the received signal reflected from the target (eg, target echo) with the transmitted signal, After proper processing, the relevant detection information of the target can be obtained, such as the target distance, azimuth, height, speed, attitude, and even the shape and other parameters.
  • the information of the above-mentioned obstacles will be sent to the controller 401, and the controller 401 will further determine the driving trajectory of the vehicle to the destination according to the information of the obstacles, and then send a control command including the speed to the execution system 404, and the execution system 404 will control the vehicle to drive.
  • the speed is a vector, including size and direction, and the size of the speed can also be called the rate.
  • the controller 401 can utilize a redundant dual-channel design to separately calculate the moving speed of the vehicle in the same segment.
  • the above-mentioned sensing device 402 can be understood as having the same function at least in part as the sensing system 104 in FIG. 1
  • the above-mentioned execution system 404 can be understood as having the same function at least in part as the traveling system 102 shown in FIG. 1
  • the above-mentioned controller 401 can be understood to be at least partially functionally identical to the control system 106 shown in FIG. 1 .
  • the above-mentioned controller 401 may include a working channel and a safety channel, the working channel is used to plan the first movement speed and the first movement direction of the vehicle by using the AI model, and the safety channel uses the above-mentioned potential energy function to plan the second movement speed and the second movement direction of the vehicle. .
  • the controller 401 can use the working channel and the safety channel to determine the speed and direction of movement of the vehicle in the same area of the running track, and then the controller 401 determines the target speed and direction to be selected according to preset conditions.
  • the target movement speed and target movement direction selected by the controller 401 may also be referred to as the optimal speed.
  • the above-mentioned working channel 4011 is used for perception, decision-making and path planning by using the AI model, and outputs the first movement speed and first movement direction of the vehicle, so that the vehicle can meet the requirements of quality management (QM).
  • the working channel 4011 includes a first perception module 40111 and a decision module 40112.
  • the first perception module 40111 is used to collect information about obstacles around the smart vehicle collected by the sensing device, and process the obstacle information to obtain road condition information, such as obstacle type, speed, size, road and other infrastructure conditions (such as the current direction). number of lanes, traffic signs, etc.).
  • the decision module 40112 is configured to further determine the direction and speed of driving in a section of the area according to the road condition information provided by the first perception module 40111 .
  • the above-mentioned safety channel 4012 includes a second perception module 40121 , a decision-making and anti-collision module 40122 .
  • the decision-making and anti-collision module 40122 is used for the information of obstacles provided by the second perception module 40121, such as the relative distance and relative speed between the obstacle and the vehicle.
  • the potential energy function is used to determine the second movement speed and the second movement direction of the vehicle, so that the vehicle can travel to meet the safety level and meet the requirements of the automotive safety integrity level ASIL D level.
  • the ASIL level is the automotive safety integrity level, which is used to describe the probability of a component or system achieving a given safety goal.
  • the ASIL level is determined by three basic elements, namely severity (Severity, S), exposure rate (exposure, E), and controllability (C). Severity, which is used to indicate the severity of the damage to the lives and property of people in the vehicle once the risk occurs; exposure rate, which is used to refer to the probability of damage to people or property; Controllability, which is used to describe the driver can The extent to which proactive measures are taken to prevent damage from occurring.
  • the ASIL level can be divided into four levels from high to low: D, C, B, and A. The D level has the smallest safety risk and the A level has the largest safety risk. In addition to the four safety levels, there is also a quality management requirement. The directive management requires no safety requirements. For autonomous driving mode, the safety risk is greater than ASIL.
  • the first sensing module 40111 and the second sensing module 40112 in FIG. 4 may be combined into one sensing module, and the combined sensing module obtains obstacle information from the sensing device 402, and accordingly The information further calculates the road condition information such as the distance of the obstacle relative to the vehicle and the relative speed of the obstacle relative to the vehicle, and sends the required content to the decision module 40112 and the decision and anti-collision module 40122 according to the information required by the decision module 40112 and the decision and anti-collision module 40122 respectively.
  • the first sensing module 40111, the decision-making module 40112, the second sensing module 40121, the decision-making and anti-collision module 40122, and the arbitration module 405 in the controller shown in FIG. 4 can be implemented by hardware, software, or a combination of hardware and software. implement the corresponding function.
  • the system 400 further includes an interaction system 403, the interaction system 403 is used to realize the message interaction between the vehicle and the driver, so that the driver can send an operation instruction to the vehicle through the interaction system 403, and learn about the vehicle through the interaction system 403. current state.
  • the system 400 further includes an arbiter 405, and the arbiter 405 receives the first movement speed and the first movement direction planned by the working channel 4011 and the second movement speed and the second movement direction planned by the safety channel 4012, respectively. , and the arbiter 405 selects the target movement speed and the target movement direction according to preset conditions.
  • FIG. 4 is only a schematic diagram of the architecture of a vehicle provided in the present application, and the arbiter may be implemented by software or hardware in the controller.
  • the arbiter can also function as a redundant channel selection by an independent processor.
  • the above step 330 includes: if the relative distance between the obstacle and the vehicle is less than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset speed, then based on the second motion state Determine the target motion state of the vehicle; and/or, if the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, then based on the first
  • the motion state determines the target motion state of the vehicle, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed.
  • the relative distance between the obstacle and the vehicle is smaller than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset speed, which can indicate that the possibility of collision between the obstacle and the vehicle is high , belongs to an emergency situation.
  • the second motion state of the vehicle obtained based on the potential energy function can be used as the target motion state of the vehicle.
  • the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, which can indicate that the possibility of collision between the obstacle and the vehicle is low.
  • the first motion state of the vehicle obtained based on the AI model can be used as the target motion state of the vehicle.
  • the second motion state of the vehicle based on the potential energy function.
  • the vertical direction of the collision potential energy between the obstacle and the vehicle can be used as the motion direction of the vehicle, and the vehicle can be determined based on the motion speed and relative distance of the obstacle. size of the movement speed.
  • the second motion state of the vehicle determined by using the above method may cause a large change from the current motion state of the vehicle, that is to say, greater direction adjustment and speed adjustment are required to make the vehicle avoid the above obstacles , which will affect the user experience of passengers to a certain extent.
  • the above-mentioned first objective function min( ⁇ f) can be understood as finding the optimal solution to make the movement speed and movement direction of the vehicle with the smallest change between the current collision potential energy and the adjusted collision potential energy. In this way, the adjusted movement speed and direction of movement. Therefore, the above-mentioned solution for solving the motion speed and motion direction of the vehicle based on the first objective function min( ⁇ f) can be called “comfort mode”.
  • the amount of change in the direction of movement and movement is small, and the comfort of the passengers in the vehicle is high.
  • the above-mentioned second objective function min (f ⁇ F 1 ) can be understood as finding the optimal solution so that the adjusted collision potential energy is smaller than the preset collision potential energy threshold.
  • the vehicle can be Adjusted movement speed and movement direction for safety. Therefore, the above solution based on the second objective function min(f ⁇ F 1 ) to solve the moving speed and moving direction of the vehicle can be called “safety mode”.
  • safety mode the adjusted moving speed and moving direction of the vehicle make The collision potential energy between the vehicle and the obstacle is smaller than the preset collision potential energy threshold, which is beneficial to improve the safety of vehicle driving.
  • FIG. 5 is a flowchart of the control of the vehicle according to the embodiment of the present application.
  • the method shown in FIG. 5 includes steps 510 to 590 .
  • the obstacles within the above-mentioned preset range may include one or more obstacles.
  • a two-dimensional coordinate system can be established with the center of mass of the vehicle as the origin and the direction of the vehicle speed as the positive X axis, and the position of each obstacle in the preset range in the two-dimensional coordinate system can be determined, based on the obstacle in the two-dimensional coordinate system. The position of the determines the relative distance between the obstacle and the vehicle.
  • FIG. 6 is a schematic diagram showing the relationship between the vehicle and the obstacle in the coordinate system of the embodiment of the present application. Referring to the coordinate system shown in FIG. 6 , taking the center of mass of the vehicle 610 as the origin, and the direction of the vehicle 610 traveling speed is the positive direction of the X-axis, a two-dimensional coordinate system is established, and the coordinate system also includes obstacle 1, obstacle 2, and obstacle item 3.
  • the above-mentioned specific process of determining the relative distance and relative speed between the vehicle 610 and the obstacle can be divided into the following three steps. It should be understood that the following methods can be used to calculate the relative distance and relative speed between each obstacle in the multiple obstacles and the vehicle. For the sake of brevity, one of the obstacles (target obstacle) is used as an example to introduce the determination of the relative distance. and relative velocity methods.
  • Step 1 Collect the position of the target obstacle in the coordinate system at time T Collect the position of the target obstacle in the coordinate system at time T'
  • Step 2 Calculate the current distance between the vehicle 610 and the target obstacle
  • Step 3 Calculate the relative speed between the vehicle 610 and the target obstacle, and the direction of the relative speed points to the vehicle 610 .
  • the obstacle may collide with the vehicle only when the obstacle is in the same direction as the vehicle and the speed is close to the vehicle.
  • Calculating the projection of the obstacle along the speed direction of the vehicle is to confirm the speed component of the possible collision between the obstacle and the vehicle.
  • the projection of the obstacle in the direction of the vehicle speed is used to indicate the tendency of the obstacle to collide with the ego vehicle caused by the obstacle moving in the direction of the ego vehicle speed.
  • the projection of the obstacle along the vehicle speed direction is taken as the relative speed of the obstacle to the vehicle.
  • the collision potential energy f(O) of the target obstacle O is used to describe the tendency of the target obstacle O to collide with the vehicle, or it is called the escape potential energy that the vehicle should have to avoid the collision of the target obstacle. For example, the closer the vehicle is to the target obstacle, the stronger the escaping trend is, and the faster the target obstacle is approaching, the stronger the escaping trend is.
  • k, ⁇ , ⁇ are constant coefficients
  • C is a constant, and the value of C can be flexibly set according to the simulation results and actual experience. Because the speed ⁇ is the speed of the target obstacle relative to the vehicle, it is a vector with both magnitude and direction. Therefore, f is also a vector with the same direction as v.
  • the decision-making and anti-collision module can determine the position of each surrounding vehicle in the coordinate system shown in FIG. 6 according to the relative positions of the surrounding vehicles and the own vehicle. Specifically, after the coordinate system with the own vehicle as the origin is established, the coordinate system is a two-dimensional coordinate system, and in the plane of the two-dimensional coordinate system, the projected position of the surrounding vehicles on the two-dimensional coordinate system is used as the surrounding vehicle's projection position. Location.
  • the method for determining the position of the surrounding vehicles in the own vehicle coordinate system also includes: converting the coordinates of the surrounding vehicles in the geodetic coordinate system into a two-dimensional coordinate system. Coordinate transformation in a coordinate system, which is not limited in this application.
  • the collision potential energy between each obstacle and the target vehicle can be summed based on the solution method of the vector sum.
  • the above f(O) can be understood as multiple The collision potential energy sum of the obstacles.
  • step 530 Determine whether there is an obstacle of an early warning level according to the collision potential energy. If there is an obstacle with an early warning level, step 540 is executed. If there is no obstacle with an early warning level, the calculation process can be ended, or the calculation process can be restarted.
  • the collision risk between the obstacle and the vehicle 610 may be divided into three levels based on the collision potential energy: a safety level, an early warning level, and a dangerous level.
  • a safety level the vehicle is not likely to collide
  • the controller can prompt the driver to manually operate through the interactive system to avoid obstacles; when the obstacle is at the dangerous level
  • the controller can take over the control of the vehicle in an emergency, so as to avoid the collision between the self-vehicle and other vehicles in an emergency in the execution of other modules of the vehicle.
  • the controller actively takes over is limited to the process of calculation or data processing performed by other modules when the vehicle is in automatic driving mode.
  • the operation of the vehicle is completely controlled by the driver, and the controller can not interfere with the driving process of the vehicle.
  • the collision risk level can be preset according to the vehicle's obstacle avoidance ability (such as performance and size), respectively, to preset the first collision potential energy threshold
  • the obstacle belongs to the warning level
  • the obstacle belongs to the dangerous level
  • the obstacle belongs to the dangerous level
  • the obstacle belongs to the safety level
  • Obstacle 16, and Obstacle 17 belong to the safety level.
  • step 550 Determine whether there is an obstacle of a dangerous level according to the collision potential energy. If there is an obstacle of a dangerous level, step 560 is executed. If there is no obstacle of a dangerous level, the calculation process can be ended, or the calculation process can be restarted.
  • step 570 select Safe Mode or Comfort Mode. If the safe mode is selected, step 580 is performed, and if the comfortable mode is selected, step 590 is selected.
  • sending an alert to the driver in the above steps may be implemented by the interactive system shown in FIG. 9 .
  • the interactive system can prompt the driver to pay attention to obstacles in various forms, and the driver can take over the vehicle or send execution instructions to the vehicle to control the driving of the vehicle.
  • audio prompts, seat vibration prompts, interior flashing lights prompts.
  • Human-computer interaction systems can also use different colors or backgrounds to identify different levels and areas.
  • the human-computer interaction process between the vehicle and the driver can be realized in at least one of the following ways:
  • Mode 1 The vehicle's on-board display interface prompts the vehicle to have a collision risk with surrounding obstacles, as well as the first speed and the second speed through text.
  • Va and Vb in FIG. 9 are optional obstacle avoidance directions, and the driver can choose any one as the direction in which the vehicle travels.
  • different signs can also be used to indicate the collision risk of driving in the direction of the obstacle. Prompt "dangerous".
  • Mode 2 In the vehicle, the vehicle is prompted to have a collision risk with the surrounding obstacles, the first speed and the second speed; the seat vibration is used in the vehicle to prompt the vehicle to have a collision risk with the surrounding obstacles.
  • Method 3 In the vehicle, the flashing lights of the lights indicate that there is a risk of collision between the vehicle and surrounding obstacles. For dangerous situations, the driver's attention can also be prompted by flashing lights quickly.
  • the original driving trajectory determined by the decision-making module may be changed. It is necessary to further re-plan or adjust the original driving trajectory according to the road conditions of the vehicle at the current moment. Ensure that the vehicle arrives at the destination designated by the driver smoothly.
  • the vehicle can also receive the speed selected by the driver through the interface or voice, and after receiving the above-mentioned speed control command, the vehicle can be controlled to run at this speed.
  • the driver's driving experience can be improved, and the driver can better take over and control the vehicle.
  • the driver can also understand the environment of the vehicle, reducing the driver's fear of not being able to know the driving area of the vehicle in an emergency.
  • the driver can also decide whether to switch the driving mode to the manual driving mode through the situation displayed by the manual interaction system, and the driver will take over the control of the vehicle.
  • the relative speed and relative distance between the obstacle and the vehicle in addition to using the relative speed and relative distance between the obstacle and the vehicle to confirm the collision potential energy, and then confirm the collision risk between the obstacle and the vehicle, it can also be used according to the type of the obstacle. Different weights are added to the vehicle, and the setting of the specific weights can consider the damage degree of the collision between different types of obstacles and the vehicle. The optimal direction and speed of obstacle avoidance are further determined in combination with the above-mentioned collision damage degree.
  • the controller can also send information about other vehicles to the vehicle from other obstacles, including track information of other vehicles , the obstacle avoidance process of the vehicle's own vehicle can also be combined with the above vehicle information to realize the vehicle obstacle avoidance process.
  • other obstacles can send information to the vehicle through the vehicle to everything (V2X) communication technology.
  • V2X vehicle to everything
  • the safest direction may also be selected as the direction of the second speed according to the degree of collision risk with the obstacle, wherein the degree of collision risk is the direction of the second speed. It includes one or more of the factors such as the probability of collision with the obstacle, the degree of damage in the collision, etc.
  • the degree of damage in the collision can be calibrated according to the size, relative speed and relative distance of the obstacle. The larger the obstacle, the higher the relative speed. The faster and the shorter the relative distance, the higher the damage in a collision.
  • the optimal direction can be selected to avoid obstacles according to the degree of collision risk, thereby further improving the safety of automatic driving.
  • the above-mentioned collision risk degree can be displayed to the driver through the human-computer interaction interface, and the driver can select the direction of the final speed, and then control the vehicle to drive at the speed selected by the driver.
  • FIGS. 10 to 12 The methods of the embodiments of the present application are described above with reference to FIGS. 1 to 9 , and the apparatuses of the embodiments of the present application are described below with reference to FIGS. 10 to 12 . It should be understood that the apparatuses shown in FIG. 10 to FIG. 12 can implement each step in the above method, and for the sake of brevity, details are not repeated here.
  • FIG. 10 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
  • the apparatus 1000 shown in FIG. 10 includes: a collection unit 1010 and a processing unit 1020 .
  • a collection unit 1010 configured to collect the motion state of obstacles within a preset range
  • the processing unit 1020 is configured to input the motion state of the obstacle into the artificial intelligence AI model and the potential energy function respectively, and determine the first motion state and the second motion state of the vehicle, wherein the potential energy function is calculated by calculating the obstacle and the potential energy function.
  • the collision potential energy between the vehicles indicates the probability of the collision between the obstacle and the vehicle, the higher the collision potential energy, the higher the collision probability, and the smaller the collision potential energy, the higher the collision probability.
  • the smaller the value, the first motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model. direction;
  • the processing unit 1020 is further configured to determine a target motion state of the vehicle based on the first motion state and/or the second motion state, where the target motion state includes a target motion speed and a target motion direction of the vehicle .
  • the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle. .
  • the processing unit 1020 is further configured to determine the target motion state of the vehicle based on the second motion state; and/or,
  • the processing unit 1020 further uses In determining the target motion state of the vehicle based on the first motion state, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset distance Set speed.
  • the processing unit 1020 is further configured to: determine the second motion state of the vehicle based on the second objective function min (f ⁇ F 1 ), where F 1 represents a preset The first collision potential energy threshold, f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
  • the potential energy function is Wherein, k, ⁇ , ⁇ represent constant coefficients, C represents a constant, ⁇ represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
  • FIG. 11 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
  • the apparatus 1100 shown in FIG. 11 includes: a collection unit 1110 and a processing unit 1120 , and the collection unit 1110 is configured to collect data required by the processing unit 1120 .
  • the processing unit 1120 is used to calculate the relative speed and relative distance between the obstacle and the vehicle;
  • the processing unit 1120 is further configured to calculate the collision potential energy between the obstacle and the vehicle based on the relative speed, the relative distance, and the potential energy function, wherein the collision potential energy indicates that the obstacle is different from the vehicle.
  • the possibility of collision of the vehicle the higher the collision potential energy, the higher the possibility of the collision, and the smaller the collision potential energy, the lower the possibility of the collision;
  • the processing unit 1120 is further configured to determine the second motion state of the vehicle based on the second objective function min(f ⁇ F 1 ),
  • f 0 represents the current collision potential energy between the vehicle and the obstacle
  • f represents the collision potential energy to be adjusted between the vehicle and the obstacle
  • F 1 represents a preset first collision potential energy threshold
  • processing unit is further configured to:
  • a second motion state of the vehicle is determined.
  • processing unit is further configured to:
  • the second motion state of the vehicle is determined based on the second objective function min (f ⁇ F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the relationship between the vehicle and the vehicle.
  • F 1 represents a preset first collision potential energy threshold
  • f represents the relationship between the vehicle and the vehicle. The collision potential energy that needs to be adjusted between obstacles.
  • the processing unit 1020 may be a processor 1220
  • the collection unit 1010 may be a communication interface 1230
  • the communication device may further include a memory 1210, as shown in FIG. 12 .
  • the processing unit 1120 may be a processor 1220
  • the collection unit 1110 may be a communication interface 1230
  • the communication device may further include a memory 1210, as shown in FIG. 12 .
  • FIG. 12 is a schematic block diagram of a computing device according to another embodiment of the present application.
  • the computing device 1200 shown in FIG. 12 may include: a memory 1210 , a processor 1220 , and a communication interface 1230 .
  • the memory 1210, the processor 1220, and the communication interface 1230 are connected through an internal connection path, the memory 1210 is used to store instructions, and the processor 1220 is used to execute the instructions stored in the memory 1220 to control the input/output interface 1230 to receive/send At least part of the parameters of the second channel model.
  • the memory 1210 can be coupled with the processor 1220 through an interface, or can be integrated with the processor 1220 .
  • the above-mentioned communication interface 1230 uses a transceiver such as but not limited to a transceiver to implement communication between the communication device 1200 and other devices or communication networks.
  • the above-mentioned communication interface 1230 may also include an input/output interface.
  • each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 1220 or an instruction in the form of software.
  • the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory 1210, and the processor 1220 reads the information in the memory 1210, and completes the steps of the above method in combination with its hardware. To avoid repetition, detailed description is omitted here.
  • the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), dedicated integrated Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor.
  • a portion of the processor may also include non-volatile random access memory.
  • the processor may also store device type information.
  • the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Traffic Control Systems (AREA)

Abstract

A self-driving method, comprises: acquiring the motion state of an obstacle within a preset range; respectively inputting the motion state of the obstacle into an artificial intelligence (AI) model and a potential energy function, and determining a first motion state and a second motion state of a vehicle, wherein the potential energy function indicates the possibility of collision between the obstacle and the vehicle by calculating a collision potential energy between the obstacle and the vehicle, wherein the greater the collision potential energy, the greater the possibility of collision, and the smaller the collision potential energy, the smaller the possibility of collision, the first motion state being the movement speed and the moving direction of the vehicle calculated on the basis of the AI model, and the second motion state being the movement speed and the moving direction of the vehicle calculated on the basis of a potential energy function model; and determining a target motion state of the vehicle on the basis of the first motion state and/or the second motion state, the target motion state comprising a target movement speed and a target moving direction of the vehicle. Said method improves the safety of adjusting the movement speed and the moving direction of a vehicle.

Description

车辆的控制方法、装置及车辆Vehicle control method, device and vehicle
本申请要求于2020年09月23日提交中国国家知识产权局、申请号为202011007408.3、申请名称为“车辆的控制方法、装置及车辆”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011007408.3 and the application title "Control Method, Device and Vehicle for Vehicles" filed with the State Intellectual Property Office of China on September 23, 2020, the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请涉及自动驾驶领域,并且更具体地,涉及车辆的控制方法、装置及车辆。The present application relates to the field of autonomous driving, and more particularly, to a vehicle control method, device, and vehicle.
背景技术Background technique
人工智能(artificial intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。换句话说,人工智能是计算机科学的一个分支,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式作出反应的智能机器。人工智能也就是研究各种智能机器的设计原理与实现方法,使机器具有感知、推理与决策的功能。人工智能领域的研究包括机器人,自然语言处理,计算机视觉,决策与推理,人机交互,推荐与搜索,AI基础理论等。Artificial intelligence (AI) is a 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 kind of intelligent machine that responds in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines, so that the 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, and basic AI theory.
自动驾驶是人工智能领域的一种主流应用,自动驾驶技术依靠计算机视觉、雷达、监控装置和全球定位系统等协同合作,让机动车辆可以在不需要人类主动操作下,实现自动驾驶。自动驾驶的车辆使用各种计算系统来帮助将乘客从一个位置运输到另一位置。一些自动驾驶车辆可能要求来自操作者(诸如,领航员、驾驶员、或者乘客)的一些初始输入或者连续输入。自动驾驶车辆准许操作者从手动模操作式切换到自东驾驶模式或者介于两者之间的模式。由于自动驾驶技术无需人类来驾驶机动车辆,所以理论上能够有效避免人类的驾驶失误,减少交通事故的发生,且能够提高公路的运输效率。因此,自动驾驶技术越来越受到重视。Autopilot is a mainstream application in the field of artificial intelligence. Autopilot technology relies on the cooperation of computer vision, radar, monitoring devices and global positioning systems to allow motor vehicles to achieve autonomous driving without the need for human active 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 an operator, such as a pilot, driver, or passenger. An autonomous vehicle permits the operator to switch from a manual mode of operation to a self-driving mode or a mode in between. Since automatic 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 the efficiency of highway transportation. Therefore, autonomous driving technology is getting more and more attention.
目前,可以将车辆周围的障碍物的运动状态输入AI模型,以通过AI模型得到车辆的运动速度和运动方向,以调整车辆的运动速度和运动方向,以避免车辆与车辆周围的障碍物发生碰撞。然而,在上述使用AI模型控制车辆的运动速度、运动方向的方案中,由于AI模型的不可解释性和不可预知性,导致控制的车辆的安全性无法满足。At present, the motion state of obstacles around the vehicle can be input into the AI model to obtain the speed and direction of movement of the vehicle through the AI model, so as to adjust the speed and direction of movement of the vehicle to avoid collision between the vehicle and obstacles around the vehicle . However, in the above scheme of using the AI model to control the moving speed and direction of the vehicle, due to the uninterpretability and unpredictability of the AI model, the safety of the controlled vehicle cannot be satisfied.
发明内容SUMMARY OF THE INVENTION
本申请提供一种车辆的控制方法、装置及车辆,以提高调整车辆的目标运动速度和目标运动方向的安全性。The present application provides a vehicle control method, device and vehicle, so as to improve the safety of adjusting the target movement speed and target movement direction of the vehicle.
第一方面,提供了一种车辆的控制方案,包括:采集预设范围内障碍物的运动状态;将所述障碍物的运动状态分别输入人工智能AI模型以及势能函数,确定车辆的第一运动状态和第二运动状态,其中,所述势能函数通过计算所述障碍物与所述车辆之间的碰撞势 能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小,所述第一运动状态为基于所述AI模型计算得到的所述车辆的运动速度和方向,所述第二运动状态为基于所述势能函数模型计算得到的所述车辆的运动速度和方向;基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,所述目标运动状态包括所述车辆的目标运动速度和目标运动方向。In a first aspect, a control scheme for a vehicle is provided, including: collecting the motion state of an obstacle within a preset range; inputting the motion state of the obstacle into an artificial intelligence AI model and a potential energy function, respectively, to determine the first motion of the vehicle. state and a second motion state, wherein the potential energy function indicates the possibility of collision between the obstacle and the vehicle by calculating the collision potential energy between the obstacle and the vehicle, the greater the collision potential energy, the more The higher the possibility of the collision, the smaller the potential energy of the collision, the smaller the possibility of the collision, the first motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the first motion state is The second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model; based on the first motion state and/or the second motion state, a target motion state of the vehicle is determined, and the target motion state is The state includes the target movement speed and target movement direction of the vehicle.
在本申请实施例中,将障碍物的运动状态分别输入AI模型以及势能函数,以得到第一运动状态和第二运动状态,并基于第一运动状态和第二运动状态确定车辆的目标运动状态,以避免现有技术中,只能基于AI模型确定车辆的目标运动状态,有利于提高确定车辆的目标运动状态的安全性。In the embodiment of the present application, the motion state of the obstacle is input into the AI model and the potential energy function respectively to obtain the first motion state and the second motion state, and the target motion state of the vehicle is determined based on the first motion state and the second motion state , so as to avoid that the target motion state of the vehicle can only be determined based on the AI model in the prior art, which is beneficial to improve the safety of determining the target motion state of the vehicle.
另一方面,本申请实施例中,基于势能函数确定车辆的第二运动状态,有利于提高确定目标运动状态的准确性,避免了现有技术中仅基于车辆与障碍物的相对距离确定车辆的目标运动状态。On the other hand, in the embodiment of the present application, determining the second motion state of the vehicle based on the potential energy function is beneficial to improve the accuracy of determining the target motion state, and avoids the prior art from determining the vehicle's motion state only based on the relative distance between the vehicle and the obstacle. target motion state.
在一种可能的实现方式中,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。In a possible implementation manner, the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle .
在本申请实施例中,障碍物与车辆之间的碰撞势能与障碍物与车辆之间的相对距离反相关,且与障碍物与车辆之间的相对速度正相关,有利于衡量障碍物与车辆之间发生碰撞的可能性。In the embodiment of the present application, the collision potential energy between the obstacle and the vehicle is inversely related to the relative distance between the obstacle and the vehicle, and is positively related to the relative speed between the obstacle and the vehicle, which is beneficial to measure the obstacle and the vehicle. the possibility of a collision between them.
可选地,上述相对速度可以为障碍物与车辆之间的相对速度在车辆行驶方向上的分量。Optionally, the above-mentioned relative speed may be a component of the relative speed between the obstacle and the vehicle in the direction of travel of the vehicle.
在本申请实施例中,障碍物与车辆之间的碰撞势能与相对速度在车辆行驶方向上的分量正相关,有利于提高障碍物与车辆之间发生碰撞的可能性的准确度。In the embodiment of the present application, the collision potential energy between the obstacle and the vehicle is positively correlated with the component of the relative speed in the traveling direction of the vehicle, which is beneficial to improve the accuracy of the possibility of collision between the obstacle and the vehicle.
在一种可能的实现方式中,所述基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,包括:若所述障碍物与所述车辆之间的相对距离小于第一预设距离,和/或所述障碍物与所述车辆之间的相对速度高于第一预设速度,则基于所述第二运动状态确定所述车辆的目标运动状态;和/或,若所述障碍物与所述车辆之间的相对距离大于第二预设距离,和/或所述障碍物与所述车辆之间的相对速度低于第二预设速度,则基于所述第一运动状态确定所述车辆的目标运动状态,所述第一预设距离小于或等于所述第二预设距离,所述第一预设速度大于或等于所述第二预设速度。In a possible implementation manner, the determining the target motion state of the vehicle based on the first motion state and/or the second motion state includes: if the relative relationship between the obstacle and the vehicle is If the distance is less than the first preset distance, and/or the relative speed between the obstacle and the vehicle is higher than the first preset speed, then the target motion state of the vehicle is determined based on the second motion state; and /or, if the relative distance between the obstacle and the vehicle is greater than the second preset distance, and/or the relative speed between the obstacle and the vehicle is lower than the second preset speed, based on The first motion state determines the target motion state of the vehicle, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed .
在本申请实施例中,若障碍物与车辆之间的相对距离小于第一预设距离,和/或障碍物与车辆之间的相对速度高于第一预设速度,即在较紧急的情况下,可以基于势能函数确定的第二运动状态确定车辆的目标运动状态,有利于提高确定车辆的目标运动状态的安全性。In this embodiment of the present application, if the relative distance between the obstacle and the vehicle is less than the first preset distance, and/or the relative speed between the obstacle and the vehicle is higher than the first preset speed, that is, in a more emergency situation In this case, the target motion state of the vehicle can be determined based on the second motion state determined by the potential energy function, which is beneficial to improve the safety of determining the target motion state of the vehicle.
若障碍物与车辆之间的相对距离大于第二预设距离,和/或障碍物与车辆之间的相对速度低于第二预设速度,即在非紧急的情况下,可以基于AI模型确定的第一运动状态确定车辆的目标运动状态,有利于减少确定车辆的目标运动状态的时间。If the relative distance between the obstacle and the vehicle is greater than the second preset distance, and/or the relative speed between the obstacle and the vehicle is lower than the second preset speed, that is, in a non-emergency situation, it can be determined based on the AI model The first motion state of the vehicle determines the target motion state of the vehicle, which is beneficial to reduce the time for determining the target motion state of the vehicle.
在一种可能的实现方式中,所述将所述障碍物的运动状态输入势能函数,确定车辆的第二运动状态,包括:基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In a possible implementation manner, inputting the motion state of the obstacle into a potential energy function to determine the second motion state of the vehicle includes: based on the first objective function min(Δf), and Δf=(ff 0 ) <0, determine the second motion state of the vehicle, where f 0 represents the current collision potential energy between the vehicle and the obstacle, and f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle .
在本申请实施例中,基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定车辆的第二运动状态,使得当前碰撞势能与调整后的碰撞势能之间的变化较小,也就是说,使得车辆改变的运动速度的较小,车辆改变的运动角度的较小,以提高乘客的舒适度。 In the embodiment of the present application, based on the first objective function min(Δf), and Δf=(ff 0 )<0, the second motion state of the vehicle is determined, so that the change between the current collision potential energy and the adjusted collision potential energy is relatively small. Small, that is to say, the movement speed of the vehicle changes is smaller, and the movement angle of the vehicle changes is smaller, so as to improve the comfort of the passengers.
在一种可能的实现方式中,所述将所述障碍物的运动状态输入势能函数,确定车辆的第二运动状态,包括:基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In a possible implementation manner, inputting the motion state of the obstacle into a potential energy function to determine the second motion state of the vehicle includes: determining the vehicle based on a second objective function min(f<F 1 ). The second motion state of , wherein F 1 represents the preset first collision potential energy threshold, and f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
在本申请实施例中,基于第二目标函数min(f<F 1),确定车辆的第二运动状态,使得调整后的碰撞势能小于预设的第一碰撞势能阈值,有利于提高确定车辆的目标运动状态的安全性。 In the embodiment of the present application, based on the second objective function min (f<F 1 ), the second motion state of the vehicle is determined, so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, which is beneficial to improve the determination of the vehicle's The security of the target motion state.
在一种可能的实现方式中,所述势能函数为
Figure PCTCN2021114741-appb-000001
其中,k、α、β表示常系数,C表示常量,ν表示所述障碍物与所述车辆的之间的相对速度的大小,d表示所述障碍物与所述车辆之间的相对距离。
In a possible implementation, the potential energy function is
Figure PCTCN2021114741-appb-000001
Wherein, k, α, β represent constant coefficients, C represents a constant, ν represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
第二方面,提供一种车辆的控制方法,包括:计算障碍物与车辆之间的相对速度和相对距离;基于所述相对速度、所述相对距离,以及势能函数计算所述障碍物与所述车辆之间的碰撞势能,其中,所述碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小;基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态;或基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能,F 1表示预设的第一碰撞势能阈值。 In a second aspect, a method for controlling a vehicle is provided, comprising: calculating a relative speed and a relative distance between an obstacle and a vehicle; calculating the relationship between the obstacle and the vehicle based on the relative speed, the relative distance, and a potential energy function Collision potential energy between vehicles, wherein the collision potential energy indicates the possibility of collision between the obstacle and the vehicle, the higher the collision potential energy is, the higher the collision probability is, and the smaller the collision potential energy is, the higher the collision potential energy is. The possibility of the collision is smaller; based on the first objective function min(Δf), and Δf=(ff 0 )<0, determine the second motion state of the vehicle; or based on the second objective function min(f<F 1 ), determine the second motion state of the vehicle, where f 0 represents the current collision potential energy between the vehicle and the obstacle, f represents the collision potential energy between the vehicle and the obstacle that needs to be adjusted, F 1 represents a preset first collision potential energy threshold.
在本申请实施例中,基于势能函数确定车辆的第二运动状态,有利于提高确定目标运动状态的准确性,避免了现有技术中仅基于车辆与障碍物的相对距离确定车辆的目标运动状态。In the embodiment of the present application, determining the second motion state of the vehicle based on the potential energy function is beneficial to improve the accuracy of determining the target motion state, and avoids determining the target motion state of the vehicle only based on the relative distance between the vehicle and the obstacle in the prior art .
另一方面,本申请实施例中,基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定车辆的第二运动状态,使得当前碰撞势能与调整后的碰撞势能之间的变化较小,也就是说,使得车辆改变的运动速度的较小,车辆改变的运动角度的较小,以提高乘客的舒适度。基于第二目标函数min(f<F 1),确定车辆的第二运动状态,使得调整后的碰撞势能小于预设的第一碰撞势能阈值,有利于提高确定车辆的目标运动状态的安全性。 On the other hand, in the embodiment of the present application, based on the first objective function min(Δf), and Δf=(ff 0 )<0, the second motion state of the vehicle is determined, so that there is a difference between the current collision potential energy and the adjusted collision potential energy The change of the vehicle is smaller, that is to say, the movement speed of the vehicle changes is smaller, and the movement angle of the vehicle change is smaller, so as to improve the comfort of the passengers. Based on the second objective function min (f<F 1 ), the second motion state of the vehicle is determined so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, which is beneficial to improve the safety of determining the target motion state of the vehicle.
在一种可能的实现方式中,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。In a possible implementation manner, the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle .
在本申请实施例中,障碍物与车辆之间的碰撞势能与障碍物与车辆之间的相对距离反相关,且与障碍物与车辆之间的相对速度正相关,有利于衡量障碍物与车辆之间发生碰撞的可能性。In the embodiment of the present application, the collision potential energy between the obstacle and the vehicle is inversely related to the relative distance between the obstacle and the vehicle, and is positively related to the relative speed between the obstacle and the vehicle, which is beneficial to measure the obstacle and the vehicle. the possibility of a collision between them.
可选地,上述相对速度可以为障碍物与车辆之间的相对速度在车辆行驶方向上的分量。Optionally, the above-mentioned relative speed may be a component of the relative speed between the obstacle and the vehicle in the direction of travel of the vehicle.
在本申请实施例中,障碍物与车辆之间的碰撞势能与相对速度在车辆行驶方向上的分量正相关,有利于提高障碍物与车辆之间发生碰撞的可能性的准确度。In the embodiment of the present application, the collision potential energy between the obstacle and the vehicle is positively correlated with the component of the relative speed in the traveling direction of the vehicle, which is beneficial to improve the accuracy of the possibility of collision between the obstacle and the vehicle.
在一种可能的实现方式中,所述基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,包括:在舒适模式下,基于所述第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态。 In a possible implementation manner, the determining the second motion state of the vehicle based on the first objective function min(Δf) and Δf=(ff 0 )<0 includes: in the comfort mode, based on the The first objective function min(Δf), and Δf=(ff 0 )<0, determines the second motion state of the vehicle.
在本申请实施例中,在舒适模式下,基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定车辆的第二运动状态,使得当前碰撞势能与调整后的碰撞势能之间的变化较小,也就是说,使得车辆改变的运动速度的较小,车辆改变的运动角度的较小,以提高乘客的舒适度。 In the embodiment of the present application, in the comfort mode, based on the first objective function min(Δf), and Δf=(ff 0 )<0, the second motion state of the vehicle is determined, so that the current collision potential energy and the adjusted collision potential energy are The change between them is small, that is to say, the movement speed changed by the vehicle is smaller, and the movement angle changed by the vehicle is smaller, so as to improve the comfort of the passengers.
需要说明的是,上述舒适模式可以是驾驶员输入的,也可以是车辆中控制器基于目前路况选择的,本申请实施例对此不作限定。It should be noted that the above-mentioned comfort mode may be input by the driver, or may be selected by the controller in the vehicle based on the current road conditions, which is not limited in this embodiment of the present application.
在一种可能的实现方式中,所述方法还包括:在安全模式下,基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In a possible implementation manner, the method further includes: in a safe mode, based on a second objective function min(f<F 1 ), determining a second motion state of the vehicle, wherein F 1 represents a preset The first collision potential energy threshold of , f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
在本申请实施例中,在安全模式下,基于第二目标函数min(f<F 1),确定车辆的第二运动状态,使得调整后的碰撞势能小于预设的第一碰撞势能阈值,有利于提高确定车辆的目标运动状态的安全性。 In the embodiment of the present application, in the safe mode, the second motion state of the vehicle is determined based on the second objective function min (f<F 1 ), so that the adjusted collision potential energy is smaller than the preset first collision potential energy threshold, there are It is beneficial to improve the safety of determining the target motion state of the vehicle.
需要说明的是,上述安全模式可以是驾驶员输入的,也可以是车辆中控制器基于目前路况选择的,本申请实施例对此不作限定。It should be noted that the above-mentioned safety mode may be input by the driver, or may be selected by the controller in the vehicle based on the current road conditions, which is not limited in this embodiment of the present application.
第三方面,提供了一种车辆的控制装置,所述装置具有实现上述第一方面的方法设计中的装置的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a third aspect, a control device for a vehicle is provided, and the device has the function of implementing the device in the method design of the first aspect. These functions can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more units corresponding to the above functions.
第四方面,提供了一种车辆的控制装置,所述装置具有实现上述第二方面的方法设计中的装置的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a fourth aspect, a control device for a vehicle is provided, and the device has the function of implementing the device in the method design of the second aspect. These functions can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more units corresponding to the above functions.
第五方面,提供了一种计算设备,包括输入输出接口、处理器和存储器。该处理器用于控制输入输出接口收发信号或信息,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得该计算设备执行上述第一方面中的方法。In a fifth aspect, a computing device is provided, including an input-output interface, a processor, and a memory. The processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computing device executes the method in the first aspect.
第六方面,提供了一种计算设备,包括输入输出接口、处理器和存储器。该处理器用于控制输入输出接口收发信号或信息,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得该计算设备执行上述第二方面中的方法。In a sixth aspect, a computing device is provided, including an input-output interface, a processor, and a memory. The processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computing device executes the method in the second aspect.
第七方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述各方面中的方法。In a seventh aspect, a computer program product is provided, the computer program product comprising: computer program code, which, when the computer program code is run on a computer, causes the computer to perform the methods in the above aspects.
第八方面,提供了一种计算机可读介质,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述各方面中的方法。In an eighth aspect, a computer-readable medium is provided, and the computer-readable medium stores program codes, which, when executed on a computer, cause the computer to execute the methods in the above-mentioned aspects.
第九方面,提供了一种芯片系统,该芯片系统包括处理器,用于计算设备实现上述方面中所涉及的功能,例如,生成,接收,发送,或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存计算设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a ninth aspect, a chip system is provided, the chip system includes a processor for a computing device to implement the functions involved in the above aspects, for example, generating, receiving, sending, or processing the data involved in the above methods and/or or information. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the computing device. The chip system may be composed of chips, or may include chips and other discrete devices.
第十方面,提供了一种车辆,包括输入输出接口、处理器和存储器。该处理器用于控 制输入输出接口收发信号或信息,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得该计算设备执行上述各方面中的方法。In a tenth aspect, a vehicle is provided, including an input-output interface, a processor and a memory. The processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computing device executes the methods in the above aspects.
可选地,上述车辆可以具有自动驾驶功能。Optionally, the above-mentioned vehicle may have an automatic driving function.
附图说明Description of drawings
图1是本申请实施例适用的车辆100的功能框图。FIG. 1 is a functional block diagram of a vehicle 100 to which the embodiments of the present application are applied.
图2是本申请实施例的适用的自动驾驶系统的示意图。FIG. 2 is a schematic diagram of an applicable automatic driving system according to an embodiment of the present application.
图3是本申请实施例的车辆的控制方法的流程图。FIG. 3 is a flowchart of a vehicle control method according to an embodiment of the present application.
图4是本申请另一实施例的智能驾驶系统的架构的示意图。FIG. 4 is a schematic diagram of the architecture of an intelligent driving system according to another embodiment of the present application.
图5是本申请另一实施例的车辆的控制的流程图。FIG. 5 is a flowchart of control of a vehicle according to another embodiment of the present application.
图6是本申请实施例的坐标系中车辆和障碍物之间关系的示意图。FIG. 6 is a schematic diagram of a relationship between a vehicle and an obstacle in a coordinate system according to an embodiment of the present application.
图7是本申请实施例的坐标系中车辆和障碍物之间运动状态的示意图。FIG. 7 is a schematic diagram of a motion state between a vehicle and an obstacle in a coordinate system according to an embodiment of the present application.
图8是本申请实施例的碰撞风险等级的示意图。FIG. 8 is a schematic diagram of a collision risk level according to an embodiment of the present application.
图9是本申请实施例的交互系统的示意图。FIG. 9 is a schematic diagram of an interaction system according to an embodiment of the present application.
图10是本申请实施例的车辆的控制装置的示意图。FIG. 10 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
图11是本申请实施例的车辆的控制装置的示意图。FIG. 11 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application.
图12是本申请另一实施例的计算设备的示意性框图。FIG. 12 is a schematic block diagram of a computing device according to another embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。为了便于理解,下文结合图1,以智能驾驶的场景为例,介绍本申请实施例适用的场景。The technical solutions in the present application will be described below with reference to the accompanying drawings. For ease of understanding, the following describes a scenario to which the embodiments of the present application are applicable by taking a scenario of intelligent driving as an example with reference to FIG. 1 .
图1是本申请实施例提供的车辆100的功能框图。在一个实施例中,将车辆100配置为完全或部分地自动驾驶模式。例如,车辆100可以在处于自动驾驶模式中的同时控制自身,并且可通过人为操作来确定车辆及其周边环境的当前状态,确定周边环境中的至少一个其他车辆的可能行为,并确定该其他车辆执行可能行为的可能性相对应的置信水平,基于所确定的信息来控制车辆100。在车辆100处于自动驾驶模式中时,可以将车辆100置为在没有和人交互的情况下操作。FIG. 1 is a functional block diagram of a vehicle 100 provided by an embodiment of the present application. In one embodiment, the vehicle 100 is configured in a fully or partially autonomous driving mode. For example, the vehicle 100 can control itself while in an autonomous driving mode, and can determine the current state of the vehicle and its surroundings through human manipulation, determine the likely behavior of at least one other vehicle in the surrounding environment, and determine the other vehicle The vehicle 100 is controlled based on the determined information with a confidence level corresponding to the likelihood of performing the possible behavior. When the vehicle 100 is in an autonomous driving mode, the vehicle 100 may be placed to operate without human interaction.
车辆100可包括各种子系统,例如行进系统102、传感器系统104、控制系统106、一个或多个外围设备108以及电源110、计算机系统112和用户接口116。可选地,车辆100可包括更多或更少的子系统,并且每个子系统可包括多个元件。另外,车辆100的每个子系统和元件可以通过有线或者无线互连。 Vehicle 100 may include various subsystems, such as travel system 102 , sensor system 104 , control system 106 , one or more peripherals 108 and power supply 110 , computer system 112 , and user interface 116 . Alternatively, vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. Additionally, each of the subsystems and elements of the vehicle 100 may be interconnected by wire or wirelessly.
行进系统102可包括为车辆100提供动力运动的组件。在一个实施例中,行进系统102可包括引擎118、能量源119、传动装置120和车轮/轮胎121。引擎118可以是内燃引擎、电动机、空气压缩引擎或其他类型的引擎组合,例如汽油发动机和电动机组成的混动引擎,内燃引擎和空气压缩引擎组成的混动引擎。引擎118将能量源119转换成机械能量。The travel system 102 may include components that provide powered motion for the vehicle 100 . In one embodiment, travel system 102 may include engine 118 , energy source 119 , 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 gasoline engine and electric motor hybrid engine, an internal combustion engine and an air compression engine hybrid engine. Engine 118 converts energy source 119 into mechanical energy.
能量源119的示例包括汽油、柴油、其他基于石油的燃料、丙烷、其他基于压缩气体的燃料、乙醇、太阳能电池板、电池和其他电力来源。能量源119也可以为车辆100的其他系统提供能量。Examples of energy sources 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. The energy source 119 may also provide energy to other systems of the vehicle 100 .
传动装置120可以将来自引擎118的机械动力传送到车轮121。传动装置120可包括变速箱、差速器和驱动轴。在一个实施例中,传动装置120还可以包括其他器件,比如离合器。其中,驱动轴可包括可耦合到一个或多个车轮121的一个或多个轴。Transmission 120 may transmit mechanical power from engine 118 to wheels 121 . Transmission 120 may include a gearbox, a differential, and a driveshaft. In one embodiment, transmission 120 may also include other devices, such as clutches. Among other things, the drive shaft may include one or more axles that may be coupled to one or more wheels 121 .
传感器系统104(又称“采集设备”)可包括感知关于车辆100周边的环境的信息的若干个传感器。例如,传感器系统104可包括定位系统122(定位系统可以是全球定位系统(global positioning system,GPS)系统,也可以是北斗系统或者其他定位系统)、惯性测量单元(inertial measurement unit,IMU)124、雷达126、激光测距仪128以及相机130。传感器系统104还可包括被监视车辆100的内部系统的传感器(例如,车内空气质量监测器、燃油量表、机油温度表等)。来自这些传感器中的一个或多个的传感器数据可用于检测对象及其相应特性(位置、形状、方向、速度等)。这种检测和识别是自主车辆100的安全操作的关键功能。The sensor system 104 (also known as "collection device") 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 global positioning system (GPS) system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, Radar 126 , laser rangefinder 128 and camera 130 . The sensor system 104 may also include sensors of the internal systems of the vehicle 100 being monitored (eg, an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors can be used to detect objects and their corresponding characteristics (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous vehicle 100 .
定位系统122可用于估计车辆100的地理位置。IMU 124用于基于惯性加速度来感测车辆100的位置和朝向变化。在一个实施例中,IMU 124可以是加速度计和陀螺仪的组合。The positioning system 122 may be used to estimate the geographic location of the vehicle 100 . The IMU 124 is used to sense position and orientation changes of the vehicle 100 based on inertial acceleration. In one embodiment, IMU 124 may be a combination of an accelerometer and a gyroscope.
雷达126可利用无线电信号来感测车辆100的周边环境内的物体。在一些实施例中,除了感知目标物以外,雷达126还可用于感知目标物的速度、位置、前进方向中的一种或多种状态。Radar 126 may utilize radio signals to sense objects within the surrounding environment of vehicle 100 . In some embodiments, in addition to sensing the target, the radar 126 may also be used to sense one or more of the target's speed, position, and heading.
激光测距仪128可利用激光来感测车辆100所位于的环境中的物体。在一些实施例中,激光测距仪128可包括一个或多个激光源、激光扫描器以及一个或多个检测器,以及其他系统组件。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, laser scanners, and one or more detectors, among other system components.
相机130可用于捕捉车辆100的周边环境的多个图像。相机130可以是静态相机或视频相机。Camera 130 may be used to capture multiple images of the surrounding environment of vehicle 100 . Camera 130 may be a still camera or a video camera.
控制系统106为控制车辆100及其组件的操作。控制系统106可包括各种元件,其中包括转向系统132、油门134、制动单元136、计算机视觉系统140、路线控制系统142以及障碍规避系统144。The control system 106 controls the operation of the vehicle 100 and its components. Control system 106 may include various elements including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , route control system 142 , and obstacle avoidance system 144 .
转向系统132可操作来调整车辆100的前进方向。例如在一个实施例中可以为方向盘系统。The steering system 132 is operable to adjust the heading of the vehicle 100 . For example, in one embodiment it may be a steering wheel system.
油门134用于控制引擎118的操作速度并进而控制车辆100的速度。The throttle 134 is used to control the operating speed of the engine 118 and thus the speed of the vehicle 100 .
制动单元136用于控制车辆100减速。制动单元136可使用摩擦力来减慢车轮121。在其他实施例中,制动单元136可将车轮121的动能转换为电流。制动单元136也可采取其他形式来减慢车轮121转速从而控制车辆100的速度。The braking unit 136 is used to control the deceleration of the vehicle 100 . The braking unit 136 may use friction to slow the wheels 121 . In other embodiments, the braking unit 136 may convert the kinetic energy of the wheels 121 into electrical current. The braking unit 136 may also take other forms to slow the wheels 121 to control the speed of the vehicle 100 .
计算机视觉系统140可以操作来处理和分析由相机130捕捉的图像以便识别车辆100周边环境中的物体和/或特征。所述物体和/或特征可包括交通信号、道路边界和障碍物。计算机视觉系统140可使用物体识别算法、运动中恢复结构(structure from motion,SFM)算法、视频跟踪和其他计算机视觉技术。在一些实施例中,计算机视觉系统140可以用于为环境绘制地图、跟踪物体、估计物体的速度等等。Computer vision system 140 may be operable to process and analyze images captured by camera 130 in order to identify objects and/or features in the environment surrounding vehicle 100 . The objects and/or features may include traffic signals, road boundaries and obstacles. 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.
路线控制系统142用于确定车辆100的行驶路线。在一些实施例中,路线控制系统142可结合来自传感器、GPS 122和一个或多个预定地图的数据以为车辆100确定行驶路线。The route control system 142 is used to determine the travel route of the vehicle 100 . In some embodiments, route control system 142 may combine data from sensors, GPS 122, and one or more predetermined maps to determine a driving route for vehicle 100.
障碍规避系统144用于识别、评估和避免或者以其他方式越过车辆100的环境中的潜 在障碍物。The obstacle avoidance system 144 is used to identify, evaluate and avoid or otherwise overcome potential obstacles in the environment of the vehicle 100 .
当然,在一个实例中,控制系统106可以增加或替换地包括除了所示出和描述的那些以外的组件。或者也可以减少一部分上述示出的组件。Of course, in one example, the control system 106 may additionally or alternatively include components other than those shown and described. Alternatively, some of the components shown above may be reduced.
车辆100通过外围设备108与外部传感器、其他车辆、其他计算机系统或用户之间进行交互。外围设备108可包括无线通信系统146、车载电脑148、麦克风150和/或扬声器152。 Vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripheral devices 108 . Peripherals 108 may include a wireless communication system 146 , an onboard computer 148 , a microphone 150 and/or a speaker 152 .
在一些实施例中,外围设备108提供车辆100的用户与用户接口116交互手段。例如,车载电脑148可向车辆100的用户提供信息。用户接口116还可操作车载电脑148来接收用户的输入。车载电脑148可以通过触摸屏进行操作。在其他情况中,外围设备108可提供用于车辆100与位于车内的其它设备通信的手段。例如,麦克风150可从车辆100的用户接收音频(例如,语音命令或其他音频输入)。类似地,扬声器152可向车辆100的用户输出音频。In some embodiments, peripherals 108 provide a means for a user of vehicle 100 to interact with user interface 116 . For example, the onboard computer 148 may provide information to the user of the vehicle 100 . User interface 116 may also operate on-board computer 148 to receive user input. The onboard computer 148 can be operated via a touch screen. In other cases, peripheral devices 108 may provide a means for vehicle 100 to communicate with other devices located within the vehicle. For example, microphone 150 may receive audio (eg, voice commands or other audio input) from a user of vehicle 100 . Similarly, speakers 152 may output audio to a user of vehicle 100 .
无线通信系统146可以直接地或者经由通信网络来与一个或多个设备无线通信。例如,无线通信系统146可使用3G蜂窝通信,例如码分多址(code division multiple access,CDMA)、全球移动通信系统(Global System for Mobile Communications,GSM)/GPRS,或者第四代(fourth generation,4G)通信,例如LTE。或者第五代(5th-Generation,5G)通信。无线通信系统146可利用WiFi与无线局域网(wireless local area network,WLAN)通信。在一些实施例中,无线通信系统146可利用红外链路、蓝牙或紫蜂(ZigBee)与设备直接通信。其他无线协议,例如各种车辆通信系统,例如,无线通信系统146可包括一个或多个专用短程通信(dedicated short range communications,DSRC)设备,这些设备可包括车辆和/或路边台站之间的公共和/或私有数据通信。Wireless communication system 146 may wirelessly communicate with one or more devices, either directly or via a communication network. For example, wireless communication system 146 may use 3G cellular communications, such as code division multiple access (CDMA), Global System for Mobile Communications (GSM)/GPRS, or fourth generation (4th generation, 4G) communications such as LTE. Or the fifth generation (5th-Generation, 5G) communication. The wireless communication system 146 may communicate with a wireless local area network (WLAN) using WiFi. In some embodiments, the wireless communication system 146 may communicate directly with the device using an infrared link, Bluetooth, or ZigBee. Other wireless protocols, such as various vehicle communication systems, for example, wireless communication system 146 may include one or more dedicated short range communications (DSRC) devices, which may include communication between vehicles and/or roadside stations public and/or private data communications.
电源110可向车辆100的各种组件提供电力。在一个实施例中,电源110可以为可再充电锂离子或铅酸电池。这种电池的一个或多个电池组可被配置为电源为车辆100的各种组件提供电力。在一些实施例中,电源110和能量源119可一起实现,例如一些全电动车中那样。The power supply 110 may provide power to various components of the vehicle 100 . In one embodiment, the power source 110 may be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such a battery may be configured as a power source to provide power to various components of the vehicle 100 . In some embodiments, power source 110 and energy source 119 may be implemented together, such as in some all-electric vehicles.
车辆100的部分或所有功能受计算机系统112控制。计算机系统112可包括至少一个处理器113,处理器113执行存储在例如数据存储器114这样的非暂态计算机可读介质中的指令115。计算机系统112还可以是采用分布式方式控制车辆100的个体组件或子系统的多个计算设备。Some or all of the functions of the vehicle 100 are controlled by the computer system 112 . Computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer readable medium such as data memory 114 . Computer system 112 may also be multiple computing devices that control individual components or subsystems of vehicle 100 in a distributed fashion.
处理器113可以是任何常规的处理器,诸如商业可获得的中央处理器(central processing unit,CPU)。替选地,该处理器可以是诸如专用集成电路(application specific integrated circuit,ASIC)或其它基于硬件的处理器的专用设备。尽管图1功能性地图示了处理器、存储器、和在相同块中的计算机110的其它元件,但是本领域的普通技术人员应该理解该处理器、计算机、或存储器实际上可以包括可以或者可以不存储在相同的物理外壳内的多个处理器、计算机、或存储器。例如,存储器可以是硬盘驱动器或位于不同于计算机110的外壳内的其它存储介质。因此,对处理器或计算机的引用将被理解为包括对可以或者可以不并行操作的处理器或计算机或存储器的集合的引用。不同于使用单一的处理器来执行此处所描述的步骤,诸如转向组件和减速组件的一些组件每个都可以具有其自己的处理器,所述处理器只执行与特定于组件的功能相关的计算。The processor 113 may be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor. Although FIG. 1 functionally illustrates the processor, memory, and other elements of the computer 110 in the same block, one of ordinary skill in the art will understand that the processor, computer, or memory may actually include a processor, a computer, or a memory that may or may not Multiple processors, computers, or memories stored within the same physical enclosure. For example, the memory may be a hard drive or other storage medium located within an enclosure other than computer 110 . Thus, reference to a processor or computer will be understood to include reference 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 and deceleration components may each have their own processor that only performs computations related to component-specific functions .
在此处所描述的各个方面中,处理器可以位于远离该车辆并且与该车辆进行无线通信。在其它方面中,此处所描述的过程中的一些在布置于车辆内的处理器上执行而其它则由远程处理器执行,包括采取执行单一操纵的必要步骤。In various aspects described herein, a processor may be located remotely 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 while others are performed by a remote processor, including taking steps necessary to perform a single maneuver.
在一些实施例中,存储器114可包含指令115(例如,程序逻辑),指令115可被处理器113执行来执行车辆100的各种功能,包括以上描述的那些功能。存储器114也可包含额外的指令,包括向行进系统102、传感器系统104、控制系统106和外围设备108中的一个或多个发送数据、从其接收数据、与其交互和/或对其进行控制的指令。In some embodiments, the memory 114 may contain instructions 115 (eg, program logic) executable by the processor 113 to perform various functions of the vehicle 100 , including those described above. Memory 114 may also contain additional instructions, including instructions to send data to, receive data from, interact with, and/or control one or more of travel system 102 , sensor system 104 , control system 106 , and peripherals 108 . instruction.
除了指令115以外,存储器114还可存储数据,例如道路地图、路线信息,车辆的位置、方向、速度以及其它这样的车辆数据,以及其他信息。这种信息可在车辆100在自主、半自主和/或手动模式中操作期间被车辆100和计算机系统112使用。In addition to instructions 115, memory 114 may store data such as road maps, route information, vehicle location, direction, speed, and other such vehicle data, among 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.
在一些实施例中,上述处理器113还可以执行本申请实施例的车辆纵向运动参数的规划方案,以帮助车辆规划纵向运动参数,其中具体的纵向运动参数规划方法可以参照下文中图3的介绍,为了简洁,在此不再赘述。In some embodiments, the above-mentioned processor 113 may also execute the planning scheme for the longitudinal motion parameters of the vehicle according to the embodiments of the present application, so as to help the vehicle to plan the longitudinal motion parameters. For the specific longitudinal motion parameter planning method, reference may be made to the introduction of FIG. 3 below. , and are not repeated here for brevity.
用户接口116,用于向车辆100的用户提供信息或从其接收信息。可选地,用户接口116可包括在外围设备108的集合内的一个或多个输入/输出设备,例如无线通信系统146、车载电脑148、麦克风150和扬声器152。A user interface 116 for providing information to or receiving information from a user of the vehicle 100 . Optionally, user interface 116 may include one or more input/output devices within the set of peripheral devices 108 , such as wireless communication system 146 , onboard computer 148 , microphone 150 and speaker 152 .
计算机系统112可基于从各种子系统(例如,行进系统102、传感器系统104和控制系统106)以及从用户接口116接收的输入来控制车辆100的功能。例如,计算机系统112可利用来自控制系统106的输入以便控制转向单元132来避免由传感器系统104和障碍规避系统144检测到的障碍物。在一些实施例中,计算机系统112可操作来对车辆100及其子系统的许多方面提供控制。Computer system 112 may control functions of vehicle 100 based on input received from various subsystems (eg, travel system 102 , sensor system 104 , and control system 106 ) and from user interface 116 . For example, computer system 112 may utilize input from control system 106 in order to control steering unit 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144 . In some embodiments, computer system 112 is operable to provide control of various aspects of vehicle 100 and its subsystems.
可选地,上述这些组件中的一个或多个可与车辆100分开安装或关联。例如,存储器114可以部分或完全地与车辆100分开存在。上述组件可以按有线和/或无线方式来通信地耦合在一起。Alternatively, one or more of these components described above may be installed or associated with the vehicle 100 separately. For example, memory 114 may exist partially or completely separate from vehicle 100 . The above-described components may be communicatively coupled together in a wired and/or wireless manner.
可选地,上述组件只是一个示例,实际应用中,上述各个模块中的组件有可能根据实际需要增添或者删除,图1不应理解为对本发明实施例的限制。Optionally, the above component is just an example. In practical applications, components in each of the above modules may be added or deleted according to actual needs, and FIG. 1 should not be construed as a limitation on the embodiment of the present invention.
在道路行进的自动驾驶车辆,如上面的车辆100,可以识别其周围环境内的物体以确定对当前速度的调整。所述物体可以是其它车辆、交通控制设备、或者其它类型的物体。在一些示例中,可以独立地考虑每个识别的物体,并且基于物体的各自的特性,诸如它的当前速度、加速度、与车辆的间距等,可以用来确定自动驾驶车辆所要调整的速度。An autonomous vehicle traveling on a road, such as vehicle 100 above, can recognize objects within its surroundings to determine adjustments to current speed. The objects may be other vehicles, traffic control equipment, or other types of objects. In some examples, each identified object may be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, distance from the vehicle, etc., may be used to determine the speed at which the autonomous vehicle is to adjust.
可选地,自动驾驶车辆100或者与自动驾驶车辆100相关联的计算设备(如图1的计算机系统112、计算机视觉系统140、存储器114)可以基于所识别的物体的特性和周围环境的状态(例如,交通、雨、道路上的冰等等)来预测所述识别的物体的行为。可选地,每一个所识别的物体都依赖于彼此的行为,因此还可以将所识别的所有物体全部一起考虑来预测单个识别的物体的行为。车辆100能够基于预测的所述识别的物体的行为来调整它的速度。换句话说,自动驾驶车辆能够基于所预测的物体的行为来确定车辆将需要调整到稳定状态(例如,加速、减速、或者停止)。在这个过程中,也可以考虑其它因素来确定车辆100的速度,诸如,车辆100在行驶的道路中的横向位置、道路的曲率、静态和动态物体的接近度等等。Optionally, autonomous vehicle 100 or a computing device associated with autonomous vehicle 100 (eg, computer system 112, computer vision system 140, memory 114 of FIG. For example, traffic, rain, ice on the road, etc.) to predict the behavior of the identified object. Optionally, each identified object is dependent on the behavior of the other, so it is also possible to predict the behavior of a single identified object by considering all identified objects together. The vehicle 100 can adjust its speed based on the predicted behavior of the identified object. In other words, the autonomous vehicle can determine that the vehicle will need to adjust to a steady state (eg, accelerate, decelerate, or stop) based on the predicted behavior of the object. In this process, other factors may also be considered to determine the speed of the vehicle 100, such as the lateral position of the vehicle 100 in the road being traveled, the curvature of the road, the proximity of static and dynamic objects, and the like.
除了提供调整自动驾驶车辆的速度的指令之外,计算设备还可以提供修改车辆100的转向角的指令,以使得自动驾驶车辆遵循给定的轨迹和/或维持与自动驾驶车辆附近的物体(例如,道路上的相邻车道中的轿车)的安全横向和纵向距离。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 the vehicle 100 so that the autonomous vehicle follows a given trajectory and/or maintains contact with objects in the vicinity of the autonomous vehicle (eg, , cars in adjacent lanes on the road) safe lateral and longitudinal distances.
上述车辆100可以为轿车、卡车、摩托车、公共汽车、船、飞机、直升飞机、割草机、娱乐车、游乐场车辆、施工设备、电车、高尔夫球车、火车、和手推车等,本发明实施例不做特别的限定。The above-mentioned vehicle 100 can be a car, a truck, a motorcycle, a bus, a boat, an airplane, a helicopter, a lawn mower, a recreational vehicle, a playground vehicle, construction equipment, a tram, a golf cart, a train, a cart, etc. The embodiments of the invention are not particularly limited.
上文结合图1介绍了本申请实施例适用的场景,下文结合图2介绍执行本申请实施例的适用的自动驾驶系统。The applicable scene of the embodiment of the present application is described above with reference to FIG. 1 , and the applicable automatic driving system for executing the embodiment of the present application is described below with reference to FIG. 2 .
图2是本申请实施例的适用的自动驾驶系统的示意图,计算机系统101包括处理器103,处理器103和系统总线105耦合。处理器103可以是一个或者多个处理器,其中每个处理器都可以包括一个或多个处理器核。显示适配器(video adapter)107,显示适配器可以驱动显示器109,显示器109和系统总线105耦合。系统总线105通过总线桥111和输入/输出(input/output,I/O)总线113耦合。I/O接口115和I/O总线耦合。I/O接口115和多种I/O设备进行通信,比如输入设备117(如:键盘,鼠标,触摸屏等),多媒体盘(media tray)121,(例如,CD-ROM,多媒体接口等)。收发器123(可以发送和/或接受无线电通信信号),摄像头155(可以捕捉景田和动态数字视频图像)和外部USB接口125。其中,可选地,和I/O接口115相连接的接口可以是USB接口。FIG. 2 is a schematic diagram of a suitable automatic driving system according to an embodiment of the present application. The computer system 101 includes a processor 103 , and the processor 103 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 video adapter 107, which can drive a display 109, is coupled to the system bus 105. The system bus 105 is coupled to an input/output (I/O) bus 113 through a bus bridge 111 . I/O interface 115 is coupled to the I/O bus. I/O interface 115 communicates with various I/O devices, such as input device 117 (eg, keyboard, mouse, touch screen, etc.), media tray 121, (eg, CD-ROM, multimedia interface, etc.). Transceiver 123 (which can transmit and/or receive radio communication signals), camera 155 (which can capture sceneries and dynamic digital video images) and external USB interface 125 . Wherein, optionally, the interface connected to the I/O interface 115 may be a USB interface.
其中,处理器103可以是任何传统处理器,包括精简指令集计算(Reduced Instruction Set Computing,RISC)处理器、复杂指令集计算(Complex Instruction Set Computer,CISC)处理器或上述的组合。可选地,处理器可以是诸如专用集成电路ASIC的专用装置。可选地,处理器103可以是神经网络处理器或者是神经网络处理器和上述传统处理器的组合。The processor 103 may be any conventional processor, including a Reduced Instruction Set Computing (Reduced Instruction Set Computing, RISC) processor, a Complex Instruction Set Computing (Complex Instruction Set Computer, CISC) processor or a combination of the above. Alternatively, the processor may be a special purpose device such as an application specific integrated circuit ASIC. Optionally, the processor 103 may be a neural network processor or a combination of a neural network processor and the above-mentioned conventional processors.
可选地,在本文所述的各种实施例中,计算机系统101可位于远离自动驾驶车辆的地方,并且可与自动驾驶车辆无线通信。在其它方面,本文所述的一些过程在设置在自动驾驶车辆内的处理器上执行,其它由远程处理器执行,包括采取执行单个操纵所需的动作。Alternatively, in various embodiments described herein, 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, others are performed by a remote processor, including taking actions required to perform a single maneuver.
计算机101可以通过网络接口129和软件部署服务器149通信。网络接口129是硬件网络接口,比如,网卡。网络127可以是外部网络,比如因特网,也可以是内部网络,比如以太网或者虚拟私人网络(Virtual Private Network,VPN)。可选地,网络127还可以是无线网络,比如Wi-Fi网络,蜂窝网络等。 Computer 101 may communicate with software deployment server 149 through network interface 129 . Network interface 129 is a hardware network interface, such as a network card. The network 127 may be an external network, such as the Internet, or an internal network, such as an Ethernet network or a virtual private network (Virtual Private Network, VPN). Optionally, the network 127 may also be a wireless network, such as a Wi-Fi network, a cellular network, and the like.
硬盘驱动接口和系统总线105耦合。硬件驱动接口和硬盘驱动器相连接。系统内存135和系统总线105耦合。运行在系统内存135的数据可以包括计算机101的操作系统137和应用程序143。The hard disk drive interface is coupled to the system bus 105 . The hard drive interface is connected to the hard drive. System memory 135 is coupled to system bus 105 . Data running in system memory 135 may include operating system 137 and application programs 143 of computer 101 .
操作系统包括外壳(shell)139和内核(kernel)141。外壳139是介于使用者和操作系统之内核间的一个接口。外壳139是操作系统最外面的一层。外壳139管理使用者与操作系统之间的交互:等待使用者的输入,向操作系统解释使用者的输入,并且处理各种各样的操作系统的输出结果。The operating system includes a shell 139 and a kernel 141 . Shell 139 is an interface between the user and the kernel of the operating system. Shell 139 is the outermost layer of the operating system. Shell 139 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 outputs.
内核141由操作系统中用于管理存储器、文件、外设和系统资源的那些部分组成。直接与硬件交互,操作系统内核通常运行进程,并提供进程间的通信,提供CPU时间片管理、中断、内存管理、IO管理等等。 Kernel 141 consists of those parts of the operating system that manage memory, files, peripherals, and system resources. Interacting directly with hardware, the operating system kernel usually runs processes and provides inter-process communication, providing CPU time slice management, interrupts, memory management, IO management, and more.
应用程序143包括控制车辆自动驾驶相关的程序,比如,管理自动驾驶的车辆和路上 障碍物交互的程序,控制自动驾驶车辆路线或者速度的程序,控制自动驾驶车辆和路上其他自动驾驶车辆交互的程序。应用程序143也存在于软件部署服务器(deploying server)149的系统上。在一个实施例中,在需要执行应用程序147时,计算机系统101可以从软件部署服务器(deploying server)149下载应用程序143。Application 143 includes programs that control the autonomous driving of the vehicle, such as programs that manage the interaction between the autonomous vehicle and obstacles on the road, programs that control the route or speed of the autonomous vehicle, and programs that control the interaction between the autonomous vehicle and other autonomous vehicles on the road. . Application 143 also exists on the system of software deploying server 149 . In one embodiment, computer system 101 may download application 143 from software deploying server 149 when application 147 needs to be executed.
在一些实施例中,上述应用程序还可以包括用于本申请实施例提供的目标物的感知方案对应的应用程序,其中本申请实施例的目标物的感知方案将在下文中具体介绍,为了简洁在此不再赘述。In some embodiments, the above-mentioned application program may further include an application program corresponding to the target object perception scheme provided by the embodiments of the present application, wherein the target object perception scheme of the embodiments of the present application will be described in detail below. For the sake of brevity, the This will not be repeated here.
传感器153(又称“采集设备”)和计算机系统101关联。传感器153用于探测计算机101周围的环境。举例来说,传感器153可以探测目标物,例如,动物,车辆,障碍物等,进一步传感器还可以探测上述目标物的周围的环境,比如:动物周围的环境,动物周围出现的其他动物,天气条件,周围环境的光亮度等。可选地,如果计算机101位于自动驾驶的车辆上,传感器可以是激光雷达,摄像头,红外线感应器,化学检测器,麦克风等。Sensors 153 (also known as "collection devices") are associated with computer system 101 . The sensor 153 is used to detect the environment around the computer 101 . For example, the sensor 153 can detect objects, such as animals, vehicles, obstacles, etc., and further sensors can detect the surrounding environment of the above objects, such as: the environment around the animal, other animals appearing around the animal, weather conditions , the brightness of the surrounding environment, etc. Alternatively, if the computer 101 is located on a self-driving vehicle, the sensors may be lidars, cameras, infrared sensors, chemical detectors, microphones, and the like.
在现有的障碍规避系统中,通常采用AI模型对车辆的运动速度和运动方向进行规划,以避免车辆与车辆周围的障碍物发生碰撞。然而,在上述使用AI模型控制车辆的运动速度、运动方向的方案中,由于AI模型的不可解释性和不可预知性,导致控制的车辆的安全性无法满足。In the existing obstacle avoidance system, the AI model is usually used to plan the speed and direction of movement of the vehicle, so as to avoid the collision between the vehicle and the obstacles around the vehicle. However, in the above scheme of using the AI model to control the moving speed and direction of the vehicle, due to the uninterpretability and unpredictability of the AI model, the safety of the controlled vehicle cannot be satisfied.
为了避免上述问题,本申请提供了一种新的车辆的控制方法,即在上述基于AI模型对车辆的运动速度的和运动方向进行控制的基础上,新增一种基于势能函数计算障碍物与车辆之间碰撞势能,以控制车辆的运动速度的和运动方向的方案,使得在控制车辆的运动速度和运动方向的过程中,既可以保留AI模型较高的感知、决策性能,又可以引入势能函数的可解释性和可预知性,以提高控制车辆的运动速度和运动方向的安全性。下文结合图3介绍本申请实施例的车辆的控制方法。In order to avoid the above problems, the present application provides a new vehicle control method, that is, on the basis of the above-mentioned AI model-based control of the vehicle's motion speed and motion direction, a new method based on the potential energy function to calculate the obstacle and the motion direction is added. The collision potential energy between vehicles is used to control the speed and direction of movement of the vehicle, so that in the process of controlling the speed and direction of movement of the vehicle, the high perception and decision-making performance of the AI model can be retained, and potential energy can be introduced. Interpretability and predictability of functions to improve safety in controlling the speed and direction of movement of a vehicle. The following describes the vehicle control method according to the embodiment of the present application with reference to FIG. 3 .
图3是本申请实施例的车辆的控制方法的流程图。应理解,图3所示的方法可以由图1中的障碍规避系统执行,或者由图2所示的处理器103执行。图3所示的方法包括步骤310至步骤330。FIG. 3 is a flowchart of a vehicle control method according to an embodiment of the present application. It should be understood that the method shown in FIG. 3 may be performed by the obstacle avoidance system shown in FIG. 1 , or by the processor 103 shown in FIG. 2 . The method shown in FIG. 3 includes steps 310 to 330 .
310,采集预设范围内障碍物的运动状态。310. Collect the motion state of the obstacle within the preset range.
可选地,上述障碍物的运动状态可以包括障碍物的行驶速度、行驶方向、以及障碍物的位置等信息。Optionally, the motion state of the obstacle may include information such as the obstacle's running speed, the running direction, and the position of the obstacle.
320,将障碍物的运动状态分别输入人工智能AI模型以及势能函数,确定车辆的第一运动状态和第二运动状态,其中,第一运动状态为基于AI模型计算得到的车辆的运动速度和方向,第二运动状态为基于势能函数计算得到的车辆的运动速度和方向。320. Input the motion state of the obstacle into the artificial intelligence AI model and the potential energy function respectively, and determine the first motion state and the second motion state of the vehicle, wherein the first motion state is the motion speed and direction of the vehicle calculated based on the AI model , and the second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function.
上述势能函数通过计算障碍物与车辆之间的碰撞势能指示障碍物与车辆发生碰撞的可能性,碰撞势能越大碰撞的可能性越高,碰撞势能越小碰撞的可能性越小。The above potential energy function indicates the possibility of collision between the obstacle and the vehicle by calculating the collision potential energy between the obstacle and the vehicle.
可选地,上述碰撞势能与障碍物和车辆之间的相对距离反相关,碰撞势能与障碍物与车辆之间的相对速度正相关。Optionally, the collision potential energy is inversely correlated with the relative distance between the obstacle and the vehicle, and the collision potential energy is positively correlated with the relative speed between the obstacle and the vehicle.
例如,上述势能函数可以表示为
Figure PCTCN2021114741-appb-000002
其中,k、α、β表示常系数,C表示常量,ν表示所述障碍物与所述车辆的之间的相对速度的大小,d表示所述障碍物与所述车辆之间的相对距离。
For example, the above potential energy function can be expressed as
Figure PCTCN2021114741-appb-000002
Wherein, k, α, β represent constant coefficients, C represents a constant, ν represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
又例如,上述势能函数还可以表示为
Figure PCTCN2021114741-appb-000003
其中,k'、α'、β'表示常系数,C'表示常量,ν'表示所述障碍物与所述车辆的之间的相对速度的大小,d'表示所述障碍物与所述车辆之间的相对距离。
For another example, the above potential energy function can also be expressed as
Figure PCTCN2021114741-appb-000003
Wherein, k', α', β' represent constant coefficients, C' represents a constant, ν' represents the relative speed between the obstacle and the vehicle, d' represents the obstacle and the vehicle relative distance between.
又例如,上述势能函数还可以表示为f”=f 1(v”)+f 2(d”)+C”,其中,ν”表示所述障碍物与所述车辆的之间的相对速度的大小,f 1(v”)表示基于相对速度的函数,C”表示常量,d'表示所述障碍物与所述车辆之间的相对距离,f 2(d”)基于相对距离的函数。 For another example, the above-mentioned potential energy function can also be expressed as f"=f 1 (v")+f 2 (d")+C", wherein ν" represents the relative speed between the obstacle and the vehicle. magnitude, f 1 (v") represents a function based on relative velocity, C" represents a constant, d' represents a relative distance between the obstacle and the vehicle, and f 2 (d") represents a function based on relative distance.
330,基于第一运动状态和/或第二运动状态,确定车辆的目标运动状态,目标运动状态包括车辆的目标运动速度和目标运动方向。330. Determine a target motion state of the vehicle based on the first motion state and/or the second motion state, where the target motion state includes a target motion speed and a target motion direction of the vehicle.
为了便于理解,下文结合图4介绍本申请实施例的智能驾驶系统。图4是本申请另一实施例的智能驾驶系统的架构的示意图。参见图4,智能驾驶系统400包括控制器401、感知设备402、交互系统403和执行系统404。For ease of understanding, the following describes the intelligent driving system of the embodiment of the present application with reference to FIG. 4 . FIG. 4 is a schematic diagram of the architecture of an intelligent driving system according to another embodiment of the present application. Referring to FIG. 4 , the intelligent driving system 400 includes a controller 401 , a perception device 402 , an interaction system 403 and an execution system 404 .
感知设备402用于通过传感器获取车辆周围的车辆、人和基础设施等障碍物的信息,包括障碍物的图像、探测信息,其中,探测信息可以根据感知设备类型不同而不同。例如,当感知设备为激光雷达时,激光雷达可以向目标发射探测信号(例如,激光束),然后,将接收到的从目标反射回来的信号(例如,目标回波)与发射信号进行比较,作适当处理后,就可获得目标的有关探测信息,如目标距离、方位、高度、速度、姿态、甚至形状等参数。上述障碍物的信息会发送给控制器401,由控制器401根据障碍物的信息进一步确定车辆到达目的地的行驶轨迹,再向执行系统404发送包括速度的控制指令,由执行系统404控制车辆行驶。其中,速度为矢量,包括大小和方向,速度的大小也可以称为速率。为了满足车辆安全行驶的高功能安全要求,控制器401中可以利用冗余的双通道设计,分别计算在同一段区域中车辆的运动速度。The sensing device 402 is used to obtain information on obstacles such as vehicles, people and infrastructure around the vehicle through sensors, including images of obstacles and detection information, wherein the detection information may vary according to different types of sensing devices. For example, when the sensing device is a lidar, the lidar can transmit a detection signal (eg, a laser beam) to the target, and then compare the received signal reflected from the target (eg, target echo) with the transmitted signal, After proper processing, the relevant detection information of the target can be obtained, such as the target distance, azimuth, height, speed, attitude, and even the shape and other parameters. The information of the above-mentioned obstacles will be sent to the controller 401, and the controller 401 will further determine the driving trajectory of the vehicle to the destination according to the information of the obstacles, and then send a control command including the speed to the execution system 404, and the execution system 404 will control the vehicle to drive. . Among them, the speed is a vector, including size and direction, and the size of the speed can also be called the rate. In order to meet the high functional safety requirements for safe driving of the vehicle, the controller 401 can utilize a redundant dual-channel design to separately calculate the moving speed of the vehicle in the same segment.
需要说明的是,上述感知设备402可以理解为与图1中的传感系统104至少部分功能相同,上述执行系统404可以理解为与图1所示的行进系统102至少部分功能相同,上述控制器401可以理解为与图1所示的控制系统106至少部分功能相同。It should be noted that the above-mentioned sensing device 402 can be understood as having the same function at least in part as the sensing system 104 in FIG. 1 , the above-mentioned execution system 404 can be understood as having the same function at least in part as the traveling system 102 shown in FIG. 1 , and the above-mentioned controller 401 can be understood to be at least partially functionally identical to the control system 106 shown in FIG. 1 .
上述控制器401可以包括工作通道和安全通道,工作通道用于利用AI模型规划车辆的第一运动速度和第一运动方向,安全通道利用上述势能函数规划车辆的第二运动速度和第二运动方向。控制器401可以利用工作通道和安全通道分别确定在行驶轨迹中同一段区域中车辆的运动速度和运动方向,再由控制器401根据预设条件确定所要选择的目标运动速度和目标运动方向。其中,由控制器401选择的目标运动速度和目标运动方向也可以称为最优速度。The above-mentioned controller 401 may include a working channel and a safety channel, the working channel is used to plan the first movement speed and the first movement direction of the vehicle by using the AI model, and the safety channel uses the above-mentioned potential energy function to plan the second movement speed and the second movement direction of the vehicle. . The controller 401 can use the working channel and the safety channel to determine the speed and direction of movement of the vehicle in the same area of the running track, and then the controller 401 determines the target speed and direction to be selected according to preset conditions. The target movement speed and target movement direction selected by the controller 401 may also be referred to as the optimal speed.
上述工作通道4011用于利用AI模型进行感知、决策和路径规划,输出车辆的第一运动速度和第一运动方向,使得车辆能够满足质量管理(quality management,QM)要求。工作通道4011,包括第一感知模块40111和决策模块40112。第一感知模块40111用于收集感知设备采集的智能车辆周围的障碍物的信息,并针对障碍物信息进行处理得到路况信息,如障碍物类型、速度、大小、道路等基础设施情况(如当前方向车道数量、交通标识等)。决策模块40112用于根据第一感知模块40111提供的路况信息进一步确定在一段区域内行驶的方向和速度。The above-mentioned working channel 4011 is used for perception, decision-making and path planning by using the AI model, and outputs the first movement speed and first movement direction of the vehicle, so that the vehicle can meet the requirements of quality management (QM). The working channel 4011 includes a first perception module 40111 and a decision module 40112. The first perception module 40111 is used to collect information about obstacles around the smart vehicle collected by the sensing device, and process the obstacle information to obtain road condition information, such as obstacle type, speed, size, road and other infrastructure conditions (such as the current direction). number of lanes, traffic signs, etc.). The decision module 40112 is configured to further determine the direction and speed of driving in a section of the area according to the road condition information provided by the first perception module 40111 .
上述安全通道4012包括第二感知模块40121、决策和防碰撞模块40122。其中,决策和防碰撞模块40122用于根据第二感知模块40121提供的障碍物的信息,如障碍物与车辆的相对距离和相对速度。采用势能函数确定车辆的第二运动速度和第二运动方向,使得车辆行驶能够满足安全等级满足汽车安全完整性等级ASIL D等级要求。其中,ASIL等级是汽车安全完整性等级,用来描述组件或系统实现既定安全目标的概率。ASIL等级由三个基本要素决定,分别是严重度(severity,S)、暴露率(exposure,E)、可控性(controllability,C)。严重度,用于指示风险一旦发生,车内人员的生命财产遭受损害的严重程度;暴露率,用于指人员或财产遭受损害的概率;可控性,用于描述风险成为现实时驾驶员可在多大程度上采取主动措施避免损害发生。ASIL等级由高到低可分为D、C、B、A四个等级,D级安全风险最小,A级安全风险最大。在四个安全等级之外还有一个质量管理要求,该指令管理要求无安全方面要求,对于自动驾驶模式来说,安全风险相比于ASIL更大。The above-mentioned safety channel 4012 includes a second perception module 40121 , a decision-making and anti-collision module 40122 . Among them, the decision-making and anti-collision module 40122 is used for the information of obstacles provided by the second perception module 40121, such as the relative distance and relative speed between the obstacle and the vehicle. The potential energy function is used to determine the second movement speed and the second movement direction of the vehicle, so that the vehicle can travel to meet the safety level and meet the requirements of the automotive safety integrity level ASIL D level. Among them, the ASIL level is the automotive safety integrity level, which is used to describe the probability of a component or system achieving a given safety goal. The ASIL level is determined by three basic elements, namely severity (Severity, S), exposure rate (exposure, E), and controllability (C). Severity, which is used to indicate the severity of the damage to the lives and property of people in the vehicle once the risk occurs; exposure rate, which is used to refer to the probability of damage to people or property; Controllability, which is used to describe the driver can The extent to which proactive measures are taken to prevent damage from occurring. The ASIL level can be divided into four levels from high to low: D, C, B, and A. The D level has the smallest safety risk and the A level has the largest safety risk. In addition to the four safety levels, there is also a quality management requirement. The directive management requires no safety requirements. For autonomous driving mode, the safety risk is greater than ASIL.
作为一种可能的实现方式,图4中第一感知模块40111和第二感知模块40112可以合并为一个感知模块,该合并后的感知模块从传感设备402中获得障碍物的信息,并据此信息进一步计算障碍物相对于车辆的距离和障碍物相对于车辆的相对速度等路况信息,并根据决策模块40112和决策和防碰撞模块40122所需的信息,分别向其发送所需内容。As a possible implementation manner, the first sensing module 40111 and the second sensing module 40112 in FIG. 4 may be combined into one sensing module, and the combined sensing module obtains obstacle information from the sensing device 402, and accordingly The information further calculates the road condition information such as the distance of the obstacle relative to the vehicle and the relative speed of the obstacle relative to the vehicle, and sends the required content to the decision module 40112 and the decision and anti-collision module 40122 according to the information required by the decision module 40112 and the decision and anti-collision module 40122 respectively.
图4所示控制器中第一感知模块40111、决策模块40112、第二感知模块40121、决策和防碰撞模块40122和仲裁模块405可以由硬件实现,也可以由软件实现,或者由硬件和软件共同实现相应的功能。The first sensing module 40111, the decision-making module 40112, the second sensing module 40121, the decision-making and anti-collision module 40122, and the arbitration module 405 in the controller shown in FIG. 4 can be implemented by hardware, software, or a combination of hardware and software. implement the corresponding function.
可选地,系统400中还包括交互系统403,该交互系统403用于实现车辆与驾驶员的消息交互,使得驾驶员可以通过交互系统403向车辆发送操作指示,并通过交互系统403了解车辆的当前状态。Optionally, the system 400 further includes an interaction system 403, the interaction system 403 is used to realize the message interaction between the vehicle and the driver, so that the driver can send an operation instruction to the vehicle through the interaction system 403, and learn about the vehicle through the interaction system 403. current state.
作为一个可能的实施例,系统400还包括仲裁器405,由仲裁器405分别接收工作通道4011规划的第一运动速度和第一运动方向和安全通道4012规划的第二运动速度和第二运动方向,并由仲裁器405根据预设条件选择目标运动速度和目标运动方向。As a possible embodiment, the system 400 further includes an arbiter 405, and the arbiter 405 receives the first movement speed and the first movement direction planned by the working channel 4011 and the second movement speed and the second movement direction planned by the safety channel 4012, respectively. , and the arbiter 405 selects the target movement speed and the target movement direction according to preset conditions.
作为一种可能的实现方式,图4仅是本申请提供的一种车辆的架构示意图,仲裁器可以由控制器中软件或硬件实现其功能。仲裁器也可以由独立的处理器实现冗余通道选择的作用。As a possible implementation manner, FIG. 4 is only a schematic diagram of the architecture of a vehicle provided in the present application, and the arbiter may be implemented by software or hardware in the controller. The arbiter can also function as a redundant channel selection by an independent processor.
可选地,上述步骤330包括:若障碍物与车辆之间的相对距离小于第一预设距离,或障碍物与车辆之间的相对速度高于第一预设速度,则基于第二运动状态确定车辆的目标运动状态;和/或,若障碍物与车辆之间的相对距离大于第二预设距离,或障碍物与车辆之间的相对速度低于第二预设速度,则基于第一运动状态确定车辆的目标运动状态,第一预设距离小于或等于第二预设距离,第一预设速度大于或等于第二预设速度。Optionally, the above step 330 includes: if the relative distance between the obstacle and the vehicle is less than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset speed, then based on the second motion state Determine the target motion state of the vehicle; and/or, if the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, then based on the first The motion state determines the target motion state of the vehicle, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed.
上述障碍物与车辆之间的相对距离小于第一预设距离,或障碍物与车辆之间的相对速度高于第一预设速度,可以说明障碍物与车辆之间发生碰撞的可能性较高,属于紧急情况,在该情况下,为了提高安全性,可以将基于势能函数得到的车辆的第二运动状态作为车辆的目标运动状态。The relative distance between the obstacle and the vehicle is smaller than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset speed, which can indicate that the possibility of collision between the obstacle and the vehicle is high , belongs to an emergency situation. In this case, in order to improve safety, the second motion state of the vehicle obtained based on the potential energy function can be used as the target motion state of the vehicle.
上述障碍物与车辆之间的相对距离大于第二预设距离,或障碍物与车辆之间的相对速度低于第二预设速度,可以说明障碍物与车辆之间发生碰撞的可能性较低,属于非紧急情况,在该情况下,可以将基于AI模型得到的车辆的第一运动状态作为车辆的目标运动状 态。The relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, which can indicate that the possibility of collision between the obstacle and the vehicle is low. , belongs to a non-emergency situation. In this case, the first motion state of the vehicle obtained based on the AI model can be used as the target motion state of the vehicle.
上述基于势能函数计算车辆的第二运动状态的方法有很多种,例如,可以将障碍物与车辆之间碰撞势能的垂直方向作为车辆的运动方向,并基于障碍物的运动速度和相对距离确定车辆的运动速度大小。当然,使用上述方法确定的车辆的第二运动状态有可能使得与车辆的当前运动状态之间的变化较大,也就是说,需要较大的方向调整以及速度调整才能使得车辆避开上述障碍物,在一定程度上会影响乘客的用户体验。There are many methods for calculating the second motion state of the vehicle based on the potential energy function. For example, the vertical direction of the collision potential energy between the obstacle and the vehicle can be used as the motion direction of the vehicle, and the vehicle can be determined based on the motion speed and relative distance of the obstacle. size of the movement speed. Of course, the second motion state of the vehicle determined by using the above method may cause a large change from the current motion state of the vehicle, that is to say, greater direction adjustment and speed adjustment are required to make the vehicle avoid the above obstacles , which will affect the user experience of passengers to a certain extent.
因此,本申请实施例还提供了一种基于势能函数确定车辆的第二运动状态的方法,即计算障碍物与车辆之间的相对速度和相对距离;基于相对速度、相对距离,以及势能函数计算障碍物与车辆之间的碰撞势能;基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定车辆的第二运动状态;或基于第二目标函数min(f<F 1),确定车辆的第二运动状态,其中,f 0表示车辆与障碍物的当前碰撞势能,f表示车辆与障碍物的之间需要调整到的碰撞势能,F 1表示预设的第一碰撞势能阈值。 Therefore, the embodiments of the present application also provide a method for determining a second motion state of a vehicle based on a potential energy function, that is, calculating the relative speed and relative distance between the obstacle and the vehicle; calculating the relative speed, relative distance, and potential energy function based on collision potential energy between the obstacle and the vehicle; based on the first objective function min(Δf), and Δf=(ff 0 )<0, determine the second motion state of the vehicle; or based on the second objective function min(f<F 1 ) to determine the second motion state of the vehicle, where f 0 represents the current collision potential energy between the vehicle and the obstacle, f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle, and F 1 represents the preset first collision potential energy threshold.
上述第一目标函数min(Δf),可以理解为,求最优解使得上述当前碰撞势能与调整后碰撞势能变化最小的车辆的运动速度和运动方向,这样,可以使得车辆调整后的运动速度和运动方向。因此,上述基于第一目标函数min(Δf)求解车辆的运动速度和运动方向的方案,可以称为“舒适模式”,在该模式下,由于车辆调整后的运动速度和运动方向与当前运动速度和运动方向的变化量较小,车辆内乘客的舒适度较高。The above-mentioned first objective function min(Δf) can be understood as finding the optimal solution to make the movement speed and movement direction of the vehicle with the smallest change between the current collision potential energy and the adjusted collision potential energy. In this way, the adjusted movement speed and direction of movement. Therefore, the above-mentioned solution for solving the motion speed and motion direction of the vehicle based on the first objective function min(Δf) can be called “comfort mode”. The amount of change in the direction of movement and movement is small, and the comfort of the passengers in the vehicle is high.
上述第二目标函数min(f<F 1),可以理解为,求最优解使得调整后碰撞势能小于预设的碰撞势能阈值,这样,基于上述碰撞势能阈值的设定F 1,可以使得车辆调整后的运动速度和运动方向的安全性。因此,上述基于第二目标函数min(f<F 1)求解车辆的运动速度和运动方向的方案,可以称为“安全模式”,在该模式下,由于车辆调整后的运动速度和运动方向使得车辆和障碍物之间的碰撞势能小于预设的碰撞势能阈值,有利于提高车辆行驶的安全性。 The above-mentioned second objective function min (f<F 1 ) can be understood as finding the optimal solution so that the adjusted collision potential energy is smaller than the preset collision potential energy threshold. In this way, based on the setting F 1 of the above collision potential energy threshold, the vehicle can be Adjusted movement speed and movement direction for safety. Therefore, the above solution based on the second objective function min(f<F 1 ) to solve the moving speed and moving direction of the vehicle can be called “safety mode”. In this mode, the adjusted moving speed and moving direction of the vehicle make The collision potential energy between the vehicle and the obstacle is smaller than the preset collision potential energy threshold, which is beneficial to improve the safety of vehicle driving.
为了便于理解,下文结合图5介绍本申请实施例的车辆的控制方法。图5是本申请实施例的车辆的控制的流程图。图5所示的方法包括步骤510至步骤590。For ease of understanding, the following describes the vehicle control method according to the embodiment of the present application with reference to FIG. 5 . FIG. 5 is a flowchart of the control of the vehicle according to the embodiment of the present application. The method shown in FIG. 5 includes steps 510 to 590 .
510,确定预设范围内障碍物与车辆之间的相对速度和相对距离。510. Determine the relative speed and relative distance between the obstacle and the vehicle within a preset range.
上述预设范围内的障碍物可以包括一个或多个障碍物。The obstacles within the above-mentioned preset range may include one or more obstacles.
可以建立以车辆的质心为原点、车辆运动速度方向为X轴正向的二维坐标系,并确定预设范围每个障碍物在二维坐标系中位置,基于障碍物在二位坐标系中的位置确定障碍物与车辆之间的相对距离。A two-dimensional coordinate system can be established with the center of mass of the vehicle as the origin and the direction of the vehicle speed as the positive X axis, and the position of each obstacle in the preset range in the two-dimensional coordinate system can be determined, based on the obstacle in the two-dimensional coordinate system. The position of the determines the relative distance between the obstacle and the vehicle.
图6示出了本申请实施例的坐标系中车辆和障碍物之间关系的示意图。参见图6所示的坐标系,以车辆610的质心为原点,车辆610行驶速度方向为X轴正向,建立二维坐标系,在该坐标系中还包括障碍物1、障碍物2以及障碍物3。FIG. 6 is a schematic diagram showing the relationship between the vehicle and the obstacle in the coordinate system of the embodiment of the present application. Referring to the coordinate system shown in FIG. 6 , taking the center of mass of the vehicle 610 as the origin, and the direction of the vehicle 610 traveling speed is the positive direction of the X-axis, a two-dimensional coordinate system is established, and the coordinate system also includes obstacle 1, obstacle 2, and obstacle item 3.
上述确定车辆610与障碍物的之间相对距离和相对速度的具体过程可以分为以下3个步骤。应理解,计算多个障碍物中每个障碍物与车辆之间相对距离和相对速度的方法都可以采用以下方法,为了简洁,下文以其中一个障碍物(目标障碍物)为例介绍确定相对距离和相对速度的方法。The above-mentioned specific process of determining the relative distance and relative speed between the vehicle 610 and the obstacle can be divided into the following three steps. It should be understood that the following methods can be used to calculate the relative distance and relative speed between each obstacle in the multiple obstacles and the vehicle. For the sake of brevity, one of the obstacles (target obstacle) is used as an example to introduce the determination of the relative distance. and relative velocity methods.
步骤1:采集T时刻目标障碍物在坐标系中的位置
Figure PCTCN2021114741-appb-000004
采集T'时刻目标障碍物在坐标系中的位置
Figure PCTCN2021114741-appb-000005
Step 1: Collect the position of the target obstacle in the coordinate system at time T
Figure PCTCN2021114741-appb-000004
Collect the position of the target obstacle in the coordinate system at time T'
Figure PCTCN2021114741-appb-000005
步骤2:计算车辆610与目标障碍物的当前距离
Figure PCTCN2021114741-appb-000006
Step 2: Calculate the current distance between the vehicle 610 and the target obstacle
Figure PCTCN2021114741-appb-000006
步骤3:计算车辆610与目标障碍物的相对速度,该相对速度的方向指向车辆610。Step 3: Calculate the relative speed between the vehicle 610 and the target obstacle, and the direction of the relative speed points to the vehicle 610 .
参见图7,假设目标障碍物在T时刻至T'时刻从位置
Figure PCTCN2021114741-appb-000007
移动至位置
Figure PCTCN2021114741-appb-000008
其中,T'=T+Δt,
Figure PCTCN2021114741-appb-000009
车辆610的速度为
Figure PCTCN2021114741-appb-000010
则目标障碍物在Δt时间内移动的距离为
Figure PCTCN2021114741-appb-000011
目标障碍物与车辆610的相对速度为
Figure PCTCN2021114741-appb-000012
目标障碍物沿车辆610速度方向的投影为
Figure PCTCN2021114741-appb-000013
Referring to Figure 7, it is assumed that the target obstacle is from the position from time T to time T'
Figure PCTCN2021114741-appb-000007
move to location
Figure PCTCN2021114741-appb-000008
Among them, T'=T+Δt,
Figure PCTCN2021114741-appb-000009
The speed of the vehicle 610 is
Figure PCTCN2021114741-appb-000010
Then the distance that the target obstacle moves in Δt time is
Figure PCTCN2021114741-appb-000011
The relative speed of the target obstacle and the vehicle 610 is
Figure PCTCN2021114741-appb-000012
The projection of the target obstacle along the speed direction of the vehicle 610 is
Figure PCTCN2021114741-appb-000013
需要说明的是,障碍物只有与自车同向且速度的大小接近时才有可能与自车发生碰撞,计算障碍物沿车辆速度方向的投影即确认障碍物与自车可能发生碰撞的速度分量。换句话说,障碍物沿车辆速度方向的投影用于指示障碍物沿自车行驶速度方向移动所造成与自车碰撞的趋势。将障碍物沿车辆速度方向的投影作为障碍物相对于车辆的相对速度。It should be noted that the obstacle may collide with the vehicle only when the obstacle is in the same direction as the vehicle and the speed is close to the vehicle. Calculating the projection of the obstacle along the speed direction of the vehicle is to confirm the speed component of the possible collision between the obstacle and the vehicle. . In other words, the projection of the obstacle in the direction of the vehicle speed is used to indicate the tendency of the obstacle to collide with the ego vehicle caused by the obstacle moving in the direction of the ego vehicle speed. The projection of the obstacle along the vehicle speed direction is taken as the relative speed of the obstacle to the vehicle.
520,基于障碍物与车辆之间的相对速度和相对距离,计算障碍物与车辆之间的碰撞势能。520. Calculate the collision potential energy between the obstacle and the vehicle based on the relative speed and the relative distance between the obstacle and the vehicle.
利用
Figure PCTCN2021114741-appb-000014
计算障碍物的碰撞势能。目标障碍物O的碰撞势能f(O)用于描述目标障碍物O可能与车辆发生碰撞的趋势,或称为车辆为避免目标障碍物的碰撞所应有的逃逸势能。例如,车辆与目标障碍物越近逃逸的趋势越强烈,目标障碍物逼近的越快逃逸的趋势越强烈。上述公式中k、α、β是常系数,C是常量,C的取值可以根据仿真结果、实际经验灵活设定。因为速度ν是目标障碍物相对车辆的速度,是一个既有大小又有方向的矢量。因此,f也是一个矢量且方向与v的方向相同。
use
Figure PCTCN2021114741-appb-000014
Calculate the collision potential energy of obstacles. The collision potential energy f(O) of the target obstacle O is used to describe the tendency of the target obstacle O to collide with the vehicle, or it is called the escape potential energy that the vehicle should have to avoid the collision of the target obstacle. For example, the closer the vehicle is to the target obstacle, the stronger the escaping trend is, and the faster the target obstacle is approaching, the stronger the escaping trend is. In the above formula, k, α, β are constant coefficients, C is a constant, and the value of C can be flexibly set according to the simulation results and actual experience. Because the speed ν is the speed of the target obstacle relative to the vehicle, it is a vector with both magnitude and direction. Therefore, f is also a vector with the same direction as v.
值得说明的是,计算f(O)的大小时,则取v的大小带入上述公式计算获得障碍物的碰撞势能。f在x、y方向上的投影分别为
Figure PCTCN2021114741-appb-000015
其中,v x和v y分别是ν在X轴和Y轴的坐标。
It is worth noting that when calculating the size of f(O), take the size of v and bring it into the above formula to calculate the collision potential energy of the obstacle. The projections of f in the x and y directions are
Figure PCTCN2021114741-appb-000015
where v x and v y are the coordinates of ν on the X and Y axes, respectively.
进一步地,决策和防碰撞模块可以根据周围车辆与自车的相对位置确定每个周围车辆在图6所示坐标系中位置。具体地,当以自车为原点的坐标系建立后,该坐标系为二维坐标系,在该二维坐标系的平面中,以周围车辆在该二维坐标系的投影位置作为周围车辆的位置。可选地,确定周围车辆在自车坐标系中位置的方法还包括:将周围车辆在大地坐标系中的坐标转换为二维坐标系,具体实施时可以采用传统技术的方法实现周围车辆在两个坐标系中坐标转换,本申请对此不作限定。Further, the decision-making and anti-collision module can determine the position of each surrounding vehicle in the coordinate system shown in FIG. 6 according to the relative positions of the surrounding vehicles and the own vehicle. Specifically, after the coordinate system with the own vehicle as the origin is established, the coordinate system is a two-dimensional coordinate system, and in the plane of the two-dimensional coordinate system, the projected position of the surrounding vehicles on the two-dimensional coordinate system is used as the surrounding vehicle's projection position. Location. Optionally, the method for determining the position of the surrounding vehicles in the own vehicle coordinate system also includes: converting the coordinates of the surrounding vehicles in the geodetic coordinate system into a two-dimensional coordinate system. Coordinate transformation in a coordinate system, which is not limited in this application.
需要说明的是,如果上述障碍物为多个,可以基于矢量和的求解方式,将每个障碍物与目标车辆之间的碰撞势能求和,此时,上述f(O)可以理解为多个障碍物的碰撞势能和。It should be noted that if the above-mentioned obstacles are multiple, the collision potential energy between each obstacle and the target vehicle can be summed based on the solution method of the vector sum. At this time, the above f(O) can be understood as multiple The collision potential energy sum of the obstacles.
530,根据碰撞势能判断是否存在预警级别的障碍物。若存在预警级别的障碍物,执行步骤540,若不存在预警级别的障碍物,则可以结束计算过程,或者重新开始计算过程。530. Determine whether there is an obstacle of an early warning level according to the collision potential energy. If there is an obstacle with an early warning level, step 540 is executed. If there is no obstacle with an early warning level, the calculation process can be ended, or the calculation process can be restarted.
本申请实施例中可以基于碰撞势能将障碍物和车辆610之间的碰撞的风险划分为三个等级:安全级别、预警级别和危险级别。当障碍物处于安全级别时本车不存在碰撞可能; 当障碍物处于预警级别时本车有碰撞可能,控制器可以通过交互系统提示驾驶员手动操作,进而实现避障;当障碍物处于危险级别时,控制器可以在紧急情况接管车辆的控制权,避免车辆其他模块执行处理中发生紧急情况出现自车与其他车辆碰撞。In this embodiment of the present application, the collision risk between the obstacle and the vehicle 610 may be divided into three levels based on the collision potential energy: a safety level, an early warning level, and a dangerous level. When the obstacle is at the safety level, the vehicle is not likely to collide; when the obstacle is at the warning level, the vehicle may collide, and the controller can prompt the driver to manually operate through the interactive system to avoid obstacles; when the obstacle is at the dangerous level The controller can take over the control of the vehicle in an emergency, so as to avoid the collision between the self-vehicle and other vehicles in an emergency in the execution of other modules of the vehicle.
值得说明的是,当障碍物处于危险等级时,控制器主动接管的情况仅限于车辆处于自动驾驶模式时由其他模块执行计算或数据处理的过程。对于人工驾驶模式,车辆的操作由驾驶员完全控制,控制器可以不干预车辆的行驶过程。It is worth noting that when the obstacle is at a dangerous level, the controller actively takes over is limited to the process of calculation or data processing performed by other modules when the vehicle is in automatic driving mode. For manual driving mode, the operation of the vehicle is completely controlled by the driver, and the controller can not interfere with the driving process of the vehicle.
参见图8,假设碰撞风险等级可以根据车辆的避障能力(如性能和大小)分别预置第一碰撞势能阈值|F 1|、第二碰撞势能阈值|F 2|,当|F 1|≤|f|<|F 2|时,障碍物属于预警级别;当|f|≥|F 2|时,障碍物属于危险级别;当|f|<|F 1|时,障碍物属于安全级别,其中,|F 1|<|F 2|,则危险区域中的障碍物11属于危险级别,预警区域中的障碍物12、障碍物14、障碍物13属于预警级别,安全区域中的障碍物15、障碍物16、障碍物17属于安全级别。 Referring to Fig. 8 , it is assumed that the collision risk level can be preset according to the vehicle's obstacle avoidance ability (such as performance and size), respectively, to preset the first collision potential energy threshold |F 1 | and the second collision potential energy threshold |F 2 |, when |F 1 |≤ When |f|<|F 2 |, the obstacle belongs to the warning level; when |f|≥|F 2 |, the obstacle belongs to the dangerous level; when |f|<|F 1 |, the obstacle belongs to the safety level, Among them, |F 1 |<|F 2 |, the obstacle 11 in the dangerous area belongs to the dangerous level, the obstacle 12, obstacle 14, and obstacle 13 in the early warning area belong to the early warning level, and the obstacle 15 in the safe area belongs to the early warning level. , Obstacle 16, and Obstacle 17 belong to the safety level.
540,向驾驶员发出警报。540, alert the driver.
550,根据碰撞势能判断是否存在危险级别的障碍物。若存在危险级别的障碍物,执行步骤560,若不存在危险级别的障碍物,则可以结束计算过程,或者重新开始计算过程。550. Determine whether there is an obstacle of a dangerous level according to the collision potential energy. If there is an obstacle of a dangerous level, step 560 is executed. If there is no obstacle of a dangerous level, the calculation process can be ended, or the calculation process can be restarted.
560,向驾驶员发出警报。560, alerting the driver.
570,选择安全模式或舒适模式。若选择安全模式则执行步骤580,若选择舒适模式选择步骤590。570, select Safe Mode or Comfort Mode. If the safe mode is selected, step 580 is performed, and if the comfortable mode is selected, step 590 is selected.
580,基于第二目标函数min(f<F 1),确定车辆的第二运动状态。 580. Determine a second motion state of the vehicle based on the second objective function min(f<F 1 ).
需要说明的是,在求可行解的过程中可能会存在无数个解(v,θ),此时,可以在全部可行解中,选择相对于当前速度改变最小的可行解作为最优解,其中,v表示调整后车辆610的运动速度,θ表示调整后车辆610的运动方向。如果不存在满足条件的可行解(v,θ),此时,可以选择令f最小的可行解(v,θ)作最优解,同时向驾驶员发出警告。It should be noted that there may be an infinite number of solutions (v, θ) in the process of finding feasible solutions. At this time, among all feasible solutions, the feasible solution with the smallest change relative to the current speed can be selected as the optimal solution, where , v represents the movement speed of the vehicle 610 after adjustment, and θ represents the movement direction of the vehicle 610 after adjustment. If there is no feasible solution (v, θ) that meets the conditions, at this time, the feasible solution (v, θ) with the smallest f can be selected as the optimal solution, and a warning is issued to the driver at the same time.
590,基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定车辆的第二运动状态。 590 , based on the first objective function min(Δf), and Δf=(ff 0 )<0, determine a second motion state of the vehicle.
需要说明的是,在求可行解的过程中可能会存在无数个解(v,θ),此时,可以在全部可行解中,选择相对于当前速度改变最小的可行解作为最优解,其中,v表示调整后车辆610的运动速度,θ表示调整后车辆610的运动方向。如果不存在满足条件的可行解(v,θ),此时,可以选择令Δf最小的可行解(v,θ)作最优解,同时向驾驶员发出警告。It should be noted that there may be an infinite number of solutions (v, θ) in the process of finding feasible solutions. At this time, among all feasible solutions, the feasible solution with the smallest change relative to the current speed can be selected as the optimal solution, where , v represents the movement speed of the vehicle 610 after adjustment, and θ represents the movement direction of the vehicle 610 after adjustment. If there is no feasible solution (v, θ) that meets the conditions, at this time, the feasible solution (v, θ) with the smallest Δf can be selected as the optimal solution, and a warning is issued to the driver at the same time.
可选地,上述步骤中“向驾驶员发出警报”可以通过图9所示的交互系统实现。如图9所示,该交互系统可以通过多种形式提示驾驶员注意障碍物情况,由驾驶员接管车辆或向车辆发送执行指令,以控制车辆的行驶。例如,音频提示、座椅震动提示、车内闪灯提示。人机交互系统还可以利用不同颜色或背景标识不同等级和区域。Optionally, "sending an alert to the driver" in the above steps may be implemented by the interactive system shown in FIG. 9 . As shown in Figure 9, the interactive system can prompt the driver to pay attention to obstacles in various forms, and the driver can take over the vehicle or send execution instructions to the vehicle to control the driving of the vehicle. For example, audio prompts, seat vibration prompts, interior flashing lights prompts. Human-computer interaction systems can also use different colors or backgrounds to identify different levels and areas.
具体地,可以利用以下方式中至少一种形式实现车辆与驾驶员的人机交互过程:Specifically, the human-computer interaction process between the vehicle and the driver can be realized in at least one of the following ways:
方式1:在车辆的车载显示界面通过文字提示该车辆与周围障碍物存在碰撞风险,以及第一速度和第二速度。示例地,图9中Va和Vb为可选的避障方向,驾驶员可以选择任意一个作为车辆行驶的方向。另外,除了标注Va和Vb为可选的避障方向外,还可以利用不同标识提示向障碍物方向行驶的碰撞风险,例如,在图9中障碍物O1和O2方向,利用五角星标识和文字提示“危险”。Mode 1: The vehicle's on-board display interface prompts the vehicle to have a collision risk with surrounding obstacles, as well as the first speed and the second speed through text. For example, Va and Vb in FIG. 9 are optional obstacle avoidance directions, and the driver can choose any one as the direction in which the vehicle travels. In addition, in addition to marking Va and Vb as optional obstacle avoidance directions, different signs can also be used to indicate the collision risk of driving in the direction of the obstacle. Prompt "dangerous".
方式2:在该车辆中通过语音提示该车辆与所述周围障碍物存在碰撞风险,第一速度和第二速度;在车辆中通过座椅震动提示所述车辆与周围障碍物存在碰撞风险。Mode 2: In the vehicle, the vehicle is prompted to have a collision risk with the surrounding obstacles, the first speed and the second speed; the seat vibration is used in the vehicle to prompt the vehicle to have a collision risk with the surrounding obstacles.
方式3:在车辆中通过车灯闪灯提示车辆与周围障碍物存在碰撞风险。对于危险情况,还可以通过快速闪灯的方式提示驾驶员的注意。Method 3: In the vehicle, the flashing lights of the lights indicate that there is a risk of collision between the vehicle and surrounding obstacles. For dangerous situations, the driver's attention can also be prompted by flashing lights quickly.
作为一种可能的实现方式,车辆按照上述方法进行躲避障碍物后,可能更改了决策模块所确定的原始行驶轨迹,还需要进一步结合当前时刻车辆所处的路况重新规划或调整原始行驶轨迹,进而保证车辆顺利到达驾驶员指定的目的地。As a possible implementation, after the vehicle avoids obstacles according to the above method, the original driving trajectory determined by the decision-making module may be changed. It is necessary to further re-plan or adjust the original driving trajectory according to the road conditions of the vehicle at the current moment. Ensure that the vehicle arrives at the destination designated by the driver smoothly.
可选地,车辆除了利用上述控制器确定速度外,也可以接收驾驶员通过界面或语音等形式所选择的速度,在接收上述速度控制指令后,可以以此速度控制车辆行驶。Optionally, in addition to using the above-mentioned controller to determine the speed, the vehicle can also receive the speed selected by the driver through the interface or voice, and after receiving the above-mentioned speed control command, the vehicle can be controlled to run at this speed.
通过上述人机交互系统,能够提升驾驶员的驾驶体验,帮助驾驶员更好的接管和控制车辆。另一方面,通过人机交互系统也可以让驾驶员了解车辆所处环境的情况,减少驾驶员在紧急情况下无法获知车辆行驶区域而产生的恐惧。紧急情况下,驾驶员还可以通过人工交互系统显示的情况决定是否切换驾驶模式为人工驾驶模式,由驾驶员接管车辆的控制权。Through the above human-computer interaction system, the driver's driving experience can be improved, and the driver can better take over and control the vehicle. On the other hand, through the human-computer interaction system, the driver can also understand the environment of the vehicle, reducing the driver's fear of not being able to know the driving area of the vehicle in an emergency. In an emergency, the driver can also decide whether to switch the driving mode to the manual driving mode through the situation displayed by the manual interaction system, and the driver will take over the control of the vehicle.
作为一种可能的实现方式,除了利用障碍物与自车的相对速度和相对距离来确认碰撞势能,进而确认障碍物与自车的碰撞风险外,还可以根据障碍物的类型,对不同类型的车辆添加不同权值,具体权值的设置可以考虑不同类型的障碍物与自车发生碰撞的损伤程度。再进一步结合上述碰撞损伤程度确定避障的最优方向和速度。As a possible implementation, in addition to using the relative speed and relative distance between the obstacle and the vehicle to confirm the collision potential energy, and then confirm the collision risk between the obstacle and the vehicle, it can also be used according to the type of the obstacle. Different weights are added to the vehicle, and the setting of the specific weights can consider the damage degree of the collision between different types of obstacles and the vehicle. The optimal direction and speed of obstacle avoidance are further determined in combination with the above-mentioned collision damage degree.
作为另一种可能的实现方式,控制器除了依赖于其所在车辆的传感设备探测周围障碍物的感知数据外,也可以由其他障碍物向车辆发送其他车辆的信息,包括其他车辆的轨迹信息,车辆自车的避障过程也可以结合上述车辆的信息实现车辆的避障过程。其中,其他障碍物可以通过车外网(vehicle to everything,V2X)通信技术向车辆发送信息。当存在两个或多个避障方向时,还可以根据障碍物的类型、与自车的距离和相对速度确认其与自车发生碰撞的改了,并通过界面显示躲避障碍物的概率,驾驶员可以通过界面选择任意一个可行方向作为避障方向。As another possible implementation, in addition to relying on the sensing data of the vehicle in which the controller detects surrounding obstacles, the controller can also send information about other vehicles to the vehicle from other obstacles, including track information of other vehicles , the obstacle avoidance process of the vehicle's own vehicle can also be combined with the above vehicle information to realize the vehicle obstacle avoidance process. Among them, other obstacles can send information to the vehicle through the vehicle to everything (V2X) communication technology. When there are two or more obstacle avoidance directions, you can also confirm whether it collides with the own vehicle according to the type of the obstacle, the distance from the vehicle and the relative speed, and display the probability of avoiding the obstacle through the interface. The operator can select any feasible direction as the obstacle avoidance direction through the interface.
作为另一种可能的实现方式,当安全通道确认的第二速度有多个方向时,还可以根据与障碍物的碰撞危险程度选择最安全的方向作为第二速度的方向,其中,碰撞危险程度包括与障碍物发生碰撞的概率、发生碰撞的损伤程度等因素中一种或多种,发生碰撞的损伤程度可以根据障碍物的大小、相对速度和相对距离进行标定,障碍物越大、相对速度越快、相对距离越短,发生碰撞的损伤程度越高。通过上述方式,当存在多个第二速度的方向时,可以根据碰撞风险程度选择最优的方向躲避障碍物,进一步提升自动驾驶的安全性。而且,上述碰撞风险程度可以通过人机交互界面显示给驾驶员,由驾驶员选择最终速度的方向,进而控制车辆按照驾驶员选择的速度行驶。As another possible implementation manner, when the second speed confirmed by the safety channel has multiple directions, the safest direction may also be selected as the direction of the second speed according to the degree of collision risk with the obstacle, wherein the degree of collision risk is the direction of the second speed. It includes one or more of the factors such as the probability of collision with the obstacle, the degree of damage in the collision, etc. The degree of damage in the collision can be calibrated according to the size, relative speed and relative distance of the obstacle. The larger the obstacle, the higher the relative speed. The faster and the shorter the relative distance, the higher the damage in a collision. In the above manner, when there are multiple directions of the second speed, the optimal direction can be selected to avoid obstacles according to the degree of collision risk, thereby further improving the safety of automatic driving. Moreover, the above-mentioned collision risk degree can be displayed to the driver through the human-computer interaction interface, and the driver can select the direction of the final speed, and then control the vehicle to drive at the speed selected by the driver.
值得说明的是,对于上述方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请所必须的。It is worth noting that, for the purpose of simple description, the above method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence, and secondly, Those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.
本领域的技术人员根据以上描述的内容,能够想到的其他合理的步骤组合,也属于本申请的保护范围内。其次,本领域技术人员也应该熟悉,说明书中所描述的实施例均属于 优选实施例,所涉及的动作并不一定是本申请所必须的。Other reasonable step combinations that those skilled in the art can think of based on the above description also fall within the protection scope of the present application. Secondly, those skilled in the art should also be familiar with that, the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the present application.
上文结合图1至图9介绍了本申请实施例的方法,下文结合图10至图12介绍本申请实施例的装置。应理解,图10至图12所示的装置可以实现上述方法中各个步骤,为了简洁,在此不再赘述。The methods of the embodiments of the present application are described above with reference to FIGS. 1 to 9 , and the apparatuses of the embodiments of the present application are described below with reference to FIGS. 10 to 12 . It should be understood that the apparatuses shown in FIG. 10 to FIG. 12 can implement each step in the above method, and for the sake of brevity, details are not repeated here.
图10是本申请实施例的车辆的控制装置的示意图。图10所示的装置1000包括:采集单元1010和处理单元1020。FIG. 10 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application. The apparatus 1000 shown in FIG. 10 includes: a collection unit 1010 and a processing unit 1020 .
采集单元1010,用于采集预设范围内障碍物的运动状态;a collection unit 1010, configured to collect the motion state of obstacles within a preset range;
处理单元1020,用于将所述障碍物的运动状态分别输入人工智能AI模型以及势能函数,确定车辆的第一运动状态和第二运动状态,其中,所述势能函数通过计算所述障碍物与所述车辆之间的碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小,所述第一运动状态为基于所述AI模型计算得到的所述车辆的运动速度和方向,所述第二运动状态为基于所述势能函数模型计算得到的所述车辆的运动速度和方向;The processing unit 1020 is configured to input the motion state of the obstacle into the artificial intelligence AI model and the potential energy function respectively, and determine the first motion state and the second motion state of the vehicle, wherein the potential energy function is calculated by calculating the obstacle and the potential energy function. The collision potential energy between the vehicles indicates the probability of the collision between the obstacle and the vehicle, the higher the collision potential energy, the higher the collision probability, and the smaller the collision potential energy, the higher the collision probability The smaller the value, the first motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model. direction;
所述处理单元1020,还用于基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,所述目标运动状态包括所述车辆的目标运动速度和目标运动方向。The processing unit 1020 is further configured to determine a target motion state of the vehicle based on the first motion state and/or the second motion state, where the target motion state includes a target motion speed and a target motion direction of the vehicle .
可选地,作为一个实施例,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。Optionally, as an embodiment, the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is positively related to the relative speed between the obstacle and the vehicle. .
可选地,作为一个实施例,若所述障碍物与所述车辆之间的相对距离小于第一预设距离,或所述障碍物与所述车辆之间的相对速度高于第一预设速度,所述处理单元1020还用于基于所述第二运动状态确定所述车辆的目标运动状态;和/或,Optionally, as an embodiment, if the relative distance between the obstacle and the vehicle is less than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset distance speed, the processing unit 1020 is further configured to determine the target motion state of the vehicle based on the second motion state; and/or,
若所述障碍物与所述车辆之间的相对距离大于第二预设距离,或所述障碍物与所述车辆之间的相对速度低于第二预设速度,所述处理单元1020还用于基于所述第一运动状态确定所述车辆的目标运动状态,所述第一预设距离小于或等于所述第二预设距离,所述第一预设速度大于或等于所述第二预设速度。If the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, the processing unit 1020 further uses In determining the target motion state of the vehicle based on the first motion state, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset distance Set speed.
可选地,作为一个实施例,所述处理单元1020还用于:基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Optionally, as an embodiment, the processing unit 1020 is further configured to: determine the second motion state of the vehicle based on the first objective function min(Δf), and Δf=(ff 0 )<0, wherein, f 0 represents the current collision potential energy between the vehicle and the obstacle, and f represents the collision potential energy to be adjusted between the vehicle and the obstacle.
可选地,作为一个实施例,所述处理单元1020,还用于:基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Optionally, as an embodiment, the processing unit 1020 is further configured to: determine the second motion state of the vehicle based on the second objective function min (f<F 1 ), where F 1 represents a preset The first collision potential energy threshold, f represents the collision potential energy that needs to be adjusted between the vehicle and the obstacle.
可选地,作为一个实施例,所述势能函数为
Figure PCTCN2021114741-appb-000016
其中,k、α、β表示常系数,C表示常量,ν表示所述障碍物与所述车辆的之间的相对速度的大小,d表示所述障碍物与所述车辆之间的相对距离。
Optionally, as an embodiment, the potential energy function is
Figure PCTCN2021114741-appb-000016
Wherein, k, α, β represent constant coefficients, C represents a constant, ν represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
图11是本申请实施例的车辆的控制装置的示意图。图11所示的装置1100包括:采集单元1110和处理单元1120,采集单元1110用于采集所述处理单元1120所需的数据。FIG. 11 is a schematic diagram of a control device of a vehicle according to an embodiment of the present application. The apparatus 1100 shown in FIG. 11 includes: a collection unit 1110 and a processing unit 1120 , and the collection unit 1110 is configured to collect data required by the processing unit 1120 .
处理单元1120,用于计算障碍物与车辆之间的相对速度和相对距离;The processing unit 1120 is used to calculate the relative speed and relative distance between the obstacle and the vehicle;
所述处理单元1120,还用于基于所述相对速度、所述相对距离,以及势能函数计算 所述障碍物与所述车辆之间的碰撞势能,其中,所述碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小;The processing unit 1120 is further configured to calculate the collision potential energy between the obstacle and the vehicle based on the relative speed, the relative distance, and the potential energy function, wherein the collision potential energy indicates that the obstacle is different from the vehicle. The possibility of collision of the vehicle, the higher the collision potential energy, the higher the possibility of the collision, and the smaller the collision potential energy, the lower the possibility of the collision;
所述处理单元1120,还用于基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态;或 The processing unit 1120 is further configured to determine the second motion state of the vehicle based on the first objective function min(Δf), and Δf=(ff 0 )<0; or
所述处理单元1120,还用于基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态, The processing unit 1120 is further configured to determine the second motion state of the vehicle based on the second objective function min(f<F 1 ),
其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能,F 1表示预设的第一碰撞势能阈值。 Wherein, f 0 represents the current collision potential energy between the vehicle and the obstacle, f represents the collision potential energy to be adjusted between the vehicle and the obstacle, and F 1 represents a preset first collision potential energy threshold.
可选地,作为一个实施例,所述处理单元,还用于:Optionally, as an embodiment, the processing unit is further configured to:
在舒适模式下,基于所述第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态。 In the comfort mode, based on the first objective function min(Δf), and Δf=(ff 0 )<0, a second motion state of the vehicle is determined.
可选地,作为一个实施例,所述处理单元,还用于:Optionally, as an embodiment, the processing unit is further configured to:
在安全模式下,基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In the safety mode, the second motion state of the vehicle is determined based on the second objective function min (f<F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the relationship between the vehicle and the vehicle. The collision potential energy that needs to be adjusted between obstacles.
在可选的实施例中,所述处理单元1020可以为处理器1220,所述采集单元1010可以为通信接口1230,所述通信设备还可以包括存储器1210,具体如图12所示。In an optional embodiment, the processing unit 1020 may be a processor 1220, the collection unit 1010 may be a communication interface 1230, and the communication device may further include a memory 1210, as shown in FIG. 12 .
在可选的实施例中,所述处理单元1120可以为处理器1220,所述采集单元1110可以为通信接口1230,所述通信设备还可以包括存储器1210,具体如图12所示。In an optional embodiment, the processing unit 1120 may be a processor 1220, the collection unit 1110 may be a communication interface 1230, and the communication device may further include a memory 1210, as shown in FIG. 12 .
图12是本申请另一实施例的计算设备的示意性框图。图12所示的计算设备1200可以包括:存储器1210、处理器1220、以及通信接口1230。其中,存储器1210、处理器1220,通信接口1230通过内部连接通路相连,该存储器1210用于存储指令,该处理器1220用于执行该存储器1220存储的指令,以控制输入/输出接口1230接收/发送第二信道模型的至少部分参数。可选地,存储器1210既可以和处理器1220通过接口耦合,也可以和处理器1220集成在一起。FIG. 12 is a schematic block diagram of a computing device according to another embodiment of the present application. The computing device 1200 shown in FIG. 12 may include: a memory 1210 , a processor 1220 , and a communication interface 1230 . Among them, the memory 1210, the processor 1220, and the communication interface 1230 are connected through an internal connection path, the memory 1210 is used to store instructions, and the processor 1220 is used to execute the instructions stored in the memory 1220 to control the input/output interface 1230 to receive/send At least part of the parameters of the second channel model. Optionally, the memory 1210 can be coupled with the processor 1220 through an interface, or can be integrated with the processor 1220 .
需要说明的是,上述通信接口1230使用例如但不限于收发器一类的收发装置,来实现通信设备1200与其他设备或通信网络之间的通信。上述通信接口1230还可以包括输入/输出接口(input/output interface)。It should be noted that, the above-mentioned communication interface 1230 uses a transceiver such as but not limited to a transceiver to implement communication between the communication device 1200 and other devices or communication networks. The above-mentioned communication interface 1230 may also include an input/output interface.
在实现过程中,上述方法的各步骤可以通过处理器1220中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1210,处理器1220读取存储器1210中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above-mentioned method may be completed by an integrated logic circuit of hardware in the processor 1220 or an instruction in the form of software. The methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 1210, and the processor 1220 reads the information in the memory 1210, and completes the steps of the above method in combination with its hardware. To avoid repetition, detailed description is omitted here.
应理解,本申请实施例中,该处理器可以为中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专 用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), dedicated integrated Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本申请实施例中,该存储器可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。处理器的一部分还可以包括非易失性随机存取存储器。例如,处理器还可以存储设备类型的信息。It should also be understood that, in this embodiment of the present application, the memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the processor may also include non-volatile random access memory. For example, the processor may also store device type information.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize 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. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。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 alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (24)

  1. 一种车辆的控制方法,其特征在于,包括:A vehicle control method, comprising:
    采集预设范围内障碍物的运动状态;Collect the motion state of obstacles within a preset range;
    将所述障碍物的运动状态分别输入人工智能AI模型以及势能函数,确定车辆的第一运动状态和第二运动状态,其中,所述势能函数通过计算所述障碍物与所述车辆之间的碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小,所述第一运动状态为基于所述AI模型计算得到的所述车辆的运动速度和方向,所述第二运动状态为基于所述势能函数模型计算得到的所述车辆的运动速度和方向;The motion state of the obstacle is input into the artificial intelligence AI model and the potential energy function respectively, and the first motion state and the second motion state of the vehicle are determined, wherein the potential energy function is calculated by calculating the distance between the obstacle and the vehicle. The collision potential energy indicates the possibility of the collision between the obstacle and the vehicle, the higher the collision potential energy, the higher the collision possibility, the smaller the collision potential energy, the lower the collision possibility, and the first A motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model;
    基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,所述目标运动状态包括所述车辆的目标运动速度和目标运动方向。Based on the first motion state and/or the second motion state, a target motion state of the vehicle is determined, and the target motion state includes a target motion speed and a target motion direction of the vehicle.
  2. 如权利要求1所述的方法,其特征在于,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。The method of claim 1, wherein the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle. Relative velocity is positively correlated.
  3. 如权利要求1或2所述的方法,其特征在于,所述基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,包括:The method according to claim 1 or 2, wherein the determining the target motion state of the vehicle based on the first motion state and/or the second motion state comprises:
    若所述障碍物与所述车辆之间的相对距离小于第一预设距离,或所述障碍物与所述车辆之间的相对速度高于第一预设速度,则基于所述第二运动状态确定所述车辆的目标运动状态;和/或,If the relative distance between the obstacle and the vehicle is less than the first preset distance, or the relative speed between the obstacle and the vehicle is higher than the first preset speed, then based on the second movement the state determines the target motion state of the vehicle; and/or,
    若所述障碍物与所述车辆之间的相对距离大于第二预设距离,或所述障碍物与所述车辆之间的相对速度低于第二预设速度,则基于所述第一运动状态确定所述车辆的目标运动状态,所述第一预设距离小于或等于所述第二预设距离,所述第一预设速度大于或等于所述第二预设速度。If the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, then based on the first motion The state determines the target motion state of the vehicle, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed.
  4. 如权利要求1-3中任一项所述的方法,其特征在于,所述将所述障碍物的运动状态输入势能函数,确定车辆的第二运动状态,包括:The method according to any one of claims 1-3, wherein the inputting the motion state of the obstacle into a potential energy function to determine the second motion state of the vehicle comprises:
    基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Based on the first objective function min(Δf), and Δf=(ff 0 )<0, determine the second motion state of the vehicle, where f 0 represents the current collision potential energy of the vehicle and the obstacle, and f represents The collision potential energy between the vehicle and the obstacle needs to be adjusted.
  5. 如权利要求1-3中任一项所述的方法,其特征在于,所述将所述障碍物的运动状态输入势能函数,确定车辆的第二运动状态,包括:The method according to any one of claims 1-3, wherein the inputting the motion state of the obstacle into a potential energy function to determine the second motion state of the vehicle comprises:
    基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Determine the second motion state of the vehicle based on the second objective function min (f<F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the distance between the vehicle and the obstacle The collision potential energy to be adjusted to.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述势能函数为
    Figure PCTCN2021114741-appb-100001
    其中,k、α、β表示常系数,C表示常量,ν表示所述障碍物与所述车辆的之间的相对速度的大小,d表示所述障碍物与所述车辆之间的相对距离。
    The method according to any one of claims 1-5, wherein the potential energy function is
    Figure PCTCN2021114741-appb-100001
    Wherein, k, α, β represent constant coefficients, C represents a constant, ν represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
  7. 一种车辆的控制方法,其特征在于,包括:A vehicle control method, comprising:
    计算障碍物与车辆之间的相对速度和相对距离;Calculate the relative speed and relative distance between the obstacle and the vehicle;
    基于所述相对速度、所述相对距离,以及势能函数计算所述障碍物与所述车辆之间的碰撞势能,其中,所述碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小;A collision potential energy between the obstacle and the vehicle is calculated based on the relative velocity, the relative distance, and a potential energy function, wherein the collision potential energy is indicative of the likelihood of the obstacle colliding with the vehicle, The larger the collision potential energy is, the higher the possibility of the collision is, and the smaller the collision potential energy is, the smaller the possibility of the collision is;
    基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态;或 determining a second motion state of the vehicle based on the first objective function min(Δf), and Δf=(ff 0 )<0; or
    基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态, Based on the second objective function min(f<F 1 ), the second motion state of the vehicle is determined,
    其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能,F 1表示预设的第一碰撞势能阈值。 Wherein, f 0 represents the current collision potential energy between the vehicle and the obstacle, f represents the collision potential energy to be adjusted between the vehicle and the obstacle, and F 1 represents a preset first collision potential energy threshold.
  8. 如权利要求7所述的方法,其特征在于,所述基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,包括: The method according to claim 7, wherein the determining the second motion state of the vehicle based on the first objective function min(Δf), and Δf=(ff 0 )<0, comprises:
    在舒适模式下,基于所述第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态。 In the comfort mode, based on the first objective function min(Δf), and Δf=(ff 0 )<0, a second motion state of the vehicle is determined.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8, wherein the method further comprises:
    在安全模式下,基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In the safety mode, the second motion state of the vehicle is determined based on the second objective function min (f<F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the relationship between the vehicle and the vehicle. The collision potential energy that needs to be adjusted between obstacles.
  10. 如权利要求7-9中任一项所述的方法,其特征在于,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。The method according to any one of claims 7-9, wherein the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is inversely related to the obstacle and the vehicle. The relative speeds between the vehicles are positively correlated.
  11. 一种车辆的控制装置,其特征在于,包括:A control device for a vehicle, comprising:
    采集单元,用于采集预设范围内障碍物的运动状态;a collection unit, used to collect the motion state of obstacles within a preset range;
    处理单元,用于将所述障碍物的运动状态分别输入人工智能AI模型以及势能函数,确定车辆的第一运动状态和第二运动状态,其中,所述势能函数通过计算所述障碍物与所述车辆之间的碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小,所述第一运动状态为基于所述AI模型计算得到的所述车辆的运动速度和方向,所述第二运动状态为基于所述势能函数模型计算得到的所述车辆的运动速度和方向;The processing unit is configured to input the motion state of the obstacle into the artificial intelligence AI model and the potential energy function respectively, and determine the first motion state and the second motion state of the vehicle, wherein the potential energy function is calculated by calculating the obstacle and the potential energy function. The collision potential energy between the vehicles indicates the possibility of the collision between the obstacle and the vehicle, the higher the collision potential energy, the higher the collision possibility, the smaller the collision potential energy, the higher the collision possibility small, the first motion state is the motion speed and direction of the vehicle calculated based on the AI model, and the second motion state is the motion speed and direction of the vehicle calculated based on the potential energy function model ;
    所述处理单元,还用于基于所述第一运动状态和/或第二运动状态,确定所述车辆的目标运动状态,所述目标运动状态包括所述车辆的目标运动速度和目标运动方向。The processing unit is further configured to determine a target motion state of the vehicle based on the first motion state and/or the second motion state, where the target motion state includes a target motion speed and a target motion direction of the vehicle.
  12. 如权利要求11所述的装置,其特征在于,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。12. The apparatus of claim 11, wherein the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle. Relative velocity is positively correlated.
  13. 如权利要求11或12所述的装置,其特征在于,若所述障碍物与所述车辆之间的相对距离小于第一预设距离,或所述障碍物与所述车辆之间的相对速度高于第一预设速度,所述处理单元还用于基于所述第二运动状态确定所述车辆的目标运动状态;和/或,The device according to claim 11 or 12, wherein if the relative distance between the obstacle and the vehicle is less than a first preset distance, or the relative speed between the obstacle and the vehicle higher than the first preset speed, the processing unit is further configured to determine the target motion state of the vehicle based on the second motion state; and/or,
    若所述障碍物与所述车辆之间的相对距离大于第二预设距离,或所述障碍物与所述车辆之间的相对速度低于第二预设速度,所述处理单元还用于基于所述第一运动状态确定所 述车辆的目标运动状态,所述第一预设距离小于或等于所述第二预设距离,所述第一预设速度大于或等于所述第二预设速度。If the relative distance between the obstacle and the vehicle is greater than the second preset distance, or the relative speed between the obstacle and the vehicle is lower than the second preset speed, the processing unit is further configured to: The target motion state of the vehicle is determined based on the first motion state, the first preset distance is less than or equal to the second preset distance, and the first preset speed is greater than or equal to the second preset speed.
  14. 如权利要求11-13中任一项所述的装置,其特征在于,所述处理单元,还用于:The device according to any one of claims 11-13, wherein the processing unit is further configured to:
    基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态,其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Based on the first objective function min(Δf), and Δf=(ff 0 )<0, determine the second motion state of the vehicle, where f 0 represents the current collision potential energy of the vehicle and the obstacle, and f represents The collision potential energy between the vehicle and the obstacle needs to be adjusted.
  15. 如权利要求11-13中任一项所述的装置,其特征在于,所述处理单元,还用于:The device according to any one of claims 11-13, wherein the processing unit is further configured to:
    基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 Determine the second motion state of the vehicle based on the second objective function min (f<F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the distance between the vehicle and the obstacle The collision potential energy to be adjusted to.
  16. 根据权利要求11-15中任一项所述的装置,其特征在于,所述势能函数为
    Figure PCTCN2021114741-appb-100002
    其中,k、α、β表示常系数,C表示常量,ν表示所述障碍物与所述车辆的之间的相对速度的大小,d表示所述障碍物与所述车辆之间的相对距离。
    The device according to any one of claims 11-15, wherein the potential energy function is
    Figure PCTCN2021114741-appb-100002
    Wherein, k, α, β represent constant coefficients, C represents a constant, ν represents the magnitude of the relative speed between the obstacle and the vehicle, and d represents the relative distance between the obstacle and the vehicle.
  17. 一种车辆的控制装置,其特征在于,包括:A control device for a vehicle, comprising:
    处理单元,用于计算障碍物与车辆之间的相对速度和相对距离;A processing unit for calculating the relative speed and relative distance between the obstacle and the vehicle;
    所述处理单元,还用于基于所述相对速度、所述相对距离,以及势能函数计算所述障碍物与所述车辆之间的碰撞势能,其中,所述碰撞势能指示所述障碍物与所述车辆发生碰撞的可能性,所述碰撞势能越大所述碰撞的可能性越高,所述碰撞势能越小所述碰撞的可能性越小;The processing unit is further configured to calculate a collision potential energy between the obstacle and the vehicle based on the relative speed, the relative distance, and a potential energy function, wherein the collision potential energy indicates that the obstacle is different from the vehicle. the possibility of collision of the vehicle, the higher the collision potential energy, the higher the possibility of the collision; the smaller the collision potential energy, the lower the possibility of the collision;
    所述处理单元,还用于基于第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态;或 The processing unit is further configured to determine the second motion state of the vehicle based on the first objective function min(Δf), and Δf=(ff 0 )<0; or
    所述处理单元,还用于基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态, The processing unit is further configured to determine the second motion state of the vehicle based on the second objective function min(f<F 1 ),
    其中,f 0表示所述车辆与所述障碍物的当前碰撞势能,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能,F 1表示预设的第一碰撞势能阈值。 Wherein, f 0 represents the current collision potential energy between the vehicle and the obstacle, f represents the collision potential energy to be adjusted between the vehicle and the obstacle, and F 1 represents a preset first collision potential energy threshold.
  18. 如权利要求17所述的装置,其特征在于,所述处理单元,还用于:The apparatus of claim 17, wherein the processing unit is further configured to:
    在舒适模式下,基于所述第一目标函数min(Δf),且Δf=(f-f 0)<0,确定所述车辆的第二运动状态。 In the comfort mode, based on the first objective function min(Δf), and Δf=(ff 0 )<0, a second motion state of the vehicle is determined.
  19. 如权利要求18所述的装置,其特征在于,所述处理单元,还用于:The apparatus of claim 18, wherein the processing unit is further configured to:
    在安全模式下,基于第二目标函数min(f<F 1),确定所述车辆的第二运动状态,其中,F 1表示预设的第一碰撞势能阈值,f表示所述车辆与所述障碍物的之间需要调整到的碰撞势能。 In the safety mode, the second motion state of the vehicle is determined based on the second objective function min (f<F 1 ), where F 1 represents a preset first collision potential energy threshold, and f represents the relationship between the vehicle and the vehicle. The collision potential energy that needs to be adjusted between obstacles.
  20. 如权利要求17-19中任一项所述的装置,其特征在于,所述碰撞势能与所述障碍物和所述车辆之间的相对距离反相关,所述碰撞势能与所述障碍物与所述车辆之间的相对速度正相关。The apparatus of any one of claims 17-19, wherein the collision potential energy is inversely related to the relative distance between the obstacle and the vehicle, and the collision potential energy is inversely related to the obstacle and the vehicle. The relative speeds between the vehicles are positively correlated.
  21. 一种计算设备,其特征在于,包括:至少一个处理器和存储器,所述至少一个处理器与所述存储器耦合,用于读取并执行所述存储器中的指令,以执行如权利要求1-10 中任一项所述的方法。A computing device, characterized in that it comprises: at least one processor and a memory, the at least one processor is coupled to the memory for reading and executing instructions in the memory, so as to execute the steps of claims 1- The method of any one of 10.
  22. 一种计算机可读介质,其特征在于,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机执行如权利要求1-10中任一项所述的方法。A computer-readable medium, characterized in that, the computer-readable medium stores program codes, which, when the computer program codes are executed on a computer, cause the computer to perform the method described in any one of claims 1-10. method described.
  23. 一种芯片,其特征在于,包括:至少一个处理器和存储器,所述至少一个处理器与所述存储器耦合,用于读取并执行所述存储器中的指令,以执行如权利要求1-10中任一项所述的方法。A chip, characterized by comprising: at least one processor and a memory, wherein the at least one processor is coupled to the memory for reading and executing instructions in the memory, so as to execute the instructions in claims 1-10 The method of any of the above.
  24. 一种自动驾驶车辆,其特征在于,包括:至少一个处理器和存储器,所述至少一个处理器与所述存储器耦合,用于读取并执行所述存储器中的指令,以执行如权利要求1-10中任一项所述的方法。An autonomous driving vehicle, characterized by comprising: at least one processor and a memory, wherein the at least one processor is coupled to the memory for reading and executing instructions in the memory, so as to execute the method as claimed in claim 1 - The method of any one of 10.
PCT/CN2021/114741 2020-09-23 2021-08-26 Vehicle control method, device, and vehicle WO2022062825A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011007408.3 2020-09-23
CN202011007408.3A CN114248794A (en) 2020-09-23 2020-09-23 Vehicle control method and device and vehicle

Publications (1)

Publication Number Publication Date
WO2022062825A1 true WO2022062825A1 (en) 2022-03-31

Family

ID=80788792

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114741 WO2022062825A1 (en) 2020-09-23 2021-08-26 Vehicle control method, device, and vehicle

Country Status (2)

Country Link
CN (1) CN114248794A (en)
WO (1) WO2022062825A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114802435A (en) * 2022-06-24 2022-07-29 小米汽车科技有限公司 Vehicle control method, device, vehicle, storage medium and chip
CN115123129A (en) * 2022-07-01 2022-09-30 浙江极氪智能科技有限公司 Driving safety guarantee method, device, equipment and storage medium
CN116363905A (en) * 2023-05-19 2023-06-30 吉林大学 Heterogeneous traffic flow converging region lane change time judging and active safety control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108340866A (en) * 2017-01-25 2018-07-31 福特全球技术公司 anti-collision system and method
US20180326956A1 (en) * 2017-05-10 2018-11-15 Baidu Usa Llc Method and system for automated vehicle emergency light control of an autonomous driving vehicle
CN109866766A (en) * 2019-04-02 2019-06-11 戴姆勒股份公司 Vehicle collision prevention method and device
CN111469836A (en) * 2020-02-28 2020-07-31 广东中科臻恒信息技术有限公司 Obstacle avoidance method and device based on vehicle-mounted unit and road side unit, and storage medium
CN111572541A (en) * 2020-04-14 2020-08-25 吉利汽车研究院(宁波)有限公司 Vehicle obstacle avoidance method and system
CN111674392A (en) * 2019-03-11 2020-09-18 Swm株式会社 Driving control method for automatic driving automobile

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012183867A (en) * 2011-03-03 2012-09-27 Fuji Heavy Ind Ltd Vehicle driving support apparatus
US8775006B2 (en) * 2011-07-14 2014-07-08 GM Global Technology Operations LLC System and method for enhanced vehicle control
CN102490780B (en) * 2011-12-20 2014-11-05 奇瑞汽车股份有限公司 Electric power steering system, steering control method and automobile
CN106515725A (en) * 2016-10-20 2017-03-22 深圳市元征科技股份有限公司 Method and terminal for preventing vehicle collision
WO2018139993A1 (en) * 2017-01-24 2018-08-02 Ford Global Technologies, Llc Feedback for an autonomous vehicle
WO2019098216A1 (en) * 2017-11-17 2019-05-23 アイシン・エィ・ダブリュ株式会社 Vehicle driving assistance system, vehicle driving assistance method, and vehicle driving assistance program
CN109318890A (en) * 2018-06-29 2019-02-12 北京理工大学 A kind of unmanned vehicle dynamic obstacle avoidance method based on dynamic window and barrier potential energy field
CN109002041B (en) * 2018-08-09 2021-03-19 北京智行者科技有限公司 Vehicle obstacle avoidance method
CN109334661B (en) * 2018-09-06 2020-05-29 上海工程技术大学 Obstacle avoidance pre-judgment method based on speed obstacle model and collision probability density model
CN110550029B (en) * 2019-08-12 2021-02-09 华为技术有限公司 Obstacle avoiding method and device
CN111383481B (en) * 2020-03-03 2021-07-27 东南大学 Green passing speed optimization method for intelligent networked automobile at urban congested intersection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108340866A (en) * 2017-01-25 2018-07-31 福特全球技术公司 anti-collision system and method
US20180326956A1 (en) * 2017-05-10 2018-11-15 Baidu Usa Llc Method and system for automated vehicle emergency light control of an autonomous driving vehicle
CN111674392A (en) * 2019-03-11 2020-09-18 Swm株式会社 Driving control method for automatic driving automobile
CN109866766A (en) * 2019-04-02 2019-06-11 戴姆勒股份公司 Vehicle collision prevention method and device
CN111469836A (en) * 2020-02-28 2020-07-31 广东中科臻恒信息技术有限公司 Obstacle avoidance method and device based on vehicle-mounted unit and road side unit, and storage medium
CN111572541A (en) * 2020-04-14 2020-08-25 吉利汽车研究院(宁波)有限公司 Vehicle obstacle avoidance method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114802435A (en) * 2022-06-24 2022-07-29 小米汽车科技有限公司 Vehicle control method, device, vehicle, storage medium and chip
CN115123129A (en) * 2022-07-01 2022-09-30 浙江极氪智能科技有限公司 Driving safety guarantee method, device, equipment and storage medium
CN115123129B (en) * 2022-07-01 2023-11-07 浙江极氪智能科技有限公司 Driving safety guarantee method, device, equipment and storage medium
CN116363905A (en) * 2023-05-19 2023-06-30 吉林大学 Heterogeneous traffic flow converging region lane change time judging and active safety control method
CN116363905B (en) * 2023-05-19 2023-09-05 吉林大学 Heterogeneous traffic flow converging region lane change time judging and active safety control method

Also Published As

Publication number Publication date
CN114248794A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US20210262808A1 (en) Obstacle avoidance method and apparatus
CN110379193B (en) Behavior planning method and behavior planning device for automatic driving vehicle
WO2021135371A1 (en) Automatic driving method, related device and computer-readable storage medium
WO2021000800A1 (en) Reasoning method for road drivable region and device
WO2021102955A1 (en) Path planning method for vehicle and path planning apparatus for vehicle
CN113460042B (en) Vehicle driving behavior recognition method and recognition device
CN113968216B (en) Vehicle collision detection method and device and computer readable storage medium
WO2022062825A1 (en) Vehicle control method, device, and vehicle
CN113156927A (en) Safety control method and safety control device for automatic driving vehicle
CN112512887B (en) Driving decision selection method and device
WO2022016901A1 (en) Method for planning driving route of vehicle, and intelligent vehicle
US20230222914A1 (en) Vehicle reminding method and system, and related device
US20230048680A1 (en) Method and apparatus for passing through barrier gate crossbar by vehicle
CN114693540A (en) Image processing method and device and intelligent automobile
CN113968242A (en) Automatic driving scene generation method, device and system
WO2021254000A1 (en) Method and device for planning vehicle longitudinal motion parameters
WO2022061702A1 (en) Method, apparatus, and system for driving alerts
WO2021110166A1 (en) Road structure detection method and device
CN114092898A (en) Target object sensing method and device
WO2022061725A1 (en) Traffic element observation method and apparatus
CN114556251B (en) Method and device for determining a passable space for a vehicle
WO2022041820A1 (en) Method and apparatus for planning lane-changing trajectory
WO2022001432A1 (en) Method for inferring lane, and method and apparatus for training lane inference model
WO2022127502A1 (en) Control method and device
WO2023102827A1 (en) Path constraint method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21871198

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21871198

Country of ref document: EP

Kind code of ref document: A1