WO2022016351A1 - Method and apparatus for selecting driving decision - Google Patents

Method and apparatus for selecting driving decision Download PDF

Info

Publication number
WO2022016351A1
WO2022016351A1 PCT/CN2020/103181 CN2020103181W WO2022016351A1 WO 2022016351 A1 WO2022016351 A1 WO 2022016351A1 CN 2020103181 W CN2020103181 W CN 2020103181W WO 2022016351 A1 WO2022016351 A1 WO 2022016351A1
Authority
WO
WIPO (PCT)
Prior art keywords
range
distance
vehicle
interval
confidence level
Prior art date
Application number
PCT/CN2020/103181
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 华为技术有限公司
Priority to PCT/CN2020/103181 priority Critical patent/WO2022016351A1/en
Priority to CN202080004262.9A priority patent/CN112512887B/en
Publication of WO2022016351A1 publication Critical patent/WO2022016351A1/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
    • 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
    • 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
    • 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
    • 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
    • B60W60/00Drive control systems specially adapted for autonomous road vehicles
    • B60W60/001Planning or execution of driving tasks
    • B60W60/0015Planning or execution of driving tasks specially adapted for safety

Definitions

  • the present application relates to the field of automobiles, and in particular, to a driving decision selection method and device.
  • the upstream perception module usually outputs the location information of the environment and some key objects, and the decision and planning module generates the control target for the vehicle, such as the reference path or reference trajectory, and outputs it to the downstream control link. Complete the closed-loop control of the vehicle.
  • perception information that is, perception information with a confidence level higher than a certain value, which will result in a limited range of perception.
  • Embodiments of the present application provide a driving decision selection method and device, which are used to expand the available perception range when selecting a driving decision for a vehicle and planning a driving path, improve the driving safety and stability of the vehicle, and improve user experience.
  • the present application provides a driving decision selection method, including: first, acquiring perception information collected by sensors configured on the vehicle; Range interval, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor includes the distance result of the detected target, the confidence level corresponding to the distance result, or the distance result and the distance result. At least one of the relationships between the confidence levels corresponding to the distance results, and each range interval has at least one corresponding driving decision; then, combined with the speed of the vehicle, select the vehicle's driving decision from the at least one driving decision corresponding to the first range interval. Driving decisions, and control the vehicle to drive according to the driving decisions of the vehicle.
  • the detection range of the sensor has been divided into at least one range section, and each range section has a corresponding distance range.
  • at least one driving decision corresponding to each range interval can be used to select the driving decision of the vehicle, such as acceleration, deceleration, maintaining the speed or changing lanes, and control the vehicle to drive according to the driving decision.
  • the farther away the object is detected by the sensor the lower the confidence level. Therefore, instead of using only perceptual information with high confidence to plan a driving path, in the driving decision selection method provided by the present application, a range interval is divided for the detection range of the sensor, and one or more range intervals obtained cover the detection range of the sensor. Scope.
  • the farther perceived distance can be used to select a driving decision, so that the vehicle can evade further obstacles in advance , which currently increases the available perception range when deciding the driving decision of the vehicle, improves the driving safety of the vehicle, and improves the user experience.
  • decisions such as acceleration or deceleration can be made in advance to avoid the violent acceleration or deceleration caused by the vehicle being too close, so that the driving process of the vehicle is smoother and the user experience is improved.
  • each range interval corresponds to a distance range
  • the perception information includes a first distance between the obstacle detected by the sensor and the vehicle
  • a first distance matching the perception information is selected from at least one range interval
  • the range interval which may include: matching the first distance with the distance range corresponding to the aforementioned at least one range interval, so as to know that the first distance is within the distance range corresponding to the first range interval, and then filter out the matching with the first distance. the first range interval.
  • each range section has a corresponding driving decision, so that a range section that matches the range section can be selected according to the distance between the vehicle and the object, and the driving of the vehicle can be selected according to one or more driving decisions corresponding to the range section Therefore, the driving decision of the vehicle can be selected based on a larger perception range, and then the vehicle driving path can be planned based on the larger perception range.
  • each range interval corresponds to a confidence range
  • the confidence range corresponding to the at least one range interval covers the confidence of the information detected by the sensor within the detection range.
  • a matching range interval may be selected based on the confidence level included in the perception information, and then a driving decision of the vehicle may be selected from at least one driving decision in the range interval.
  • the vehicle's driving decisions can be selected even in low-confidence scenarios.
  • the driving decision is selected for a longer distance or a distance with a lower confidence, so that the vehicle can deal with the obstacles in the longer distance in advance, such as decelerating in advance or changing lanes in advance, etc., to improve the safety of the vehicle.
  • the first confidence level included in the perception information is obtained according to the detection range of the sensor and the distance between the sensor and the obstacle.
  • the sensor is usually arranged in the vehicle, and the distance between the sensor and the obstacle can be understood as the distance between the vehicle and the sensor.
  • the driving decision selection method provided by the present application further includes: dividing the detection range of the sensor to obtain at least one distance range, the at least one distance range being equal to the at least one range interval A correspondence.
  • the detection range of the sensor can be divided to obtain the distance range corresponding to each range interval, so that the distance range corresponding to the aforementioned at least one range interval can cover the detection range of the sensor, which is equivalent to increasing the The range of perception available when choosing driving decisions.
  • dividing the detection range of the sensor to obtain at least one distance range may include: dividing the range of confidence levels detectable by the sensor within the detection range to obtain at least one The confidence range, the confidence range corresponding to the at least one range interval, covers the confidence of the information detected by the sensor within the detection range. Then, according to the relationship between the distance result and the confidence level corresponding to the distance result, the distance range corresponding to each confidence level range is calculated to obtain at least one distance range.
  • the detectable confidence range of the sensor is divided into at least one confidence range, each confidence range has a corresponding distance range, and each range interval is set with at least one driving decision. Therefore, when choosing a driving decision, the driving decision can be selected according to the distance and confidence included in the perception information, and then the driving path of the vehicle can be planned. Planning the driving path is equivalent to expanding the available perception range when planning the driving path, improving the driving safety and stability of the vehicle, and improving the user experience. It can be understood that, compared with only using perception information with a confidence higher than a certain value to plan the driving path, the range interval is delimited in advance in this application, so that when planning the driving path later, a larger perception range can be used to plan driving. Therefore, an appropriate driving decision can be selected in advance for the obstacles in front of the vehicle, so as to quickly and safely plan a driving path with higher safety and stability, and improve the user experience.
  • At least one confidence level range corresponding to at least one distance range is determined, and the at least one confidence level range is used to start from the at least one range.
  • the driving decision selection method provided by the present application may further include: dividing the detection range of the sensor to obtain at least one distance range, that is, the at least one distance range covers the sensor Then, according to at least one distance range and the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level corresponding to at least one distance range is obtained, and each range interval corresponds to a confidence level range and distance range.
  • the confidence range can be divided first, and then the distance range corresponding to each confidence degree is calculated according to the relationship between the distance result and the confidence degree corresponding to the distance result, that is, a range interval has a corresponding distance interval and confidence degree Therefore, the driving decision can be selected according to the distance or confidence in the future, which increases the available perception range when choosing the driving decision, improves the safety and stability of the vehicle, and improves the user experience.
  • the first distance included in the sensing information and the distance range corresponding to each range interval can be directly performed. Match, filter out the range interval that matches the first distance.
  • the first range included in the sensing information can be divided into A confidence level is matched with a distance range corresponding to each range interval, so as to filter out a range interval matching the first confidence level.
  • the perception information includes the relationship between the first confidence level and the aforementioned distance result and the confidence level corresponding to the distance result
  • the first distance corresponding to the first confidence degree can be calculated according to the relationship between the distance result and the confidence degree corresponding to the distance result, and then the first distance is matched with the distance range corresponding to each range interval, so as to obtain the The range interval in which the first distance matches.
  • the driving decision selection method provided by the present application may further include: acquiring historical distance information collected by a sensor, historical distance information, and corresponding confidence; obtaining a distance result according to the historical distance information and corresponding confidence The relationship between the confidence levels corresponding to the distance results.
  • the relationship between the distance result included in the output information of the sensor and the confidence degree corresponding to the distance result can be counted according to the historical distance information and the corresponding confidence degree collected by the sensor, so as to carry out the follow-up The division of the range interval, so as to determine the confidence range and distance range corresponding to each range interval.
  • the relative speed of the vehicle and the obstacle can be calculated according to the speed of the vehicle and the speed of the obstacle, and the speed of the obstacle can be obtained according to a period of time. Then, the driving decision of the vehicle is selected from at least one driving decision corresponding to the first range interval in combination with the relative speed.
  • the driving decision of the vehicle when selecting the driving decision, can be selected in combination with the relative speed between the vehicle and the obstacle, so as to select the driving decision of the vehicle more accurately, and further improve the driving safety of the vehicle.
  • At least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario may include, but is not limited to, scenarios such as automatic cruise, car following, or automatic parking.
  • the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the first aspect. This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the first aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides a driving decision selection method, comprising: acquiring at least one range interval, each range interval in the at least one range interval corresponds to a confidence range and a distance range, and the distance included in the at least one range interval
  • the range covers the detection range of the sensor, and the at least one confidence range covers the confidence level of the information detected by the sensor within the detection range; decision, each range section and at least one driving decision corresponding to each range section are used to select the driving decision of the vehicle, and the driving decision of the vehicle is used to generate the driving path of the vehicle.
  • the detection range of the sensor is divided into one or more distance ranges, each distance range has a corresponding confidence range, a range range corresponds to a distance range and a confidence range, and each range range corresponds to at least A driving decision.
  • a driving decision you can use confidence or distance for matching, and set driving decisions for each range according to fixed rules, such as acceleration, deceleration, maintaining the speed or changing lanes, etc.
  • Driving decision driving Generally, the farther away the object is detected by the sensor, the lower the confidence level.
  • the driving decision in the process of selecting a driving decision, can be selected by using a perceived farther distance, which can be understood as a driving decision can be selected for objects with a longer distance, so that the vehicle Further obstacles can be avoided in advance, which improves the driving safety of the vehicle and improves the user experience.
  • the obstacle that is farther away from the vehicle can be avoided in advance, and decisions such as acceleration or deceleration can be made in advance, so that the driving process of the vehicle is smoother and the user experience is improved.
  • acquiring at least one range interval may include: first, dividing the detection range of the sensor to obtain at least one distance range, and corresponding to the distance result according to the distance result included in the output information of the sensor The relationship between the confidence levels, calculate the confidence range corresponding to each distance range, and a range interval corresponds to a confidence range and a distance range.
  • the detection range of the sensor can be divided based on the distance between the vehicle and the object to obtain one or more distance ranges, and at least one range interval can be obtained according to the confidence range corresponding to each distance range. That is, a range interval has a corresponding distance interval and a confidence interval, so that the driving decision can be selected based on a longer distance or a lower confidence in the future, which is equivalent to increasing the available perception range when choosing a driving decision and improving the safety of the vehicle. and stability to improve user experience.
  • acquiring at least one range interval may include: dividing the range of confidence levels that can be detected by the sensor to obtain at least one confidence level range, and according to the distance result included in the output information of the sensor and the range The relationship between the confidence levels corresponding to the distance results is calculated. The distance range corresponding to each confidence level range is calculated. A range interval corresponds to a confidence range and a distance range.
  • one or more confidence ranges may be obtained by dividing based on the confidence.
  • each confidence range has a corresponding distance range, and the confidence range and distance range can constitute one or more range intervals obtained by dividing the sensing range of the sensor.
  • the above method further includes: acquiring sensing information collected by a sensor set in the vehicle, the sensing The information may include information on obstacles, such as the first distance between the vehicle and the obstacle; select a range interval that matches the perception information from at least one range interval, and combine the speed of the vehicle to select a range interval from at least one of the first range interval.
  • a driving decision the driving decision of the vehicle is selected, and the vehicle is controlled to travel according to the driving decision, so that the vehicle travels according to the driving decision.
  • the driving decision of the vehicle in the process of selecting the driving decision of the vehicle, may be selected based on at least one driving decision corresponding to each range interval in the at least one range interval obtained by the foregoing division.
  • the distance range corresponding to at least one range interval provided in this application covers the detection range of the sensor, even if the perceptual information has a low degree of confidence, this Perceptual information is equivalent to selecting driving decisions based on a longer distance or lower confidence, so that driving decisions can be selected using a larger perception range, and then the driving path of the vehicle can be planned. In this way, a more accurate and safer driving path can be planned.
  • the perception information includes the distance between the obstacle and the vehicle, and according to the perception information and at least one driving decision corresponding to each range interval, selecting the driving decision of the vehicle may include: filtering out the obstacles and the vehicle The distance of is within the distance range in the first range interval; then, a driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle.
  • each range section has a corresponding driving decision, so that a range section that matches the range section can be selected according to the distance of the object detected by the sensor, and one or more driving decisions corresponding to the range section can be selected.
  • the driving decision of the vehicle is selected, so that the driving decision of the vehicle can be selected based on a larger perception range.
  • the perception information may include a confidence level; the above-mentioned driving decision for selecting the vehicle according to the perception information and at least one driving decision corresponding to each range interval may also include: if the perception information includes If the confidence level is within the confidence level range corresponding to the first range interval, a driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle.
  • the corresponding range interval can be selected based on the confidence level included in the perception information, and then the driving decision of the vehicle can be selected. Or objects with lower confidence choose driving decisions to improve the safety of vehicle driving.
  • the relative speed of the vehicle relative to the obstacle can be calculated according to the speed of the vehicle, and then a driving decision of the vehicle is selected from at least one driving decision in the first range in combination with the relative speed.
  • the driving decision of the vehicle can be more accurately selected in combination with the speed of the vehicle and/or the relative speed of the vehicle and the obstacle, thereby further improving the safety of the driving of the vehicle.
  • the confidence level included in the perception information is related to the distance between the sensor and the obstacle. In general, the information perceived by the sensor increases with distance, and the confidence level decreases.
  • acquiring the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result may include: acquiring historical distance information collected by the sensor, historical distance information and corresponding confidence degree; according to the relationship between the distance result included in the historical distance information and the output information of the corresponding confidence level sensor and the confidence level corresponding to the distance result.
  • the relationship between the distance result included in the output information of the sensor and the confidence degree corresponding to the distance result can be counted according to the historical distance information and the corresponding confidence degree collected by the sensor, to obtain Complete the subsequent division of the range interval.
  • the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the third aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • an embodiment of the present application provides a driving decision selection device, the driving decision selection device has the function of implementing the driving decision selection method of the first aspect or the third aspect.
  • This function can be implemented by hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • an embodiment of the present application provides a driving decision and selection device, including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor invokes program codes in the memory to execute the first aspect or the first aspect.
  • a driving decision and selection device including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor invokes program codes in the memory to execute the first aspect or the first aspect.
  • an embodiment of the present application provides a driving decision and selection device, which may also be called a digital processing chip or a chip.
  • the chip includes a processing unit and a communication interface.
  • the processing unit obtains program instructions through the communication interface.
  • the instructions are executed by a processing unit, and the processing unit is configured to perform processing-related functions in the first aspect, any optional implementation manner of the first aspect, the third aspect, or any optional implementation manner of the third aspect.
  • the aforementioned driving decision selection device may be a chip or a vehicle or the like.
  • an embodiment of the present application provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the first aspect, any optional implementation manner of the first aspect, and the third aspect or the method in any optional embodiment of the third aspect.
  • the embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, enables the computer to execute the first aspect, any optional implementation manner of the first aspect, the third aspect or the third aspect.
  • the method in any optional embodiment of the three aspects.
  • FIG. 1 is a schematic structural diagram of a vehicle according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a driving decision selection method provided by an embodiment of the present application.
  • 3A is a schematic diagram of a scenario of planning a driving path according to an embodiment of the application.
  • 3B is a schematic diagram of another scenario of planning a driving path in an embodiment of the present application.
  • 3C is a schematic diagram of another scenario of planning a driving path in an embodiment of the present application.
  • 4A is a schematic diagram of a range interval in an embodiment of the present application.
  • 4B is a schematic diagram of another range interval in an embodiment of the present application.
  • 6A is a schematic diagram of a parking scene in an embodiment of the present application.
  • 6B is a schematic diagram of a cockpit in another parking scene according to an embodiment of the present application.
  • 6C is a schematic diagram of a display interface in another parking scene according to an embodiment of the present application.
  • 6D is a schematic diagram of another parking scene in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a driving decision selection device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another driving decision selection device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another driving decision selection device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a chip according to an embodiment of the present application.
  • the driving decision selection method provided in the embodiment of the present application can be applied to various scenarios of planning a route.
  • the present application may be applied to a scenario of selecting a driving decision for a vehicle, or the driving decision selection method provided by the present application may be performed by a vehicle.
  • the present application can also be applied to scenarios of path planning for various types of robots, such as cargo robots, detection robots, sweeping robots or other types of robots. When carrying out transportation, it is necessary to plan a path for the freight robot to complete the transportation safely and stably.
  • FIG. 1 is a schematic structural diagram of a vehicle according to an embodiment of the present application.
  • the vehicle 100 may be configured in an automatic driving mode.
  • the vehicle 100 can control itself while in the autonomous driving mode, and can confirm the current state of the vehicle and its surrounding environment through human operation, determine whether there are obstacles in the surrounding environment, and control the vehicle based on the information of the obstacles 100.
  • the vehicle 100 may also be placed to operate without human interaction when the vehicle 100 is in an autonomous driving mode.
  • 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 components. Additionally, each of the subsystems and components of the vehicle 100 may be wired or wirelessly interconnected.
  • 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 hybrid engine composed of a gasoline engine and an electric motor, and a hybrid engine composed of an internal combustion engine and an air compression 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. In one embodiment, 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 GPS system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a 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.). Sensing data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous vehicle 100 .
  • the sensors mentioned in the following embodiments of the present application may be the radar 126 , the laser rangefinder 128 or the camera 130 or the like.
  • 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.
  • the radar 126 can use radio signals to perceive objects in the surrounding environment of the vehicle 100 , and can specifically be expressed as a millimeter-wave radar or a lidar. In some embodiments, in addition to sensing objects, radar 126 may be used to sense the speed and/or heading of objects.
  • the laser rangefinder 128 may utilize the 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 components including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , line 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. 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.
  • the route control system 142 is used to plan the travel route and travel speed of the vehicle 100 . In some embodiments, the route control system 142 may include a lateral planning module 1421 and a longitudinal planning module 1422, respectively, for combining information from the obstacle avoidance system 144, the GPS 122, and one or more predetermined maps The data for the vehicle 100 plans the driving route and driving speed.
  • Obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise traverse obstacles in the environment of vehicle 100 , which may be embodied as actual obstacles and virtual moving bodies that may collide with vehicle 100 .
  • the control system 106 may additionally or alternatively include components in addition to 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.
  • 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), EVDO, global system for mobile communication (GSM)/general packet radio service, GPRS), or 4G cellular communications such as LTE.
  • CDMA code division multiple access
  • GSM global system for mobile communication
  • GPRS general packet radio service
  • 4G cellular communications such as LTE.
  • 5G fifth generation mobile communication technology
  • the wireless communication system 146 may communicate using a wireless local area network (WLAN).
  • WLAN wireless local area network
  • 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 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).
  • the processor 113 may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware-based processor.
  • processors, memory, and other components of the computer system 112 may actually include not stored in the same Multiple processors, or memories, within a physical enclosure.
  • memory 114 may be a hard drive or other storage medium located within a different enclosure than computer system 112 .
  • references to processor 113 or memory 114 will be understood to include references to sets of processors 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 .
  • the processor 113 may be located remotely from the vehicle 100 and communicate wirelessly with the vehicle 100 . In other aspects, some of the processes described herein are performed on a processor 113 disposed within the vehicle 100 while others are performed by a remote processor 113, including taking the necessary steps 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.
  • a user interface 116 for providing information to or receiving information from a user of the vehicle 100 .
  • the user interface 116 may include one or more input/output devices within the set of peripheral devices 108, such as a wireless communication system 146, an onboard computer 148, a microphone 150 or a speaker 152, and the like.
  • 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 .
  • the computer system 112 may communicate with other systems or components within the vehicle 100 using a can bus, such as the computer system 112 may utilize input from the control system 106 to control the steering system 132 to avoid interference by the sensor system 104 and the obstacle avoidance system 144 Obstacles detected.
  • 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.
  • the driving decision selection method provided by the present application may be executed by the computer system 112 , the radar 126 , the laser rangefinder 130 or peripheral devices such as the on-board computer 148 or other on-board terminals.
  • the driving decision selection method provided by the present application can be executed by the on-board computer 148.
  • the on-board computer 148 can select the driving decision and plan the driving path for the vehicle, and generate control instructions according to the driving path, and send the control instructions to the computer system 112 by
  • the computer system 112 controls the steering system 132 , the accelerator 134 , the braking unit 136 , the computer vision system 140 , the line control system 142 or the obstacle avoidance system 144 in the control system 106 of the vehicle, thereby realizing the automatic driving of the vehicle.
  • 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 application examples are not particularly limited.
  • the upstream perception module outputs the environment and the position information of some key objects.
  • the control target for the vehicle is generated, such as the reference for controlling the vehicle.
  • the path or reference trajectory, etc. is output to the downstream control link to complete the closed-loop control.
  • the decision-making and planning process of the decision-making and planning module it usually includes a process of estimating its own motion trajectory, and may also include a process of estimating the motion trajectories of other targets.
  • the decision and planning module, together with the control module usually realizes the control of the vehicle under the premise of safety, stability, speed and accuracy.
  • the information collected by the sensor can be processed to obtain the perception information, including the information of the objects around the vehicle, such as the position and size of the objects within the perception range of the vehicle or the relationship with the vehicle. distance, etc., and then plan the driving path of the vehicle according to the perception information.
  • the perception information may generally include deterministic perception information or probabilistic perception information.
  • Deterministic perceptual information is perceptual information with a confidence level greater than a threshold. For example, perceptual information with a confidence level greater than 95% is deterministic perceptual information, and probabilistic perceptual information includes perceptual information and confidence level information.
  • the confidence of the perception information of an obstacle is related to the distance between the sensor and the obstacle, the environment, the size of the obstacle, etc. For example, the farther the distance between the sensor and the obstacle, the lower the confidence of the perception information of the obstacle. The closer the distance between the sensor and the obstacle, the lower the confidence of the perception information of the obstacle. Therefore, if only deterministic sensing information is used, the sensing range corresponding to the deterministic sensing information may be limited, resulting in unstable planned driving paths, and it is impossible to plan ahead for longer distance roadblocks, reducing user experience.
  • the present application provides a driving decision selection method, which is used to provide a farther perception range for planning a driving path and improve user experience.
  • the driving decision selection method provided by the present application will be described in detail below.
  • FIG. 2 a schematic flowchart of a driving decision selection method provided by the present application, as described below.
  • the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor may include but not limited to the distance result and distance result of the target (for ease of understanding, hereinafter referred to as obstacles).
  • the distance result may be the distance between the obstacle and the vehicle detected by the sensor, and the confidence level is used to indicate the accuracy of the distance.
  • the distance range corresponding to the at least one range interval covers the detection range of the sensor.
  • the detection range of the sensor covers a range with a radius of 200 meters centered on the sensor
  • the detection range includes multiple distance ranges, such as 0-50 meters as a distance range, 50-150 as a distance range, 150- 200 is a distance range.
  • the critical value of the two range intervals may be divided into the former range interval or the latter range interval, which is not limited in this application.
  • each range interval also corresponds to a confidence range.
  • the mapping relationship may be the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result. Degrees indicate the accuracy of the distance results detected by the sensor, and vehicle-to-object distance is the vehicle-to-object distance detected by the sensor.
  • the confidence level corresponding to the at least one range interval covers the confidence level of the information detected by the sensor within the detection range.
  • the sensor is provided in the vehicle, so the distance between the vehicle and the object is the distance between the sensor and the object.
  • the confidence that the sensor can detect within the detection range is in the range of 0-100%, and the 0-100% range is divided into multiple confidence ranges. For example, 0-80% is a confidence range, 80%-95 % is a confidence range, and more than 95% is a confidence range.
  • the sensor may be a sensor installed inside the vehicle, such as the sensor in the aforementioned sensor system 104, or a sensor installed outside the vehicle, such as a sensor connected to the vehicle and installed on the surface of the vehicle body. Adjust the application scene.
  • Method 1 Divide based on confidence
  • the division may be based on confidence.
  • One or more confidence ranges are obtained for the range of confidence levels of objects detected within the detection range of the sensor. That is, the one or more confidence ranges cover the confidence of the information detected by the sensor within the detection range. Then, based on the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result, the distance range corresponding to each confidence level range is calculated.
  • Each range interval has a corresponding confidence range and a distance range, and at least one distance range corresponding to the at least one range interval covers the detection range of the sensor.
  • each range interval has a corresponding distance range.
  • the distance corresponding to each range interval may be different due to the error of the sensor.
  • the confidence range corresponding to 80 meters may be 93%-96%. Therefore, there may be some distance overlap between range 1 and range 2.
  • vehicles can be selected based on the confidence range that does not overlap. driving decisions.
  • interval confidence range Distance range (meters) range interval 1 (95%, 100%] (0,90] Range interval 2 (85%, 95%] (70, 120] Range interval 3 (60%, 85%] (110, 170] range interval 4 (40%, 65%] (150, 220] range interval 5 [0, 40%] [210, + ⁇ ]
  • the distance and confidence between the vehicle and the object monitored by the sensor may be obtained through a preset perception algorithm, or may also be referred to as an output of a perception model.
  • the relationship between the distance and the confidence can be obtained by counting the distance between the vehicle and the object detected by the sensor, and the corresponding confidence.
  • the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result is referred to as the relationship between the distance and the confidence level below.
  • the confidence level is the accuracy of the information of the object detected by the sensor, and the information of the detected object may include information such as the size, position, movement direction, speed, or distance to the vehicle of the object. It can be understood that the confidence can be expressed as the accuracy of information such as the size, position, movement direction, speed, or distance from the vehicle detected by the sensor.
  • the relationship between the distance and the confidence may be a linear relationship, an exponential relationship, a logarithmic relationship, or a sequence of numbers, etc., which can be specifically determined according to an actual application scenario, which is not limited in this application.
  • the same sensor may detect different information of an object, such as the size, direction, position and other information of the object, or the confidence of the sensor for different types of objects at the same distance may also be different, for example, if If the sensor is a camera, some content of the collected image may be unclear due to the limitation of the focus point of the camera, resulting in different confidence levels of objects at different positions. Therefore, the same sensor may have multiple distances and the relationship between the confidence of different data types, such as the relationship between the distance and the confidence of the size of the object, the relationship between the distance and the confidence of the direction of the object, etc. It can be adjusted according to actual application scenarios. For ease of understanding, in the following embodiments of the present application, only the relationship between confidence and distance of one type of data is used as an example for illustration, but not as a limitation.
  • the historical distance information collected by the sensor and the corresponding confidence level can be obtained, and then the distance result included in the output information of the sensor and the corresponding confidence level can be calculated according to the historical distance information and the corresponding confidence level.
  • the relationship between the confidence levels corresponding to this distance result For example, the information of a large number of obstacles collected by the sensor can be collected, and as the input of the preset perception algorithm, the distance between the vehicle and the object detected by the sensor and the corresponding confidence level can be output. Then, the relationship between the distance and the corresponding confidence is fitted to obtain the relationship.
  • the perception model can also be obtained by training through information collected by a large number of sensors.
  • the perception model may be one or a combination of a target detection neural network, a semantic segmentation neural network, a convolutional neural network, or a constructed network.
  • the target detection neural network may be a deep neural network for 2D target detection, such as an evolution network based on regions with CNN features (RCNN), or a deep neural network for 3D target detection, such as a Neural network of forward propagation (FP), or evolution network based on segmentation network (Segmentation Network, SegNet).
  • RCNN regions with CNN features
  • FP Neural network of forward propagation
  • SegNet Segmentation Network
  • the relationship between the distance between the vehicle and the object detected by the sensor and the confidence level can be updated in real time through the real-time information collected by the sensor and the corresponding confidence level. For example, while the vehicle is driving, information comparing data collected by sensors at different locations can be saved to update the relationship between distance and confidence.
  • the detection range of the sensor may be divided based on the distance to obtain one or more distance ranges.
  • the confidence range corresponding to each distance range may also be calculated based on the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result.
  • the confidence range corresponding to each distance range is used for subsequent screening of range intervals that match the perception information.
  • the range of 0-80 can be divided into range 1
  • the distance of 80-120 can be divided into range 2
  • the distance of 120-160 can be divided into range 3, etc., and so on.
  • the confidence levels corresponding to each range interval may be different.
  • the range range 1 and range range 2 may have some overlap in the confidence levels.
  • the range interval can also be divided by distance and confidence, that is, the aforementioned method 1 and method 2 can be combined to obtain one or more scope intervals, which can be adjusted according to the actual application scenario. There are no restrictions.
  • the detection range of the sensor can be divided into one or more range intervals in combination with the confidence level, and the range interval can be used to select a driving decision, and then plan a driving path through the driving decision. Therefore, when planning a driving path, compared to using perception information with a confidence higher than a threshold to plan a driving path, the driving decision selection method provided by the present application can improve the perception range used when selecting driving decisions, and can select the driving decision of the vehicle in advance, Therefore, the vehicle can be accelerated or decelerated in advance, so that the control of the vehicle is more stable, the driving safety of the vehicle is improved, and the user experience is improved. It can be understood that the driving decision selection method provided by this application introduces probabilistic perception information to represent the uncertainty of the perception information, so that the driving decision can be selected according to the uncertain perception information in the future, which increases the planning of driving. The perception range to use when routing.
  • the detection range of each sensor can be divided separately to obtain the range interval corresponding to each sensor; or the same confidence level for each sensor can be obtained.
  • the corresponding distance is divided after weighted operation, or the confidence of each sensor at the same distance is weighted and divided, etc., which can be adjusted according to the actual application scenario. Therefore, in the embodiments of the present application, different division methods can be used for different sensors, and in the process of selecting the driving decision of the vehicle, multiple sensors can work together to further improve the driving safety of the vehicle.
  • lidar has a high confidence in the perception of vehicles or pedestrians, while in the range of 70-150m, the confidence in perception of vehicles or pedestrians is low (such as between 50% and 80%).
  • the visual perception sensor has a high degree of confidence in the perception of vehicles or pedestrians, while in the range of 80-150m, the confidence in the perception of vehicles or pedestrians is low.
  • the accuracy of detection can be improved, false detection or missed detection can be avoided, and the accuracy of the detected information can be improved.
  • the driving decision may include decisions such as acceleration, deceleration, cruise control, following the vehicle, maintaining the vehicle speed, or changing lanes.
  • the driving decisions set in different ranges can be the same or different.
  • the driving decision corresponding to range 1 may be a decision such as cruising at a constant speed, slowing down and following a car, changing lanes, or speeding up, or it may also include controlling the speed of the vehicle within the first preset range or controlling the speed of the vehicle relative to the obstacle within Decisions such as the second preset range.
  • the driving decision for the vehicle may be pre-set or selected by the user.
  • different distances can be preset to correspond to different decisions.
  • the range of 0-20 meters can be set to decelerate or maintain the speed, or the corresponding speed range or relative speed range can be set.
  • acceleration and deceleration can be set. Or change lanes, etc., or set the corresponding speed range or relative speed range for decision-making. Above 80 meters, you can set acceleration, cruise control, deceleration, or lane change, or set the corresponding speed range or relative speed range.
  • the driving decision may be selected by the user, wherein acceleration and deceleration may be set as mandatory decisions, and decisions such as cruise control and lane change may be selected by the user through an interactive interface.
  • the vehicle can be planned by at least one divided range and the corresponding driving decision before or during driving. the driving path, and control the vehicle to drive according to the driving path.
  • the divided range sections or the driving decision corresponding to each range section may also be updated.
  • the sensor may have loss in the environment, resulting in errors or baseline drift, etc. Therefore, the range interval can also be updated in real time according to the information collected by the sensor during use, so as to improve the divided range interval and the accuracy of the sensor detection. degree match.
  • different range sections have corresponding driving decisions, so that when planning a driving route in the future, the selected driving decisions can be used for planning.
  • the present application provides a segmented driving planning interval, which can process perception information with different confidence levels based on different range intervals, thereby improving the perception range when planning a driving path.
  • the driving decision corresponding to each range interval is determined according to the application scenario.
  • the application scenario may include but not limited to scenarios such as automatic cruise, car following, or automatic parking.
  • the distance ranges corresponding to multiple ranges may be 0m-100m, 100m-200m, 200m-300m, etc.
  • the driving decisions corresponding to 0m-100m include deceleration or When changing lanes, the driving decision corresponding to 100m-200m is to maintain the vehicle speed or change lanes, and the driving decision corresponding to 200m-300m can include driving decisions such as acceleration and lane change.
  • the decision corresponding to 0m-100m is deceleration
  • the driving decision corresponding to the distance range above 100m is acceleration.
  • the distance range corresponding to each range section may be different from that of high-speed automatic cruise.
  • the distance ranges corresponding to multiple range sections may be 0-50m, 50-100m, and 100m, respectively.
  • the driving decisions corresponding to 0-50m are decisions such as decelerating or changing lanes
  • the driving decisions corresponding to 50-100m are decisions such as accelerating or maintaining the vehicle speed
  • the driving decisions corresponding to 100m-150m are decisions such as accelerating or maintaining the vehicle speed, above 150m
  • the distance range corresponds to driving decisions such as acceleration or lane change.
  • the divided distance ranges may also be different.
  • the distance ranges corresponding to multiple range intervals may include 0-1m, 1m-2m , 2m-5m, etc.
  • the driving decision corresponding to 0-1m is to decelerate
  • the driving decision corresponding to 1m-2m is to maintain the vehicle speed
  • the driving decision corresponding to 2m-5m is to accelerate slowly.
  • the driving decisions corresponding to each range section may also be different.
  • the driving decisions corresponding to each range in a smoky environment and a non-smoky environment are different, and the driving decisions corresponding to each range in a rainy and foggy environment and in a sunny environment are also different.
  • the driving decision can be adjusted according to the actual application scenario. This application does not limit this.
  • steps 201-202 are optional steps.
  • the steps 201-202 can also be implemented independently, or other devices can perform the steps 201-202, and then configure at least one range interval obtained by division in the sensor, or send the at least one range interval to the vehicle terminal or other control in the equipment of the vehicle.
  • a storage medium can be set in the sensor, and an instruction code can be written in the storage medium. details of the range interval, etc.
  • one or more range intervals may be demarcated in advance, and each time a driving decision is selected or a driving route is planned, the range interval does not need to be demarcated again.
  • the vehicle is equipped with a sensor, and the sensing information collected by the sensor can be acquired during the driving of the vehicle or before starting to drive.
  • the sensor collects information such as the image of the obstacle, the laser point cloud or the electromagnetic echo point cloud, and then the information is input into a preset perception algorithm or called a perception model, and the perception information is output.
  • the perception information may include, but is not limited to, one or more of the following information: the speed of the vehicle, the speed of the vehicle relative to the obstacle, the position of the obstacle, the direction of the obstacle, the size of the obstacle, and other information.
  • the obstacles can be vehicles, pedestrians, roads, traffic lights, traffic signs, etc. within the detection range of the sensor.
  • the information collected by different sensors may be different.
  • the sensor may include a camera, and the information collected by the sensor may include pixel values of the image; the sensor may include lidar, and the information collected by the sensor may include a 3D laser point cloud; the sensor may also include millimeter wave radar , the information collected by the sensor may include a point cloud composed of electromagnetic echoes.
  • the specific type of the sensor can be adjusted according to the actual application.
  • the information collected by different types of sensors may be the same or different. It is an exemplary illustration, not a limitation.
  • Different sensors may correspond to different perception models, or may correspond to the same perception model, that is, the perception models can process different types of input data to obtain corresponding perception information.
  • the perception model can be obtained by training a large amount of historical data related to the aforementioned sensors.
  • the perception information may further include a confidence level, which is used to indicate the accuracy of the information included in the perception information.
  • the confidence level can be used to represent the accuracy of the speed of the vehicle relative to the obstacle.
  • the confidence level can be referred to for planning, and a more accurate driving path can be obtained.
  • a first range interval matching the sensing information may be selected from at least one range interval.
  • the at least one range interval may be at least one range interval divided in the foregoing step 202, each range interval corresponds to a distance range, and optionally, each range interval also corresponds to a confidence range.
  • each range interval corresponds to a distance range
  • each range interval also corresponds to a confidence range.
  • the perception information may include the first distance between the vehicle and the obstacle, and step 204 may specifically include: comparing the first distance with the distance range of each range interval, and filtering out the first distance between the vehicle and the obstacle. a range interval, and the first distance is within a distance range corresponding to the first range interval.
  • the perception information can include the distance between the vehicle and the obstacle, and the obstacle is in the driving direction of the vehicle. If it is in the same lane or the obstacle is in front of the driving direction of the vehicle, the distance between the vehicle and the obstacle can be selected. The matched range is used as the first range.
  • the distance between the vehicle and the obstacle included in the perception information is 90 meters
  • the distance range of range 1 is 50-150 meters
  • the distance range of range 2 is 0-50 meters
  • the range of the distance included in the perception information is 90 meters.
  • the 90 meters is within the range of 50-150 meters included in the range interval 1, and the range interval matching the 90 is determined as the range interval 1.
  • the perception information may include a first confidence level, where the first confidence level is used to indicate the accuracy of the distance between the vehicle and the obstacle included in the perception information.
  • Step 204 may specifically include: matching the first confidence level with a confidence range included in each range interval, and filtering out a first range interval, where the first confidence level is within the confidence range included in the first range interval Inside.
  • range interval 1 includes a confidence range of 94%-96%
  • range interval 2 includes a confidence range of 96%-100%
  • 95% is included in range interval 1.
  • the confidence range of that is, the range interval that matches the first confidence degree is determined as range interval 1.
  • the aforementioned at least one range interval may be divided into a combination of confidence and distance, and the perception information may include both the first distance between the vehicle and the obstacle and the first confidence of the first distance. degrees, and the obstacle is in the direction of travel of the vehicle. Then, the first range interval can be selected from the at least one range interval in combination with the first distance between the vehicle and the obstacle and the first confidence level of the distance.
  • the confidence level is 95%
  • the distance range corresponding to the first range interval is 50-150 meters
  • the confidence level is 94%-96%
  • the perception information includes The distance of the first range interval is within the distance range of the first range interval
  • the confidence level included in the perception information is within the confidence level range corresponding to the first range range, then confirm that the screened range range is the first range range, and the first range range
  • the confidence range is 94%-96%.
  • the priority of confidence and distance can be set in advance.
  • the confidence is in range 1 and the distance is in range 2
  • the range interval corresponding to the obstacle is the range interval 2
  • the priority of the confidence is higher than the priority of the distance, it can be confirmed that the range interval corresponding to the obstacle is the range interval 1.
  • the perception information can include the confidence and the relationship between the distance and the confidence, then according to the relationship between the distance and the confidence, the distance corresponding to the confidence is calculated, and then the distance and each The distance range corresponding to the range interval is matched, so as to filter out the first range interval that matches the sensing information.
  • the information detected by multiple sensors so that multiple sensing information may be obtained, and the information and confidence levels included in each sensing information may be different.
  • the one with the highest confidence among the multiple sensing information can be selected as the final sensing information, and the first range interval can be selected according to the final sensing information, or a weighted operation can be performed on the multiple sensing information, and the confidence is high.
  • the weight value corresponding to the perceptual information is also high, so as to obtain the final perceptual information.
  • the weighted calculation can be performed on the 3 types of distances to obstacles, and the weight value corresponding to the distance with high confidence is also The higher the value, the distance after the weighting operation is obtained, and the first range interval is selected according to the distance after the weighting operation.
  • the driving decision of the vehicle can be selected according to the preset rules in combination with the speed of the vehicle. For example, set the maximum speed and minimum speed for each range interval, if the distance between the vehicle and the obstacle is within the distance range of the first range interval, and the vehicle speed is less than the maximum speed of the first range interval, and greater than the minimum speed , the driving decision in the first range interval includes acceleration, following and deceleration, then acceleration or following can be selected as the driving decision of the vehicle; if the speed of the vehicle is less than the minimum speed, acceleration can be selected as the driving decision of the vehicle at this time, The vehicle speed is maintained between the maximum vehicle speed and the minimum vehicle speed in the first range interval.
  • a maximum relative vehicle speed and a minimum relative vehicle speed may be set for each range interval. According to the speed of the vehicle and the speed of the obstacle included in the perception information, the relative speed of the vehicle to the obstacle is calculated. A driving decision for the vehicle is then selected from at least one driving decision in the first range interval based on the relative vehicle speed.
  • the driving decision in the first range interval includes acceleration, following and deceleration, if the distance between the vehicle and the obstacle is within the distance range of the first range interval, and the relative speed between the vehicle and the obstacle is less than the first range If the highest relative speed in the interval is less than the lowest relative speed, you can choose to accelerate or follow the vehicle as the vehicle's driving decision; if the relative speed between the vehicle and the obstacle is less than the lowest relative speed, the acceleration is used as the vehicle's driving decision; if the vehicle If the relative speed to the obstacle is greater than the maximum relative speed, the deceleration will be taken as the driving decision of the vehicle.
  • a driving decision of the vehicle may be selected from at least one driving decision corresponding to the first range interval in combination with the speed of the vehicle and the relative speed of the vehicle and the obstacle.
  • the maximum vehicle speed, minimum vehicle speed, maximum relative vehicle speed and minimum relative vehicle speed can be set for each range interval, and the driving decision of the vehicle can be selected based on the speed of the vehicle and the relative speed between the vehicle and the obstacle to keep the vehicle speed at Between the maximum vehicle speed and the minimum vehicle speed, the relative speed between the vehicle and the obstacle remains between the maximum relative vehicle speed and the minimum relative vehicle speed.
  • the distance range of the range section is 10-20 meters
  • the corresponding driving decision may include decelerating and maintaining the vehicle speed.
  • the speed of the vehicle is 30km/h
  • the relative speed of the vehicle relative to the preceding vehicle is 5km/h.
  • the control objective is to keep the relative speed of the vehicle relative to the preceding vehicle at 0km/h. Therefore, this The driving decision at this time is to decelerate so that the relative speed of the vehicle relative to the preceding vehicle is kept at 0 km/h.
  • the control target may be set at a speed of 20 km/h, and the driving decision at this time is to decelerate, thereby reducing the speed of the vehicle to 20 km/h or lower.
  • perception information with a confidence level higher than a threshold can be processed as deterministic perception information, and the vehicle's driving decision can be selected based on the deterministic perception information, that is, a planning algorithm corresponding to the deterministic perception information can be used, such as, The compatibility of the driving decision selection method provided by the present application in planning a driving path is improved.
  • other data can also be combined, such as vehicles with different driving directions from the vehicle, and the driving behavior of obstacle vehicles around the vehicle (such as lane changing, overtaking, etc. ), or changes in the driving environment, etc., to select the driving decision of the vehicle. For example, if the driving decision corresponding to the distance range of 100-200 meters is to accelerate or maintain the vehicle speed, at this time, if the weather is clear and there are no vehicles around changing lanes or overtaking, you can choose to accelerate; if the weather suddenly changes, If there is rain or fog, you can choose to maintain the speed at this time so that the vehicle can drive safely.
  • the vehicle can be controlled to execute the driving decision. For example, if the driving decision of the vehicle is to accelerate, control the vehicle to accelerate; if the driving decision of the vehicle is to decelerate, control the vehicle to decelerate; if the driving decision of the vehicle is to maintain the speed, control the speed to remain unchanged; In order to change lanes, generate a path for the vehicle to change lanes, and control the vehicle to drive according to the path.
  • the driving path of the vehicle can be planned in combination with the speed of the vehicle and the driving decision of the vehicle, and the vehicle can be controlled to travel according to the driving path. For example, if the driving decision of the vehicle is to decelerate, the driving route of the vehicle in the process of executing the deceleration decision can be generated, and the vehicle can be controlled to travel according to the driving route by controlling the steering system and braking system of the vehicle.
  • the vehicle's driving path may include a route parallel or close to the lane. If the vehicle's driving decision is to change lanes, the vehicle's driving path may include the vehicle's driving path. The curve from the current lane to the adjacent lane.
  • the driving path may specifically include information such as a driving curve, a steering angle, a steering radius, or a vehicle speed of the vehicle.
  • each range interval includes: distance range and corresponding confidence range, for example, range interval 1 includes distance range [0, 10], confidence range is [98%, 100%], range interval 2 includes distance range (10, 50 ], the confidence range is [97%, 98%), the distance range included in range interval 3 is (50, 100], the confidence range is [95%, 97%), and the distance range included in range interval 4 is (100,+ ⁇ ], the confidence range is [0%, 95%).
  • range interval 1 includes distance range [0, 10]
  • confidence range is [98%, 100%]
  • range interval 2 includes distance range (10, 50 ]
  • the confidence range is [97%, 98%)
  • the distance range included in range interval 3 is (50, 100]
  • the confidence range is [95%, 97%)
  • the distance range included in range interval 4 is (100,+ ⁇ ]
  • the confidence range is [0%, 95%).
  • the corresponding driving decisions are set in advance for each range interval.
  • the driving decision in the range of [0, 10] meters includes deceleration
  • the driving decision in the range of (10, 50] meters includes deceleration and maintaining the vehicle speed
  • the driving decisions in the range include maintaining the speed and changing lanes
  • the driving decisions in the range of (100,+ ⁇ ] meters include maintaining the speed, accelerating and changing lanes.
  • the autonomous driving scenario as shown in Figure 3A, during the driving of the vehicle, if It is detected that there is an obstacle 301 in front of the vehicle, and the distance between the obstacle 301 and the vehicle is 126m, which is within the distance range included in the range section 4.
  • the corresponding driving decision includes: maintaining Vehicle speed, acceleration and lane change.
  • the driving decision can be selected according to the user's needs. For example, if the user's demand is to arrive quickly, the driving decision is to change lanes or accelerate, and if the user's demand is to drive smoothly, the driving decision is to maintain the speed, etc. Exemplarily, if the user's requirement is to arrive quickly, and the distance between the vehicle and the obstacle 301 is gradually reduced, at this time, considering the safety of the vehicle and the requirement of the user to arrive quickly, the driving decision of the vehicle is to change lanes.
  • a lane-changing driving path 302 is generated based on the current vehicle speed, the speed of obstacles and road conditions, and the vehicle is controlled to follow the driving path 302.
  • the top view of the driving path corresponding to the lane-changing decision can be shown in FIG. 3B , after it is detected that there is an obstacle 301 in front of the vehicle, that is, in the driving direction of the vehicle, and the driving decision of the selected vehicle is to change lanes, a driving path 302 is generated, and the vehicle is controlled to travel according to the driving path.
  • the way of generating the driving path can be Including speed-time graph (speed-time graph, ST) algorithm, 3DST algorithm (3d speed-time graph, SLT) algorithm, etc.
  • the planning method is taken as an example to illustrate.
  • the position 3031 where the vehicle is after changing lanes is selected, and two curves 3021 and 3022 for the vehicle to travel to the position 3031 are planned, and the curves 3021 and 3022 are tangent.
  • Vehicle speed calculate the turning radius of the vehicle, that is, the radius r1 of the curve 3031 and the radius r2 of the curve 3022, and then smooth the curve 3021 and the curve 3022 to obtain the driving path 302, and control the vehicle to follow the driving path 302 according to the turning radius drive.
  • the driving path can be transmitted to the aforementioned driving path.
  • the control system 106 shown in FIG. 1 the control system 106 generates control commands by means of differential (PD) control, proportional, integral, and derivative (PID) control according to information such as the driving curve and vehicle speed included in the driving path, so as to
  • PD differential
  • PID proportional, integral, and derivative
  • each range interval has a corresponding confidence level and a distance range, and there is a mapping relationship between the values included in the confidence range and the values included in the distance range.
  • the mapping relationship is the relationship between the distance result output by the sensor and the confidence level corresponding to the distance result, and the mapping relationship may be preset or updated in real time according to the information collected by the sensor.
  • at least one driving decision based on each range interval can be used to select a driving decision of the vehicle, such as a decision such as acceleration, deceleration, maintaining the vehicle speed, or changing lanes. Generally, the farther away the object is detected by the sensor, the lower the confidence level.
  • the driving decision selection method provided by the present application can use perception information with a confidence level not higher than the threshold to select driving decisions, which is equivalent to expanding the driving route planning. range of perception. Therefore, in the driving decision selection method provided by the present application, in the process of selecting a driving decision, the driving decision can be selected by using a perceived obstacle at a longer distance, which can be understood as a driving decision can be determined for an object at a longer distance, The vehicle can avoid obstacles further away in advance, which improves the driving safety of the vehicle and improves the user experience. In addition, the obstacle that is farther away from the vehicle can be avoided in advance, and decisions such as acceleration or deceleration can be made in advance, so that the driving process of the vehicle is smoother and the user experience is improved.
  • the sensing range of the sensor provided on the vehicle 401 can be divided into 4 sections, the distance range of section 1 is 0-20 meters (m), and the distance range of section 2 is 20-65 meters. meters, the distance range for interval 3 is 65-150 meters, and the distance range for interval 4 is 150-250 meters.
  • the critical distance can be divided into any one of two adjacent intervals. For example, a distance of 20m can be divided into interval 1 or interval 2, which can be adjusted according to the actual application scenario.
  • the driving decisions set for section 1 include braking and keeping following, and the driving decisions set for section 2 include following, changing lanes, and decelerating.
  • Driving decisions set for 3 include accelerating, following, changing lanes, and decelerating, and driving decisions set for zone 4 include accelerating.
  • the sensing areas closer to the vehicle, such as interval 1 and interval 2, within this range the information detected by the sensor usually has a high confidence level, which can be understood as the range interval corresponding to the deterministic sensing information.
  • the information detected by the sensor In the sensing area that is far from the vehicle, such as interval 3 or interval 4, within this range, the information detected by the sensor usually has a low confidence level, that is, the accuracy of the detected information is low, which can be understood as probabilistic perception information. the corresponding range. Therefore, the range interval divided in the embodiment of the present application increases the distance range of the available interval 3 and interval 4, which is used to select the driving decision of the vehicle, thereby planning the driving path of the vehicle, and increases the available perception range when planning the driving path.
  • the solution provided by the present application is equivalent to increasing the perception range when planning a driving path.
  • visual perception can detect obstacles more reliably, which is a deterministic perception range; while in the range of 100-200m, due to a series of reasons such as the distance becomes farther or the image becomes smaller, the success rate of detecting vehicles decreases, the confidence also decreases.
  • the 100-200m interval is also divided into regions, and the driving decision of the vehicle is selected based on this, and the driving path of the vehicle is planned, which is equivalent to increasing the perception range when planning the driving path.
  • Vr can be understood as the relative speed between the vehicle and the preceding vehicle
  • Ve can be understood as the speed of the vehicle itself.
  • the vehicle in front can be in a moving state, that is, the speed of the vehicle in front is not 0, or it can be in a stationary state, that is, the speed of the vehicle in front is 0, or the vehicle in front here can also be replaced with other obstacles, such as traffic lights, roadblocks, triangles cones, etc.
  • the section 1 can be understood as an emergency braking section, that is, the distance between the vehicle and the obstacle 402 is over If the distance is too close, it is not within the safe distance, and the difference from the safe distance is large, so the speed of the vehicle needs to be reduced to maintain a safer distance between the vehicle and the obstacle.
  • the control target of the vehicle may be to stop or keep the vehicle speed within a range of 0 ⁇ Vr ⁇ 30, 0 ⁇ Ve ⁇ 60, so as to avoid a rear-end collision between the vehicle and the preceding vehicle.
  • the safety distance can be a value set in advance, or a value calculated according to a set algorithm, such as a value calculated according to the current speed of the vehicle, the braking distance or the speed of the preceding vehicle, etc.
  • the safety distance can be understood as guaranteeing the vehicle The distance you can travel safely to avoid a collision.
  • the distance between the vehicle and the preceding vehicle is in the normal braking interval, that is, the distance between the vehicle and the preceding vehicle is not within the safe distance, but is within the safe distance.
  • the difference between them is small, and the control target of the vehicle 401 can be set as 30 ⁇ Vr ⁇ 60, 60 ⁇ Ve ⁇ 100, at this time, the vehicle speed of the vehicle 401 can be appropriately reduced so that the vehicle speed is within the range of the control target.
  • the distance obstacle between the preceding vehicle 402 and the vehicle 401 is within the distance range of Section 3, the distance between the preceding vehicle and the preceding vehicle is in the comfortable speed regulation zone, and the distance between the preceding vehicle and the vehicle is not less than the safe distance.
  • the speed of the vehicle can be adjusted according to the actual scene, and the control target can be set as 60 ⁇ Vr ⁇ 100, 100 ⁇ Ve ⁇ 125, so that the vehicle can keep running fast and safely.
  • the distance obstacle between 402 and the vehicle 401 is within the distance range of interval 4, the distance between the vehicle and the preceding vehicle is in the pre-judgment interval, the distance between the preceding vehicle and the vehicle is not less than the safe distance, and the vehicle is in a relatively safe position.
  • the speed of the vehicle can be adjusted according to the actual scene, and the control target can be set as 100 ⁇ Vr ⁇ 150, 125 ⁇ Ve ⁇ 150, so that the vehicle can keep running fast and safely.
  • obstacles within the distance range from the vehicle can be avoided in advance, thereby further improving the driving safety of the vehicle.
  • the vehicle acceleration or deceleration driving decision based on the distance between the vehicle and the aforementioned distance as the control distance. For example, if the distance between the vehicle and the obstacle is too close, control the vehicle to decelerate, Thereby increasing the distance between the vehicle and the obstacle; if the distance between the vehicle and the obstacle is too far, control the vehicle to maintain the speed or accelerate, so as to maintain the distance or reduce the distance, which can be adjusted according to the actual application scenario, here It is only an illustration, not a limitation.
  • interval 1 and interval 2 are the range intervals corresponding to the deterministic perceptual information, that is, the range intervals corresponding to the perceptual information whose confidence is higher than the threshold.
  • 3 and interval 4 are the range intervals corresponding to the perceptual information whose confidence is not higher than the threshold.
  • the driving decision of the vehicle can be selected in combination with the speed of the vehicle and/or the relative speed between the vehicle and the obstacle, so as to determine the distance between the vehicle and the obstacle in advance. More distant obstacles are dealt with in advance, such as avoiding obstacles, decelerating in advance, etc., thereby improving the safety of vehicle driving, making the driving process of the vehicle change more smoothly, and improving the user experience.
  • the speed control target of the boundary of the range can be set, and then the boundary of the range can be set.
  • the speed control target is used as the vehicle speed control target.
  • the boundary vehicle speed is used as the control target to plan the deceleration motion to generate the driving path of the vehicle.
  • the driving path of the vehicle can be to continue driving in the current lane, such as driving in a straight line.
  • the vehicle speed that is, the driving decision is to decelerate, so that the vehicle speed is not greater than 100km/h, and the relative speed between the vehicle and the vehicle in front is not greater than 60km/h h.
  • the trajectory and speed of the vehicle are controlled.
  • the range interval is divided according to the confidence and the distance of the object detected by the sensor, and the larger range is divided.
  • the methods provided are equivalent to increasing the perception range.
  • the range interval corresponding to the relative distance between the vehicle and the obstacle can be known, and the corresponding driving decision can be selected according to the range interval, so that the vehicle can choose the driving decision and plan the driving path for the obstacles in the farther distance, such as decelerating in advance to avoid Collision improves the driving safety of the vehicle, and can perform smoother acceleration or deceleration in advance, which can improve the user experience.
  • the types of driving decisions set in each range are also different.
  • the set driving decision can refer to the introduction in the aforementioned FIG. 4A .
  • the driving decision set for each range section only includes deceleration or lane change, but not acceleration, so as to improve the driving safety of the vehicle. .
  • a parking scenario may be shown in FIG. 6A , where a vehicle 601 is in a parking lot, and there are one or more unavailable parking spaces 602 in the parking lot, and one or more available parking spaces 603 for unparked vehicles.
  • the cockpit of the vehicle can refer to FIG. 6B, and the display screen in the dashboard of the vehicle can display that the vehicle is currently in the automatic parking mode.
  • the interface displayed by the interactive display interface 1000 may be as shown in FIG. 6C , and the user may select one of the parking spaces 6031 among the plurality of parking spaces 603 . Subsequently, the scene of automatic parking in the parking space is shown in Figure 6D. According to the distance and confidence of the obstacles in the environment detected by the sensor, the driving decision corresponding to the range of the distance between the vehicle and the obstacle can be selected, so as to The driving path 604 for the vehicle 601 to be parked in the parking space 6031 is planned. For the specific method of planning the driving path, reference may be made to the related introduction in FIG. 3C , which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of a driving decision selection device provided by the present application.
  • the driving decision selection device is used to execute the steps of the method corresponding to the aforementioned FIGS. 2-6D .
  • the driving decision selection device may include:
  • a decision-making module 702 configured to select a first range interval that matches the sensing information from at least one range interval, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor includes At least one of the distance result of the detected target, the confidence level corresponding to the distance result, or the relationship between the distance result and the confidence level corresponding to the distance result, each range interval in the at least one range interval corresponds to at least one driving decision, and each range interval corresponds to at least one driving decision.
  • the range interval has corresponding at least one driving decision;
  • the decision-making module 702 is further configured to select a driving decision of the vehicle from at least one driving decision corresponding to the first range interval according to the speed of the vehicle;
  • the control module 703 is used to control and measure the driving according to the driving decision of the vehicle.
  • the decision module 702 is specifically configured to select a first range interval that matches the first distance from at least one range interval, and the first distance is within the distance range included in the first range interval.
  • each range interval further includes a confidence range, the confidence range corresponding to at least one range interval covers the confidence of the information detected by the sensor within the detection range, and the sensing information further includes the first confidence degree, the first confidence degree is used to represent the accuracy of the first distance;
  • the decision-making module 702 is specifically configured to select a first range interval that matches the first confidence level from at least one range interval, the first confidence level is included in the perception information, and the first confidence level is used to indicate the accuracy of the first distance degree.
  • the driving decision selection device may further include: a dividing module 705, configured to divide the detection range of the sensor before the sensing module acquires sensing information, to obtain at least one A distance range, the at least one distance range is in one-to-one correspondence with the at least one range interval.
  • a dividing module 705 configured to divide the detection range of the sensor before the sensing module acquires sensing information, to obtain at least one A distance range, the at least one distance range is in one-to-one correspondence with the at least one range interval.
  • the dividing module 705 is specifically configured to: before the sensing module 701 obtains the sensing information, obtain at least one confidence range, and each confidence range in the at least one confidence range does not overlap, and the at least one confidence range does not overlap.
  • a confidence level covers the confidence level of the information detected by the sensor within the detection range; according to at least one confidence level range and the relationship between the distance result and the confidence level corresponding to the distance result, calculate and at least one confidence level
  • the ranges correspond to at least one distance range one-to-one, and each range interval corresponds to a confidence range and a distance range.
  • the dividing module 705 is further configured to: determine at least one confidence range corresponding to at least one distance range one-to-one according to the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level The range is used to filter the range interval that matches the perceptual information from at least one range interval.
  • the perception module 701 is further configured to: acquire historical distance information collected by sensors, historical distance information and corresponding confidence levels; acquire distance results and distance results corresponding to the historical distance information and corresponding confidence levels relationship between confidence levels.
  • the decision-making module 702 is specifically configured to: calculate the relative speed between the vehicle and the obstacle according to the speed of the vehicle; and select the relative speed of the vehicle from at least one driving decision corresponding to the first range interval in combination with the relative speed. driving decisions.
  • control module 703 may control the vehicle to travel according to the driving path through the vehicle actuator 704 of the vehicle.
  • vehicle actuator 704 may include one or more of the aforementioned modules of the travel system 102 or the control system 106 of FIG. 1 .
  • At least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario includes but is not limited to scenarios such as automatic cruise, car following, or automatic parking.
  • FIG. 8 is a schematic structural diagram of another driving decision and selection device provided by the present application.
  • the driving decision selection device is used to execute the steps of the method corresponding to the aforementioned FIGS. 2-6D .
  • a division module 801 configured to obtain at least one range interval, each range interval in the at least one range interval has a corresponding confidence range and a distance range, and the distance range included in the at least one range interval covers the detection range of the sensor, at least a confidence range covering the confidence of the information detected by the sensor within the detection range;
  • the decision module 802 is used to set at least one driving decision corresponding to each range interval, each range interval and at least one driving decision corresponding to each range interval are used to select the driving decision of the vehicle, and the driving decision of the vehicle is used to generate The driving path of the vehicle.
  • the dividing module 801 is specifically used for:
  • each range interval corresponds to a confidence range and a distance range
  • a range range includes a confidence range and a distance range.
  • the dividing module 801 is specifically used for:
  • each range interval corresponds to a confidence range and a distance range.
  • the driving decision selection device may further include: a control module 805 and a perception module 804;
  • the control module 805 is configured to select a driving decision of the vehicle from at least one driving decision in the first range interval according to the perception information, and control the vehicle to travel according to the driving decision.
  • the perception information includes the distance between the obstacle and the vehicle, and the control module 805 is specifically used for:
  • control module 805 is further configured to:
  • the relative speed of the vehicle relative to the obstacle is calculated, and then, in combination with the relative speed, a driving decision of the vehicle is selected from at least one driving decision in the first range interval.
  • the perception information further includes the speed of the vehicle and/or the relative speed of the vehicle and the obstacle;
  • the control module 805 is specifically configured to select a driving decision of the vehicle from at least one driving decision in the first range interval in combination with the speed of the vehicle and/or the relative speed of the vehicle and the obstacle.
  • the confidence level included in the perception information is related to the distance between the sensor and the obstacle.
  • the driving decision selection device may further include an acquisition module 803, which is specifically used for:
  • the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result is obtained according to the historical distance information and the corresponding confidence level.
  • the vehicle actuator 806 is similar to the aforementioned vehicle actuator 704 and will not be repeated here.
  • FIG. 9 a schematic structural diagram of another driving decision and selection device provided by the present application, as described below.
  • the driving decision selection device may include a processor 901 and a memory 902 .
  • the processor 901 and the memory 902 are interconnected by wires.
  • the memory 902 stores program instructions and data.
  • the memory 902 stores program instructions and data corresponding to the aforementioned steps in FIGS. 2-6D .
  • the processor 901 is configured to perform the method steps performed by the driving decision selection apparatus shown in any of the foregoing embodiments in FIGS. 2-6D .
  • the driving decision selection device may further include a transceiver 903 for receiving or transmitting data.
  • Embodiments of the present application also provide a computer-readable storage medium, where a program for generating a vehicle's running speed is stored in the computer-readable storage medium, and when the computer is running on a computer, the computer is made to execute the program as shown in the foregoing FIGS. 2-6D . Steps in the method described in the example embodiment.
  • the aforementioned driving decision selection device shown in FIG. 9 is a chip.
  • the embodiments of the present application also provide a driving decision-making selection device, which may also be referred to as a digital processing chip or a chip.
  • the chip includes a processing unit and a communication interface.
  • the processing unit obtains program instructions through the communication interface, and the program instructions are processed.
  • the unit is executed, and the processing unit is configured to execute the method steps executed by the driving decision selection apparatus shown in any of the foregoing embodiments in FIGS. 2-6D .
  • the embodiments of the present application also provide a digital processing chip.
  • the digital processing chip integrates circuits and one or more interfaces for realizing the above-mentioned processor 901 or the functions of the processor 901 .
  • the digital processing chip can perform the method steps of any one or more of the foregoing embodiments.
  • the digital processing chip does not integrate the memory, it can be connected with the external memory through the communication interface.
  • the digital processing chip implements the actions performed by the driving decision and selection device in the above embodiment according to the program codes stored in the external memory.
  • the embodiments of the present application also provide a computer program product that, when driving on the computer, causes the computer to execute the steps performed by the driving decision selection device in the method described in the embodiments shown in FIGS. 2-6D.
  • the driving decision selection device may be a chip, and the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit, etc. .
  • the processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip executes the driving decision selection method described in the embodiments shown in FIGS. 2-6D .
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • the aforementioned processing unit or processor may be a central processing unit (CPU), a network processor (neural-network processing unit, NPU), a graphics processing unit (graphics processing unit, GPU), a digital signal processing digital signal processor (DSP), application specific integrated circuit (ASIC) or 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 it may be any conventional processor or the like.
  • FIG. 10 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the chip may be represented as a neural network processor NPU 100, and the NPU 100 is mounted on the main CPU ( Host CPU), the task is allocated by the Host CPU.
  • the core part of the NPU is the operation circuit 100, and the operation circuit 1003 is controlled by the controller 1004 to extract the matrix data in the memory and perform multiplication operations.
  • the arithmetic circuit 1003 includes multiple processing units (process engines, PEs). In some implementations, the arithmetic circuit 1003 is a two-dimensional systolic array. The arithmetic circuit 1003 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1003 is a general-purpose matrix processor.
  • the arithmetic circuit fetches the data corresponding to the matrix B from the weight memory 1002 and buffers it on each PE in the arithmetic circuit.
  • the arithmetic circuit fetches the data of matrix A and matrix B from the input memory 1001 to perform matrix operation, and stores the partial result or final result of the matrix in an accumulator 1008 .
  • Unified memory 1006 is used to store input data and output data.
  • the weight data is directly passed through the storage unit access controller (direct memory access controller, DMAC) 1005, and the DMAC is transferred to the weight memory 1002.
  • Input data is also transferred to unified memory 1006 via the DMAC.
  • a bus interface unit (BIU) 1010 is used for the interaction between the AXI bus and the DMAC and an instruction fetch buffer (instruction fetch buffer, IFB) 1009.
  • IFB instruction fetch buffer
  • the bus interface unit 1010 (bus interface unit, BIU) is used for the instruction fetch memory 1009 to obtain instructions from the external memory, and is also used for the storage unit access controller 1005 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
  • the DMAC is mainly used to transfer the input data in the external memory DDR to the unified memory 1006 , the weight data to the weight memory 1002 , or the input data to the input memory 1001 .
  • the vector calculation unit 1007 includes a plurality of operation processing units, and further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc., if necessary. It is mainly used for non-convolutional/fully connected layer network computations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.
  • the vector computation unit 1007 can store the vector of processed outputs to the unified memory 1006 .
  • the vector calculation unit 1007 may apply a linear function and/or a nonlinear function to the output of the operation circuit 1003, such as linear interpolation of the feature plane extracted by the convolutional layer, such as a vector of accumulated values, to generate activation values.
  • the vector computation unit 1007 generates normalized values, pixel-level summed values, or both.
  • the vector of processed outputs can be used as activation input to the arithmetic circuit 1003, eg, for use in subsequent layers in a neural network.
  • the instruction fetch memory (instruction fetch buffer) 1009 connected to the controller 1004 is used to store the instructions used by the controller 1004;
  • the unified memory 1006, the input memory 1001, the weight memory 1002 and the instruction fetch memory 1009 are all On-Chip memories. External memory is private to the NPU hardware architecture.
  • each layer in the recurrent neural network can be performed by the operation circuit 1003 or the vector calculation unit 1007 .
  • the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of the programs of the above-mentioned methods of FIGS. 2-6D .
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
  • U disk U disk
  • mobile hard disk ROM
  • RAM random access memory
  • disk or CD etc.
  • a computer device which can be a personal computer, server, or network device, etc. to execute the methods described in the various embodiments of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Landscapes

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

Abstract

A method and apparatus for selecting a driving decision, which relate to the fields of smart cars, connected vehicles and automatic driving, and are used for enlarging the perception range available when selecting a driving decision and planning a traveling path for a vehicle, thereby improving the driving safety and stability of the vehicle, and improving the user experience. The method comprises: acquiring perception information collected by a sensor configured on a vehicle (203); selecting, from at least one range interval, a first range interval that matches the perception information (204), wherein the at least one range interval is obtained by dividing a monitoring range of the sensor on the basis of output information from the sensor, and each range interval corresponds to at least one driving decision; in conjunction with the speed of the vehicle, selecting a driving decision for the vehicle from at least one driving decision corresponding to the first range interval (205); and controlling the vehicle to travel according to the driving decision for the vehicle (206).

Description

一种行驶决策选择方法以及装置A driving decision selection method and device 技术领域technical field
本申请涉及汽车领域,尤其涉及一种行驶决策选择方法以及装置。The present application relates to the field of automobiles, and in particular, to a driving decision selection method and device.
背景技术Background technique
决策与规划是自动驾驶技术中的一个重要组成模块,如进行全局路径规划、行为决策或者局部路径规划等。现阶段,通常是由上游的感知模块输出环境和一些关键目标物的位置信息,经过决策与规划模块生成对自车的控制目标,如参考路径或者参考轨迹等,并输出给下游的控制环节,完成对车辆的闭环控制。Decision-making and planning are an important component of autonomous driving technology, such as global path planning, behavioral decision-making, or local path planning. At this stage, the upstream perception module usually outputs the location information of the environment and some key objects, and the decision and planning module generates the control target for the vehicle, such as the reference path or reference trajectory, and outputs it to the downstream control link. Complete the closed-loop control of the vehicle.
然而,进行行车路径的规划时,通常是基于确定型感知信息,即置信度高于一定值的感知信息来进行规划的,将导致能感知到的范围有限。However, when planning a driving path, it is usually based on deterministic perception information, that is, perception information with a confidence level higher than a certain value, which will result in a limited range of perception.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种行驶决策选择方法以及装置,用于扩大为车辆选择行驶决策并规划行车路径时可用的感知范围,提高车辆的行车安全性和稳定性,提高用户体验。Embodiments of the present application provide a driving decision selection method and device, which are used to expand the available perception range when selecting a driving decision for a vehicle and planning a driving path, improve the driving safety and stability of the vehicle, and improve user experience.
有鉴于此,第一方面,本申请提供一种行驶决策选择方法,包括:首先,获取车辆上配置的传感器采集到的感知信息;然后,根据感知信息,从至少一个范围区间中选择出第一范围区间,所述至少一个范围区间基于所述传感器的输出信息将所述传感器的检测范围进行划分得到的,传感器的输出信息包括检测目标物的距离结果、距离结果对应的置信度或距离结果与距离结果对应的置信度之间的关系中的至少一个,每个范围区间具有对应的至少一个行驶决策;随后,结合车辆的车速,从第一范围区间对应的至少一个行驶决策中选择出车辆的行驶决策,并控制该车辆根据该车辆的行驶决策进行行驶。In view of this, in the first aspect, the present application provides a driving decision selection method, including: first, acquiring perception information collected by sensors configured on the vehicle; Range interval, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor includes the distance result of the detected target, the confidence level corresponding to the distance result, or the distance result and the distance result. At least one of the relationships between the confidence levels corresponding to the distance results, and each range interval has at least one corresponding driving decision; then, combined with the speed of the vehicle, select the vehicle's driving decision from the at least one driving decision corresponding to the first range interval. Driving decisions, and control the vehicle to drive according to the driving decisions of the vehicle.
本申请实施方式中,在选择行驶决策之前,已将传感器的检测范围划分了至少一个范围区间,每个范围区间都有对应的距离范围。在选择行驶决策的过程中,可以使用每个范围区间对应的至少一个行驶决策,选择车辆的行驶决策,如加速、减速、保持车速或者变道等决策,并控制车辆按照该行驶决策来行驶。通常传感器检测到的物体的距离越远,置信度也就越低。因此,相对于仅使用置信度高的感知信息来规划行车路径,本申请提供的行驶决策选择方法中,针对传感器的检测范围划分了范围区间,得到的一个或者多个范围区间覆盖了传感器的检测范围。在选择行驶决策的过程中,即使感知信息所包括的距离较远或者置信度较低,也可以使用感知到的更远的距离来选择行驶决策,使车辆可以对更远的障碍物进行提前规避,当前于增加了在决定车辆的行驶决策时的可用的感知范围,提高了车辆的行车安全性,提高用户体验。且对与车辆距离更远的障碍物进行提前规避,可以提前进行加速或者减速等决策,避免车辆因距离过近而导致的剧烈加速或者剧烈减速等,使车辆的行驶过程更平顺,提高用户体验。In the embodiment of the present application, before the driving decision is selected, the detection range of the sensor has been divided into at least one range section, and each range section has a corresponding distance range. In the process of selecting a driving decision, at least one driving decision corresponding to each range interval can be used to select the driving decision of the vehicle, such as acceleration, deceleration, maintaining the speed or changing lanes, and control the vehicle to drive according to the driving decision. Generally, the farther away the object is detected by the sensor, the lower the confidence level. Therefore, instead of using only perceptual information with high confidence to plan a driving path, in the driving decision selection method provided by the present application, a range interval is divided for the detection range of the sensor, and one or more range intervals obtained cover the detection range of the sensor. Scope. In the process of choosing a driving decision, even if the perceived information includes a long distance or a low degree of confidence, the farther perceived distance can be used to select a driving decision, so that the vehicle can evade further obstacles in advance , which currently increases the available perception range when deciding the driving decision of the vehicle, improves the driving safety of the vehicle, and improves the user experience. In addition, to avoid obstacles that are farther away from the vehicle in advance, decisions such as acceleration or deceleration can be made in advance to avoid the violent acceleration or deceleration caused by the vehicle being too close, so that the driving process of the vehicle is smoother and the user experience is improved. .
在一种可能的实施方式中,每个范围区间对应一个距离范围,感知信息中包括传感器检测到的障碍物与车辆的第一距离,从至少一个范围区间中选择出与感知信息匹配的第一 范围区间,可以包括:对第一距离与前述的至少一个范围区间对应的距离范围进行匹配,从而可以获知第一距离处于第一范围区间所对应的距离范围内,进而筛选出与第一距离匹配的第一范围区间。In a possible implementation, each range interval corresponds to a distance range, the perception information includes a first distance between the obstacle detected by the sensor and the vehicle, and a first distance matching the perception information is selected from at least one range interval The range interval, which may include: matching the first distance with the distance range corresponding to the aforementioned at least one range interval, so as to know that the first distance is within the distance range corresponding to the first range interval, and then filter out the matching with the first distance. the first range interval.
在本申请实施方式中,每个范围区间具有对应的行驶决策,从而可以根据车辆和物体的距离选择与之匹配的范围区间,并根据该范围区间对应的一个或多个行驶决策选择车辆的行驶决策,从而可以基于更大的感知范围,选择车辆的行驶决策,进而基于更大的感知范围规划出车辆行车路径。In the embodiment of the present application, each range section has a corresponding driving decision, so that a range section that matches the range section can be selected according to the distance between the vehicle and the object, and the driving of the vehicle can be selected according to one or more driving decisions corresponding to the range section Therefore, the driving decision of the vehicle can be selected based on a larger perception range, and then the vehicle driving path can be planned based on the larger perception range.
在一种可能的实施方式中,每个范围区间对应一个置信度范围,且所述至少一个范围区间对应的置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度,感知信息中还包括第一置信度,第一置信度用于表示第一距离的准确程度;上述的从至少一个范围区间中选择出与感知信息匹配的第一范围区间,可以包括:对第一置信度与前述的至少一个范围区间对应的置信度范围进行匹配,从而获知第一置信度在第一范围区间对应的置信度范围内,进而筛选出第一范围区间。In a possible implementation manner, each range interval corresponds to a confidence range, and the confidence range corresponding to the at least one range interval covers the confidence of the information detected by the sensor within the detection range. The information also includes a first confidence level, and the first confidence level is used to indicate the accuracy of the first distance; the above-mentioned selection of the first range interval that matches the perceptual information from the at least one range interval may include: The degree of confidence is matched with the confidence degree range corresponding to the aforementioned at least one range interval, so as to know that the first confidence degree is within the confidence degree range corresponding to the first range interval, and then the first range interval is filtered out.
本申请实施方式中,可以基于感知信息所包括的置信度选择与之匹配的范围区间,进而从该范围区间的至少一个行驶决策中选择车辆的行驶决策。即使在置信度较低的场景中,也可以选择出车辆的行驶决策。进而针对更远距离或者置信度更低的距离选择行驶决策,使车辆可以对较远距离的障碍物进行提前处理,如提前减速或者提前变道等,提高车辆行驶的安全性。In the embodiments of the present application, a matching range interval may be selected based on the confidence level included in the perception information, and then a driving decision of the vehicle may be selected from at least one driving decision in the range interval. The vehicle's driving decisions can be selected even in low-confidence scenarios. Then, the driving decision is selected for a longer distance or a distance with a lower confidence, so that the vehicle can deal with the obstacles in the longer distance in advance, such as decelerating in advance or changing lanes in advance, etc., to improve the safety of the vehicle.
在一种可能的实施方式中,感知信息中所包括的第一置信度为根据传感器的检测范围和传感器与障碍物的距离得到。其中,传感器通常设置于车辆中,传感器与障碍物的距离即可以理解为车辆和传感器之间的距离。通常,车辆和传感器之间的距离越远,第一置信度越低,车辆和传感器之间的距离越近,第一置信度越高。In a possible implementation manner, the first confidence level included in the perception information is obtained according to the detection range of the sensor and the distance between the sensor and the obstacle. Among them, the sensor is usually arranged in the vehicle, and the distance between the sensor and the obstacle can be understood as the distance between the vehicle and the sensor. Generally, the farther the distance between the vehicle and the sensor is, the lower the first confidence level is, and the closer the distance between the vehicle and the sensor is, the higher the first confidence level is.
在一种可能的实施方式中,在获取感知信息之前,本申请提供的行驶决策选择方法还包括:对传感器的检测范围进行划分,得到至少一个距离范围,至少一个距离范围与至少一个范围区间一一对应。In a possible implementation manner, before acquiring the perception information, the driving decision selection method provided by the present application further includes: dividing the detection range of the sensor to obtain at least one distance range, the at least one distance range being equal to the at least one range interval A correspondence.
因此,本申请实施方式中,可以对传感器的检测范围进行划分,从而得到每个范围区间对应的距离范围,使前述的至少一个范围区间对应的距离范围可以覆盖传感器的检测范围,相当于增加了在选择行驶决策时的可用感知范围。在一种可能的实施方式中,在获取感知信息之前,对传感器的检测范围进行划分,得到至少一个距离范围可以包括:对传感器在检测范围内可检测的置信度的范围进行划分,得到至少一个置信度范围,该至少一个范围区间对应的置信度范围,覆盖了该传感器在该检测范围内检测到的信息的置信度。然后根据距离结果与距离结果对应的置信度之间的关系,计算与每个置信度范围对应的距离范围,得到至少一个距离范围。Therefore, in the embodiment of the present application, the detection range of the sensor can be divided to obtain the distance range corresponding to each range interval, so that the distance range corresponding to the aforementioned at least one range interval can cover the detection range of the sensor, which is equivalent to increasing the The range of perception available when choosing driving decisions. In a possible implementation manner, before acquiring the sensing information, dividing the detection range of the sensor to obtain at least one distance range may include: dividing the range of confidence levels detectable by the sensor within the detection range to obtain at least one The confidence range, the confidence range corresponding to the at least one range interval, covers the confidence of the information detected by the sensor within the detection range. Then, according to the relationship between the distance result and the confidence level corresponding to the distance result, the distance range corresponding to each confidence level range is calculated to obtain at least one distance range.
本申请实施例中,传感器的可检测到的置信度范围划分为了至少一个置信度范围,每个置信度范围具有对应的距离范围,每个范围区间设置了至少一个行驶决策。因此,在选择行驶决策时,可以根据感知信息所包括的距离和置信度来选择行驶决策,进而规划车辆的行车路径,即使感知信息所包括的距离较远,或者置信度较低,也可以提前进行行车路 径的规划,相当于扩大规划行车路径时可用的感知范围,提高车辆的行车安全性和稳定性,提高用户体验。可以理解的是,相对于仅使用置信度高于一定值的感知信息来规划行车路径,本申请中提前划定了范围区间,使得后续规划行车路径时,可以使用更大的感知范围来规划行车路径,从而提前针对车辆前方的障碍物选择合适的行驶决策,从而快速、安全地规划出安全性、稳定性更高的行车路径,提高用户体验。In the embodiment of the present application, the detectable confidence range of the sensor is divided into at least one confidence range, each confidence range has a corresponding distance range, and each range interval is set with at least one driving decision. Therefore, when choosing a driving decision, the driving decision can be selected according to the distance and confidence included in the perception information, and then the driving path of the vehicle can be planned. Planning the driving path is equivalent to expanding the available perception range when planning the driving path, improving the driving safety and stability of the vehicle, and improving the user experience. It can be understood that, compared with only using perception information with a confidence higher than a certain value to plan the driving path, the range interval is delimited in advance in this application, so that when planning the driving path later, a larger perception range can be used to plan driving. Therefore, an appropriate driving decision can be selected in advance for the obstacles in front of the vehicle, so as to quickly and safely plan a driving path with higher safety and stability, and improve the user experience.
在一种可能的实施方式中,根据距离结果与距离结果对应的置信度的关系,确定与至少一个距离范围一一对应的至少一个置信度范围,该至少一个置信度范围用于从至少一个范围区间中筛选与感知信息匹配的范围区间。In a possible implementation manner, according to the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level range corresponding to at least one distance range is determined, and the at least one confidence level range is used to start from the at least one range. In the interval, filter the range interval that matches the perception information.
在一种可能的实施方式中,在获取感知信息之前,本申请提供的行驶决策选择方法还可以包括:对传感器的检测范围进行划分,得到至少一个距离范围,即该至少一个距离范围覆盖了传感器的检测范围;然后根据至少一个距离范围,以及距离结果与距离结果对应的置信度之间的关系,得到与至少一个距离范围一一对应的至少一个置信度范围,每个范围区间对应一个置信度范围和距离范围。In a possible implementation manner, before acquiring the perception information, the driving decision selection method provided by the present application may further include: dividing the detection range of the sensor to obtain at least one distance range, that is, the at least one distance range covers the sensor Then, according to at least one distance range and the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level corresponding to at least one distance range is obtained, and each range interval corresponds to a confidence level range and distance range.
本申请实施方式中,可以先划分置信度范围,然后根据距离结果与距离结果对应的置信度之间的关系,计算每个置信度对应的距离范围即一个范围区间具有对应的距离区间和置信度区间,从而使后续可以根据距离或者置信度来选择行驶决策,增加了选择行驶决策时可用的感知范围,提高车辆的安全性和稳定性,提高用户体验。In the embodiment of the present application, the confidence range can be divided first, and then the distance range corresponding to each confidence degree is calculated according to the relationship between the distance result and the confidence degree corresponding to the distance result, that is, a range interval has a corresponding distance interval and confidence degree Therefore, the driving decision can be selected according to the distance or confidence in the future, which increases the available perception range when choosing the driving decision, improves the safety and stability of the vehicle, and improves the user experience.
在一种可能的实施方式中,若至少一个范围区间是根据传感器输出的距离结果对监测范围进行划分得到,则可以直接对感知信息所包括的第一距离与每个范围区间对应的距离范围进行匹配,筛选出与第一距离匹配的范围区间。In a possible implementation, if at least one range interval is obtained by dividing the monitoring range according to the distance result output by the sensor, the first distance included in the sensing information and the distance range corresponding to each range interval can be directly performed. Match, filter out the range interval that matches the first distance.
在另一种可能的实施方式中,若至少一个范围区间是根据传感器输出的距离结果对应的置信度划分得到的,每个范围区间对应了一个置信度范围,则可以对感知信息所包括的第一置信度与每个范围区间对应的距离范围进行匹配,从而筛选出与该第一置信度匹配的范围区间。In another possible implementation, if at least one range interval is obtained according to the confidence level corresponding to the distance result output by the sensor, and each range interval corresponds to a confidence level range, the first range included in the sensing information can be divided into A confidence level is matched with a distance range corresponding to each range interval, so as to filter out a range interval matching the first confidence level.
在另一种可能的实施方式中,若至少一个范围区间时根据距离结果划分的,而感知信息中包括了第一置信度和前述的距离结果与距离结果对应的置信度之间的关系,则可以根据该距离结果与距离结果对应的置信度之间的关系计算与该第一置信度对应的第一距离,然后对该第一距离与每个范围区间对应的距离范围进行匹配,从而得到与该第一距离匹配的范围区间。In another possible implementation, if at least one range interval is divided according to the distance result, and the perception information includes the relationship between the first confidence level and the aforementioned distance result and the confidence level corresponding to the distance result, then The first distance corresponding to the first confidence degree can be calculated according to the relationship between the distance result and the confidence degree corresponding to the distance result, and then the first distance is matched with the distance range corresponding to each range interval, so as to obtain the The range interval in which the first distance matches.
在一种可能的实施方式中,本申请提供的行驶决策选择方法还可以包括:获取传感器采集到的历史距离信息历史距离信息以及对应的置信度;根据历史距离信息和对应的置信度获取距离结果与距离结果对应的置信度之间的关系。In a possible implementation manner, the driving decision selection method provided by the present application may further include: acquiring historical distance information collected by a sensor, historical distance information, and corresponding confidence; obtaining a distance result according to the historical distance information and corresponding confidence The relationship between the confidence levels corresponding to the distance results.
本申请实施方式中,可以根据传感器采集到的历史距离信息历史距离信息以及对应的置信度,统计传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,以进行后续的范围区间的划分,从而确定个范围区间所对应的置信度范围和距离范围。In the embodiment of the present application, the relationship between the distance result included in the output information of the sensor and the confidence degree corresponding to the distance result can be counted according to the historical distance information and the corresponding confidence degree collected by the sensor, so as to carry out the follow-up The division of the range interval, so as to determine the confidence range and distance range corresponding to each range interval.
在一种可能的实施方式中,在选择车辆的行驶决策时,可以根据车辆的车速,以及障碍物的速度,计算车辆与障碍物的相对速度,障碍物的速度可以是根据一段时间内获取到 的感知信息计算得到的;然后结合相对速度从第一范围区间对应的至少一个行驶决策中筛选出车辆的行驶决策。In a possible implementation, when selecting the driving decision of the vehicle, the relative speed of the vehicle and the obstacle can be calculated according to the speed of the vehicle and the speed of the obstacle, and the speed of the obstacle can be obtained according to a period of time. Then, the driving decision of the vehicle is selected from at least one driving decision corresponding to the first range interval in combination with the relative speed.
本申请实施方式中,在选择行驶决策时,可以结合车辆和障碍物之间的相对速度,选择车辆的行驶决策,更准确地选择车辆的行驶决策,进一步提高车辆行驶的安全性。In the embodiment of the present application, when selecting the driving decision, the driving decision of the vehicle can be selected in combination with the relative speed between the vehicle and the obstacle, so as to select the driving decision of the vehicle more accurately, and further improve the driving safety of the vehicle.
在一种可能的实施方式中,每个范围区间对应的至少一个行驶决策为根据应用场景确定,该应用场景可以包括但不限于:自动巡航、跟车或者自动泊车等场景。第二方面,本申请提供一种行驶决策选择装置,该行驶决策选择装置具有实现上述第一方面行驶决策选择方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a possible implementation, at least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario may include, but is not limited to, scenarios such as automatic cruise, car following, or automatic parking. In a second aspect, the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the first aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第二方面,本申请提供一种行驶决策选择装置,该行驶决策选择装置具有实现上述第一方面行驶决策选择方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a second aspect, the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the first aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第三方面,本申请提供一种行驶决策选择方法,包括:获取至少一个范围区间,该至少一个范围区间中的每个范围区间对应置信度范围和距离范围,该至少一个范围区间所包括的距离范围覆盖传感器的检测范围,所述至少一个置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度;然后,设定与至少一个范围区间中每个范围区间的至少一个行驶决策,每个范围区间和每个范围区间对应的至少一个行驶决策用于选择车辆的行驶决策,车辆的行驶决策用于生成车辆的行车路径。In a third aspect, the present application provides a driving decision selection method, comprising: acquiring at least one range interval, each range interval in the at least one range interval corresponds to a confidence range and a distance range, and the distance included in the at least one range interval The range covers the detection range of the sensor, and the at least one confidence range covers the confidence level of the information detected by the sensor within the detection range; decision, each range section and at least one driving decision corresponding to each range section are used to select the driving decision of the vehicle, and the driving decision of the vehicle is used to generate the driving path of the vehicle.
本申请实施例中,将传感器的检测范围划分了一个或者多个距离范围,每个距离范围具有相应的置信度范围,一个范围区间对应一个距离范围和一个置信度范围,每个范围区间对应至少一个行驶决策。在选择行驶决策的过程中,可以使用置信度或者距离进行匹配,并按照固定的规则设定每个范围区间的行驶决策,如加速、减速、保持车速或者变道等决策,并控制车辆按照该行驶决策行驶。通常传感器检测到的物体的距离越远,置信度也就越低。因此,本申请提供的行驶决策选择方法中,在选择行驶决策的过程中,可以使用感知到的更远的距离来选择行驶决策,可以理解为可以针对更远距离的物体选择行驶决策,使车辆可以对更远的障碍物进行提前规避,提高了车辆的行车安全性,提高用户体验。且对与车辆距离更远的障碍物进行提前规避,可以提前进行加速或者减速等决策,使车辆的行驶过程更平顺,提高用户体验。In the embodiment of the present application, the detection range of the sensor is divided into one or more distance ranges, each distance range has a corresponding confidence range, a range range corresponds to a distance range and a confidence range, and each range range corresponds to at least A driving decision. In the process of choosing a driving decision, you can use confidence or distance for matching, and set driving decisions for each range according to fixed rules, such as acceleration, deceleration, maintaining the speed or changing lanes, etc. Driving decision driving. Generally, the farther away the object is detected by the sensor, the lower the confidence level. Therefore, in the driving decision selection method provided by the present application, in the process of selecting a driving decision, the driving decision can be selected by using a perceived farther distance, which can be understood as a driving decision can be selected for objects with a longer distance, so that the vehicle Further obstacles can be avoided in advance, which improves the driving safety of the vehicle and improves the user experience. In addition, the obstacle that is farther away from the vehicle can be avoided in advance, and decisions such as acceleration or deceleration can be made in advance, so that the driving process of the vehicle is smoother and the user experience is improved.
在一种可能的实施方式中,获取至少一个范围区间,可以包括:首先,对传感器的检测范围进行划分,得到至少一个距离范围,并根据传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,计算每个距离度范围对应的置信度范围,一个范围区间对应一个置信度范围和一个距离范围。In a possible implementation manner, acquiring at least one range interval may include: first, dividing the detection range of the sensor to obtain at least one distance range, and corresponding to the distance result according to the distance result included in the output information of the sensor The relationship between the confidence levels, calculate the confidence range corresponding to each distance range, and a range interval corresponds to a confidence range and a distance range.
因此,本申请实施方式中,可以基于车辆与物体的距离来对传感器的检测范围进行划分,得到一个或者多个距离范围,并根据每个距离范围对应的置信度范围,得到至少一个范围区间。即一个范围区间具有对应的距离区间和置信度区间,从而使后续可以根据更远距离或者更低置信度来选择行驶决策,相当于增加了选择行驶决策时可用的感知范围,提高车辆的安全性和稳定性,提高用户体验。Therefore, in the embodiments of the present application, the detection range of the sensor can be divided based on the distance between the vehicle and the object to obtain one or more distance ranges, and at least one range interval can be obtained according to the confidence range corresponding to each distance range. That is, a range interval has a corresponding distance interval and a confidence interval, so that the driving decision can be selected based on a longer distance or a lower confidence in the future, which is equivalent to increasing the available perception range when choosing a driving decision and improving the safety of the vehicle. and stability to improve user experience.
在一种可能的实施方式中,获取至少一个范围区间,可以包括:对传感器可检测到的置信度的范围进行划分得到至少一个置信度范围,并根据传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系计算每个置信度范围对应的距离范围一个范围区间对应一个置信度范围和一个距离范围。In a possible implementation manner, acquiring at least one range interval may include: dividing the range of confidence levels that can be detected by the sensor to obtain at least one confidence level range, and according to the distance result included in the output information of the sensor and the range The relationship between the confidence levels corresponding to the distance results is calculated. The distance range corresponding to each confidence level range is calculated. A range interval corresponds to a confidence range and a distance range.
因此,本申请实施方式中,可以基于置信度进行划分,得到一个或者多个置信度范围。通常,置信度与距离之间具有对应关系,每个置信度范围具有对应的距离范围,该置信度范围和距离范围即可组成对传感器的感知范围划分得到的一个或者多个范围区间。Therefore, in the embodiments of the present application, one or more confidence ranges may be obtained by dividing based on the confidence. Usually, there is a correspondence between confidence and distance, each confidence range has a corresponding distance range, and the confidence range and distance range can constitute one or more range intervals obtained by dividing the sensing range of the sensor.
在一种可能的实施方式中,在设定了与至少一个范围区间中每个范围区间对应的至少一个行驶决策之后,上述方法还包括:获取车辆中设置的传感器采集到的感知信息,该感知信息中可以包括障碍物的信息,如车辆与障碍物之间的第一距离;从至少一个范围区间中选择出与该感知信息匹配的范围区间,并结合车辆的车速从第一范围区间的至少一个行驶决策,选择出车辆的行驶决策,并控制车辆根据该行驶决策行驶,以使车辆按照该行驶决策行驶。In a possible implementation manner, after setting at least one driving decision corresponding to each range interval in the at least one range interval, the above method further includes: acquiring sensing information collected by a sensor set in the vehicle, the sensing The information may include information on obstacles, such as the first distance between the vehicle and the obstacle; select a range interval that matches the perception information from at least one range interval, and combine the speed of the vehicle to select a range interval from at least one of the first range interval. In a driving decision, the driving decision of the vehicle is selected, and the vehicle is controlled to travel according to the driving decision, so that the vehicle travels according to the driving decision.
因此,在本申请实施方式中,在选择车辆的行驶决策的过程中,可以基于前述划分得到的至少一个范围区间中每个范围区间对应的至少一个行驶决策,来选择车辆的行驶决策。相对于仅使用置信度较高的感知信息来决定车辆的行驶决策,本申请提供的至少一个范围区间所对应的距离范围覆盖了传感器的检测范围,即使感知信息的置信度低,也可以使用该感知信息,相当于可以根据更远距离或者更低置信度来选择行驶决策,从而使得可以使用更大的感知范围选择行驶决策,进而规划出车辆的行车路径,可以对更远的物体进行感知,从而规划出更准确以及更安全的行车路径。Therefore, in the embodiment of the present application, in the process of selecting the driving decision of the vehicle, the driving decision of the vehicle may be selected based on at least one driving decision corresponding to each range interval in the at least one range interval obtained by the foregoing division. Compared with only using perceptual information with a high degree of confidence to decide the driving decision of the vehicle, the distance range corresponding to at least one range interval provided in this application covers the detection range of the sensor, even if the perceptual information has a low degree of confidence, this Perceptual information is equivalent to selecting driving decisions based on a longer distance or lower confidence, so that driving decisions can be selected using a larger perception range, and then the driving path of the vehicle can be planned. In this way, a more accurate and safer driving path can be planned.
在一种可能的实施方式中,感知信息中包括障碍物与车辆的距离,根据感知信息以及每个范围区间对应的至少一个行驶决策,选择车辆的行驶决策,可以包括:筛选出障碍物和车辆的距离在在第一范围区间的距离范围内;然后,结合车辆的车速从第一范围区间的至少一个行驶决策中选择车辆的行驶决策。In a possible implementation, the perception information includes the distance between the obstacle and the vehicle, and according to the perception information and at least one driving decision corresponding to each range interval, selecting the driving decision of the vehicle may include: filtering out the obstacles and the vehicle The distance of is within the distance range in the first range interval; then, a driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle.
因此,在本申请实施方式中,每个范围区间具有对应的行驶决策,从而可以根据传感器检测到的物体的距离选择与之匹配的范围区间,并根据该范围区间对应的一个或多个行驶决策选择车辆的行驶决策,从而可以基于更大的感知范围,选择车辆的行驶决策。Therefore, in the embodiment of the present application, each range section has a corresponding driving decision, so that a range section that matches the range section can be selected according to the distance of the object detected by the sensor, and one or more driving decisions corresponding to the range section can be selected. The driving decision of the vehicle is selected, so that the driving decision of the vehicle can be selected based on a larger perception range.
在一种可能的实施方式中,感知信息中可以包括置信度;上述的根据感知信息以及每个范围区间对应的至少一个行驶决策,选择车辆的行驶决策,还可以包括:若感知信息所包括的置信度在第一范围区间所对应的置信度范围内,则结合车辆的车速从第一范围区间的至少一个行驶决策中选择车辆的行驶决策。In a possible implementation, the perception information may include a confidence level; the above-mentioned driving decision for selecting the vehicle according to the perception information and at least one driving decision corresponding to each range interval may also include: if the perception information includes If the confidence level is within the confidence level range corresponding to the first range interval, a driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle.
因此,在本申请实施方式中,可以基于感知信息所包括的置信度选择对应的范围区间,进而选择车辆的行驶决策,即使置信度较低,也可以选择车辆的行驶决策,进而针对更远距离或者置信度更低的物体选择行驶决策,提高车辆行驶的安全性。Therefore, in the embodiment of the present application, the corresponding range interval can be selected based on the confidence level included in the perception information, and then the driving decision of the vehicle can be selected. Or objects with lower confidence choose driving decisions to improve the safety of vehicle driving.
在一种可能的实施方式中,可以根据车辆的速度,计算车辆相对于障碍物的相对车速,然后结合该相对车速,从第一范围区间中的至少一个行驶决策中选择车辆的行驶决策。In a possible implementation, the relative speed of the vehicle relative to the obstacle can be calculated according to the speed of the vehicle, and then a driving decision of the vehicle is selected from at least one driving decision in the first range in combination with the relative speed.
因此,本申请实施方式中,还可以结合车辆的速度和/或车辆与障碍物的相对速度,更 准确地选择车辆的行驶决策,进一步提高车辆行驶的安全性。Therefore, in the embodiment of the present application, the driving decision of the vehicle can be more accurately selected in combination with the speed of the vehicle and/or the relative speed of the vehicle and the obstacle, thereby further improving the safety of the driving of the vehicle.
在一种可能的实施方式中,感知信息中所包括的置信度与传感器与障碍物的距离相关。通常,传感器感知到的信息随着距离的增加,置信度也就越低。In a possible implementation, the confidence level included in the perception information is related to the distance between the sensor and the obstacle. In general, the information perceived by the sensor increases with distance, and the confidence level decreases.
在一种可能的实施方式中,获取传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,可以包括:获取传感器采集到的历史距离信息历史距离信息以及对应的置信度;根据历史距离信息和对应的置信度传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系。In a possible implementation manner, acquiring the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result may include: acquiring historical distance information collected by the sensor, historical distance information and corresponding confidence degree; according to the relationship between the distance result included in the historical distance information and the output information of the corresponding confidence level sensor and the confidence level corresponding to the distance result.
因此,本申请实施方式中,可以根据传感器采集到的历史距离信息历史距离信息以及对应的置信度,统计传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,以完成后续的范围区间的划分。Therefore, in the embodiment of the present application, the relationship between the distance result included in the output information of the sensor and the confidence degree corresponding to the distance result can be counted according to the historical distance information and the corresponding confidence degree collected by the sensor, to obtain Complete the subsequent division of the range interval.
第四方面,本申请提供一种行驶决策选择装置,该行驶决策选择装置具有实现上述第三方面行驶决策选择方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, the present application provides a driving decision selection device, which has the function of implementing the driving decision selection method of the third aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第五方面,本申请实施例提供一种行驶决策选择装置,该行驶决策选择装置具有实现上述第一方面或第三方面行驶决策选择方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, an embodiment of the present application provides a driving decision selection device, the driving decision selection device has the function of implementing the driving decision selection method of the first aspect or the third aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第六方面,本申请实施例提供一种行驶决策选择装置,包括:处理器和存储器,其中,处理器和存储器通过线路互联,处理器调用存储器中的程序代码用于执行上述第一方面或第三方面任一项所示的行驶决策选择方法中与处理相关的功能。In a sixth aspect, an embodiment of the present application provides a driving decision and selection device, including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor invokes program codes in the memory to execute the first aspect or the first aspect. A function related to processing in the driving decision selection method shown in any one of the three aspects.
第七方面,本申请实施例提供了一种行驶决策选择装置,该行驶决策选择装置也可以称为数字处理芯片或者芯片,芯片包括处理单元和通信接口,处理单元通过通信接口获取程序指令,程序指令被处理单元执行,处理单元用于执行如上述第一方面、第一方面任一可选实施方式、第三方面或第三方面任一可选实施方式中与处理相关的功能。In a seventh aspect, an embodiment of the present application provides a driving decision and selection device, which may also be called a digital processing chip or a chip. The chip includes a processing unit and a communication interface. The processing unit obtains program instructions through the communication interface. The instructions are executed by a processing unit, and the processing unit is configured to perform processing-related functions in the first aspect, any optional implementation manner of the first aspect, the third aspect, or any optional implementation manner of the third aspect.
可选地,前述的行驶决策选择装置可以是芯片或者车辆等。Optionally, the aforementioned driving decision selection device may be a chip or a vehicle or the like.
第八方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述第一方面、第一方面任一可选实施方式、第三方面或第三方面任一可选实施方式中的方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, which, when run on a computer, cause the computer to execute the first aspect, any optional implementation manner of the first aspect, and the third aspect or the method in any optional embodiment of the third aspect.
第九方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面、第一方面任一可选实施方式、第三方面或第三方面任一可选实施方式中的方法。In a ninth aspect, the embodiments of the present application provide a computer program product containing instructions, which, when run on a computer, enables the computer to execute the first aspect, any optional implementation manner of the first aspect, the third aspect or the third aspect. The method in any optional embodiment of the three aspects.
附图说明Description of drawings
图1为本申请实施例提供的一种车辆的结构示意图;1 is a schematic structural diagram of a vehicle according to an embodiment of the present application;
图2为本申请实施例提供的一种行驶决策选择方法的流程示意图;2 is a schematic flowchart of a driving decision selection method provided by an embodiment of the present application;
图3A为本申请实施例中的一种规划行车路径的场景示意图;3A is a schematic diagram of a scenario of planning a driving path according to an embodiment of the application;
图3B为本申请实施例中的另一种规划行车路径的场景示意图;3B is a schematic diagram of another scenario of planning a driving path in an embodiment of the present application;
图3C为本申请实施例中的另一种规划行车路径的场景示意图;3C is a schematic diagram of another scenario of planning a driving path in an embodiment of the present application;
图4A为本申请实施例中的一种范围区间的示意图;4A is a schematic diagram of a range interval in an embodiment of the present application;
图4B为本申请实施例中的另一种范围区间的示意图;4B is a schematic diagram of another range interval in an embodiment of the present application;
图5为本申请实施例中的另一种范围区间的示意图;5 is a schematic diagram of another range interval in the embodiment of the application;
图6A为本申请实施例中的一种泊车场景示意图;6A is a schematic diagram of a parking scene in an embodiment of the present application;
图6B为本申请实施例中的另一种泊车场景下的驾驶舱示意图;6B is a schematic diagram of a cockpit in another parking scene according to an embodiment of the present application;
图6C为本申请实施例中的另一种泊车场景下的显示界面示意图;6C is a schematic diagram of a display interface in another parking scene according to an embodiment of the present application;
图6D为本申请实施例中的另一种泊车场景示意图;6D is a schematic diagram of another parking scene in an embodiment of the present application;
图7为本申请实施例提供的一种行驶决策选择装置的结构示意图;FIG. 7 is a schematic structural diagram of a driving decision selection device provided by an embodiment of the present application;
图8为本申请实施例提供的另一种行驶决策选择装置的结构示意图;FIG. 8 is a schematic structural diagram of another driving decision selection device provided by an embodiment of the present application;
图9为本申请实施例提供的另一种行驶决策选择装置的结构示意图;FIG. 9 is a schematic structural diagram of another driving decision selection device provided by an embodiment of the present application;
图10为本申请实施例提供的一种芯片的结构示意图。FIG. 10 is a schematic structural diagram of a chip according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
本申请实施例提供的行驶决策选择方法可以应用于各种规划路径的场景。示例性地,本申请可以应用于为车辆选择行驶决策的场景,或者,本申请提供的行驶决策选择方法可以由车辆来执行。此外,本申请也可以应用于对各类机器人进行路径规划的场景,例如货运机器人、探测机器人、扫地机器人或其他类型的机器人,此处以货运机器人为例对应用场景作进一步描述,当货运机器人在进行运输时,需要为货运机器人规划路径,从而安全稳定地完成运输。The driving decision selection method provided in the embodiment of the present application can be applied to various scenarios of planning a route. Exemplarily, the present application may be applied to a scenario of selecting a driving decision for a vehicle, or the driving decision selection method provided by the present application may be performed by a vehicle. In addition, the present application can also be applied to scenarios of path planning for various types of robots, such as cargo robots, detection robots, sweeping robots or other types of robots. When carrying out transportation, it is necessary to plan a path for the freight robot to complete the transportation safely and stably.
下面结合附图,对本申请的实施例进行描述。本领域普通技术人员可知,随着技术的发展和新场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments of the present application will be described below with reference to the accompanying drawings. Those of ordinary skill in the art know that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
为了便于理解本方案,本申请实施例中首先结合图1对本申请提供的车辆的结构进行介绍。请先参阅图1,图1为本申请实施例提供的车辆的一种结构示意图,车辆100可以配置为自动驾驶模式。例如,车辆100可以在处于自动驾驶模式中的同时控制自身,并且可通过人为操作来确认车辆及其周边环境的当前状态,确定周边环境中的是否存在障碍物,基于障碍物的信息来控制车辆100。在车辆100处于自动驾驶模式中时,也可以将车辆100置为在没有和人交互的情况下操作。In order to facilitate understanding of the solution, in the embodiment of the present application, the structure of the vehicle provided by the present application is first introduced with reference to FIG. 1 . Please refer to FIG. 1 first. FIG. 1 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle 100 may be configured in an automatic driving mode. For example, the vehicle 100 can control itself while in the autonomous driving mode, and can confirm the current state of the vehicle and its surrounding environment through human operation, determine whether there are obstacles in the surrounding environment, and control the vehicle based on the information of the obstacles 100. The vehicle 100 may also be placed to operate without human interaction when the vehicle 100 is in an autonomous driving mode.
车辆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 components. Additionally, each of the subsystems and components of the vehicle 100 may be wired or wirelessly interconnected.
行进系统102可包括为车辆100提供动力运动的组件。在一个实施例中,行进系统102可包括引擎118、能量源119、传动装置120和车轮/轮胎121。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 .
其中,引擎118可以是内燃引擎、电动机、空气压缩引擎或其他类型的引擎组合,例如,汽油发动机和电动机组成的混动引擎,内燃引擎和空气压缩引擎组成的混动引擎。引擎118将能量源119转换成机械能量。能量源119的示例包括汽油、柴油、其他基于石油的燃料、丙烷、其他基于压缩气体的燃料、乙醇、太阳能电池板、电池和其他电力来源。能量源119也可以为车辆100的其他系统提供能量。传动装置120可以将来自引擎118的机械动力传送到车轮121。传动装置120可包括变速箱、差速器和驱动轴。在一个实施例中,传动装置120还可以包括其他器件,比如离合器。其中,驱动轴可包括可耦合到一个或多个车轮121的一个或多个轴。The engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or other types of engine combinations, such as a hybrid engine composed of a gasoline engine and an electric motor, and a hybrid engine composed of an internal combustion engine and an air compression 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. 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(定位系统可以是全球定位GPS系统,也可以是北斗系统或者其他定位系统)、惯性测量单元(inertial measurement unit,IMU)124、雷达126、激光测距仪128以及相机130。传感器系统104还可包括被监视车辆100的内部系统的传感器(例如,车内空气质量监测器、燃油量表、机油温度表等)。来自这些传感器中的一个或多个的传感数据可用于检测对象及其相应特性(位置、形状、方向、速度等)。这种检测和识别是自主车辆100的安全操作的关键功能。在本申请以下实施方式中提及的传感器,即可以是雷达126、激光测距仪128或者相机130等。The sensor system 104 may include several sensors that sense information about the environment surrounding the vehicle 100 . For example, the sensor system 104 may include a positioning system 122 (the positioning system may be a global positioning GPS system, a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a 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.). Sensing data from one or more of these sensors can be used to detect objects and their corresponding properties (position, shape, orientation, velocity, etc.). This detection and identification is a critical function for the safe operation of the autonomous vehicle 100 . The sensors mentioned in the following embodiments of the present application may be the radar 126 , the laser rangefinder 128 or the camera 130 or the like.
其中,定位系统122可用于估计车辆100的地理位置。IMU 124用于基于惯性加速度来感知车辆100的位置和朝向变化。在一个实施例中,IMU 124可以是加速度计和陀螺仪的组合。雷达126可利用无线电信号来感知车辆100的周边环境内的物体,具体可以表现为毫米波雷达或激光雷达。在一些实施例中,除了感知物体以外,雷达126还可用于感知物体的速度和/或前进方向。激光测距仪128可利用激光来感知车辆100所位于的环境中的物体。在一些实施例中,激光测距仪128可包括一个或多个激光源、激光扫描器以及一个或多个检测器,以及其他系统组件。相机130可用于捕捉车辆100的周边环境的多个图像。相机130可以是静态相机或视频相机。Among others, 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. The radar 126 can use radio signals to perceive objects in the surrounding environment of the vehicle 100 , and can specifically be expressed as a millimeter-wave radar or a lidar. In some embodiments, in addition to sensing objects, radar 126 may be used to sense the speed and/or heading of objects. The laser rangefinder 128 may utilize the 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. 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 components including steering system 132 , throttle 134 , braking unit 136 , computer vision system 140 , line control system 142 , and obstacle avoidance system 144 .
其中,转向系统132可操作来调整车辆100的前进方向。例如在一个实施例中可以为方向盘系统。油门134用于控制引擎118的操作速度并进而控制车辆100的速度。制动单元136用于控制车辆100减速。制动单元136可使用摩擦力来减慢车轮121。在其他实施例中,制动单元136可将车轮121的动能转换为电流。制动单元136也可采取其他形式来减慢车轮121转速从而控制车辆100的速度。计算机视觉系统140可以操作来处理和分析由相机130捕捉的图像以便识别车辆100周边环境中的物体和/或特征。所述物体和/或特征可包括交通信号、道路边界和障碍体。计算机视觉系统140可使用物体识别算法、运动中恢复结构(Structure from Motion,SFM)算法、视频跟踪和其他计算机视觉技术。在一些实施例中,计算机视觉系统140可以用于为环境绘制地图、跟踪物体、估计物体的速度等等。线路控制系统142用于规划车辆100的行驶路线以及行驶速度。在一些实施例中, 线路控制系统142可以包括横向规划模块1421和纵向规划模块1422,横向规划模块1421和纵向规划模块1422分别用于结合来自障碍避免系统144、GPS 122和一个或多个预定地图的数据为车辆100规划行驶路线和行驶速度。障碍避免系统144用于识别、评估和避免或者以其他方式越过车辆100的环境中的障碍体,前述障碍体具体可以表现为实际障碍体和可能与车辆100发生碰撞的虚拟移动体。在一个实例中,控制系统106可以增加或替换地包括除了所示出和描述的那些以外的组件。或者也可以减少一部分上述示出的组件。Among other things, 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. 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 . 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 . 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. The route control system 142 is used to plan the travel route and travel speed of the vehicle 100 . In some embodiments, the route control system 142 may include a lateral planning module 1421 and a longitudinal planning module 1422, respectively, for combining information from the obstacle avoidance system 144, the GPS 122, and one or more predetermined maps The data for the vehicle 100 plans the driving route and driving speed. Obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise traverse obstacles in the environment of vehicle 100 , which may be embodied as actual obstacles and virtual moving bodies that may collide with vehicle 100 . In one example, the control system 106 may additionally or alternatively include components in addition to those shown and described. Alternatively, some of the components shown above may be reduced.
车辆100通过外围设备108与外部传感器、其他车辆、其他计算机系统或用户之间进行交互。外围设备108可包括无线通信系统146、车载电脑148、麦克风150和/或扬声器152。在一些实施例中,外围设备108为车辆100的用户提供与用户接口116交互的手段。例如,车载电脑148可向车辆100的用户提供信息。用户接口116还可操作车载电脑148来接收用户的输入。车载电脑148可以通过触摸屏进行操作。在其他情况中,外围设备108可提供用于车辆100与位于车内的其它设备通信的手段。例如,麦克风150可从车辆100的用户接收音频(例如,语音命令或其他音频输入)。类似地,扬声器152可向车辆100的用户输出音频。无线通信系统146可以直接地或者经由通信网络来与一个或多个设备无线通信。例如,无线通信系统146可使用3G蜂窝通信,例如码分多址(code division multiple access,CDMA)、EVD0、全球移动数据传输系统(global system for mobile communication,GSM)/通用无线分组业务(general packet radio service,GPRS),或者4G蜂窝通信,例如LTE。或者第五代移动通信技术(5th-Generation,5G)通信。无线通信系统146可利用无线局域网(wireless local area network,WLAN)通信。在一些实施例中,无线通信系统146可利用红外链路、蓝牙或ZigBee与设备直接通信。其他无线协议,例如各种车辆通信系统,例如,无线通信系统146可包括一个或多个专用短程通信(dedicated short range communications,DSRC)设备,这些设备可包括车辆和/或路边台站之间的公共和/或私有数据通信。 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 . 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 . 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), EVDO, global system for mobile communication (GSM)/general packet radio service, GPRS), or 4G cellular communications such as LTE. Or the fifth generation mobile communication technology (5th-Generation, 5G) communication. The wireless communication system 146 may communicate using a wireless local area network (WLAN). 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的个体组件或子系统的多个计算设备。处理器113可以是任何常规的处理器,诸如商业可获得的中央处理器(central processing unit,CPU)。可选地,处理器113可以是诸如专用集成电路(application specific integrated circuit,ASIC)或其它基于硬件的处理器的专用设备。尽管图1功能性地图示了处理器、存储器、和在相同块中的计算机系统112的其它部件,但是本领域的普通技术人员应该理解该处理器、或存储器实际上可以包括不存储在相同的物理外壳内的多个处理器、或存储器。例如,存储器114可以是硬盘驱动器或位于不同于计算机系统112的外壳内的其它存储介质。因此,对处理器113或存储器114的引用将被理解为包括 可以并行操作或者可以不并行操作的处理器或存储器的集合的引用。不同于使用单一的处理器来执行此处所描述的步骤,诸如转向组件和减速组件的一些组件每个都可以具有其自己的处理器,所述处理器只执行与特定于组件的功能相关的计算。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 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 113 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 components of the computer system 112 in the same block, one of ordinary skill in the art will understand that the processor, or memory, may actually include not stored in the same Multiple processors, or memories, within a physical enclosure. For example, memory 114 may be a hard drive or other storage medium located within a different enclosure than computer system 112 . Accordingly, references to processor 113 or memory 114 will be understood to include references to sets of processors 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 .
在此处所描述的各个方面中,处理器113可以位于远离车辆100并且与车辆100进行无线通信。在其它方面中,此处所描述的过程中的一些在布置于车辆100内的处理器113上执行而其它则由远程处理器113执行,包括采取执行单一操纵的必要步骤。In various aspects described herein, the processor 113 may be located remotely from the vehicle 100 and communicate wirelessly with the vehicle 100 . In other aspects, some of the processes described herein are performed on a processor 113 disposed within the vehicle 100 while others are performed by a remote processor 113, including taking the necessary steps to perform a single maneuver.
在一些实施例中,存储器114可包含指令115(例如,程序逻辑),指令115可被处理器113执行来执行车辆100的各种功能,包括以上描述的那些功能。存储器114也可包含额外的指令,包括向行进系统102、传感器系统104、控制系统106和外围设备108中的一个或多个发送数据、从其接收数据、与其交互和/或对其进行控制的指令。除了指令115以外,存储器114还可存储数据,例如道路地图、路线信息,车辆的位置、方向、速度以及其它这样的车辆数据,以及其他信息。这种信息可在车辆100在自主、半自主和/或手动模式中操作期间被车辆100和计算机系统112使用。用户接口116,用于向车辆100的用户提供信息或从其接收信息。可选地,用户接口116可包括在外围设备108的集合内的一个或多个输入/输出设备,例如无线通信系统146、车载电脑148、麦克风150或扬声器152等。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. 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. A user interface 116 for providing information to or receiving information from a user of the vehicle 100 . Optionally, the user interface 116 may include one or more input/output devices within the set of peripheral devices 108, such as a wireless communication system 146, an onboard computer 148, a microphone 150 or a speaker 152, and the like.
计算机系统112可基于从各种子系统(例如,行进系统102、传感器系统104和控制系统106)以及从用户接口116接收的输入来控制车辆100的功能。例如,计算机系统112可以用个can总线和车辆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, the computer system 112 may communicate with other systems or components within the vehicle 100 using a can bus, such as the computer system 112 may utilize input from the control system 106 to control the steering system 132 to avoid interference by the sensor system 104 and the obstacle avoidance system 144 Obstacles detected. 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不应理解为对本申请实施例的限制。本申请提供的行驶决策选择方法,可以由计算机系统112、雷达126、激光测距仪130或者外围设备,如车载电脑148或者其他车载终端等来执行。例如,本申请提供的行驶决策选择方法可以由车载电脑148来执行,车载电脑148可以为车辆选择行驶决策以及规划行车路径,并根据行车路径生成控制指令,将控制指令发送至计算机系统112,由计算机系统112控制车辆的控制系统106中的转向系统132、油门134、制动单元136、计算机视觉系统140、线路控制系统142或者障碍避免系统144等,从而实现车辆的自动驾驶。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 embodiments of the present application. The driving decision selection method provided by the present application may be executed by the computer system 112 , the radar 126 , the laser rangefinder 130 or peripheral devices such as the on-board computer 148 or other on-board terminals. For example, the driving decision selection method provided by the present application can be executed by the on-board computer 148. The on-board computer 148 can select the driving decision and plan the driving path for the vehicle, and generate control instructions according to the driving path, and send the control instructions to the computer system 112 by The computer system 112 controls the steering system 132 , the accelerator 134 , the braking unit 136 , the computer vision system 140 , the line control system 142 or the obstacle avoidance system 144 in the control system 106 of the vehicle, thereby realizing the automatic driving of the vehicle.
上述车辆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 application examples are not particularly limited.
决策与规划,是自动驾驶技术中的一个重要组成模块。现阶段,自动驾驶系统的主流 技术框架如下图所示,一般由上游的感知模块输出环境和一些关键目标物的位置信息,经过决策与规划模块,生成对车辆的控制目标,如控制车辆的参考路径或参考轨迹等,输出给下游的控制环节,来完成闭环控制。在决策与规划模块的决策与规划过程中,通常会包括对自身的运动轨迹进行估计的过程,也可能会含有对其它目标的运动轨迹进行估计的过程。决策与规划模块连同控制模块,通常在安全、稳定、快速和准确的前提下,实现对车辆的控制。Decision-making and planning are an important component of autonomous driving technology. At this stage, the mainstream technical framework of the automatic driving system is shown in the figure below. Generally, the upstream perception module outputs the environment and the position information of some key objects. After the decision-making and planning module, the control target for the vehicle is generated, such as the reference for controlling the vehicle. The path or reference trajectory, etc., is output to the downstream control link to complete the closed-loop control. In the decision-making and planning process of the decision-making and planning module, it usually includes a process of estimating its own motion trajectory, and may also include a process of estimating the motion trajectories of other targets. The decision and planning module, together with the control module, usually realizes the control of the vehicle under the premise of safety, stability, speed and accuracy.
通常,在车辆的行车路径规划的过程中,可以将传感器采集到的信息经处理后得到感知信息,包括车辆周围的物体的信息,如车辆的感知范围内的物体的位置、大小或者与车辆的距离等,然后根据感知信息对车辆的行车路径进行规划。感知信息通常可以包括确定型感知信息或者概率型感知信息。确定型感知信息即置信度大于阈值的感知信息,如置信度大于95%的感知信息即为确定型感知信息,概率型感知信息即包括了感知到的信息和置信度的信息。Usually, in the process of planning the driving path of the vehicle, the information collected by the sensor can be processed to obtain the perception information, including the information of the objects around the vehicle, such as the position and size of the objects within the perception range of the vehicle or the relationship with the vehicle. distance, etc., and then plan the driving path of the vehicle according to the perception information. The perception information may generally include deterministic perception information or probabilistic perception information. Deterministic perceptual information is perceptual information with a confidence level greater than a threshold. For example, perceptual information with a confidence level greater than 95% is deterministic perceptual information, and probabilistic perceptual information includes perceptual information and confidence level information.
通常,障碍物的感知信息的置信度与传感器与该障碍物的距离、环境、障碍物的大小等相关,例如,传感器与障碍物的距离越远,障碍物的感知信息的置信度越低,而传感器与障碍物的距离越近,障碍物的感知信息的置信度越低高。因此,若仅采用确定型感知信息,则可能因确定型感知信息对应的感知范围受限,导致规划的行车路径不稳定,不能对更远距离的路障进行提前规划,降低用户体验。Usually, the confidence of the perception information of an obstacle is related to the distance between the sensor and the obstacle, the environment, the size of the obstacle, etc. For example, the farther the distance between the sensor and the obstacle, the lower the confidence of the perception information of the obstacle. The closer the distance between the sensor and the obstacle, the lower the confidence of the perception information of the obstacle. Therefore, if only deterministic sensing information is used, the sensing range corresponding to the deterministic sensing information may be limited, resulting in unstable planned driving paths, and it is impossible to plan ahead for longer distance roadblocks, reducing user experience.
因此,本申请提供一种行驶决策选择方法,用于为规划行车路径提供更远的感知范围,提高用户体验。下面对本申请提供的行驶决策选择方法进行详细说明。Therefore, the present application provides a driving decision selection method, which is used to provide a farther perception range for planning a driving path and improve user experience. The driving decision selection method provided by the present application will be described in detail below.
请参阅图2,本申请提供的一种行驶决策选择方法的流程示意图,如下所述。Please refer to FIG. 2 , a schematic flowchart of a driving decision selection method provided by the present application, as described below.
201、获取至少一个范围区间。201. Obtain at least one range interval.
其中,该至少一个范围区间时基于传感器的输出信息对传感器的检测范围进行划分得到,传感器的输出信息可以包括但不限于目标物(为便于理解,以下称为障碍物)的距离结果、距离结果对应的置信度或者距离结果与对应的置信度之间的关系等中的一个或者多个。该距离结果可以是传感器监测到的障碍物和车辆之间的距离,置信度用于表示该距离的准确程度。该至少一个范围区间所对应的距离范围覆盖了传感器的检测范围。例如,若传感器的检测范围覆盖了以传感器为中心,半径200米的范围,该检测范围包括了多个距离范围,如0-50米为一个距离范围,50-150为一个距离范围,150-200为一个距离范围。并在,在本申请中的划分方式中,对于两个范围区间的临界值,可以划分至前一个范围区间,也可以划分至后一范围区间,本申请对此不作限定。Wherein, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor may include but not limited to the distance result and distance result of the target (for ease of understanding, hereinafter referred to as obstacles). One or more of the corresponding confidence or the relationship between the distance result and the corresponding confidence, etc. The distance result may be the distance between the obstacle and the vehicle detected by the sensor, and the confidence level is used to indicate the accuracy of the distance. The distance range corresponding to the at least one range interval covers the detection range of the sensor. For example, if the detection range of the sensor covers a range with a radius of 200 meters centered on the sensor, the detection range includes multiple distance ranges, such as 0-50 meters as a distance range, 50-150 as a distance range, 150- 200 is a distance range. In addition, in the division method in the present application, the critical value of the two range intervals may be divided into the former range interval or the latter range interval, which is not limited in this application.
可选地,每个范围区间还对应了一个置信度范围。通常,每个范围区间所对应的置信度范围和距离范围之间具有映射关系,该映射关系可以是传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,该置信度表示传感器检测到的距离结果的准确度,车辆与物体的距离是传感器检测到的车辆与物体的距离。可以理解为,该至少一个范围区间所对应的置信度范围覆盖了传感器在检测范围内检测到的信息的置信度。通常,传感器设置于车辆中,因此,车辆与物体的距离即传感器和物体的距离。例如,传感器在检测范围内可检测到的置信度处于0-100%范围内,该0-100%范围划分为了多个置信度范围, 如0-80%为一个置信度范围,80%-95%为一个置信度范围,95%以上为一个置信度范围。Optionally, each range interval also corresponds to a confidence range. Generally, there is a mapping relationship between the confidence range corresponding to each range interval and the distance range, and the mapping relationship may be the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result. Degrees indicate the accuracy of the distance results detected by the sensor, and vehicle-to-object distance is the vehicle-to-object distance detected by the sensor. It can be understood that the confidence level corresponding to the at least one range interval covers the confidence level of the information detected by the sensor within the detection range. Usually, the sensor is provided in the vehicle, so the distance between the vehicle and the object is the distance between the sensor and the object. For example, the confidence that the sensor can detect within the detection range is in the range of 0-100%, and the 0-100% range is divided into multiple confidence ranges. For example, 0-80% is a confidence range, 80%-95 % is a confidence range, and more than 95% is a confidence range.
该传感器可以是车辆内部设置的传感器,如前述的传感器系统104中的传感器,或者也可以是设置于车辆外部的传感器,如与车辆建立了连接,并设置在车身表面的传感器,具体可以根据实际应用场景进行调整。The sensor may be a sensor installed inside the vehicle, such as the sensor in the aforementioned sensor system 104, or a sensor installed outside the vehicle, such as a sensor connected to the vehicle and installed on the surface of the vehicle body. Adjust the application scene.
具体地,在划分范围区间时,可以通过多种方式划分,下面示例性地,对几种可行的划分方式进行介绍。Specifically, when dividing the range interval, it can be divided in various manners, and several feasible division manners are exemplarily introduced below.
方式一、基于置信度进行划分Method 1: Divide based on confidence
在一种可能的实施方式中,可以基于置信度进行划分。对传感器的检测范围内检测到的物体的置信度的范围,得到一个或者多个置信度范围。即该一个或者多个置信度范围覆盖传感器在检测范围内检测到的信息的置信度。然后基于传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,计算每个置信度范围对应的距离范围。每个范围区间都有对应的置信度范围和距离范围,该至少一个范围区间对应的至少一个距离范围覆盖了传感器的检测范围。In a possible implementation, the division may be based on confidence. One or more confidence ranges are obtained for the range of confidence levels of objects detected within the detection range of the sensor. That is, the one or more confidence ranges cover the confidence of the information detected by the sensor within the detection range. Then, based on the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result, the distance range corresponding to each confidence level range is calculated. Each range interval has a corresponding confidence range and a distance range, and at least one distance range corresponding to the at least one range interval covers the detection range of the sensor.
示例性地,如表1所示,可以将95%-100%划分为范围区间1,将85%-95%划分为范围区间2,依次类推。并且,每个范围区间都有对应的距离范围。通常,因传感器的误差,可能导致每个范围区间对应的距离可能不相同。例如,80米对应的置信度范围可能为93%-96%,因此,范围区间1和范围区间2可能存在部分距离重合,后续在选择行驶决策时,可以基于不重合的置信度范围来选择车辆的行驶决策。Exemplarily, as shown in Table 1, 95%-100% can be divided into range interval 1, 85%-95% can be divided into range interval 2, and so on. Moreover, each range interval has a corresponding distance range. Usually, the distance corresponding to each range interval may be different due to the error of the sensor. For example, the confidence range corresponding to 80 meters may be 93%-96%. Therefore, there may be some distance overlap between range 1 and range 2. When selecting driving decisions, vehicles can be selected based on the confidence range that does not overlap. driving decisions.
区间interval 置信度范围confidence range 距离范围(米)Distance range (meters)
范围区间1range interval 1 (95%,100%](95%, 100%] (0,90](0,90]
范围区间2Range interval 2 (85%,95%](85%, 95%] (70,120](70, 120]
范围区间3Range interval 3 (60%,85%](60%, 85%] (110,170](110, 170]
范围区间4range interval 4 (40%,65%](40%, 65%] (150,220](150, 220]
范围区间5range interval 5 [0,40%][0, 40%] [210,+∞][210, +∞]
表1Table 1
其中,车辆与传感器监测到的物体的距离以及置信度可以是通过预设的感知算法,或者也可以称为感知模型输出得到的。可以通过统计车辆与传感器检测到的物体之间的距离,以及对应的置信度,得到该距离和置信度之间的关系。为便于理解,以下将传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系称为距离和置信度之间的关系。该置信度为传感器检测到的物体的信息的准确度,检测到的物体的信息可以包括物体的大小、位置、运动方向、速度或者与车辆的距离等信息。可以理解为,该置信度可以表示为传感器检测到的物体的大小、位置、运动方向、速度或者与车辆的距离等信息的准确度。The distance and confidence between the vehicle and the object monitored by the sensor may be obtained through a preset perception algorithm, or may also be referred to as an output of a perception model. The relationship between the distance and the confidence can be obtained by counting the distance between the vehicle and the object detected by the sensor, and the corresponding confidence. For ease of understanding, the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result is referred to as the relationship between the distance and the confidence level below. The confidence level is the accuracy of the information of the object detected by the sensor, and the information of the detected object may include information such as the size, position, movement direction, speed, or distance to the vehicle of the object. It can be understood that the confidence can be expressed as the accuracy of information such as the size, position, movement direction, speed, or distance from the vehicle detected by the sensor.
具体地,该为距离和置信度之间的关系可以是线性关系、指数关系、对数关系或者数列等,具体可以根据实际应用场景确定,本申请对此不作限定。Specifically, the relationship between the distance and the confidence may be a linear relationship, an exponential relationship, a logarithmic relationship, or a sequence of numbers, etc., which can be specifically determined according to an actual application scenario, which is not limited in this application.
在一些可能的场景中,同一个传感器可能检测物体的不同信息,如物体的大小、方向、 位置等信息,或者,传感器对于同一距离的不同类型的物体的置信度也可能不相同,例如,若传感器为摄像头,则可能因摄像头的对焦点的限制,导致采集到的图像的部分内容不清晰,导致不同位置的物体的置信度不相同。因此,同一个传感器可能具有多种距离和不同数据类型的置信度之间的关系,如距离和物体大小的置信度之间的关系,距离和物体的方向之间的置信度的关系等,具体可以根据实际应用场景进行调整。为便于理解,在本申请以下实施方式中,仅以其中一种类型的数据的置信度和距离之间的关系进行示例性说明,并不作为限定。In some possible scenarios, the same sensor may detect different information of an object, such as the size, direction, position and other information of the object, or the confidence of the sensor for different types of objects at the same distance may also be different, for example, if If the sensor is a camera, some content of the collected image may be unclear due to the limitation of the focus point of the camera, resulting in different confidence levels of objects at different positions. Therefore, the same sensor may have multiple distances and the relationship between the confidence of different data types, such as the relationship between the distance and the confidence of the size of the object, the relationship between the distance and the confidence of the direction of the object, etc. It can be adjusted according to actual application scenarios. For ease of understanding, in the following embodiments of the present application, only the relationship between confidence and distance of one type of data is used as an example for illustration, but not as a limitation.
在一种可能的实施方式中,可以获取传感器采集到的历史距离信息历史距离信息以及对应的置信度,然后根据历史距离信息和对应的置信度,计算出传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系。例如,可以采集传感器采集到的大量的障碍物的信息,并作为预设的感知算法的输入,输出车辆与传感器检测到的物体的距离以及对应的置信度。然后对该距离以及对应的置信度之间的关系进行拟合,得到该关系,示例性地,该关系可以表示为y=ax,y为置信度,x为距离,a为常数。In a possible implementation, the historical distance information collected by the sensor and the corresponding confidence level can be obtained, and then the distance result included in the output information of the sensor and the corresponding confidence level can be calculated according to the historical distance information and the corresponding confidence level. The relationship between the confidence levels corresponding to this distance result. For example, the information of a large number of obstacles collected by the sensor can be collected, and as the input of the preset perception algorithm, the distance between the vehicle and the object detected by the sensor and the corresponding confidence level can be output. Then, the relationship between the distance and the corresponding confidence is fitted to obtain the relationship. Exemplarily, the relationship can be expressed as y=ax, where y is the confidence, x is the distance, and a is a constant.
进一步地,感知模型也可以是通过大量的传感器采集到的信息进行训练得到。示例性地,该感知模型可以是目标检测神经网络、语义分割神经网络、卷积神经网络或者构建得到的网络等其中的一种或者多种的组合。例如,该目标检测神经网络可以是2D目标检测的深度神经网络,如基于区域卷积神经网络(regions with CNN features,RCNN)的演进网络,也可以是3D目标检测的深度神经网络,如基于前向传播(forward propagation,FP)的神经网络,或者基于分割网络(Segmentation Network,SegNet)的演进网络等。Further, the perception model can also be obtained by training through information collected by a large number of sensors. Exemplarily, the perception model may be one or a combination of a target detection neural network, a semantic segmentation neural network, a convolutional neural network, or a constructed network. For example, the target detection neural network may be a deep neural network for 2D target detection, such as an evolution network based on regions with CNN features (RCNN), or a deep neural network for 3D target detection, such as a Neural network of forward propagation (FP), or evolution network based on segmentation network (Segmentation Network, SegNet).
在一种可能的实施方式中,车辆与传感器检测到的物体的距离和置信度之间的关系可以通过传感器采集到的实时信息和对应的置信度进行实时更新。例如,在车辆行驶途中,可以保存对比传感器在不同位置采集到的数据的信息,更新距离和置信度之间的关系。In a possible implementation manner, the relationship between the distance between the vehicle and the object detected by the sensor and the confidence level can be updated in real time through the real-time information collected by the sensor and the corresponding confidence level. For example, while the vehicle is driving, information comparing data collected by sensors at different locations can be saved to update the relationship between distance and confidence.
方式二、基于距离进行划分Method 2: Divide based on distance
在另一种可能的实施方式中,可以基于距离对传感器的检测范围进行划分,得到一个或者多个距离范围。In another possible implementation manner, the detection range of the sensor may be divided based on the distance to obtain one or more distance ranges.
可选地,还可以基于传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,计算每个距离范围对应的置信度范围。该每个距离范围对应的置信度范围,用于后续筛选与感知信息匹配的范围区间。Optionally, the confidence range corresponding to each distance range may also be calculated based on the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result. The confidence range corresponding to each distance range is used for subsequent screening of range intervals that match the perception information.
例如,如表2所示,可以将0-80的范围划分为范围区间1,将80-120的距离划分为范围区间2,将120-160的距离划分为范围区间3等,依次类推。通常,因传感器的误差,可能导致每个范围区间对应的置信度不相同,例如,范围区间1和范围区间2可能存在部分置信度重合,后续在选择行驶决策时,可以基于不存在重合的距离范围对感知信息进行匹配。For example, as shown in Table 2, the range of 0-80 can be divided into range 1, the distance of 80-120 can be divided into range 2, the distance of 120-160 can be divided into range 3, etc., and so on. Usually, due to the error of the sensor, the confidence levels corresponding to each range interval may be different. For example, the range range 1 and range range 2 may have some overlap in the confidence levels. When choosing a driving decision later, you can make a decision based on the non-overlapping distance. Scope matches perceptual information.
区间interval 距离范围(米)Distance range (meters) 置信度范围confidence range
范围区间1range interval 1 (0,80](0,80] (98%,100%](98%, 100%]
范围区间2Range interval 2 (80,120](80, 120] (85%,98%](85%, 98%]
范围区间3Range interval 3 (120,160](120, 160] (62%,87%](62%, 87%]
范围区间4range interval 4 (160,200](160, 200] (40%,65%](40%, 65%]
范围区间5range interval 5 [200,+∞][200, +∞] [0,45%][0,45%]
表2Table 2
当然,在一些可能的场景中,也可以距离和置信度进行范围区间的划分,即前述的方式一和方式二可以组合起来得到一个或者多个范围区间,具体可以根据实际应用场景进行调整,此处不作限定。Of course, in some possible scenarios, the range interval can also be divided by distance and confidence, that is, the aforementioned method 1 and method 2 can be combined to obtain one or more scope intervals, which can be adjusted according to the actual application scenario. There are no restrictions.
因此,本方式二中,可以结合置信度来划分传感器的检测范围得到一个或者多个范围区间,该范围区间可以用于选择行驶决策,进而通过行驶决策规划行车路径。从而使规划行车路径时,相对于使用置信度高于阈值的感知信息来规划行车路径,本申请提供的行驶决策选择方法可以提高选择行驶决策时使用的感知范围,可以提前选择车辆的行驶决策,从而可以使车辆进行提前加速或者减速等操作,使车辆的控制更平稳,提高车辆的行车安全性,提高用户体验。可以理解为,本申请提供的行驶决策选择方法,引入了概率型的感知信息,用来表征感知信息的不确定度,从而使后续可以根据不确定的感知信息来选择行驶决策,增加了规划行车路径时使用的感知范围。Therefore, in the second method, the detection range of the sensor can be divided into one or more range intervals in combination with the confidence level, and the range interval can be used to select a driving decision, and then plan a driving path through the driving decision. Therefore, when planning a driving path, compared to using perception information with a confidence higher than a threshold to plan a driving path, the driving decision selection method provided by the present application can improve the perception range used when selecting driving decisions, and can select the driving decision of the vehicle in advance, Therefore, the vehicle can be accelerated or decelerated in advance, so that the control of the vehicle is more stable, the driving safety of the vehicle is improved, and the user experience is improved. It can be understood that the driving decision selection method provided by this application introduces probabilistic perception information to represent the uncertainty of the perception information, so that the driving decision can be selected according to the uncertain perception information in the future, which increases the planning of driving. The perception range to use when routing.
在一些可能的场景中,可能存在多个传感器,在划分范围区间时,可以分别对每个传感器的检测范围进行划分,得到每个传感器对应的范围区间;也可以对每个传感器在同一置信度对应的距离进行加权运算后进行划分,或者对每个传感器在同一距离的置信度进行加权运算后划分等,具体可以根据实际应用场景进行调整。因此,在本申请实施方式中,针对不同的传感器,可以使用不同的划分方式,在选择车辆的行驶决策的过程中,可以多种传感器协同工作,进一步提高车辆的行车安全性。In some possible scenarios, there may be multiple sensors. When dividing the range interval, the detection range of each sensor can be divided separately to obtain the range interval corresponding to each sensor; or the same confidence level for each sensor can be obtained. The corresponding distance is divided after weighted operation, or the confidence of each sensor at the same distance is weighted and divided, etc., which can be adjusted according to the actual application scenario. Therefore, in the embodiments of the present application, different division methods can be used for different sensors, and in the process of selecting the driving decision of the vehicle, multiple sensors can work together to further improve the driving safety of the vehicle.
例如,激光雷达在70m范围内,对车辆或者行人等的感知置信度较高,而在70-150m范围内,对车辆或者行人等的感知的置信度较低(如在50%-80%之间);而视觉感知传感器在80m范围内,对车辆或者行人等的感知置信度较高,而在80-150m范围内,对车辆或者行人等的感知的置信度较低。通常,通过多个传感器对环境中的物体的信息进行感知,可以提高检测到的准确度,可以避免误检或者漏检等情况,提高检测到的信息的准确度。For example, within the range of 70m, lidar has a high confidence in the perception of vehicles or pedestrians, while in the range of 70-150m, the confidence in perception of vehicles or pedestrians is low (such as between 50% and 80%). In the range of 80m, the visual perception sensor has a high degree of confidence in the perception of vehicles or pedestrians, while in the range of 80-150m, the confidence in the perception of vehicles or pedestrians is low. Generally, by using multiple sensors to perceive the information of objects in the environment, the accuracy of detection can be improved, false detection or missed detection can be avoided, and the accuracy of the detected information can be improved.
202、设定至少一个范围区间中每个范围区间的至少一个行驶决策。202. Set at least one driving decision for each range section in the at least one range section.
其中,行驶决策可以包括加速、减速、定速巡航、跟车、保持车速或者变道等决策。不同范围区间设定的行驶决策可以相同,也可以不相同。例如,范围区间1对应的行驶决策可以是定速巡航、减速跟车、变道行驶或者提速等决策,或者,还可以包括控制车速在第一预设范围或者控制车辆相对于障碍物的速度在第二预设范围等决策。Among them, the driving decision may include decisions such as acceleration, deceleration, cruise control, following the vehicle, maintaining the vehicle speed, or changing lanes. The driving decisions set in different ranges can be the same or different. For example, the driving decision corresponding to range 1 may be a decision such as cruising at a constant speed, slowing down and following a car, changing lanes, or speeding up, or it may also include controlling the speed of the vehicle within the first preset range or controlling the speed of the vehicle relative to the obstacle within Decisions such as the second preset range.
在一些可能的场景中,针对车辆的行驶决策可以是根据预先设定的,也可以是由用户选择的。例如,可以预先设定不同的距离对应不同的决策,0-20米的范围设定减速或者保持速度或者设定对应的车速范围或者相对车速范围等决策,40-80米可以设定加速、减速 或者变道等或者设定对应的车速范围或者相对车速范围决策,80米以上可以设定加速、定速巡航、减速或者变道或者设定对应的车速范围或者相对车速范围等决策。又例如,可以由用户选择行驶决策,其中,加速和减速可以设定为必选决策,如定速巡航、变道等决策可以由用户通过交互界面进行选择。In some possible scenarios, the driving decision for the vehicle may be pre-set or selected by the user. For example, different distances can be preset to correspond to different decisions. The range of 0-20 meters can be set to decelerate or maintain the speed, or the corresponding speed range or relative speed range can be set. For 40-80 meters, acceleration and deceleration can be set. Or change lanes, etc., or set the corresponding speed range or relative speed range for decision-making. Above 80 meters, you can set acceleration, cruise control, deceleration, or lane change, or set the corresponding speed range or relative speed range. Decision-making. For another example, the driving decision may be selected by the user, wherein acceleration and deceleration may be set as mandatory decisions, and decisions such as cruise control and lane change may be selected by the user through an interactive interface.
需要说明的是,在设定了至少一个范围区间中每个范围区间对应的至少一个行驶决策之后,在车辆行驶前或者行驶途中,即可通过划分的至少一个范围区间以及对应的行驶决策规划车辆的行车路径,并控制车辆按照行车路径进行行驶。此外,在车辆行驶前或者行驶途中,也可以对划分的范围区间或者每个范围区间对应的行驶决策进行更新。如传感器在环境中可能存在损耗,导致出现误差或者基线漂移等,因此也可以在使用的过程中根据传感器采集到的信息对范围区间进行实时更新,以提高划分的范围区间与传感器检测到的准确度匹配。It should be noted that, after setting at least one driving decision corresponding to each range in the at least one range, the vehicle can be planned by at least one divided range and the corresponding driving decision before or during driving. the driving path, and control the vehicle to drive according to the driving path. In addition, before or during the driving of the vehicle, the divided range sections or the driving decision corresponding to each range section may also be updated. For example, the sensor may have loss in the environment, resulting in errors or baseline drift, etc. Therefore, the range interval can also be updated in real time according to the information collected by the sensor during use, so as to improve the divided range interval and the accuracy of the sensor detection. degree match.
因此,在本申请实施方式中,不同的范围区间具有对应的行驶决策,以使后续在规划行车路径时,可以通过选择的行驶决策进行规划。可以理解为,本申请提供了分段式的行驶规划区间,可以基于不同的范围区间处理不同置信度的感知信息,提高了规划行车路径时的感知范围。Therefore, in the embodiments of the present application, different range sections have corresponding driving decisions, so that when planning a driving route in the future, the selected driving decisions can be used for planning. It can be understood that the present application provides a segmented driving planning interval, which can process perception information with different confidence levels based on different range intervals, thereby improving the perception range when planning a driving path.
通常,在不同的场景中,每个范围区间对应的行驶决策是根据应用场景确定的,例如,该应用场景可以包括但不限于:自动巡航、跟车或者自动泊车等场景。具体例如,在高速自动巡航场景中,车辆的车速较高,多个范围区间对应的距离范围分别可以是0m-100m,100m-200m,200m-300m等,0m-100m对应的行驶决策包括减速或者变道,100m-200m对应的行驶决策为保持车速或者变道,200m-300m对应的行驶决策可以包括加速、变道等行驶决策。在低速跟车场景中,0m-100m对应的决策为减速,100m以上的距离范围对应的行驶决策为加速。当然,也可以通过划分不同的距离范围,并为每个距离范围设定对应的行驶决策来适应不同的场景。例如,在低速跟车场景中,每个范围区间对应的距离范围与高速自动巡航的距离范围可能不相同,例如,多个范围区间对应的距离范围分别可以是0-50m,50-100m,100m-150m,0-50m对应的行驶决策为减速或者变道等决策,50-100m对应的行驶决策为加速或者保持车速等决策,100m-150m对应的行驶决策是加速或者保持车速等决策,150m以上的距离范围则对应加速或者变道等行驶决策。还例如,在自动泊车场景中,因车辆与障碍物之间的距离较近,划分的距离范围也可能不相同,例如,多个范围区间对应的距离范围可以包括0-1m,1m-2m,2m-5m等,0-1m对应的行驶决策是减速,1m-2m对应的行驶决策为保持车速,2m-5m对应的行驶决策为缓慢加速。Usually, in different scenarios, the driving decision corresponding to each range interval is determined according to the application scenario. For example, the application scenario may include but not limited to scenarios such as automatic cruise, car following, or automatic parking. Specifically, for example, in a high-speed automatic cruise scenario, where the speed of the vehicle is relatively high, the distance ranges corresponding to multiple ranges may be 0m-100m, 100m-200m, 200m-300m, etc. The driving decisions corresponding to 0m-100m include deceleration or When changing lanes, the driving decision corresponding to 100m-200m is to maintain the vehicle speed or change lanes, and the driving decision corresponding to 200m-300m can include driving decisions such as acceleration and lane change. In the low-speed following scenario, the decision corresponding to 0m-100m is deceleration, and the driving decision corresponding to the distance range above 100m is acceleration. Of course, it is also possible to adapt to different scenarios by dividing different distance ranges and setting corresponding driving decisions for each distance range. For example, in a low-speed car-following scenario, the distance range corresponding to each range section may be different from that of high-speed automatic cruise. For example, the distance ranges corresponding to multiple range sections may be 0-50m, 50-100m, and 100m, respectively. -150m, the driving decisions corresponding to 0-50m are decisions such as decelerating or changing lanes, the driving decisions corresponding to 50-100m are decisions such as accelerating or maintaining the vehicle speed, and the driving decisions corresponding to 100m-150m are decisions such as accelerating or maintaining the vehicle speed, above 150m The distance range corresponds to driving decisions such as acceleration or lane change. Also, for example, in an automatic parking scenario, because the distance between the vehicle and the obstacle is relatively short, the divided distance ranges may also be different. For example, the distance ranges corresponding to multiple range intervals may include 0-1m, 1m-2m , 2m-5m, etc. The driving decision corresponding to 0-1m is to decelerate, the driving decision corresponding to 1m-2m is to maintain the vehicle speed, and the driving decision corresponding to 2m-5m is to accelerate slowly.
此外,在不同的环境中,每个范围区间对应的行驶决策也可能不相同。例如,在烟雾环境和非烟雾环境中每个范围区间对应的行驶决策不同,在雨雾环境中和晴朗环境中每个范围区间对应的行驶决策也不相同,具体可以根据实际应用场景调整行驶决策,本申请对此不作限定。In addition, in different environments, the driving decisions corresponding to each range section may also be different. For example, the driving decisions corresponding to each range in a smoky environment and a non-smoky environment are different, and the driving decisions corresponding to each range in a rainy and foggy environment and in a sunny environment are also different. The driving decision can be adjusted according to the actual application scenario. This application does not limit this.
需要说明的是,步骤201-202为可选步骤。该步骤201-202也可以单独实施,或者可以由其他设备执行步骤201-202,然后将划分得到的至少一个范围区间配置在传感器中,或者,将该至少一个范围区间发送至车载终端或者其他控制车辆的设备中。例如,在某一 个传感器出厂前,即可在该传感器中设置存储介质,该存储介质可以写入指令代码,该指令代码用于执行前述步骤201-202,或者,在该存储介质中写入划分的范围区间的详细信息等。It should be noted that steps 201-202 are optional steps. The steps 201-202 can also be implemented independently, or other devices can perform the steps 201-202, and then configure at least one range interval obtained by division in the sensor, or send the at least one range interval to the vehicle terminal or other control in the equipment of the vehicle. For example, before a sensor leaves the factory, a storage medium can be set in the sensor, and an instruction code can be written in the storage medium. details of the range interval, etc.
通常,在实际应用中,无需每次选择行驶决策时都进行范围区间的划分。,具体可以根据实际应用场景进行调整。或者,在一些场景中,可以提前划定好一个或者多个范围区间,在每次选择行驶决策或者规划行车路径时,无需再次划定范围区间。Generally, in practical applications, it is not necessary to divide the range interval every time a driving decision is selected. , which can be adjusted according to the actual application scenario. Alternatively, in some scenarios, one or more range intervals may be demarcated in advance, and each time a driving decision is selected or a driving route is planned, the range interval does not need to be demarcated again.
203、获取传感器采集到的感知信息。203. Acquire the perception information collected by the sensor.
车辆配置有传感器,在车辆的行驶途中或者启动行驶之前,可以获取该传感器采集到的感知信息。例如,传感器采集到障碍物的图像、激光点云或者电磁回波点云等信息,然后该信息输入至预先设定的感知算法或者称为感知模型,输出感知信息。The vehicle is equipped with a sensor, and the sensing information collected by the sensor can be acquired during the driving of the vehicle or before starting to drive. For example, the sensor collects information such as the image of the obstacle, the laser point cloud or the electromagnetic echo point cloud, and then the information is input into a preset perception algorithm or called a perception model, and the perception information is output.
具体地,该感知信息可以包括但不限于以下一项或者多项:车辆的速度、车辆相对于障碍物的速度、障碍物的位置、障碍物的方向、障碍物的大小等信息。该障碍物可以是传感器检测范围内的车辆、行人、道路、交通灯、交通标志等。Specifically, the perception information may include, but is not limited to, one or more of the following information: the speed of the vehicle, the speed of the vehicle relative to the obstacle, the position of the obstacle, the direction of the obstacle, the size of the obstacle, and other information. The obstacles can be vehicles, pedestrians, roads, traffic lights, traffic signs, etc. within the detection range of the sensor.
通常,不同的传感器采集到的信息可能不同。具体例如,该传感器可以包括摄像头,则传感器采集到的信息可以包括图像的像素值;该传感器可以包括激光雷达,传感器采集到的信息则可以包括3D激光点云;该传感器还可以包括毫米波雷达,则传感器采集到的信息可以包括电磁回波构成的点云,该传感器所包括的具体类型可以根据实际应用进行调整,不同类型的传感器采集到的信息可能相同,也可能不相同,此处仅仅是示例性说明,并不作为限定。Usually, the information collected by different sensors may be different. Specifically, for example, the sensor may include a camera, and the information collected by the sensor may include pixel values of the image; the sensor may include lidar, and the information collected by the sensor may include a 3D laser point cloud; the sensor may also include millimeter wave radar , the information collected by the sensor may include a point cloud composed of electromagnetic echoes. The specific type of the sensor can be adjusted according to the actual application. The information collected by different types of sensors may be the same or different. It is an exemplary illustration, not a limitation.
不同的传感器可能对应不同的感知模型,也可以对应相同的感知模型,即感知模型可以对不同类型的输入数据进行处理,得到对应的感知信息。该感知模型可以是通过大量的与前述的传感器相关的历史数据进行训练得到。Different sensors may correspond to different perception models, or may correspond to the same perception model, that is, the perception models can process different types of input data to obtain corresponding perception information. The perception model can be obtained by training a large amount of historical data related to the aforementioned sensors.
可选地,感知信息中还可以包括置信度,用于表示感知信息所包括的信息的准确度。例如,若感知信息中可以包括车辆相对于障碍物的速度,置信度可以用于表示该车辆相对于障碍物的速度的准确度。以使后续选择车辆的行驶决策以及对车辆的行驶路径进行规划时,可以参考该置信度进行规划,得到更准确的行车路径。Optionally, the perception information may further include a confidence level, which is used to indicate the accuracy of the information included in the perception information. For example, if the perception information can include the speed of the vehicle relative to the obstacle, the confidence level can be used to represent the accuracy of the speed of the vehicle relative to the obstacle. In order to make the subsequent selection of the driving decision of the vehicle and the planning of the driving path of the vehicle, the confidence level can be referred to for planning, and a more accurate driving path can be obtained.
204、从至少一个范围区间中选择出与感知信息匹配的第一范围区间。204. Select a first range interval that matches the perception information from at least one range interval.
其中,在通过感知算法得到感知信息之后,可以从至少一个范围区间中选择出与感知信息匹配的第一范围区间。该至少一个范围区间可以是前述步骤202中划分得到的至少一个范围区间,每个范围区间对应一个距离范围,可选地,每个范围区间还对应一个置信度范围,具体参阅前述步骤202中的描述,此处不再赘述。Wherein, after the sensing information is obtained through the sensing algorithm, a first range interval matching the sensing information may be selected from at least one range interval. The at least one range interval may be at least one range interval divided in the foregoing step 202, each range interval corresponds to a distance range, and optionally, each range interval also corresponds to a confidence range. For details, please refer to the foregoing step 202. description, which will not be repeated here.
在一种可能的实施方式中,感知信息中可以包括车辆和障碍物之间的第一距离,步骤204具体可以包括:对该第一距离与每个范围区间的距离范围进行对比,筛选出第一范围区间,该第一距离在该第一范围区间对应的距离范围内。感知信息中可以包括车辆与障碍物之间的距离,且障碍物在车辆的行驶方向上,如处于同一车道或者障碍物在车辆行驶方向的前方,则可以选择与车辆与障碍物之间的距离匹配的范围区间作为第一范围区间。In a possible implementation, the perception information may include the first distance between the vehicle and the obstacle, and step 204 may specifically include: comparing the first distance with the distance range of each range interval, and filtering out the first distance between the vehicle and the obstacle. a range interval, and the first distance is within a distance range corresponding to the first range interval. The perception information can include the distance between the vehicle and the obstacle, and the obstacle is in the driving direction of the vehicle. If it is in the same lane or the obstacle is in front of the driving direction of the vehicle, the distance between the vehicle and the obstacle can be selected. The matched range is used as the first range.
例如,若感知信息包括的车辆与障碍物之间的距离为90米,范围区间1的距离范围为 50-150米,范围区间2的距离范围为0-50米,对感知信息包括的90米与范围区间进行比对,该90米在范围区间1所包括的50-150米范围内,则确定与该90匹配的范围区间为范围区间1。For example, if the distance between the vehicle and the obstacle included in the perception information is 90 meters, the distance range of range 1 is 50-150 meters, and the distance range of range 2 is 0-50 meters, and the range of the distance included in the perception information is 90 meters. Compared with the range interval, the 90 meters is within the range of 50-150 meters included in the range interval 1, and the range interval matching the 90 is determined as the range interval 1.
在一种可能的实施方式中,感知信息中可以包括第一置信度,该第一置信度用于表示感知信息所包括的车辆与障碍物之间的距离的准确程度。步骤204具体可以包括:可以对该第一置信度与每个范围区间所包括的置信度范围进行匹配,筛选出第一范围区间,该第一置信度处于第一范围区间所包括的置信度范围内。In a possible implementation manner, the perception information may include a first confidence level, where the first confidence level is used to indicate the accuracy of the distance between the vehicle and the obstacle included in the perception information. Step 204 may specifically include: matching the first confidence level with a confidence range included in each range interval, and filtering out a first range interval, where the first confidence level is within the confidence range included in the first range interval Inside.
例如,若第一置信度为95%,范围区间1包括的置信度范围为94%-96%,范围区间2包看的置信度范围为96%-100%,95%处于范围区间1所包括的置信度范围中,即确定与第一置信度匹配的范围区间为范围区间1。For example, if the first confidence level is 95%, range interval 1 includes a confidence range of 94%-96%, range interval 2 includes a confidence range of 96%-100%, and 95% is included in range interval 1. In the confidence range of , that is, the range interval that matches the first confidence degree is determined as range interval 1.
当然,在一种可能的实施方式中,前述的至少一个范围区间可以是结合置信度和距离划分的,感知信息中可以同时包括车辆和障碍物的第一距离以及该第一距离的第一置信度,且障碍物位于车辆的行驶方向。则可以结合车辆和障碍物的第一距离以及该距离的第一置信度,从至少一个范围区间中筛选出第一范围区间。Of course, in a possible implementation manner, the aforementioned at least one range interval may be divided into a combination of confidence and distance, and the perception information may include both the first distance between the vehicle and the obstacle and the first confidence of the first distance. degrees, and the obstacle is in the direction of travel of the vehicle. Then, the first range interval can be selected from the at least one range interval in combination with the first distance between the vehicle and the obstacle and the first confidence level of the distance.
例如,若车辆与障碍物之间的距离为90米,置信度为95%,第一范围区间对应的距离范围为50-150米,置信度为94%-96%,即感知信息中所包括的距离处于第一范围区间的距离范围内,感知信息中所包括的置信度处于第一范围区间对应的置信度范围内,则确认筛选出的范围区间为第一范围区间,该第一范围区间为距离范围为50-150米,置信度范围为94%-96%。For example, if the distance between the vehicle and the obstacle is 90 meters, the confidence level is 95%, the distance range corresponding to the first range interval is 50-150 meters, and the confidence level is 94%-96%, that is, the perception information includes The distance of the first range interval is within the distance range of the first range interval, and the confidence level included in the perception information is within the confidence level range corresponding to the first range range, then confirm that the screened range range is the first range range, and the first range range For the distance range of 50-150 meters, the confidence range is 94%-96%.
又例如,在一种场景中,可以提前设置置信度和距离的优先级,当置信度在范围区间1,而距离在范围区间2时,若距离的优先级高于置信度的优先级,则可以确认障碍物对应的范围区间为范围区间2;若置信度的优先级高于距离的优先级,则可以确认障碍物对应的范围区间为范围区间1。For another example, in a scenario, the priority of confidence and distance can be set in advance. When the confidence is in range 1 and the distance is in range 2, if the priority of the distance is higher than the priority of the confidence, then It can be confirmed that the range interval corresponding to the obstacle is the range interval 2; if the priority of the confidence is higher than the priority of the distance, it can be confirmed that the range interval corresponding to the obstacle is the range interval 1.
此外,在一些实施方式中,可以仅对传感器的检测范围进行划分,得到每个范围区间对应的距离范围。在此场景中,感知信息中可以包括置信度和距离与置信度之间的关系,则根据该距离和置信度之间的关系,计算出该置信度对应的距离,然后对该距离和每个范围区间对应的距离范围进行匹配,从而筛选出与该感知信息匹配的第一范围区间。In addition, in some embodiments, only the detection range of the sensor may be divided to obtain a distance range corresponding to each range interval. In this scenario, the perception information can include the confidence and the relationship between the distance and the confidence, then according to the relationship between the distance and the confidence, the distance corresponding to the confidence is calculated, and then the distance and each The distance range corresponding to the range interval is matched, so as to filter out the first range interval that matches the sensing information.
在一种可能的场景中,可能存在多个传感器检测到的信息,从而可能得到多个感知信息,每个感知信息中所包括的信息和置信度可能不相同。在此场景中,可以选择多个感知信息中置信度最高的作为最终的感知信息,并根据该最终的感知信息筛选出第一范围区间,也可以是对多个感知进行加权运算,置信度高的感知信息对应的权重值也高,从而得到最终的感知信息。例如,若感知模型输出了3个传感器对应的感知信息,包括3种与障碍物的距离,则可以对该3种与障碍物的距离进行加权运算,置信度高的距离对应的权重值也就越高,从而得到加权运算后的距离,并根据加权运算后的距离选择第一范围区间。In a possible scenario, there may be information detected by multiple sensors, so that multiple sensing information may be obtained, and the information and confidence levels included in each sensing information may be different. In this scenario, the one with the highest confidence among the multiple sensing information can be selected as the final sensing information, and the first range interval can be selected according to the final sensing information, or a weighted operation can be performed on the multiple sensing information, and the confidence is high. The weight value corresponding to the perceptual information is also high, so as to obtain the final perceptual information. For example, if the perception model outputs the perception information corresponding to 3 sensors, including 3 types of distances to obstacles, the weighted calculation can be performed on the 3 types of distances to obstacles, and the weight value corresponding to the distance with high confidence is also The higher the value, the distance after the weighting operation is obtained, and the first range interval is selected according to the distance after the weighting operation.
205、结合车辆的车速,从第一范围区间的至少一个行驶决策中选择出车辆的行驶决策。205. Select a driving decision of the vehicle from at least one driving decision in the first range interval in combination with the speed of the vehicle.
具体地,可以结合车辆的车速,根据预先设定的规则,选择出车辆的行驶决策。例如,为每个范围区间设置最高车速和最低车速,若车辆与障碍物之间的距离在第一范围区间的 距离范围内,且车辆的车速小于该第一范围区间的最高车速,大于最低车速,第一范围区间的行驶决策包括加速、跟车和减速,则此时可以选择加速或者跟车作为车辆的行驶决策;若车辆的车速小于最低速度,此时可以选择加速作为车辆的行驶决策,使车辆的车速保持在第一范围区间的最高车速和最低车速之间。Specifically, the driving decision of the vehicle can be selected according to the preset rules in combination with the speed of the vehicle. For example, set the maximum speed and minimum speed for each range interval, if the distance between the vehicle and the obstacle is within the distance range of the first range interval, and the vehicle speed is less than the maximum speed of the first range interval, and greater than the minimum speed , the driving decision in the first range interval includes acceleration, following and deceleration, then acceleration or following can be selected as the driving decision of the vehicle; if the speed of the vehicle is less than the minimum speed, acceleration can be selected as the driving decision of the vehicle at this time, The vehicle speed is maintained between the maximum vehicle speed and the minimum vehicle speed in the first range interval.
可选地,可以为每个范围区间设置最高相对车速和最低相对车速。根据车辆的车速,感知信息所包括的障碍物的速度,计算出车辆相对于障碍物的相对速度。然后基于该相对车速,从第一范围区间的至少一个行驶决策中选择车辆的行驶决策。例如,第一范围区间的行驶决策包括加速、跟车和减速,若车辆与障碍物之间的距离在第一范围区间的距离范围内,且车辆与障碍物之间的相对车速小于第一范围区间的最高相对车速,小于最低相对车速,则可以选择加速或者跟车作为车辆的行驶决策;若车辆与障碍物之间的相对速度小于最低相对车速,则将加速作为车辆的行驶决策;若车辆与障碍物之间的相对速度大于最高相对车速,则将减速作为车辆的行驶决策。Optionally, a maximum relative vehicle speed and a minimum relative vehicle speed may be set for each range interval. According to the speed of the vehicle and the speed of the obstacle included in the perception information, the relative speed of the vehicle to the obstacle is calculated. A driving decision for the vehicle is then selected from at least one driving decision in the first range interval based on the relative vehicle speed. For example, the driving decision in the first range interval includes acceleration, following and deceleration, if the distance between the vehicle and the obstacle is within the distance range of the first range interval, and the relative speed between the vehicle and the obstacle is less than the first range If the highest relative speed in the interval is less than the lowest relative speed, you can choose to accelerate or follow the vehicle as the vehicle's driving decision; if the relative speed between the vehicle and the obstacle is less than the lowest relative speed, the acceleration is used as the vehicle's driving decision; if the vehicle If the relative speed to the obstacle is greater than the maximum relative speed, the deceleration will be taken as the driving decision of the vehicle.
在一种可能的实施方式中,可以结合车辆的速度和车辆与障碍物的相对速度,从第一范围区间对应的至少一个行驶决策中选择车辆的行驶决策。例如,可以为每个范围区间设置最高车速、最低车速、最高相对车速和最低相对车速,可以基于车辆的速度和车辆与障碍物之间的相对速度选择车辆的行驶决策,使车辆的车速保持在最高车速和最低车速之间,车辆和障碍物之间的相对速度保持在最高相对车速和最低相对车速之间。In a possible implementation, a driving decision of the vehicle may be selected from at least one driving decision corresponding to the first range interval in combination with the speed of the vehicle and the relative speed of the vehicle and the obstacle. For example, the maximum vehicle speed, minimum vehicle speed, maximum relative vehicle speed and minimum relative vehicle speed can be set for each range interval, and the driving decision of the vehicle can be selected based on the speed of the vehicle and the relative speed between the vehicle and the obstacle to keep the vehicle speed at Between the maximum vehicle speed and the minimum vehicle speed, the relative speed between the vehicle and the obstacle remains between the maximum relative vehicle speed and the minimum relative vehicle speed.
示例性地,以某一个范围区间为例,该范围区间的距离范围为10-20米,对应的行驶决策可以包括减速和保持车速。车辆的速度为30km/h,车辆相对于前车的相对速度为5km/h,为提高车辆的行车安全性,控制目标为将车辆相对于前车的相对速度保持为0km/h,因此,此时的行驶决策为减速,以使车辆相对于前车的相对速度保持为0km/h。或者,控制目标可以设定为速度20km/h,此时的行驶决策为减速,从而使车辆的速度降低至20km/h或者更低。Exemplarily, taking a certain range section as an example, the distance range of the range section is 10-20 meters, and the corresponding driving decision may include decelerating and maintaining the vehicle speed. The speed of the vehicle is 30km/h, and the relative speed of the vehicle relative to the preceding vehicle is 5km/h. In order to improve the driving safety of the vehicle, the control objective is to keep the relative speed of the vehicle relative to the preceding vehicle at 0km/h. Therefore, this The driving decision at this time is to decelerate so that the relative speed of the vehicle relative to the preceding vehicle is kept at 0 km/h. Alternatively, the control target may be set at a speed of 20 km/h, and the driving decision at this time is to decelerate, thereby reducing the speed of the vehicle to 20 km/h or lower.
此外,在一些场景中,可以将置信度高于阈值的感知信息作为确定型感知信息处理,并基于确定型感知信息选择车辆的行驶决策,即可以使用确定型感知信息对应的规划算法,如,提高本申请提供的行驶决策选择方法在规划行车路径时的兼容性。In addition, in some scenarios, perception information with a confidence level higher than a threshold can be processed as deterministic perception information, and the vehicle's driving decision can be selected based on the deterministic perception information, that is, a planning algorithm corresponding to the deterministic perception information can be used, such as, The compatibility of the driving decision selection method provided by the present application in planning a driving path is improved.
在一些场景中,除了结合车辆的速度或者车辆与障碍物的相对速度,还可以结合其他数据,如与车辆的行驶方向不同的车辆、车辆周围的障碍车辆的行驶行为(如变道、超车等)、或者行驶环境变化等,来选择车辆的行驶决策。例如,若100-200米的距离范围对应的行驶决策为加速或者保持车速,此时,若天气为晴朗,且周围没有车辆在变道或者超车,则此时可以选择加速;若天气突然变化,出现雨雾,则此时可以选择保持车速,使车辆可以安全行驶。In some scenarios, in addition to combining the speed of the vehicle or the relative speed between the vehicle and the obstacle, other data can also be combined, such as vehicles with different driving directions from the vehicle, and the driving behavior of obstacle vehicles around the vehicle (such as lane changing, overtaking, etc. ), or changes in the driving environment, etc., to select the driving decision of the vehicle. For example, if the driving decision corresponding to the distance range of 100-200 meters is to accelerate or maintain the vehicle speed, at this time, if the weather is clear and there are no vehicles around changing lanes or overtaking, you can choose to accelerate; if the weather suddenly changes, If there is rain or fog, you can choose to maintain the speed at this time so that the vehicle can drive safely.
206、控制车辆根据车辆的行驶决策行驶。206. Control the vehicle to travel according to the travel decision of the vehicle.
在选择了车辆的行驶决策之后,可以控制车辆执行该行驶决策。例如,若该车辆的行驶决策为加速,则控制车辆加速,若该车辆的行驶决策为减速,则控制车辆减速,若车辆的行驶决策为保持车速,则控制车速不变;若车辆的行驶决策为变道,则生成车辆进行变道的路径,并根据该路径控制车辆行驶。After a driving decision for the vehicle is selected, the vehicle can be controlled to execute the driving decision. For example, if the driving decision of the vehicle is to accelerate, control the vehicle to accelerate; if the driving decision of the vehicle is to decelerate, control the vehicle to decelerate; if the driving decision of the vehicle is to maintain the speed, control the speed to remain unchanged; In order to change lanes, generate a path for the vehicle to change lanes, and control the vehicle to drive according to the path.
具体地,可以结合车辆的车速和车辆的行驶决策,规划车辆的行车路径,并控制车辆根据该行车路径行驶。例如,若车辆的行驶决策为减速,则可以生成车辆执行减速决策这一过程中车辆的行驶路线,并通过控制车辆的转向系统、制动系统等,来控制车辆根据该行驶路径来行驶。Specifically, the driving path of the vehicle can be planned in combination with the speed of the vehicle and the driving decision of the vehicle, and the vehicle can be controlled to travel according to the driving path. For example, if the driving decision of the vehicle is to decelerate, the driving route of the vehicle in the process of executing the deceleration decision can be generated, and the vehicle can be controlled to travel according to the driving route by controlling the steering system and braking system of the vehicle.
通常,若车辆的行驶决策为加速、减速或者保持车速等,车辆的行驶路径可以包括与车道平行或者接近于车道平行的路线,若车辆的行驶决策为变道,则车辆的行驶路径可以包括车辆从当前车道行驶至相邻车道的曲线。Generally, if the vehicle's driving decision is to accelerate, decelerate, or maintain the vehicle speed, etc., the vehicle's driving path may include a route parallel or close to the lane. If the vehicle's driving decision is to change lanes, the vehicle's driving path may include the vehicle's driving path. The curve from the current lane to the adjacent lane.
更具体地,当该行车路径包括曲线时,该行车路径具体可以包括车辆的行驶曲线、转向角度、转向半径或者车速等信息。More specifically, when the driving path includes a curve, the driving path may specifically include information such as a driving curve, a steering angle, a steering radius, or a vehicle speed of the vehicle.
为便于理解,以一个具体的场景为例对本申请提供的方法的进行示例性说明,在具有自动驾驶功能的车辆中,车辆内的传感器的感知范围划分了多个范围区间,每个范围区间包括了距离范围和相应的置信度范围,如,范围区间1包括的距离范围为[0,10],置信度范围为[98%,100%],范围区间2包括的距离范围为(10,50],置信度范围为[97%,98%),范围区间3包括的距离范围为(50,100],置信度范围为[95%,97%),范围区间4包括的距离范围为(100,+∞],置信度范围为[0%,95%)。每个范围区间提前设定了相应的行驶决策,如[0,10]米的范围的行驶决策包括减速,(10,50]米的范围的行驶决策包括减速和保持车速,(50,100]米的范围的行驶决策包括保持车速和变道,(100,+∞]米范围的行驶决策包括保持车速、加速和变道。在自动驾驶场景中,如图3A所示,在车辆的行驶途中,若检测到车辆的前方存在障碍物301,且障碍物301与车辆的距离为126m,处于范围区间4所包括的距离范围内,该距离对应的范围区间的行驶决策中,相应的行驶决策包括:保持车速、加速和变道。可以根据用户的需求选择行驶决策,例如若用户需求为快速到达,则选择行驶决策为变道或者加速,若用户需求为平稳行驶,则选择行驶决策为保持车速等。示例性地,若用户的需求为快速到达,且车辆与障碍物301的距离逐渐减小,此时,出于车辆的安全和用户的快速到达的需求考虑,选择车辆的行驶决策为变道。然后基于车辆当前的车速、障碍物的车速和路况生成变道的行驶路径302,控制车辆按照该行驶路径302行驶。为便于理解,该变道决策对应的行驶路径的俯视图可以如图3B所示,在检测到车辆前方,即车辆的行驶方向中存在障碍物301,且选择车辆的行驶决策为变道之后,生成行驶路径302,并控制车辆按照该行车路径行驶。生成该行驶路径的方式可以包括速度时间图(speed-time graph,ST)算法、3DST算法(3d speed-time graph,SLT)算法等。其中,规划车辆的行驶路径的方式有多种,下面示例性地,以其中一种规划方式为例进行示例性说明,如图3C所示,选取车辆变道后所在的位置3031,规划车辆行驶至位置3031的两段曲线3021和3022,曲线3021和3022相切,基于车辆当前的车速,计算车辆的转向半径,即曲线3031的半径r1,以及曲线3022的半径r2,然后对曲线3021和曲线3022进行平滑处理,得到行车路径302,并控制车辆根据该转向半径,沿行车路径302行驶。For ease of understanding, a specific scenario is used as an example to illustrate the method provided in this application. In a vehicle with an automatic driving function, the sensing range of a sensor in the vehicle is divided into multiple range intervals, and each range interval includes: distance range and corresponding confidence range, for example, range interval 1 includes distance range [0, 10], confidence range is [98%, 100%], range interval 2 includes distance range (10, 50 ], the confidence range is [97%, 98%), the distance range included in range interval 3 is (50, 100], the confidence range is [95%, 97%), and the distance range included in range interval 4 is (100,+ ∞], the confidence range is [0%, 95%). The corresponding driving decisions are set in advance for each range interval. For example, the driving decision in the range of [0, 10] meters includes deceleration, the driving decision in the range of (10, 50] meters includes deceleration and maintaining the vehicle speed, and the driving decision in the range of (50, 100) meters The driving decisions in the range include maintaining the speed and changing lanes, and the driving decisions in the range of (100,+∞] meters include maintaining the speed, accelerating and changing lanes. In the autonomous driving scenario, as shown in Figure 3A, during the driving of the vehicle, if It is detected that there is an obstacle 301 in front of the vehicle, and the distance between the obstacle 301 and the vehicle is 126m, which is within the distance range included in the range section 4. In the driving decision of the range section corresponding to the distance, the corresponding driving decision includes: maintaining Vehicle speed, acceleration and lane change. The driving decision can be selected according to the user's needs. For example, if the user's demand is to arrive quickly, the driving decision is to change lanes or accelerate, and if the user's demand is to drive smoothly, the driving decision is to maintain the speed, etc. Exemplarily, if the user's requirement is to arrive quickly, and the distance between the vehicle and the obstacle 301 is gradually reduced, at this time, considering the safety of the vehicle and the requirement of the user to arrive quickly, the driving decision of the vehicle is to change lanes. Then, a lane-changing driving path 302 is generated based on the current vehicle speed, the speed of obstacles and road conditions, and the vehicle is controlled to follow the driving path 302. For ease of understanding, the top view of the driving path corresponding to the lane-changing decision can be shown in FIG. 3B , after it is detected that there is an obstacle 301 in front of the vehicle, that is, in the driving direction of the vehicle, and the driving decision of the selected vehicle is to change lanes, a driving path 302 is generated, and the vehicle is controlled to travel according to the driving path. The way of generating the driving path can be Including speed-time graph (speed-time graph, ST) algorithm, 3DST algorithm (3d speed-time graph, SLT) algorithm, etc. Among them, there are many ways to plan the driving path of the vehicle, exemplarily below, with one of them The planning method is taken as an example to illustrate. As shown in FIG. 3C, the position 3031 where the vehicle is after changing lanes is selected, and two curves 3021 and 3022 for the vehicle to travel to the position 3031 are planned, and the curves 3021 and 3022 are tangent. Vehicle speed, calculate the turning radius of the vehicle, that is, the radius r1 of the curve 3031 and the radius r2 of the curve 3022, and then smooth the curve 3021 and the curve 3022 to obtain the driving path 302, and control the vehicle to follow the driving path 302 according to the turning radius drive.
进一步地,若本申请提供的行驶决策选择方法由车载终端、车载电脑或者其他外接设备来执行,则在车载终端、车载电脑或者其他外接设备规划得到行车路径之后,可以将该行车路径传送至前述图1中所示的控制系统106,由控制系统106根据行车路径所包括的 行驶曲线和车速等信息,通过微分(PD)控制、比例、积分和微分(PID)控制等方式生成控制指令,从而控制转向系统132、油门134或者制动单元136等,以控制车辆按照行车路径行驶。Further, if the driving decision selection method provided by this application is performed by an on-board terminal, on-board computer or other external devices, after the on-board terminal, on-board computer or other external devices plan and obtain the driving path, the driving path can be transmitted to the aforementioned driving path. In the control system 106 shown in FIG. 1 , the control system 106 generates control commands by means of differential (PD) control, proportional, integral, and derivative (PID) control according to information such as the driving curve and vehicle speed included in the driving path, so as to The steering system 132, the accelerator 134 or the braking unit 136, etc. are controlled to control the vehicle to travel according to the driving path.
因此,在选择行驶决策之前,已划分了至少一个范围区间,每个范围区间都有对应的置信度和距离范围,且置信度范围包括的值和距离范围包括的值之间具有映射关系,该映射关系为传感器输出的距离结果和该距离结果对应的置信度之间的关系,该映射关系可以是预先设定的,也可以根据传感器采集到的信息进行实时更新。在选择行驶决策的过程中,可以使用基于每个范围区间的至少一个行驶决策,选择车辆的行驶决策,如加速、减速、保持车速或者变道等决策。通常传感器检测到的物体的距离越远,置信度也就越低。相对于使用置信度高于阈值的感知信息来规划行车路径,本申请提供的行驶决策选择方法可以使用置信度不高于阈值的感知信息来选择行驶决策,相当于可以扩大规划行车路径时使用的感知范围。因此,本申请提供的行驶决策选择方法中,在选择行驶决策的过程中,可以使用感知到的更远距离的障碍物来选择行驶决策,可以理解为可以针对更远距离的物体确定行驶决策,使车辆可以对更远的障碍物进行提前规避,提高了车辆的行车安全性,提高用户体验。且对与车辆距离更远的障碍物进行提前规避,可以提前进行加速或者减速等决策,使车辆的行驶过程更平顺,提高用户体验。Therefore, before selecting the driving decision, at least one range interval has been divided, each range interval has a corresponding confidence level and a distance range, and there is a mapping relationship between the values included in the confidence range and the values included in the distance range. The mapping relationship is the relationship between the distance result output by the sensor and the confidence level corresponding to the distance result, and the mapping relationship may be preset or updated in real time according to the information collected by the sensor. In the process of selecting a driving decision, at least one driving decision based on each range interval can be used to select a driving decision of the vehicle, such as a decision such as acceleration, deceleration, maintaining the vehicle speed, or changing lanes. Generally, the farther away the object is detected by the sensor, the lower the confidence level. Compared with using perception information with a confidence level higher than a threshold to plan a driving route, the driving decision selection method provided by the present application can use perception information with a confidence level not higher than the threshold to select driving decisions, which is equivalent to expanding the driving route planning. range of perception. Therefore, in the driving decision selection method provided by the present application, in the process of selecting a driving decision, the driving decision can be selected by using a perceived obstacle at a longer distance, which can be understood as a driving decision can be determined for an object at a longer distance, The vehicle can avoid obstacles further away in advance, which improves the driving safety of the vehicle and improves the user experience. In addition, the obstacle that is farther away from the vehicle can be avoided in advance, and decisions such as acceleration or deceleration can be made in advance, so that the driving process of the vehicle is smoother and the user experience is improved.
更进一步地,为便于理解,下面对本申请提供的行驶决策选择方法划分的多个范围区间和行驶决策的选择方式,以一个具体的应用场景进行示例性说明。Further, for ease of understanding, the following is an exemplary description of a specific application scenario for the multiple range intervals divided by the driving decision selection method provided by the present application and the selection manner of the driving decision.
示例性地,如图4A所示,可以将车辆401上设置的传感器的感知范围分为4个区间,区间1的距离范围为0-20米(m),区间2的距离范围为20-65米,区间3的距离范围为65-150米,区间4的距离范围为150-250米。其中,临界距离可以划分至邻近的两个区间中的任意一个,例如,20m距离可以划分至区间1,也可以划分至区间2,具体可以根据实际应场景进行调整。Exemplarily, as shown in FIG. 4A , the sensing range of the sensor provided on the vehicle 401 can be divided into 4 sections, the distance range of section 1 is 0-20 meters (m), and the distance range of section 2 is 20-65 meters. meters, the distance range for interval 3 is 65-150 meters, and the distance range for interval 4 is 150-250 meters. The critical distance can be divided into any one of two adjacent intervals. For example, a distance of 20m can be divided into interval 1 or interval 2, which can be adjusted according to the actual application scenario.
然后为每个区间设置对应的行驶决策,例如,针对自动驾驶模式,为区间1设置的行驶决策包括刹车和保持跟车,为区间2设置的行驶决策包括跟车、变道和减速,为区间3设置的行驶决策包括加速、跟车、变道和减速,为区间4设置的行驶决策包括加速。Then set the corresponding driving decisions for each section. For example, for the automatic driving mode, the driving decisions set for section 1 include braking and keeping following, and the driving decisions set for section 2 include following, changing lanes, and decelerating. Driving decisions set for 3 include accelerating, following, changing lanes, and decelerating, and driving decisions set for zone 4 include accelerating.
其中,与距离车辆较近的感知区域,如区间1和区间2,在此范围内,传感器检测到的信息通常置信度较高,可以理解为确定型感知信息对应的范围区间。而与车辆较远的感知区域,如区间3或区间4,在此范围内,传感器检测到的信息通常置信度较低,即检测到的信息的准确度较低,可以理解为概率型感知信息对应的范围区间。因此,本申请实施例中划分的范围区间增加了可用的区间3和区间4的距离范围,用来选择车辆的行驶决策,进而规划车辆的行车路径,增加了规划行车路径时的可用感知范围。Among them, the sensing areas closer to the vehicle, such as interval 1 and interval 2, within this range, the information detected by the sensor usually has a high confidence level, which can be understood as the range interval corresponding to the deterministic sensing information. In the sensing area that is far from the vehicle, such as interval 3 or interval 4, within this range, the information detected by the sensor usually has a low confidence level, that is, the accuracy of the detected information is low, which can be understood as probabilistic perception information. the corresponding range. Therefore, the range interval divided in the embodiment of the present application increases the distance range of the available interval 3 and interval 4, which is used to select the driving decision of the vehicle, thereby planning the driving path of the vehicle, and increases the available perception range when planning the driving path.
因此,本申请提供的方案相当于增加了规划行车路径时的感知范围。例如,视觉感知在100m范围内,可以较可靠的检测出障碍物,是确定型感知范围;而在100-200m区间,由于距离变远或图像变小等一系列原因,检测出车辆的成功率降低,置信度也降低。在本申请提供的方案中,对100-200m区间也进行了区域划分,并基于此选择车辆的行驶决策,并规划车辆的行车路径,相当于增加了规划行车路径时的感知范围。Therefore, the solution provided by the present application is equivalent to increasing the perception range when planning a driving path. For example, in the range of 100m, visual perception can detect obstacles more reliably, which is a deterministic perception range; while in the range of 100-200m, due to a series of reasons such as the distance becomes farther or the image becomes smaller, the success rate of detecting vehicles decreases, the confidence also decreases. In the solution provided in this application, the 100-200m interval is also divided into regions, and the driving decision of the vehicle is selected based on this, and the driving path of the vehicle is planned, which is equivalent to increasing the perception range when planning the driving path.
此外,参阅图4B,以障碍物402为前车为例,Vr可以理解为车辆与前车之间的相对速度,Ve可以理解为车辆自身的速度。其中,前车可以是移动状态,即前车速度不为0,也可以是静止状态,即前车速度为0,或者此处的前车也可以替换为其他障碍物,如红绿灯、路障、三角锥等物体。In addition, referring to FIG. 4B , taking the obstacle 402 as the preceding vehicle as an example, Vr can be understood as the relative speed between the vehicle and the preceding vehicle, and Ve can be understood as the speed of the vehicle itself. Among them, the vehicle in front can be in a moving state, that is, the speed of the vehicle in front is not 0, or it can be in a stationary state, that is, the speed of the vehicle in front is 0, or the vehicle in front here can also be replaced with other obstacles, such as traffic lights, roadblocks, triangles cones, etc.
在选择行驶决策时,若障碍物402与车辆401之间的距离障碍物在区间1的距离范围内,该区间1可以理解为紧急刹车区间,即车辆与障碍物402障碍物之间的距离过近,不在安全距离范围内,且与安全距离之间相差较大,需要降低车辆的车速,以使车辆和障碍物保持更安全的距离。此时,车辆的控制目标可以是停车或者是车速保持的范围满足0≤Vr≤30,0≤Ve≤60,从而避免车辆与前车形成追尾事故。该安全距离可以是提前设定的值,或者根据设定的算法计算出来的值,如根据车辆的当前速度、制动距离或者前车速度等计算出来的值,该安全距离可以理解为保证车辆可以安全行驶避免碰撞的距离。When choosing a driving decision, if the distance between the obstacle 402 and the vehicle 401 is within the distance range of section 1, the section 1 can be understood as an emergency braking section, that is, the distance between the vehicle and the obstacle 402 is over If the distance is too close, it is not within the safe distance, and the difference from the safe distance is large, so the speed of the vehicle needs to be reduced to maintain a safer distance between the vehicle and the obstacle. At this time, the control target of the vehicle may be to stop or keep the vehicle speed within a range of 0≤Vr≤30, 0≤Ve≤60, so as to avoid a rear-end collision between the vehicle and the preceding vehicle. The safety distance can be a value set in advance, or a value calculated according to a set algorithm, such as a value calculated according to the current speed of the vehicle, the braking distance or the speed of the preceding vehicle, etc. The safety distance can be understood as guaranteeing the vehicle The distance you can travel safely to avoid a collision.
若前车402与车辆401之间的距离障碍物在区间2的距离范围内,此时车辆与前车的距离处于正常刹车区间,即车辆与前车的距离不在安全距离内,但与安全距离之间相差较小,车辆401的控制目标可以设定为30≤Vr≤60,60≤Ve≤100,此时可以适当降低车辆401的车速,使车辆的速度处于控制目标的范围内。If the distance obstacle between the preceding vehicle 402 and the vehicle 401 is within the distance range of interval 2, the distance between the vehicle and the preceding vehicle is in the normal braking interval, that is, the distance between the vehicle and the preceding vehicle is not within the safe distance, but is within the safe distance. The difference between them is small, and the control target of the vehicle 401 can be set as 30≤Vr≤60, 60≤Ve≤100, at this time, the vehicle speed of the vehicle 401 can be appropriately reduced so that the vehicle speed is within the range of the control target.
若前车402与车辆401之间的距离障碍物在区间3的距离范围内,此时车辆与前车的距离处于舒适调速区间,前车与车辆的距离不小于安全距离。此场景中,可以根据实际场景调整车辆的车速,控制目标可以设定为60≤Vr≤100,100≤Ve≤125,以使车辆可以保持快速并安全的行驶。If the distance obstacle between the preceding vehicle 402 and the vehicle 401 is within the distance range of Section 3, the distance between the preceding vehicle and the preceding vehicle is in the comfortable speed regulation zone, and the distance between the preceding vehicle and the vehicle is not less than the safe distance. In this scene, the speed of the vehicle can be adjusted according to the actual scene, and the control target can be set as 60≤Vr≤100, 100≤Ve≤125, so that the vehicle can keep running fast and safely.
若402与车辆401之间的距离障碍物在区间4的距离范围内,此时车辆与前车的距离处于预判区间,前车与车辆的距离不小于安全距离,车辆处于较为安全的位置。此场景中,可以根据实际场景调整车辆的车速,控制目标可以设定为100≤Vr≤150,125≤Ve≤150,以使车辆可以保持快速并安全的行驶。并且,可以提前对与和车辆的距离处于该距离范围内的障碍物进行规避,进一步提高车辆的行驶安全性。If the distance obstacle between 402 and the vehicle 401 is within the distance range of interval 4, the distance between the vehicle and the preceding vehicle is in the pre-judgment interval, the distance between the preceding vehicle and the vehicle is not less than the safe distance, and the vehicle is in a relatively safe position. In this scene, the speed of the vehicle can be adjusted according to the actual scene, and the control target can be set as 100≤Vr≤150, 125≤Ve≤150, so that the vehicle can keep running fast and safely. In addition, obstacles within the distance range from the vehicle can be avoided in advance, thereby further improving the driving safety of the vehicle.
当然,除了参考Vr和Ve选择控制目标,也可以直接根据车辆与前述的距离作为控制距离,选择车辆加速或者减速的行驶决策,例如,若车辆与障碍物的距离过近,则控制车辆减速,从而增加车辆与障碍物之间的距离;若车辆与障碍物的距离过远,则控制车辆保持车速或者加速,从而保持该距离或者减小该距离,具体可以根据实际应用场景进行调整,此处仅仅是示例性说明,并不作为限定。Of course, in addition to selecting the control target with reference to Vr and Ve, it is also possible to directly select the vehicle acceleration or deceleration driving decision based on the distance between the vehicle and the aforementioned distance as the control distance. For example, if the distance between the vehicle and the obstacle is too close, control the vehicle to decelerate, Thereby increasing the distance between the vehicle and the obstacle; if the distance between the vehicle and the obstacle is too far, control the vehicle to maintain the speed or accelerate, so as to maintain the distance or reduce the distance, which can be adjusted according to the actual application scenario, here It is only an illustration, not a limitation.
为便于理解,可以理解的为,前述图4A所示的4个区间中,区间1和区间2为确定型感知信息对应的范围区间,即置信度高于阈值的感知信息对应的范围区间,区间3和区间4为置信度不高于阈值的感知信息对应的范围区间。当根据感知信息中携带置信度或者距离确认车辆与障碍物的距离处于区间1或区间2中时,可以使用已有的根据选择型感知信息来规划行车路径的方式,来为车辆规划行车路径,从而提高本申请提供的行驶决策选择方法中规划行车路径的方式的兼容性。当根据感知信息中携带置信度或者距离确认车辆与障碍物的距离处于区间3或区间4时,则可以结合车辆的速度和/或车辆与障碍物的相对速度选择车辆的行驶决策,从而提前对更远距离的障碍物进行提前应对,如规避障碍物、提 前减速等,进而提高车辆行驶的安全性,使车辆的行驶过程变化更平滑,提高用户体验。For ease of understanding, it can be understood that, among the four intervals shown in FIG. 4A, interval 1 and interval 2 are the range intervals corresponding to the deterministic perceptual information, that is, the range intervals corresponding to the perceptual information whose confidence is higher than the threshold. 3 and interval 4 are the range intervals corresponding to the perceptual information whose confidence is not higher than the threshold. When it is confirmed that the distance between the vehicle and the obstacle is in the interval 1 or interval 2 according to the confidence or distance carried in the perception information, the existing method of planning the driving path according to the selective perception information can be used to plan the driving path for the vehicle. Thus, the compatibility of the way of planning the driving path in the driving decision selection method provided by the present application is improved. When it is confirmed that the distance between the vehicle and the obstacle is in section 3 or section 4 according to the confidence level or distance carried in the perception information, the driving decision of the vehicle can be selected in combination with the speed of the vehicle and/or the relative speed between the vehicle and the obstacle, so as to determine the distance between the vehicle and the obstacle in advance. More distant obstacles are dealt with in advance, such as avoiding obstacles, decelerating in advance, etc., thereby improving the safety of vehicle driving, making the driving process of the vehicle change more smoothly, and improving the user experience.
更具体地,为便于理解,对选择车辆的行驶决策的过程进行更详细的说明。More specifically, in order to facilitate understanding, the process of selecting the driving decision of the vehicle will be described in more detail.
以参考Vr和Ve选择控制目标为例,在确认车辆和障碍物至今的距离处于某一个范围区间的距离范围内后,可以设定范围区间的边界的速度的控制目标,然后该范围区间的边界的速度的控制目标作为车辆的速度控制目标。Taking the selection of the control target with reference to Vr and Ve as an example, after confirming that the distance between the vehicle and the obstacle so far is within the distance range of a certain range, the speed control target of the boundary of the range can be set, and then the boundary of the range can be set. The speed control target is used as the vehicle speed control target.
示例性地,如图5所示,以其中一个范围区间,如区间i为例,当感知到障碍物402与车辆之间的距离在区间i中时,即车辆感知到的区间i的范围内存在障碍物,此处以障碍物为前车为例。Exemplarily, as shown in FIG. 5 , taking one of the range intervals, such as interval i as an example, when the perceived distance between the obstacle 402 and the vehicle is in the interval i, that is, the range memory of the interval i perceived by the vehicle. In the obstacle, take the obstacle as the front vehicle as an example.
若车辆和前车之间的相对距离不断减少,则车辆与前车的相对距离则会向区间i-1靠近,此时以Vr1=60km/h和Ve1=100km/h为边界车速,以此边界车速为控制目标进行减速运动规划,生成车辆的行车路径,此时该车辆的行车路径可以是在当前车道内继续行驶,如保持直线行驶。当车辆与前车的相对距离减少至区间i的边界时,则控制目标为Vr1=60km/h和Ve1=100km/h。如车辆的车速大于100km/h,车辆和前车的相对速度大于60km/h,则降低车速,即行驶决策为减速,使车速不大于100km/h,车辆和前车的相对速度不大于60km/h。If the relative distance between the vehicle and the preceding vehicle continues to decrease, the relative distance between the vehicle and the preceding vehicle will approach the interval i-1. At this time, Vr1=60km/h and Ve1=100km/h are the boundary vehicle speeds. The boundary vehicle speed is used as the control target to plan the deceleration motion to generate the driving path of the vehicle. At this time, the driving path of the vehicle can be to continue driving in the current lane, such as driving in a straight line. When the relative distance between the vehicle and the preceding vehicle decreases to the boundary of the section i, the control targets are Vr1=60km/h and Ve1=100km/h. If the speed of the vehicle is greater than 100km/h and the relative speed between the vehicle and the vehicle in front is greater than 60km/h, reduce the vehicle speed, that is, the driving decision is to decelerate, so that the vehicle speed is not greater than 100km/h, and the relative speed between the vehicle and the vehicle in front is not greater than 60km/h h.
若车辆和前车之间的相对距离不断增加,则车辆与前车的相对距离将向区间i+1靠近,此时以Vr2=100km/h和Ve2=125km/h为边界车速对车辆的运动轨迹和车速进行控制。当与前车距离减少至区间i的边界时,控制目标为使自车速度Ve2=125km/h,并且与前车的相对速度Vr2=100km/h。If the relative distance between the vehicle and the preceding vehicle continues to increase, the relative distance between the vehicle and the preceding vehicle will approach the interval i+1. At this time, Vr2=100km/h and Ve2=125km/h are the boundary speeds for the movement of the vehicle. The trajectory and speed of the vehicle are controlled. When the distance to the preceding vehicle is reduced to the boundary of the section i, the control target is to make the own vehicle speed Ve2=125 km/h and the relative speed to the preceding vehicle Vr2=100 km/h.
因此,在本申请实施方式中,根据传感器检测到物体的置信度和距离划分了范围区间,对更大的范围进行了划分,相对于仅使用置信度较高的感知信息规划行车路径,本申请提供的方法相当于增加了感知范围。并选择了每个范围区间对应的行驶决策。可以获知车辆和障碍物之间的相对距离对应的范围区间,并根据范围区间选择对应的行驶决策,从而使车辆可以针对更远距离的障碍物选择行驶决策并规划行车路径,如提前减速以避免碰撞,提高了车辆的行车安全性,且可以提前进行更平滑的加速或者减速,可以提高用户体验。Therefore, in the embodiment of the present application, the range interval is divided according to the confidence and the distance of the object detected by the sensor, and the larger range is divided. Compared with only using the perception information with higher confidence to plan the driving path, the present application The methods provided are equivalent to increasing the perception range. And select the driving decision corresponding to each range interval. The range interval corresponding to the relative distance between the vehicle and the obstacle can be known, and the corresponding driving decision can be selected according to the range interval, so that the vehicle can choose the driving decision and plan the driving path for the obstacles in the farther distance, such as decelerating in advance to avoid Collision improves the driving safety of the vehicle, and can perform smoother acceleration or deceleration in advance, which can improve the user experience.
在一些场景中,针对不同类型的障碍物,每个范围区间所设定的行驶决策类型也不相同。例如,若障碍物为移动物体,所设置的行驶决策可以参阅前述图4A中的介绍。又例如,若障碍物为静止物体,则当车辆逐渐向障碍物靠近时,为每个范围区间所设置的行驶决策则仅包括减速或者变道,而不包括加速,以提高车辆的行车安全性。In some scenarios, for different types of obstacles, the types of driving decisions set in each range are also different. For example, if the obstacle is a moving object, the set driving decision can refer to the introduction in the aforementioned FIG. 4A . For another example, if the obstacle is a stationary object, when the vehicle gradually approaches the obstacle, the driving decision set for each range section only includes deceleration or lane change, but not acceleration, so as to improve the driving safety of the vehicle. .
此外,本申请提供的行驶决策选择方法,除了规划车辆在行驶过程中的路径,还可以应用于泊车场景中。示例性地,泊车场景可以如图6A所示,车辆601处于停车场内,停车场内有一个或者多个不可用车位602,和一个或者多个未停放车辆的可用车位603。在启动自动泊车之后,车辆的驾驶舱可以参阅图6B,可以在车辆的仪表盘中的显示屏中显示车辆当前处于自动泊车模式,车位603可以有一个或者多个,可以在车辆的交互显示界面1000中显示可用的车位,并由用户选择泊入的车位。交互显示界面1000所显示的界面可以如图6C所示,用户可以选择多个车位603中的其中一个车位6031。随后,自动泊入车位的场景如图6D所示,可以根据传感器检测到的环境中的障碍物的距离和置信度,选择车辆和障碍 物之间的距离所在的范围区间对应的行驶决策,从而为车辆601规划泊入车位6031的行车路径604,规划行车路径的具体方式可以参阅前述图3C的相关介绍,此处不再赘述。In addition, the driving decision selection method provided by the present application can also be applied to parking scenarios in addition to planning the path of the vehicle during driving. Exemplarily, a parking scenario may be shown in FIG. 6A , where a vehicle 601 is in a parking lot, and there are one or more unavailable parking spaces 602 in the parking lot, and one or more available parking spaces 603 for unparked vehicles. After the automatic parking is activated, the cockpit of the vehicle can refer to FIG. 6B, and the display screen in the dashboard of the vehicle can display that the vehicle is currently in the automatic parking mode. There can be one or more parking spaces 603, which can be displayed during the interaction of the vehicle. Available parking spaces are displayed in the display interface 1000, and the user selects a parking space to be parked in. The interface displayed by the interactive display interface 1000 may be as shown in FIG. 6C , and the user may select one of the parking spaces 6031 among the plurality of parking spaces 603 . Subsequently, the scene of automatic parking in the parking space is shown in Figure 6D. According to the distance and confidence of the obstacles in the environment detected by the sensor, the driving decision corresponding to the range of the distance between the vehicle and the obstacle can be selected, so as to The driving path 604 for the vehicle 601 to be parked in the parking space 6031 is planned. For the specific method of planning the driving path, reference may be made to the related introduction in FIG. 3C , which will not be repeated here.
前述对本申请提供的行驶决策选择方法的流程进行了详细说明,下面结合前述图2-6D对应的方法实施例,对本申请提供的装置进行阐述。The flow of the driving decision selection method provided by the present application has been described in detail above, and the device provided by the present application will be described below with reference to the method embodiments corresponding to the foregoing FIGS. 2-6D .
请参阅图7,本申请提供的一种行驶决策选择装置的结构示意图。该行驶决策选择装置用于执行前述图2-6D对应的方法的步骤。Please refer to FIG. 7 , which is a schematic structural diagram of a driving decision selection device provided by the present application. The driving decision selection device is used to execute the steps of the method corresponding to the aforementioned FIGS. 2-6D .
该行驶决策选择装置可以包括:The driving decision selection device may include:
感知模块701,用于获取车辆上配置的传感器采集到的感知信息;A perception module 701, configured to acquire perception information collected by sensors configured on the vehicle;
决策模块702,用于从至少一个范围区间中选择出与所述感知信息匹配的第一范围区间,至少一个范围区间基于传感器的输出信息将传感器的检测范围进行划分得到的,传感器的输出信息包括检测目标物的距离结果、距离结果对应的置信度或距离结果与距离结果对应的置信度之间的关系中的至少一个,至少一个范围区间中的每个范围区间对应至少一个行驶决策,每个范围区间具有对应的至少一个行驶决策;A decision-making module 702, configured to select a first range interval that matches the sensing information from at least one range interval, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output information of the sensor includes At least one of the distance result of the detected target, the confidence level corresponding to the distance result, or the relationship between the distance result and the confidence level corresponding to the distance result, each range interval in the at least one range interval corresponds to at least one driving decision, and each range interval corresponds to at least one driving decision. The range interval has corresponding at least one driving decision;
决策模块702,还用于根据车辆的车速,从第一范围区间对应的至少一个行驶决策中选择出车辆的行驶决策;The decision-making module 702 is further configured to select a driving decision of the vehicle from at least one driving decision corresponding to the first range interval according to the speed of the vehicle;
控制模块703,用于控制和测量根据该车辆的行驶决策行驶。The control module 703 is used to control and measure the driving according to the driving decision of the vehicle.
在一种可能的实施方式中,决策模块702,具体用于从至少一个范围区间中,选择出与第一距离匹配的第一范围区间,第一距离处于第一范围区间包括的距离范围内。In a possible implementation manner, the decision module 702 is specifically configured to select a first range interval that matches the first distance from at least one range interval, and the first distance is within the distance range included in the first range interval.
在一种可能的实施方式中,每个范围区间还包括置信度范围,至少一个范围区间对应的置信度范围覆盖传感器在检测范围内检测到的信息的置信度,感知信息中还包括第一置信度,第一置信度用于表示第一距离的准确程度;In a possible implementation, each range interval further includes a confidence range, the confidence range corresponding to at least one range interval covers the confidence of the information detected by the sensor within the detection range, and the sensing information further includes the first confidence degree, the first confidence degree is used to represent the accuracy of the first distance;
决策模块702,具体用于从至少一个范围区间中,选择出与第一置信度匹配的第一范围区间,第一置信度包括于感知信息中,第一置信度用于表示第一距离的准确程度。The decision-making module 702 is specifically configured to select a first range interval that matches the first confidence level from at least one range interval, the first confidence level is included in the perception information, and the first confidence level is used to indicate the accuracy of the first distance degree.
在一种可能的实施方式中,本申请提供的行驶决策选择装置还可以包括:划分模块705,用于在所述感知模块获取感知信息之前,对所述传感器的检测范围进行划分,得到至少一个距离范围,所述至少一个距离范围与所述至少一个范围区间一一对应。In a possible implementation manner, the driving decision selection device provided by the present application may further include: a dividing module 705, configured to divide the detection range of the sensor before the sensing module acquires sensing information, to obtain at least one A distance range, the at least one distance range is in one-to-one correspondence with the at least one range interval.
在一种可能的实施方式中,划分模块705,具体用于:在感知模块701获取感知信息之前,获取至少一个置信度范围,至少一个置信度范围中的每个置信度范围不重合,该至少一个置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度;根据至少一个置信度范围,以及距离结果与距离结果对应的置信度之间的关系,计算与至少一个置信度范围一一对应的至少一个距离范围,每个范围区间对应一个置信度范围和距离范围。In a possible implementation manner, the dividing module 705 is specifically configured to: before the sensing module 701 obtains the sensing information, obtain at least one confidence range, and each confidence range in the at least one confidence range does not overlap, and the at least one confidence range does not overlap. A confidence level covers the confidence level of the information detected by the sensor within the detection range; according to at least one confidence level range and the relationship between the distance result and the confidence level corresponding to the distance result, calculate and at least one confidence level The ranges correspond to at least one distance range one-to-one, and each range interval corresponds to a confidence range and a distance range.
在一种可能的实施方式中,划分模块705,还用于:根据距离结果与距离结果对应的置信度的关系,确定与至少一个距离范围一一对应的至少一个置信度范围,至少一个置信度范围用于从至少一个范围区间中筛选与感知信息匹配的范围区间。In a possible implementation, the dividing module 705 is further configured to: determine at least one confidence range corresponding to at least one distance range one-to-one according to the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level The range is used to filter the range interval that matches the perceptual information from at least one range interval.
在一种可能的实施方式中感知模块701,还用于:获取传感器采集到的历史距离信息历史距离信息以及对应的置信度;根据历史距离信息和对应的置信度获取距离结果与距离结果对应的置信度之间的关系。In a possible implementation manner, the perception module 701 is further configured to: acquire historical distance information collected by sensors, historical distance information and corresponding confidence levels; acquire distance results and distance results corresponding to the historical distance information and corresponding confidence levels relationship between confidence levels.
在一种可能的实施方式中决策模块702,具体用于:根据车辆的车速,计算车辆与障碍物的相对速度;结合相对速度,从第一范围区间对应的至少一个行驶决策中选择出车辆的行驶决策。In a possible implementation, the decision-making module 702 is specifically configured to: calculate the relative speed between the vehicle and the obstacle according to the speed of the vehicle; and select the relative speed of the vehicle from at least one driving decision corresponding to the first range interval in combination with the relative speed. driving decisions.
在一种可能的实施方式中,控制模块703可以通过车辆的车辆执行机构704来控制车辆根据行车路径行驶。该车辆执行机构704可以包括前述图1中行进系统102或者控制系统106中的一个或者多个模块。In a possible implementation, the control module 703 may control the vehicle to travel according to the driving path through the vehicle actuator 704 of the vehicle. The vehicle actuator 704 may include one or more of the aforementioned modules of the travel system 102 or the control system 106 of FIG. 1 .
在一种可能的实施方式中,每个范围区间对应的至少一个行驶决策为根据应用场景确定,该应用场景包括但不限于:自动巡航、跟车或者自动泊车等场景。In a possible implementation, at least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario includes but is not limited to scenarios such as automatic cruise, car following, or automatic parking.
请参阅图8,本申请提供的另一种行驶决策选择装置的结构示意图。该行驶决策选择装置用于执行前述图2-6D对应的方法的步骤。Please refer to FIG. 8 , which is a schematic structural diagram of another driving decision and selection device provided by the present application. The driving decision selection device is used to execute the steps of the method corresponding to the aforementioned FIGS. 2-6D .
划分模块801,用于获取至少一个范围区间,该至少一个范围区间中的每个范围区间具有对应的置信度范围和距离范围,该至少一个范围区间所包括的距离范围覆盖传感器的检测范围,至少一个置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度;A division module 801, configured to obtain at least one range interval, each range interval in the at least one range interval has a corresponding confidence range and a distance range, and the distance range included in the at least one range interval covers the detection range of the sensor, at least a confidence range covering the confidence of the information detected by the sensor within the detection range;
决策模块802,用于设定与每个范围区间对应的至少一个行驶决策,每个范围区间和每个范围区间对应的至少一个行驶决策用于选择车辆的行驶决策,车辆的行驶决策用于生成车辆的行车路径。The decision module 802 is used to set at least one driving decision corresponding to each range interval, each range interval and at least one driving decision corresponding to each range interval are used to select the driving decision of the vehicle, and the driving decision of the vehicle is used to generate The driving path of the vehicle.
在一种可能的实施方式中,划分模块801,具体用于:In a possible implementation manner, the dividing module 801 is specifically used for:
基于车辆与传感器检测到的物体的距离对传感器的检测范围进行划分,得到至少一个距离范围,并根据传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系,计算每个距离度范围对应的置信度范围,每个范围区间对应一个置信度范围和距离范围,一个范围区间包括一个置信度范围和一个距离范围。Divide the detection range of the sensor based on the distance between the vehicle and the object detected by the sensor to obtain at least one distance range, and calculate each A confidence range corresponding to a distance range, each range interval corresponds to a confidence range and a distance range, and a range range includes a confidence range and a distance range.
在一种可能的实施方式中,划分模块801,具体用于:In a possible implementation manner, the dividing module 801 is specifically used for:
对传感器可检测到的置信度的范围进行划分得到至少一个置信度范围,并根据传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系计算每个置信度范围对应的距离范围,每个范围区间对应一个置信度范围和距离范围。Divide the range of confidence levels that can be detected by the sensor to obtain at least one confidence level range, and calculate the corresponding confidence level according to the relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result. Distance ranges, each range interval corresponds to a confidence range and a distance range.
在一种可能的实施方式中,行驶决策选择装置还可以包括:控制模块805和感知模块804;In a possible implementation, the driving decision selection device may further include: a control module 805 and a perception module 804;
感知模块804,用于获取感知信息,感知信息包括障碍物的信息,如车辆与障碍物之间的第一距离;A perception module 804, configured to acquire perception information, where the perception information includes information about obstacles, such as the first distance between the vehicle and the obstacle;
控制模块805,用于根据感知信息,从第一范围区间的至少一个行驶决策中选择出车辆的行驶决策,并控制车辆根据该行驶决策行驶。The control module 805 is configured to select a driving decision of the vehicle from at least one driving decision in the first range interval according to the perception information, and control the vehicle to travel according to the driving decision.
在一种可能的实施方式中,感知信息中包括障碍物与车辆的距离,控制模块805,具体用于:In a possible implementation manner, the perception information includes the distance between the obstacle and the vehicle, and the control module 805 is specifically used for:
确定感知信息所包括的置信度在第一范围区间所包括的置信度范围内;结合车辆的车速从第一范围区间的至少一个行驶决策中选择车辆的行驶决策。在一种可能的实施方式中,控制模块805,还用于:It is determined that the confidence level included in the perception information is within the confidence level range included in the first range interval; and a driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle. In a possible implementation manner, the control module 805 is further configured to:
根据车辆的速度,计算车辆相对于障碍物的相对车速,然后结合该相对车速,从第一 范围区间中的至少一个行驶决策中选择车辆的行驶决策。在一种可能的实施方式中,感知信息还包括车辆的速度和/或车辆与障碍物的相对速度;According to the speed of the vehicle, the relative speed of the vehicle relative to the obstacle is calculated, and then, in combination with the relative speed, a driving decision of the vehicle is selected from at least one driving decision in the first range interval. In a possible implementation, the perception information further includes the speed of the vehicle and/or the relative speed of the vehicle and the obstacle;
控制模块805,具体用于结合车辆的速度和/或车辆与障碍物的相对速度,从第一范围区间的至少一个行驶决策中选择出车辆的行驶决策。The control module 805 is specifically configured to select a driving decision of the vehicle from at least one driving decision in the first range interval in combination with the speed of the vehicle and/or the relative speed of the vehicle and the obstacle.
在一种可能的实施方式中,感知信息中所包括的置信度与传感器与障碍物的距离相关。In a possible implementation, the confidence level included in the perception information is related to the distance between the sensor and the obstacle.
在一种可能的实施方式中,行驶决策选择装置还可以包括获取模块803,具体用于:In a possible implementation manner, the driving decision selection device may further include an acquisition module 803, which is specifically used for:
获取传感器采集到的历史距离信息历史距离信息以及对应的置信度;Obtain the historical distance information collected by the sensor and the corresponding confidence;
根据历史距离信息和对应的置信度获取传感器的输出信息所包括的距离结果与该距离结果对应的置信度之间的关系。The relationship between the distance result included in the output information of the sensor and the confidence level corresponding to the distance result is obtained according to the historical distance information and the corresponding confidence level.
可选地,车辆执行机构806与前述的车辆执行机构704类似,此处不再赘述。Optionally, the vehicle actuator 806 is similar to the aforementioned vehicle actuator 704 and will not be repeated here.
请参阅图9,本申请提供的另一种行驶决策选择装置的结构示意图,如下所述。Please refer to FIG. 9 , a schematic structural diagram of another driving decision and selection device provided by the present application, as described below.
该行驶决策选择装置可以包括处理器901和存储器902。该处理器901和存储器902通过线路互联。其中,存储器902中存储有程序指令和数据。The driving decision selection device may include a processor 901 and a memory 902 . The processor 901 and the memory 902 are interconnected by wires. Among them, the memory 902 stores program instructions and data.
存储器902中存储了前述图2-6D中的步骤对应的程序指令以及数据。The memory 902 stores program instructions and data corresponding to the aforementioned steps in FIGS. 2-6D .
处理器901用于执行前述图2-6D中任一实施例所示的行驶决策选择装置执行的方法步骤。The processor 901 is configured to perform the method steps performed by the driving decision selection apparatus shown in any of the foregoing embodiments in FIGS. 2-6D .
可选地,该行驶决策选择装置还可以包括收发器903,用于接收或者发送数据。Optionally, the driving decision selection device may further include a transceiver 903 for receiving or transmitting data.
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有用于生成车辆行驶速度的程序,当其在计算机上行驶时,使得计算机执行如前述图2-6D所示实施例描述的方法中的步骤。Embodiments of the present application also provide a computer-readable storage medium, where a program for generating a vehicle's running speed is stored in the computer-readable storage medium, and when the computer is running on a computer, the computer is made to execute the program as shown in the foregoing FIGS. 2-6D . Steps in the method described in the example embodiment.
可选地,前述的图9中所示的行驶决策选择装置为芯片。Optionally, the aforementioned driving decision selection device shown in FIG. 9 is a chip.
本申请实施例还提供了一种行驶决策选择装置,该行驶决策选择装置也可以称为数字处理芯片或者芯片,芯片包括处理单元和通信接口,处理单元通过通信接口获取程序指令,程序指令被处理单元执行,处理单元用于执行前述图2-6D中任一实施例所示的行驶决策选择装置执行的方法步骤。The embodiments of the present application also provide a driving decision-making selection device, which may also be referred to as a digital processing chip or a chip. The chip includes a processing unit and a communication interface. The processing unit obtains program instructions through the communication interface, and the program instructions are processed. The unit is executed, and the processing unit is configured to execute the method steps executed by the driving decision selection apparatus shown in any of the foregoing embodiments in FIGS. 2-6D .
本申请实施例还提供一种数字处理芯片。该数字处理芯片中集成了用于实现上述处理器901,或者处理器901的功能的电路和一个或者多个接口。当该数字处理芯片中集成了存储器时,该数字处理芯片可以完成前述实施例中的任一个或多个实施例的方法步骤。当该数字处理芯片中未集成存储器时,可以通过通信接口与外置的存储器连接。该数字处理芯片根据外置的存储器中存储的程序代码来实现上述实施例中行驶决策选择装置执行的动作。The embodiments of the present application also provide a digital processing chip. The digital processing chip integrates circuits and one or more interfaces for realizing the above-mentioned processor 901 or the functions of the processor 901 . When a memory is integrated in the digital processing chip, the digital processing chip can perform the method steps of any one or more of the foregoing embodiments. When the digital processing chip does not integrate the memory, it can be connected with the external memory through the communication interface. The digital processing chip implements the actions performed by the driving decision and selection device in the above embodiment according to the program codes stored in the external memory.
本申请实施例中还提供一种包括计算机程序产品,当其在计算机上行驶时,使得计算机执行如前述图2-6D所示实施例描述的方法中行驶决策选择装置所执行的步骤。The embodiments of the present application also provide a computer program product that, when driving on the computer, causes the computer to execute the steps performed by the driving decision selection device in the method described in the embodiments shown in FIGS. 2-6D.
本申请实施例提供的行驶决策选择装置可以为芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使芯片执行上述图2-6D所示实施例描述的行驶决策选择方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、 缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。The driving decision selection device provided in the embodiment of the present application may be a chip, and the chip includes: a processing unit and a communication unit, the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit, etc. . The processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip executes the driving decision selection method described in the embodiments shown in FIGS. 2-6D . Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
具体地,前述的处理单元或者处理器可以是中央处理器(central processing unit,CPU)、网络处理器(neural-network processing unit,NPU)、图形处理器(graphics processing unit,GPU)、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)或现场可编程逻辑门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者也可以是任何常规的处理器等。Specifically, the aforementioned processing unit or processor may be a central processing unit (CPU), a network processor (neural-network processing unit, NPU), a graphics processing unit (graphics processing unit, GPU), a digital signal processing digital signal processor (DSP), application specific integrated circuit (ASIC) or 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 it may be any conventional processor or the like.
示例性地,请参阅图10,图10为本申请实施例提供的芯片的一种结构示意图,所述芯片可以表现为神经网络处理器NPU 100,NPU 100作为协处理器挂载到主CPU(Host CPU)上,由Host CPU分配任务。NPU的核心部分为运算电路100,通过控制器1004控制运算电路1003提取存储器中的矩阵数据并进行乘法运算。Exemplarily, please refer to FIG. 10. FIG. 10 is a schematic structural diagram of a chip provided by an embodiment of the present application. The chip may be represented as a neural network processor NPU 100, and the NPU 100 is mounted on the main CPU ( Host CPU), the task is allocated by the Host CPU. The core part of the NPU is the operation circuit 100, and the operation circuit 1003 is controlled by the controller 1004 to extract the matrix data in the memory and perform multiplication operations.
在一些实现中,运算电路1003内部包括多个处理单元(process engine,PE)。在一些实现中,运算电路1003是二维脉动阵列。运算电路1003还可以是一维脉动阵列或者能够执行例如乘法和加法这样的数学运算的其它电子线路。在一些实现中,运算电路1003是通用的矩阵处理器。In some implementations, the arithmetic circuit 1003 includes multiple processing units (process engines, PEs). In some implementations, the arithmetic circuit 1003 is a two-dimensional systolic array. The arithmetic circuit 1003 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, arithmetic circuit 1003 is a general-purpose matrix processor.
举例来说,假设有输入矩阵A,权重矩阵B,输出矩阵C。运算电路从权重存储器1002中取矩阵B相应的数据,并缓存在运算电路中每一个PE上。运算电路从输入存储器1001中取矩阵A数据与矩阵B进行矩阵运算,得到的矩阵的部分结果或最终结果,保存在累加器(accumulator)1008中。For example, suppose there is an input matrix A, a weight matrix B, and an output matrix C. The arithmetic circuit fetches the data corresponding to the matrix B from the weight memory 1002 and buffers it on each PE in the arithmetic circuit. The arithmetic circuit fetches the data of matrix A and matrix B from the input memory 1001 to perform matrix operation, and stores the partial result or final result of the matrix in an accumulator 1008 .
统一存储器1006用于存放输入数据以及输出数据。权重数据直接通过存储单元访问控制器(direct memory access controller,DMAC)1005,DMAC被搬运到权重存储器1002中。输入数据也通过DMAC被搬运到统一存储器1006中。Unified memory 1006 is used to store input data and output data. The weight data is directly passed through the storage unit access controller (direct memory access controller, DMAC) 1005, and the DMAC is transferred to the weight memory 1002. Input data is also transferred to unified memory 1006 via the DMAC.
总线接口单元(bus interface unit,BIU)1010,用于AXI总线与DMAC和取指存储器(instruction fetch buffer,IFB)1009的交互。A bus interface unit (BIU) 1010 is used for the interaction between the AXI bus and the DMAC and an instruction fetch buffer (instruction fetch buffer, IFB) 1009.
总线接口单元1010(bus interface unit,BIU),用于取指存储器1009从外部存储器获取指令,还用于存储单元访问控制器1005从外部存储器获取输入矩阵A或者权重矩阵B的原数据。The bus interface unit 1010 (bus interface unit, BIU) is used for the instruction fetch memory 1009 to obtain instructions from the external memory, and is also used for the storage unit access controller 1005 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
DMAC主要用于将外部存储器DDR中的输入数据搬运到统一存储器1006或将权重数据搬运到权重存储器1002中或将输入数据数据搬运到输入存储器1001中。The DMAC is mainly used to transfer the input data in the external memory DDR to the unified memory 1006 , the weight data to the weight memory 1002 , or the input data to the input memory 1001 .
向量计算单元1007包括多个运算处理单元,在需要的情况下,对运算电路的输出做进一步处理,如向量乘,向量加,指数运算,对数运算,大小比较等等。主要用于神经网络中非卷积/全连接层网络计算,如批归一化(batch normalization),像素级求和,对特征平面进行上采样等。The vector calculation unit 1007 includes a plurality of operation processing units, and further processes the output of the operation circuit, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison, etc., if necessary. It is mainly used for non-convolutional/fully connected layer network computations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.
在一些实现中,向量计算单元1007能将经处理的输出的向量存储到统一存储器1006。 例如,向量计算单元1007可以将线性函数和/或非线性函数应用到运算电路1003的输出,例如对卷积层提取的特征平面进行线性插值,再例如累加值的向量,用以生成激活值。在一些实现中,向量计算单元1007生成归一化的值、像素级求和的值,或二者均有。在一些实现中,处理过的输出的向量能够用作到运算电路1003的激活输入,例如用于在神经网络中的后续层中的使用。In some implementations, the vector computation unit 1007 can store the vector of processed outputs to the unified memory 1006 . For example, the vector calculation unit 1007 may apply a linear function and/or a nonlinear function to the output of the operation circuit 1003, such as linear interpolation of the feature plane extracted by the convolutional layer, such as a vector of accumulated values, to generate activation values. In some implementations, the vector computation unit 1007 generates normalized values, pixel-level summed values, or both. In some implementations, the vector of processed outputs can be used as activation input to the arithmetic circuit 1003, eg, for use in subsequent layers in a neural network.
控制器1004连接的取指存储器(instruction fetch buffer)1009,用于存储控制器1004使用的指令;The instruction fetch memory (instruction fetch buffer) 1009 connected to the controller 1004 is used to store the instructions used by the controller 1004;
统一存储器1006,输入存储器1001,权重存储器1002以及取指存储器1009均为On-Chip存储器。外部存储器私有于该NPU硬件架构。The unified memory 1006, the input memory 1001, the weight memory 1002 and the instruction fetch memory 1009 are all On-Chip memories. External memory is private to the NPU hardware architecture.
其中,循环神经网络中各层的运算可以由运算电路1003或向量计算单元1007执行。The operation of each layer in the recurrent neural network can be performed by the operation circuit 1003 or the vector calculation unit 1007 .
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述图2-6D的方法的程序执行的集成电路。Wherein, the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of the programs of the above-mentioned methods of FIGS. 2-6D .
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。In addition, it should be noted that the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware. Special components, etc. to achieve. Under normal circumstances, all functions completed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuit, etc. However, a software program implementation is a better implementation in many cases for this application. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that make contributions to the prior art. The computer software products are stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or CD, etc., including several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一 个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

Claims (20)

  1. 一种行驶决策选择方法,其特征在于,包括:A driving decision selection method, comprising:
    获取车辆上配置的传感器采集到的感知信息;Obtain the perception information collected by the sensors configured on the vehicle;
    从至少一个范围区间中选择出与所述感知信息匹配的第一范围区间,所述至少一个范围区间基于所述传感器的输出信息将所述传感器的检测范围进行划分得到的,所述传感器的输出信息包括检测目标物的距离结果、距离结果对应的置信度或距离结果与距离结果对应的置信度之间的关系中的至少一个,所述至少一个范围区间中的每个范围区间对应至少一个行驶决策;A first range interval matching the sensing information is selected from at least one range interval, the at least one range interval is obtained by dividing the detection range of the sensor based on the output information of the sensor, and the output of the sensor The information includes at least one of the distance result of the detected target, the confidence level corresponding to the distance result, or the relationship between the distance result and the confidence level corresponding to the distance result, and each of the at least one range interval corresponds to at least one driving decision making;
    结合所述车辆的车速,从所述第一范围区间对应的至少一个行驶决策中选择出所述车辆的行驶决策,并控制所述车辆根据所述车辆的行驶决策行驶。In combination with the speed of the vehicle, a driving decision of the vehicle is selected from at least one driving decision corresponding to the first range interval, and the vehicle is controlled to travel according to the driving decision of the vehicle.
  2. 根据权利要求1所述的方法,其特征在于,所述每个范围区间对应一个距离范围,所述感知信息中包括第一距离,所述第一距离为所述车辆和障碍物的距离,The method according to claim 1, wherein each range interval corresponds to a distance range, the perception information includes a first distance, and the first distance is a distance between the vehicle and an obstacle,
    所述从至少一个范围区间中选择出与所述感知信息匹配的第一范围区间,包括:The selecting a first range interval that matches the perceptual information from at least one range interval includes:
    从所述至少一个范围区间中,选择出与所述第一距离匹配的所述第一范围区间。From the at least one range interval, the first range interval that matches the first distance is selected.
  3. 根据权利要求1所述的方法,其特征在于,所述每个范围区间对应一个置信度范围,所述感知信息中包括第一置信度,所述第一置信度用于表示所述感知信息所包括的所述车辆与障碍物的距离的准确程度;The method according to claim 1, wherein each range interval corresponds to a confidence range, the perception information includes a first confidence level, and the first confidence level is used to indicate that the perception information contains the degree of accuracy with which the distance of the vehicle to the obstacle is included;
    所述从至少一个范围区间中选择出与所述感知信息匹配的第一范围区间,包括:The selecting a first range interval that matches the perceptual information from at least one range interval includes:
    从所述至少一个范围区间中,选择出与所述第一置信度匹配的所述第一范围区间,所述第一置信度处于所述第一范围区间包括的置信度范围内。From the at least one range interval, the first range interval that matches the first confidence level is selected, and the first confidence level is within the confidence level range included in the first range interval.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,在所述获取感知信息之前,所述方法还包括:The method according to any one of claims 1-3, wherein, before the acquiring the perception information, the method further comprises:
    对所述传感器的检测范围进行划分,得到至少一个距离范围,所述至少一个距离范围与所述至少一个范围区间一一对应。The detection range of the sensor is divided to obtain at least one distance range, and the at least one distance range is in one-to-one correspondence with the at least one range interval.
  5. 根据权利要求4所述的方法,其特征在于,所述对所述传感器的检测范围进行划分,得到至少一个距离范围,包括:The method according to claim 4, wherein, dividing the detection range of the sensor to obtain at least one distance range, comprising:
    获取至少一个置信度范围,所述至少一个置信度范围中的每个置信度范围不重合,所述至少一个置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度;acquiring at least one confidence level range, each confidence level range in the at least one confidence level range does not overlap, and the at least one confidence level range covers the confidence level of the information detected by the sensor within the detection range;
    根据所述至少一个置信度范围以及所述距离结果与距离结果对应的置信度之间的关系,将所述传感器的检测范围划分为至少一个距离范围。According to the at least one confidence range and the relationship between the distance result and the confidence corresponding to the distance result, the detection range of the sensor is divided into at least one distance range.
  6. 根据权利要求4所述的方法,其特征在于,在所述对所述传感器的检测范围进行划分,得到至少一个距离范围之后,所述方法还包括:The method according to claim 4, wherein after dividing the detection range of the sensor to obtain at least one distance range, the method further comprises:
    根据所述距离结果与距离结果对应的置信度的关系,确定与所述至少一个距离范围一一对应的至少一个置信度范围,所述至少一个置信度范围用于从所述至少一个范围区间中筛选与所述感知信息匹配的范围区间。According to the relationship between the distance result and the confidence level corresponding to the distance result, at least one confidence level range corresponding to the at least one distance range is determined, and the at least one confidence level range is used to select from the at least one range interval. Filter the range interval that matches the perception information.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, wherein the method further comprises:
    获取所述传感器采集到的历史距离信息历史距离信息以及对应的置信度;Obtain the historical distance information and the corresponding confidence level of the historical distance information collected by the sensor;
    根据所述历史距离信息和对应的置信度获取所述距离结果与距离结果对应的置信度之间的关系。The relationship between the distance result and the confidence level corresponding to the distance result is obtained according to the historical distance information and the corresponding confidence level.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述结合所述车辆的车速,从所述第一范围区间的至少一个行驶决策中选择出所述车辆的行驶决策,包括:The method according to any one of claims 1-7, wherein the driving decision of the vehicle is selected from at least one driving decision in the first range interval in combination with the speed of the vehicle, include:
    根据所述车辆的车速,计算所述车辆与所述障碍物的相对速度;Calculate the relative speed of the vehicle and the obstacle according to the speed of the vehicle;
    结合所述相对速度,从所述第一范围区间对应的至少一个行驶决策中选择出所述车辆的行驶决策。In combination with the relative speed, a driving decision of the vehicle is selected from at least one driving decision corresponding to the first range interval.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述每个范围区间对应的至少一个行驶决策为根据应用场景确定,所述应用场景包括:自动巡航、跟车或者自动泊车。The method according to any one of claims 1-8, wherein the at least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario includes: automatic cruise, car following or automatic Parking.
  10. 一种行驶决策选择装置,其特征在于,包括:A driving decision selection device, characterized in that it includes:
    感知模块,用于获取车辆上配置的传感器采集到的感知信息;The perception module is used to obtain the perception information collected by the sensors configured on the vehicle;
    决策模块,用于从至少一个范围区间中选择出与所述感知信息匹配的第一范围区间,所述至少一个范围区间基于所述传感器的输出信息将所述传感器的检测范围进行划分得到的,所述传感器的输出信息包括检测目标物的距离结果、距离结果对应的置信度或距离结果与距离结果对应的置信度之间的关系中的至少一个,所述至少一个范围区间中的每个范围区间对应至少一个行驶决策;a decision-making module, configured to select a first range interval matching the sensing information from at least one range interval, the at least one range interval being obtained by dividing the detection range of the sensor based on the output information of the sensor, The output information of the sensor includes at least one of the distance result of detecting the target, the confidence level corresponding to the distance result, or the relationship between the distance result and the confidence level corresponding to the distance result, and each range in the at least one range interval The interval corresponds to at least one driving decision;
    所述决策模块,还用于结合所述车辆的车速,从所述第一范围区间对应的至少一个行驶决策中选择出所述车辆的行驶决策;The decision-making module is further configured to select a driving decision of the vehicle from at least one driving decision corresponding to the first range interval in combination with the speed of the vehicle;
    控制模块,用于控制所述车辆根据所述车辆的行驶决策行驶。A control module, configured to control the vehicle to travel according to the travel decision of the vehicle.
  11. 根据权利要求10所述的装置,其特征在于,所述每个范围区间对应一个距离范围,所述感知信息中还包括第一距离,所述第一距离为所述车辆和障碍物的距离;The device according to claim 10, wherein each range interval corresponds to a distance range, the perception information further includes a first distance, and the first distance is a distance between the vehicle and an obstacle;
    所述决策模块,具体用于从所述至少一个范围区间中,选择出与所述第一距离匹配的所述第一范围区间,所述第一距离处于所述第一范围区间包括的距离范围内。The decision-making module is specifically configured to select the first range interval that matches the first distance from the at least one range interval, and the first distance is within the distance range included in the first range interval Inside.
  12. 根据权利要求10所述的装置,其特征在于,所述每个范围区间对应一个置信度范围,所述感知信息中包括第一置信度,所述第一置信度用于表示所述感知信息所包括的所述车辆与障碍物的距离的准确程度;The apparatus according to claim 10, wherein each range interval corresponds to a confidence range, the perception information includes a first confidence level, and the first confidence level is used to indicate that the perception information contains the degree of accuracy with which the distance of the vehicle to the obstacle is included;
    所述决策模块,具体用于基于第一置信度,从所述至少一个范围区间中,选择出与所述第一置信度所述第一范围区间,所述第一置信度包括于所述感知信息中,所述第一置信度用于表示所述第一距离的准确程度。The decision-making module is specifically configured to, based on a first confidence level, select the first range interval with the first confidence level from the at least one range interval, and the first confidence level is included in the perception In the information, the first confidence level is used to represent the accuracy of the first distance.
  13. 根据权利要求10-12中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 10-12, wherein the device further comprises:
    划分模块,用于在所述感知模块获取感知信息之前,对所述传感器的检测范围进行划分,得到至少一个距离范围,所述至少一个距离范围与所述至少一个范围区间一一对应。The dividing module is configured to divide the detection range of the sensor before the sensing module acquires sensing information to obtain at least one distance range, and the at least one distance range corresponds to the at least one range interval one-to-one.
  14. 根据权利要求13所述的装置,其特征在于,所述每个范围区间包括置信度范围,所述装置还包括:划分模块,具体用于:The device according to claim 13, wherein each range interval includes a confidence range, and the device further comprises: a dividing module, which is specifically configured to:
    获取至少一个置信度范围,所述至少一个置信度范围中的每个置信度范围不重合,所述至少一个置信度范围覆盖所述传感器在所述检测范围内检测到的信息的置信度;acquiring at least one confidence level range, each confidence level range in the at least one confidence level range does not overlap, and the at least one confidence level range covers the confidence level of the information detected by the sensor within the detection range;
    根据所述至少一个置信度范围,以及所述距离结果与距离结果对应的置信度之间的关系,得到与所述至少一个置信度范围一一对应的至少一个距离范围,所述至少一个置信度范围和所述至少一个距离范围组成所述至少一个范围区间。According to the at least one confidence range and the relationship between the distance result and the confidence corresponding to the distance result, at least one distance range corresponding to the at least one confidence range is obtained, and the at least one confidence range is obtained. The range and the at least one distance range make up the at least one range interval.
  15. 根据权利要求13所述的装置,其特征在于,所述划分模块,还用于根据所述距离结果与距离结果对应的置信度的关系,确定与所述至少一个距离范围一一对应的至少一个置信度范围,所述至少一个置信度范围用于从所述至少一个范围区间中筛选与所述感知信息匹配的范围区间。The apparatus according to claim 13, wherein the dividing module is further configured to determine at least one one-to-one correspondence with the at least one distance range according to the relationship between the distance result and the confidence level corresponding to the distance result A confidence range, where the at least one confidence range is used to filter a range interval that matches the perceptual information from the at least one range interval.
  16. 根据权利要求10-15中任一项所述的装置,其特征在于,所述感知模块,还用于:The device according to any one of claims 10-15, wherein the sensing module is further configured to:
    获取所述传感器采集到的历史距离信息历史距离信息以及对应的置信度;Obtain the historical distance information and the corresponding confidence level of the historical distance information collected by the sensor;
    根据所述历史距离信息和对应的置信度获取所述距离结果与距离结果对应的置信度之间的关系。The relationship between the distance result and the confidence level corresponding to the distance result is obtained according to the historical distance information and the corresponding confidence level.
  17. 根据权利要求10-16中任一项所述的装置,其特征在于,所述决策模块,具体用于:The device according to any one of claims 10-16, wherein the decision-making module is specifically configured to:
    根据所述车辆的车速,计算所述车辆与所述障碍物的相对速度;Calculate the relative speed of the vehicle and the obstacle according to the speed of the vehicle;
    结合所述相对速度,从所述第一范围区间对应的至少一个行驶决策中选择出所述车辆的行驶决策。In combination with the relative speed, a driving decision of the vehicle is selected from at least one driving decision corresponding to the first range interval.
  18. 根据权利要求10-17中任一项所述的装置,其特征在于,所述每个范围区间对应的至少一个行驶决策为根据应用场景确定,所述应用场景包括:自动巡航、跟车或者自动泊车。The device according to any one of claims 10-17, wherein the at least one driving decision corresponding to each range interval is determined according to an application scenario, and the application scenario includes: automatic cruise, following a car, or automatic Parking.
  19. 一种行驶决策选择装置,其特征在于,包括处理器;A driving decision selection device, characterized in that it includes a processor;
    所述处理器通过所述通信接口获取程序指令,当所述程序指令被所述处理单元执行时实现权利要求1-9任一项所述的方法;或者,The processor obtains program instructions through the communication interface, and when the program instructions are executed by the processing unit, the method of any one of claims 1-9 is implemented; or,
    所述处理器和存储器耦合,所述存储器存储有程序,当所述存储器存储的程序指令被所述处理器执行时实现权利要求1至9中任一项所述的方法。The processor is coupled to a memory, and the memory stores a program, the program instructions stored in the memory, when executed by the processor, implement the method of any one of claims 1 to 9.
  20. 一种计算机可读存储介质,包括程序,当其被处理单元所执行时,执行如权利要求1至9中任一项所述的方法。A computer-readable storage medium comprising a program which, when executed by a processing unit, performs the method of any one of claims 1 to 9.
PCT/CN2020/103181 2020-07-21 2020-07-21 Method and apparatus for selecting driving decision WO2022016351A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/103181 WO2022016351A1 (en) 2020-07-21 2020-07-21 Method and apparatus for selecting driving decision
CN202080004262.9A CN112512887B (en) 2020-07-21 2020-07-21 Driving decision selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/103181 WO2022016351A1 (en) 2020-07-21 2020-07-21 Method and apparatus for selecting driving decision

Publications (1)

Publication Number Publication Date
WO2022016351A1 true WO2022016351A1 (en) 2022-01-27

Family

ID=74953137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103181 WO2022016351A1 (en) 2020-07-21 2020-07-21 Method and apparatus for selecting driving decision

Country Status (2)

Country Link
CN (1) CN112512887B (en)
WO (1) WO2022016351A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114655131A (en) * 2022-03-29 2022-06-24 东风汽车集团股份有限公司 Vehicle-mounted perception sensor adjusting method, device and equipment and readable storage medium
CN114872735A (en) * 2022-07-10 2022-08-09 成都工业职业技术学院 Neural network algorithm-based decision-making method and device for automatically-driven logistics vehicles
CN117196266A (en) * 2023-11-07 2023-12-08 成都工业职业技术学院 Unmanned shared automobile area scheduling method and device based on neural network

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113799799A (en) * 2021-09-30 2021-12-17 中国第一汽车股份有限公司 Security compensation method and device, storage medium and electronic equipment
CN114997359A (en) * 2022-05-17 2022-09-02 哈尔滨工业大学 Complete set of technical equipment for embankment dangerous case patrol based on bionic machine dog
CN114771576A (en) * 2022-05-19 2022-07-22 北京百度网讯科技有限公司 Behavior data processing method, control method of automatic driving vehicle and automatic driving vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041493B2 (en) * 2007-04-25 2011-10-18 Nissan Motor Co., Ltd. Cruise control device and method for controlling the running of a vehicle
CN108860148A (en) * 2018-06-13 2018-11-23 吉林大学 Self-adapting cruise control method based on driver's follow the bus characteristic Safety distance model
CN107067753B (en) * 2017-05-23 2020-01-07 东南大学 Automatic following driving method based on driving safety distance
CN110843779A (en) * 2019-10-16 2020-02-28 华为技术有限公司 Method and device for controlling vehicle running
CN110949383A (en) * 2018-09-26 2020-04-03 广州汽车集团股份有限公司 Control method and device for following driving of automatic driving vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9367065B2 (en) * 2013-01-25 2016-06-14 Google Inc. Modifying behavior of autonomous vehicles based on sensor blind spots and limitations
JP7027279B2 (en) * 2018-08-07 2022-03-01 本田技研工業株式会社 Vehicle control devices, vehicle control methods, and programs
JP7065410B2 (en) * 2018-09-28 2022-05-12 パナソニックIpマネジメント株式会社 Empty parking space detection device and empty parking space detection method
CN111324115B (en) * 2020-01-23 2023-09-19 北京百度网讯科技有限公司 Obstacle position detection fusion method, obstacle position detection fusion device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041493B2 (en) * 2007-04-25 2011-10-18 Nissan Motor Co., Ltd. Cruise control device and method for controlling the running of a vehicle
CN107067753B (en) * 2017-05-23 2020-01-07 东南大学 Automatic following driving method based on driving safety distance
CN108860148A (en) * 2018-06-13 2018-11-23 吉林大学 Self-adapting cruise control method based on driver's follow the bus characteristic Safety distance model
CN110949383A (en) * 2018-09-26 2020-04-03 广州汽车集团股份有限公司 Control method and device for following driving of automatic driving vehicle
CN110843779A (en) * 2019-10-16 2020-02-28 华为技术有限公司 Method and device for controlling vehicle running

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114655131A (en) * 2022-03-29 2022-06-24 东风汽车集团股份有限公司 Vehicle-mounted perception sensor adjusting method, device and equipment and readable storage medium
CN114655131B (en) * 2022-03-29 2023-10-13 东风汽车集团股份有限公司 Vehicle-mounted sensing sensor adjustment method, device, equipment and readable storage medium
CN114872735A (en) * 2022-07-10 2022-08-09 成都工业职业技术学院 Neural network algorithm-based decision-making method and device for automatically-driven logistics vehicles
CN117196266A (en) * 2023-11-07 2023-12-08 成都工业职业技术学院 Unmanned shared automobile area scheduling method and device based on neural network
CN117196266B (en) * 2023-11-07 2024-01-23 成都工业职业技术学院 Unmanned shared automobile area scheduling method and device based on neural network

Also Published As

Publication number Publication date
CN112512887A (en) 2021-03-16
CN112512887B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
JP7255782B2 (en) Obstacle avoidance method, obstacle avoidance device, automatic driving device, computer-readable storage medium and program
WO2022016351A1 (en) Method and apparatus for selecting driving decision
WO2021103511A1 (en) Operational design domain (odd) determination method and apparatus and related device
WO2021000800A1 (en) Reasoning method for road drivable region and device
WO2021102955A1 (en) Path planning method for vehicle and path planning apparatus for vehicle
CN112534483B (en) Method and device for predicting vehicle exit
WO2022205243A1 (en) Method and apparatus for obtaining lane change area
WO2021036592A1 (en) Adaptive adjustment method and device for rear-view mirror
WO2022142839A1 (en) Image processing method and apparatus, and intelligent vehicle
CN113525373B (en) Lane changing control system, control method and lane changing controller for vehicle
WO2022016901A1 (en) Method for planning driving route of vehicle, and intelligent vehicle
CN113460033A (en) Automatic parking method and device
CN115042821B (en) Vehicle control method, vehicle control device, vehicle and storage medium
CN114056347A (en) Vehicle motion state identification method and device
WO2022088761A1 (en) Method and apparatus for planning vehicle driving path, intelligent vehicle, and storage medium
CN114261404A (en) Automatic driving method and related device
CN114842440B (en) Automatic driving environment sensing method and device, vehicle and readable storage medium
CN116135654A (en) Vehicle running speed generation method and related equipment
CN115205848A (en) Target detection method, target detection device, vehicle, storage medium and chip
CN114782638A (en) Method and device for generating lane line, vehicle, storage medium and chip
CN115082886B (en) Target detection method, device, storage medium, chip and vehicle
CN114877911B (en) Path planning method, device, vehicle and storage medium
CN115407344B (en) Grid map creation method, device, vehicle and readable storage medium
WO2022127502A1 (en) Control method and device
CN114572219B (en) Automatic overtaking method and device, vehicle, storage medium and chip

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: 20946043

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: 20946043

Country of ref document: EP

Kind code of ref document: A1