WO2020238097A1 - Testing method for autonomous vehicle, device, and system - Google Patents

Testing method for autonomous vehicle, device, and system Download PDF

Info

Publication number
WO2020238097A1
WO2020238097A1 PCT/CN2019/120934 CN2019120934W WO2020238097A1 WO 2020238097 A1 WO2020238097 A1 WO 2020238097A1 CN 2019120934 W CN2019120934 W CN 2019120934W WO 2020238097 A1 WO2020238097 A1 WO 2020238097A1
Authority
WO
WIPO (PCT)
Prior art keywords
autonomous vehicle
data
model
vehicle
autonomous
Prior art date
Application number
PCT/CN2019/120934
Other languages
French (fr)
Chinese (zh)
Inventor
李慧云
石印洲
林定方
潘仲鸣
Original Assignee
中国科学院深圳先进技术研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院深圳先进技术研究院 filed Critical 中国科学院深圳先进技术研究院
Publication of WO2020238097A1 publication Critical patent/WO2020238097A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Definitions

  • This application relates to the technical field of automated driving vehicle testing, and in particular to a testing method, device and system for automated driving vehicles.
  • Intelligent driving is an inevitable trend in the development of autonomous vehicles in the future, and an effective way to avoid human driving errors and improve traffic efficiency.
  • the rapid changes in existing communications, electronics and computer technologies have laid a solid foundation for the development of intelligent driving technology.
  • the Institute of Electrical and Electronics Engineers (IEEE) predicts that by 2040, 75% of autonomous vehicles will be intelligent driving autonomous vehicles.
  • the market growth rate of intelligent driving autonomous vehicles will be 10 times that of other autonomous vehicles, and the emergence of intelligent driving autonomous vehicles will reduce the traffic accident rate to 10%.
  • Test scenario use cases are mainly derived from traffic accidents and natural driving data of manned autonomous vehicles, as well as experimental data from human takeover cases and special scenarios simulated in previous tests to verify the operational safety of autonomous vehicles.
  • the current model-in-the-loop and software-in-the-loop simulation tools cannot test the actual execution effects, especially the actual effects including kinematics and dynamics, traffic rules, and vehicle-road coordination. It is not possible to test the self-driving vehicle's ability to recognize the environment, the recognition response time and processing methods of dangerous situations, and the safety and stability of the autonomous cognitive ability in a complex traffic environment.
  • One of the objectives of the embodiments of the present application is to provide a test method, device, and equipment for an automatic driving vehicle, so as to solve the problem that the environment recognition ability of the automatic driving vehicle cannot be tested when the automatic driving vehicle is simulated in the prior art.
  • the first aspect of the embodiments of the present application provides a test system for an autonomous vehicle.
  • the in-loop test system for an autonomous vehicle includes a real-vehicle control data acquisition module, a test bench, a scenario model establishment module, and an evaluation module. :
  • the real-vehicle data collection module is used to collect the control data of the control components of the tested autonomous vehicle
  • the test bench is used to generate a scene feedback instruction according to the control data of the tested autonomous vehicle and the scene information of the autonomous vehicle, and control the motor of the test bench to generate a response to the vehicle according to the scene feedback instruction.
  • the scene model establishment module is used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment perception sensor model, and the environment perception sensor model is used according to the autonomous vehicle dynamics model and the traffic scene model.
  • a traffic flow model to generate control instructions to control the control components of the autonomous vehicle, and combine the state data to obtain position data of the autonomous vehicle dynamics model in the traffic scene model;
  • the evaluation module is used to calculate the return value for evaluating the driving state of the autonomous vehicle based on the position data of the autonomous vehicle dynamics model in the traffic scene model and the simulation data of the tested autonomous vehicle .
  • the actual vehicle data collection module includes an angle sensor for collecting the rotation angle of the steering wheel, a gear switch for different gears, and a One or more of stroke sensors for collecting pedal stroke.
  • the test bench includes one or more of a simulation motor, a test bench control system, a sensor, and a steering loading system, wherein:
  • the simulation motor is used for speed control simulation and rolling resistance simulation according to the road in the scene;
  • the test bench control system is used to receive a decision-making instruction from an autonomous vehicle system, or send an instruction to the autonomous vehicle system, or receive a manual input control instruction;
  • the sensors include a rotational speed sensor and a torque sensor, which are used to detect the rotational speed of the hub of the autonomous vehicle and the transmitted torque;
  • the steering loading system is used when the automatic driving vehicle is steering, and the steering loading motor generates a torque that prevents the wheels from turning to verify the automatic steering of the automatic driving vehicle.
  • the evaluation module is specifically configured to, according to the formula:
  • I[[ ⁇ ]] represents the indicator function
  • the value is 1 when the internal conditions of the function are met, otherwise the value is 0,
  • v is the longitudinal speed of the autonomous vehicle
  • D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead
  • d 2 is the distance between the autonomous vehicle and the center axis of the lane
  • ⁇ and ⁇ are the constraint parameters when the autonomous vehicle turns
  • r is the return value
  • x1 is the automatic driving
  • x2 is the distance threshold between the autonomous vehicle and the center axis of the lane.
  • the test system of the autonomous vehicle further includes a fusion module, and the fusion module is used for sensing data of multiple autonomous vehicles in the scene. , And collect the sensor data of multiple roads in the scene, and fuse the collected multiple sensor data.
  • a second aspect of the embodiments of the present application provides a test method for an autonomous vehicle based on the test system for an autonomous vehicle according to any one of the first aspect, and the test method for the autonomous vehicle includes:
  • a scene feedback instruction is generated, and the motor of the test bench is controlled according to the scene feedback instruction to generate a reaction force against the autonomous vehicle under test. Acquiring the state data of the autonomous vehicle by the anti-boat force;
  • a return value for evaluating the driving state of the autonomous driving vehicle is calculated.
  • the step of calculating a return value for evaluating the driving state of an autonomous vehicle based on the simulation data and the location data includes:
  • I[[ ⁇ ]] represents the indicator function
  • the value is 1 when the internal conditions of the function are met, otherwise the value is 0,
  • v is the longitudinal speed of the autonomous vehicle
  • D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead
  • d 2 is the distance between the autonomous vehicle and the center axis of the lane
  • ⁇ and ⁇ are the constraint parameters when the autonomous vehicle turns
  • r is the return value
  • x1 is the automatic driving
  • x2 is the distance threshold between the autonomous vehicle and the lane center axis.
  • control instructions for the autonomous vehicle are generated, and based on all
  • the step of collecting the control data of the control component of the tested autonomous vehicle by the control instruction includes:
  • traffic scene models including traffic flow data, autonomous vehicle dynamics models, and environmental sensor models;
  • a control instruction for the autonomous vehicle is generated.
  • an embodiment of the present application provides a testing device for an autonomous vehicle based on the testing system for an autonomous vehicle according to any one of the first aspect, wherein the testing device for an autonomous vehicle includes:
  • the control data collection unit is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Manipulate data;
  • the state data collection unit is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force against the tested autonomous vehicle, and according to the anti-boat To obtain state data of the autonomous vehicle;
  • a location data determining unit configured to determine location data of the dynamic model of the autonomous vehicle in the traffic scene model according to the state data
  • the reward value calculation unit is used to calculate the reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium that stores a computer program that, when executed by a processor, realizes the automatic The steps of the test method for driving a vehicle.
  • the beneficial effects of the automated driving vehicle test method provided in the embodiments of the present application are: by establishing a scene model including a traffic flow model, real-time detection of the driving environment of the automated driving vehicle through the environment sensing sensor model, and identifying the driving environment of the automated driving vehicle.
  • a control instruction is generated, the control instruction is executed by the autonomous vehicle to be tested, the control data of the autonomous vehicle to be tested is collected, and the test bench is based on the scene information of the autonomous vehicle and the control of the autonomous vehicle Data, generate scene feedback instructions, and control the motor of the test bench according to the scene feedback instructions to generate a reaction force to the autonomous vehicle under test, so as to buffer the momentum of the vehicle and simulate the road buffer in the actual scene
  • the magnitude and mode of force are used to obtain the state data of the autonomous driving vehicle, the position of the automatic loading vehicle is calculated based on the state data, and the return value of the driving state of the autonomous driving vehicle is calculated based on the position data and the state data, Therefore, the test method described in the present application can be combined with a scene model including traffic flow data through a test bench to more realistically reflect the driving state of the autonomous vehicle, and can more reliably test the autonomous vehicle's ability to recognize the environment and dangerous situations
  • Figure 1 is a schematic diagram of a test system for an autonomous vehicle provided by an embodiment of the present application
  • Figure 2 is a schematic diagram of a real-vehicle data collection module provided by an embodiment of the present application
  • Figure 3 is a schematic structural diagram of a test bench provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of state information for designing a reward function provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of speed and return value constraints provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an implementation process of a test method for an autonomous vehicle provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a test device for an automatic driving vehicle provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of a test device for an autonomous vehicle provided by an embodiment of the present application.
  • Fig. 1 is a schematic structural diagram of a test system for an autonomous vehicle provided by an embodiment of the application, and the details are as follows:
  • the test system of the autonomous vehicle includes a real-vehicle control data acquisition module 101, a test bench 102, a scene model establishment module 103, and an evaluation module 104, in which:
  • the real-vehicle data collection module 101 is used to collect the control data of the control components of the tested autonomous vehicle;
  • the test bench 102 is used to generate a scene feedback instruction according to the control data of the tested autonomous vehicle and the scene information of the autonomous vehicle, and control the motor of the test bench to generate a pair according to the scene feedback instruction. Obtaining the state data of the autonomous vehicle based on the reaction force of the tested autonomous vehicle;
  • the scene model establishment module 103 is used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment perception sensor model, and the environment perception sensor model is used according to the autonomous vehicle dynamics model and the traffic scene.
  • the model and the traffic flow model generate control instructions to control the control components of the autonomous vehicle, and combine the state data to obtain position data of the autonomous vehicle dynamics model in the traffic scene model;
  • the evaluation module 104 is configured to calculate a return for evaluating the driving state of the autonomous vehicle based on the position data of the autonomous vehicle dynamics model in the traffic scene model and the simulation data of the tested autonomous vehicle value.
  • the real-vehicle data acquisition module 101 may be installed in an autonomous vehicle, and sensors such as lidar and cameras may be installed in the autonomous vehicle.
  • the actual-vehicle data acquisition module may include Angle sensor, rotational speed sensor, linear acceleration sensor, angular velocity sensor, tension sensor, etc. among them:
  • the vehicle controller sends a rotation command to the steering column motor controller to control the rotation of the steering column motor, and collects the rotation angle of the steering column through an angle sensor and sends it to the vehicle controller;
  • the vehicle controller sends a drive command to the drive motor controller or the transmitter throttle controller, and the drive motor or engine drives the wheels to rotate.
  • the rotational speed of the wheels can be collected by the rotational speed sensor and sent to the vehicle controller;
  • the vehicle controller can send a brake command to the brake pedal control device.
  • the tension sensor can collect the tension signal, and the braking amplitude data can be calculated based on the tension signal, or the stroke sensor can also collect the pedal stroke.
  • it may also include a linear acceleration sensor to collect the autonomous driving acceleration of the autonomous vehicle, and an angle sensor to collect the turning speed of the autonomous vehicle, or it may also include the vehicle controller according to the automatic driving An automatic lighting system for lighting control of the vehicle's driving state.
  • Fig. 3 is a schematic diagram of a test bench provided by this application.
  • the test bench 102 is aimed at testing and testing requirements of driving, steering, and braking systems of an unmanned autonomous vehicle.
  • This application proposes A set of multifunctional axle coupling test platform, which can be used for comprehensive testing and verification of the whole vehicle, or a sub-system can be tested and verified separately.
  • traffic flow data and scene information according to the specific road information in the scene information, such as The slope of the road, the road surface material, etc., combined with the pre-statistical friction force corresponding to the vehicle under different driving conditions, and the friction force action method, to control the reaction force of the test bench on the autonomous vehicle, so as to This makes the test of autonomous vehicles more consistent with the actual situation.
  • the autonomous vehicles By importing traffic flow data from real scenes, the autonomous vehicles can be trained more effectively for emergencies in the actual scene, and can test the environment of the autonomous vehicles. Recognition ability, recognition response time and processing methods of dangerous situations, and autonomous cognition ability in complex traffic environment and the safety and stability of multi-system collaborative work.
  • the test bench can make the simulated test environment close to the real environment. It can be applied to the fields of vehicle performance testing, durability, transmission system testing, ADAS and driverless development testing.
  • the test bench may include a drive motor, which can be connected to an industrial power grid, or can also be connected to a vehicle-mounted power battery.
  • the drive motor can be a DC, AC or permanent magnet motor, and the drive motor needs to meet the requirements of overload,
  • the power can be 80-150kw, and the drive motor can be equipped with an inverter and an AC/DC AC/DC converter.
  • a 2-drive (front-drive/rear-drive) or 4-drive version can be provided to meet the test requirements. It can simulate road rolling resistance and speed control according to the scene model to meet the test cycle requirements of different working conditions.
  • the test bench may include a test bench control system, a speed sensor, a torque sensor, a steering loading system, etc., where:
  • the test bench control system can adopt PLC, which can be used to receive and execute decision instructions issued by the vehicle control system, can manually input and execute driving, steering, and brake instructions, and can issue instructions to the vehicle control system.
  • PLC PLC
  • the speed sensor and torque sensor can be equipped with sensors according to the torque test requirements of different accuracy levels, used to test the speed of the autonomous driving vehicle hub, and pass flanges, universal joints, spline shafts, spline sleeves, and universal joints
  • the maximum speed and torque can be detected and recorded during the brake test with the torque transmitted by the accessories.
  • it can also include a dynamometer, which can be connected to the hub via a bearing support and a flywheel, and can include a direction angle detection system and a loading system for detecting the direction angle of the hub.
  • the steering loading system can be used to test EPS (electronically controlled electric power steering system).
  • EPS electrostatically controlled electric power steering system
  • the control system of the test bench sends a command to the steering loading motor, and the loading motor gives a torque that prevents the wheels from turning (simulating the resistance torque between the wheels and the ground), verifying the automatic steering column steering effect of the autonomous vehicle .
  • the scene model establishment module 103 described in this application can be used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment sensing sensor model, among which:
  • the traffic scene model can be based on a simulator such as Prescan to establish a complex scene autonomous driving traffic scene modeling, covering road models, environment models, road user models, weather lighting models, etc. Based on the import of external map data, the road slope, curvature, inclination and other information can be obtained to complete the parameterized pavement model with the same height of the real road, which can be used for automated testing; complex road network structure modeling, such as three-way intersections, overpasses, etc.
  • the traffic scene model may include information such as road surface and roadside facilities, traffic signs, buildings, and green belts.
  • Weather and illumination models can include day and night and sunlight, rain, snow and fog weather, and car lights and street lights models.
  • the traffic flow model can generate high-fidelity background traffic flow information by adopting city-level macroscopic traffic flow data, regression or Generative Adversarial Networks (GAN) learning methods. Import the data into the microscopic traffic flow tool Vissim, etc. to generate a microscopic traffic flow data environment, and inject the microscopic traffic flow data into the self-built autonomous vehicle dynamics simulation platform Matlab Simulink to obtain a traffic flow model.
  • GAN Generative Adversarial Networks
  • the autonomous driving vehicle dynamics model may be performed by 2D or 3D dynamic modeling of the autonomous driving vehicle, and the autonomous driving vehicle dynamics model may include dynamic simulation models of the braking system, steering system, and suspension system It is established to realize the longitudinal acceleration/deceleration and lateral movement of the autonomous vehicle. It can be described by the dynamics of the autonomous vehicle based on Model Predictive Control (MPC) or PID controller (proportional-integral-derivative controller).
  • MPC Model Predictive Control
  • PID controller proportional-integral-derivative controller
  • the environmental sensing sensor model can be used to collect signals. After the collected signals are fused, they are transmitted to the decision-making layer, and finally to the entire actuator.
  • the types of sensors can include cameras, millimeter wave radars, ultrasonic radars, lidars, and DGPS+IMU sensors that require positioning. These sensors can be used to detect some surrounding traffic scenes, such as self-driving vehicles and pedestrians. It can also be used for path planning and positioning, confirming the position of the self-driving vehicle on the road, and combining the detected driving area to perform local Path planning, and finally control the power brake steering system of the entire autonomous vehicle.
  • the evaluation module can be used to test the performance of single-vehicle decision-making control, vehicle-road collaborative testing, large-scale autonomous vehicle wireless communication technology and capabilities, and vehicle networking communication congestion control strategy testing.
  • 1 indicates that the autonomous vehicle is on the edge of the lane, and
  • Figure 4 shows a schematic diagram of the state information used for the design of the reward function.
  • the thick lines on the upper and lower sides in the figure indicate the edge of the lane, and the dotted line in the middle indicates the central axis of the lane.
  • the angle between the longitudinal speed v of the autonomous vehicle and the central axis of the lane is The distance d 1 indicated by the green line is the distance between the autonomous vehicle and the edge of the lane directly ahead, and the distance d 2 indicated by the blue line is the distance from the origin of the vehicle body coordinate system to the center axis of the lane.
  • the design of the reward function described in this application includes the following considerations: (a) It is hoped that the longitudinal speed v of the autonomous driving vehicle can be as large as possible; (b) It is hoped that the forward direction of the autonomous vehicle is as consistent as possible with the direction of the lane, that is, angle Try to approach zero as much as possible; (c) hope that the distance d 1 between the autonomous vehicle and the edge of the lane ahead is as large as possible; (c) hope that the autonomous vehicle is located as close to the center axis of the lane as possible during driving, that is, d 2 tends to zero; (d) It is hoped that the self-driving vehicle can predict the curve before the curve, brake in advance and slow down, so as to ensure safe cornering without breaking out of the track. Based on the above expectations for the performance of autonomous vehicles, this article gives a reward function in the following form:
  • I[[ ⁇ ]] represents the indicator function
  • the value is 1 when the internal conditions of the function are met, otherwise the value is 0,
  • v is the longitudinal speed of the autonomous vehicle
  • D 1 is the distance between the autonomous vehicle and the edge of the lane ahead
  • d 2 is the distance between the autonomous vehicle and the center axis of the lane
  • ⁇ and ⁇ are the constraint parameters of the autonomous vehicle when turning
  • r is the return value
  • x1 is the automatic driving
  • x2 is the distance threshold between the autonomous vehicle and the central axis of the lane.
  • X1 can be set to 10
  • X2 is set to 50.
  • the values of X1 and X2 can be adapted to the test requirements of different roads.
  • the constraint parameters ⁇ and ⁇ can be determined based on the reference initial value and the continuous optimization method combined with the actual measurement result.
  • the reward function described in this application adopts the form of product instead of the form of summation.
  • the reward function is made to have super-linear properties and is more sensitive to changes in the behavior of autonomous vehicles, thereby enabling autonomous vehicles to be driven more quickly The behavior meets expectations.
  • the product terms of the reward function respectively correspond to the five expectations for the behavior of autonomous vehicles described above. Because it is hoped that the longitudinal speed of the self-driving vehicle can be as large as possible, v is used as a product term. Under the premise that it is not affected by other product terms, the larger v is, the greater the reward value is obtained.
  • the term constrains the angle between the forward direction of the autonomous vehicle and the direction of the lane Tends to zero when The item is 1, it will not affect the result; when Will reduce the return value.
  • the distance between the autonomous vehicle and the edge of the lane directly ahead is constrained by the following product terms:
  • the distance threshold x2 between the autonomous vehicle and the edge of the front lane can be set to 50 meters, when d 1 >50, the value of this item is 1, which will not affect the result of the return value; and when d 1 ⁇ 50, the value of this item is less than 1, which will reduce the reward value, and the smaller d 1 is, the smaller the reward value will be.
  • ⁇ and ⁇ are the turning constraint parameters of the autonomous vehicle that need to be adjusted according to the experimental results.
  • d 1 >10 the self-driving vehicle does not encounter a curve, and the compound term degenerates into a speed term. At this time, the greater the speed, the greater the return value; when d 1 ⁇ 10, the term is the second order of the speed v function.
  • the curve of the quadratic function that is, the constraint curve of speed and return value, as shown in Figure 5.
  • the curve of the quadratic function has a maximum value.
  • v 181/2, which means that when the autonomous vehicle encounters a curve, if the value of the composite item is to be as large as possible, the speed of the autonomous vehicle should be as close as possible to 90.5km/h, thus limiting the automatic driving vehicle in The maximum speed when passing a curve prevents the autonomous vehicle from rushing out of the track due to excessive speed.
  • the speed of the self-driving vehicle before entering the curve may be much greater than 90.5km/h.
  • the self-driving vehicle will automatically brake and decelerate, thus realizing the automatic driving of predicting the curve and braking control.
  • the constraint parameters ⁇ and ⁇ can be optimized according to the actual driving data of the autonomous vehicle.
  • the fusion module when the sensor data is fused, the fusion module may also be included.
  • the fusion module is used to integrate the sensor data of multiple autonomous vehicles in the scene and the multiple sensors in the scene.
  • the sensor data of the road is collected, and the collected multiple sensor data are merged.
  • Multi-sensor information fusion improves the effectiveness of the system by coordinating, combining, and complementing the information obtained by multiple sensors, and achieves better performance than a single sensor.
  • Multi-sensor information can be fused by methods such as multi-source information distributed parallel fusion method, Kalman filter method, dynamic and static filter technology, interactive adaptive, factor graph method, etc., to reduce the amount of high-precision sensor data and improve the accuracy of perception fusion.
  • FIG. 6 is a schematic diagram of the implementation process of an automatic driving vehicle test method based on the above-mentioned automatic driving vehicle test system provided by an embodiment of the application, and the details are as follows:
  • step S601 according to the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, a control instruction for the autonomous vehicle is generated, and the control data of the control component of the tested autonomous vehicle is collected based on the control instruction ;
  • control instruction can inject traffic flow data into the autonomous vehicle simulation platform through the established traffic scene model, traffic flow model including traffic flow data, autonomous driving vehicle dynamics model, and environment sensing sensor model.
  • the driving vehicle simulation platform establishes a traffic scene model including traffic flow data, detects the environment perception data collected by the traffic scene model through the environment perception sensor model, and generates control instructions for the autonomous vehicle.
  • step S602 based on the manipulation data and combined with the scene information of the autonomous vehicle, a scene feedback instruction is generated, and the motor of the test bench is controlled according to the scene feedback instruction to generate a signal for the autonomous vehicle under test.
  • the reaction force obtaining the state data of the autonomous vehicle according to the reaction force;
  • the autonomous vehicle is tested on the test bench, and the road parameters of the vehicle are determined according to the road data included in the scene information, including Such as the slope of the road, the material of the road, the weather conditions (rainy, tomorrow, snow), etc., according to the road parameters, combined with the control data of the vehicle, determine the reaction force acting on the autonomous vehicle, that is, the action Due to the friction of the autonomous vehicle, the autonomous vehicle can simulate the actual test scenario more realistically and generate more realistic state data of the autonomous vehicle, including the vehicle's speed, acceleration, angular velocity, etc.
  • step S603 according to the state data, determine the position data of the autonomous vehicle dynamics model in the traffic scene model
  • the displacement information of the autonomous vehicle dynamics model in the traffic scene can be determined, and the position data of the autonomous vehicle driving the autonomous vehicle can be determined according to the displacement information, including the autonomous vehicle mentioned above
  • the angle between the direction of travel and the axis of the lane The distance d 1 between the autonomous vehicle and the edge of the lane ahead, the distance d 2 from the origin of the vehicle body coordinate system to the center axis of the lane, etc.
  • step S604 according to the state data and the position data, a reward value for evaluating the driving state of the autonomous driving vehicle is calculated.
  • the return value of a single vehicle can be calculated.
  • One of the calculation methods can be:
  • I[[ ⁇ ]] represents the indicator function
  • the value is 1 when the internal conditions of the function are met, otherwise the value is 0,
  • v is the longitudinal speed of the autonomous vehicle
  • D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead
  • d 2 is the distance between the autonomous vehicle and the center axis of the lane
  • ⁇ and ⁇ are the constraint parameters when the autonomous vehicle turns
  • r is the return value
  • x1 is the automatic driving
  • x2 is the distance threshold between the autonomous vehicle and the lane center axis.
  • the reward function described in this application adopts the form of product instead of the form of summation.
  • the reward function is made to have super-linear properties and is more sensitive to changes in the behavior of autonomous vehicles, thereby enabling autonomous vehicles to be driven more quickly The behavior meets expectations.
  • the product terms of the reward function respectively correspond to the five expectations for the behavior of autonomous vehicles described above. Because it is hoped that the longitudinal speed of the self-driving vehicle can be as large as possible, v is used as a product term. Under the premise that it is not affected by other product terms, the larger v is, the greater the reward value is obtained.
  • Item constraint the angle between the forward direction of the autonomous vehicle and the direction of the lane Tends to zero when The item is 1, it will not affect the result; when Will reduce the return value.
  • the distance between the autonomous vehicle and the edge of the lane directly ahead is constrained by the following product terms:
  • the distance threshold x2 between the autonomous vehicle and the edge of the front lane can be set to 50 meters.
  • the value of this item is 1, which will not affect the result of the return value; and when d 1 ⁇ 50, the value of this item is less than 1, which will reduce the reward value, and the smaller d 1 is, the smaller the reward value will be.
  • ⁇ and ⁇ are the turning constraint parameters of the autonomous vehicle that need to be adjusted according to the experimental results.
  • d 1 >10 the self-driving vehicle does not encounter a curve, and the compound term degenerates into a speed term. At this time, the greater the speed, the greater the return value; when d 1 ⁇ 10, the term is the second order of the speed v function.
  • calculation formula of the above evaluation function can also be modified according to the weight of speed or smoothness, so as to obtain the calculation result of the evaluation function that meets actual use requirements.
  • the test method of the autonomous vehicle described in FIG. 6 corresponds to the test system of the autonomous vehicle described in FIG. 1.
  • FIG. 7 is a schematic structural diagram of a test device for an autonomous driving vehicle provided by an embodiment of the application.
  • the test device for an autonomous vehicle includes:
  • the control data acquisition unit 701 is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model in combination with the environmental sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Control data;
  • the state data collection unit 702 is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force to the tested autonomous vehicle, and according to the reaction To obtain state data of the autonomous vehicle;
  • the position data determining unit 703 is configured to determine the position data of the dynamic model of the autonomous driving vehicle in the traffic scene model according to the state data;
  • the reward value calculation unit 704 is configured to calculate a reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
  • the testing device for the autonomous vehicle corresponds to the testing method for the autonomous vehicle.
  • Fig. 8 is a schematic diagram of a test device for an autonomous vehicle provided by an embodiment of the present application.
  • the test device 8 for an autonomous vehicle of this embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and running on the processor 80, such as an automatic Test procedures for driving vehicles.
  • the processor 80 executes the computer program 82, the steps in the foregoing embodiments of the test method for autonomous vehicles are implemented.
  • the processor 80 executes the computer program 82, the functions of the modules/units in the foregoing device embodiments are realized.
  • the computer program 82 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 81 and executed by the processor 80 to complete This application.
  • the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 82 in the test device 8 of the autonomous vehicle.
  • the computer program 82 can be divided into:
  • the control data collection unit is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Manipulate data;
  • the state data collection unit is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force against the tested autonomous vehicle, and according to the anti-boat To obtain state data of the autonomous vehicle;
  • a location data determining unit configured to determine location data of an autonomous vehicle dynamics model in a traffic scene model according to the state data
  • the reward value calculation unit is used to calculate the reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
  • the test equipment of the autonomous vehicle may include, but is not limited to, a processor 80 and a memory 81.
  • FIG. 8 is only an example of the test device 8 of an autonomous driving vehicle, and does not constitute a limitation on the test device 8 of an autonomous vehicle. It may include more or less components than shown in the figure, or a combination Certain components, or different components, for example, the test device of the autonomous vehicle may also include input and output devices, network access devices, buses, and so on.
  • the so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 81 may be an internal storage unit of the test device 8 of the autonomous driving vehicle, such as a hard disk or memory of the test device 8 of the autonomous vehicle.
  • the memory 81 may also be an external storage device of the test device 8 of the autonomous vehicle, such as a plug-in hard disk or a smart memory card (Smart Media Card, SMC) equipped on the test device 8 of the autonomous vehicle. Secure Digital (SD) card, Flash Card, etc.
  • the memory 81 may also include both the internal storage unit of the test device 8 of the autonomous vehicle and an external storage device.
  • the memory 81 is used to store the computer program and other programs and data required by the test equipment of the autonomous vehicle.
  • the memory 81 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units.
  • components can be combined or integrated into another system, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signal telecommunications signal
  • software distribution media any entity or device capable of carrying the computer program code
  • recording medium U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media.

Abstract

A testing method for an autonomous vehicle comprises: an actual vehicle control data acquisition module (101) used to acquire operation control data; a testbed (102) used to generate a reaction force according to the operation control data and scenario information, and acquire, according to the reaction force, state data of the autonomous vehicle; a scenario model establishment module (103) used to establish a traffic scenario model, a traffic flow model, an autonomous vehicle kinetic model, and an environment sensing sensor model, and acquire position data of the autonomous vehicle; and an evaluation module (104) used to calculate, according to the position data and the state data, a report value for evaluating a traveling state of the autonomous vehicle. The invention combines a scenario model comprising traffic flow data and the testbed, and accordingly enables realistic testing of the capabilities of an autonomous vehicle, such as environment identification, identification response time and response manner for dangerous situations, and the safety and stability of an independent recognition capability in a complex traffic environment.

Description

一种自动驾驶车辆的测试方法、装置及系统Test method, device and system for automatic driving vehicle
本申请要求于2019年05月31日在中国专利局提交的、申请号为201910473051.9、发明名称为“一种自动驾驶车辆的测试方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed at the Chinese Patent Office on May 31, 2019, with the application number 201910473051.9 and the invention title "A test method, device and system for an autonomous vehicle", and its entire contents Incorporated in this application by reference.
技术领域Technical field
本申请涉及自动驾驶车辆测试技术领域,具体涉及一种一种自动驾驶车辆的测试方法、装置及系统。This application relates to the technical field of automated driving vehicle testing, and in particular to a testing method, device and system for automated driving vehicles.
背景技术Background technique
智能驾驶是未来自动驾驶车辆发展的必然趋势,是避免人为驾驶失误和提高交通效率的有效途径。现有通信、电子与计算机技术的日新月异为智能驾驶技术的开发奠定了坚实的基础。美国电气和电子工程师协会(IEEE)预测,至2040年,75%的自动驾驶车辆将是智能驾驶自动驾驶车辆。智能驾驶自动驾驶车辆的市场增速将是其他自动驾驶车辆的10倍,并且智能驾驶自动驾驶车辆的出现将交通事故率降至10%。Intelligent driving is an inevitable trend in the development of autonomous vehicles in the future, and an effective way to avoid human driving errors and improve traffic efficiency. The rapid changes in existing communications, electronics and computer technologies have laid a solid foundation for the development of intelligent driving technology. The Institute of Electrical and Electronics Engineers (IEEE) predicts that by 2040, 75% of autonomous vehicles will be intelligent driving autonomous vehicles. The market growth rate of intelligent driving autonomous vehicles will be 10 times that of other autonomous vehicles, and the emergence of intelligent driving autonomous vehicles will reduce the traffic accident rate to 10%.
在自动驾驶车辆行业中,所有技术要从实验室走向量产,都需要经过验证的环节。传统自动驾驶车辆要走向自动驾驶,除了各家技术方案公司的努力,包括但不限于OEM(原始设备制造商)、自动驾驶公司,还需要对实验结果进行不断测验,进行对称调试优化。In the self-driving vehicle industry, all technologies need to be verified from the laboratory to production. In order for traditional autonomous vehicles to move toward autonomous driving, in addition to the efforts of various technical solutions companies, including but not limited to OEMs (original equipment manufacturers) and autonomous driving companies, it is also necessary to continuously test experimental results and conduct symmetrical debugging and optimization.
在自动驾驶车辆正式上路之前,需要有针对性的测试来证明其运行安全性。路测无疑是最直接的方式,但由于自动驾驶车辆的重量以及速度,在实际场景中测试有重大的安全隐患,尤其是在技术尚未成熟之前,安全隐患更大。但是,如果没有实际的路测,技术的更新升级的难度很大。因此,各国政府、科研院所、企业都大力展开对标准体系的编制以及自动驾驶考试考核场地的构建和相关测试方式方法的探究。Before self-driving vehicles are officially on the road, targeted tests are needed to prove their operational safety. Road testing is undoubtedly the most direct method, but due to the weight and speed of the autonomous vehicle, testing in actual scenarios has major safety hazards, especially before the technology is mature. However, if there is no actual drive test, it is very difficult to update the technology. Therefore, governments, scientific research institutes, and enterprises in various countries have vigorously launched the establishment of the standard system, the construction of the automatic driving test assessment site and the exploration of related test methods.
在对自动驾驶车辆的测试过程中,应考虑道路行人、参与自动驾驶车辆、道路基础设施及交通信号灯等基本的交通因素。特别是在开放的公共道路测试过程中,由于混合了传统驾驶自动驾驶车辆及其他交通参与者,会提高自动驾驶车辆道路通行过程中的复杂性程度,导致自动驾驶车辆在测试道路上安全行驶的不确定因素上升,增加了产生道路交通事故的风险。并且,自动驾驶车辆需要约2.75亿英里的行驶里程来证明系统的安全性。为了验证自动驾驶车辆比人类更好的性能,自动驾驶车辆所需测试里程需达到数十亿英里,传统的路测测试方法不仅试验周期长,而且测试成本大,无法满足市场的需求。In the process of testing autonomous vehicles, basic traffic factors such as road pedestrians, participating autonomous vehicles, road infrastructure and traffic lights should be considered. Especially in the open public road test process, due to the mixture of traditional driving self-driving vehicles and other traffic participants, it will increase the complexity of the road traffic of self-driving vehicles, resulting in the safe driving of self-driving vehicles on the test road. Uncertainties have risen, increasing the risk of road traffic accidents. Moreover, autonomous vehicles require approximately 275 million miles of driving distance to prove the safety of the system. In order to verify the performance of self-driving vehicles better than humans, the test mileage of self-driving vehicles needs to reach billions of miles. The traditional road test method not only has a long test period, but also has a large test cost, which cannot meet the needs of the market.
随着虚拟现实技术的发展,运用计算机三维建模的方式构建出虚拟的街道、城乡、高速公路等作为测试环境,并在虚拟环境中加入所需的测试用例,这种虚拟测试方法可缩减 自动驾驶技术的研发周期。测试场景用例主要来源于有人驾驶自动驾驶车辆的交通事故、自然驾驶数据以及以往测试中人类接管案例和对特殊场景进行模拟的试验数据,以验证自动驾驶车辆的运行安全性。With the development of virtual reality technology, the use of computer three-dimensional modeling methods to build virtual streets, urban and rural areas, highways, etc. as test environments, and add required test cases to the virtual environment, this virtual test method can reduce automatic The development cycle of driving technology. Test scenario use cases are mainly derived from traffic accidents and natural driving data of manned autonomous vehicles, as well as experimental data from human takeover cases and special scenarios simulated in previous tests to verify the operational safety of autonomous vehicles.
然而目前的模型在环、软件在环的仿真工具等无法测试实际执行效果,尤其是包含运动学和动力学、交通规则、车路协同等实际效果。无法测试自动驾驶车辆的自动驾驶车辆对环境的识别能力、对危险情况的识别响应时间及处理方式,及在复杂交通环境下自主认知能力的安全性和稳定性。However, the current model-in-the-loop and software-in-the-loop simulation tools cannot test the actual execution effects, especially the actual effects including kinematics and dynamics, traffic rules, and vehicle-road coordination. It is not possible to test the self-driving vehicle's ability to recognize the environment, the recognition response time and processing methods of dangerous situations, and the safety and stability of the autonomous cognitive ability in a complex traffic environment.
技术问题technical problem
本申请实施例的目的之一在于:提供一种自动驾驶车辆的测试方法、装置及设备,以解决现有技术中对自动驾驶车辆进行仿真测试时,无法测试自动驾驶车辆对环境的识别能力、对危险情况的识别响应时间及处理方式,及在复杂交通环境下自主认知能力和多系统协同工作的安全性和稳定性的问题。One of the objectives of the embodiments of the present application is to provide a test method, device, and equipment for an automatic driving vehicle, so as to solve the problem that the environment recognition ability of the automatic driving vehicle cannot be tested when the automatic driving vehicle is simulated in the prior art. The identification and response time and processing methods of dangerous situations, and the safety and stability of autonomous cognitive ability and multi-system collaborative work in complex traffic environments.
技术解决方案Technical solutions
为解决上述技术问题,本申请实施例采用的技术方案是:In order to solve the above technical problems, the technical solutions adopted in the embodiments of this application are:
本申请实施例的第一方面提供了一种自动驾驶车辆的测试系统,所述自动驾驶车辆的在环测试系统包括实车控制数据采集模块、测试台架、场景模型建立模块、评价模块,其中:The first aspect of the embodiments of the present application provides a test system for an autonomous vehicle. The in-loop test system for an autonomous vehicle includes a real-vehicle control data acquisition module, a test bench, a scenario model establishment module, and an evaluation module. :
所述实车数据采集模块用于采集被测试的自动驾驶车辆的操控部件的操控数据;The real-vehicle data collection module is used to collect the control data of the control components of the tested autonomous vehicle;
所述测试台架用于根据所述被测试的自动驾驶车辆的操控数据,以及自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试的自动驾驶车辆的反作用力,根据所述反作用力获取所述自动驾驶车辆的状态数据;The test bench is used to generate a scene feedback instruction according to the control data of the tested autonomous vehicle and the scene information of the autonomous vehicle, and control the motor of the test bench to generate a response to the vehicle according to the scene feedback instruction. The reaction force of the tested self-driving vehicle, and obtaining state data of the self-driving vehicle according to the reaction force;
所述场景模型建立模块用于建立交通场景模型、交通流模型、自动驾驶车辆动力学模型和环境感知传感器模型,所述环境感知传感器模型用于根据所述自动驾驶车辆动力学模型、交通场景模型和交通流模型生成操控指令控制所述自动驾驶车辆的操控部件,并结合所述状态数据获取自动驾驶车辆动力学模型在所述交通场景模型的位置数据;The scene model establishment module is used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment perception sensor model, and the environment perception sensor model is used according to the autonomous vehicle dynamics model and the traffic scene model. And a traffic flow model to generate control instructions to control the control components of the autonomous vehicle, and combine the state data to obtain position data of the autonomous vehicle dynamics model in the traffic scene model;
所述评价模块用于根据所述自动驾驶车辆动力学模型在所述交通场景模型的位置数据,以及所述被测试的自动驾驶车辆的仿真数据,计算用于评价自动驾驶车辆行驶状态的回报值。The evaluation module is used to calculate the return value for evaluating the driving state of the autonomous vehicle based on the position data of the autonomous vehicle dynamics model in the traffic scene model and the simulation data of the tested autonomous vehicle .
结合第一方面,在第一方面的第一种可能实现方式中,所述实车数据采集模块包括用于采集方向盘的旋转角度的角度传感器,用于采用不同档位的档位开关,以及用于采集踏 板行程的行程传感器中的一种或者多种。With reference to the first aspect, in a first possible implementation of the first aspect, the actual vehicle data collection module includes an angle sensor for collecting the rotation angle of the steering wheel, a gear switch for different gears, and a One or more of stroke sensors for collecting pedal stroke.
结合第一方面,在第一方面的第二种可能实现方式中,所述测试台架包括模拟电机、实验台控制系统、传感器和转向加载系统中的一项或者多项,其中:With reference to the first aspect, in a second possible implementation of the first aspect, the test bench includes one or more of a simulation motor, a test bench control system, a sensor, and a steering loading system, wherein:
所述模拟电机用于速度控制模拟,以及根据场景中的道路进行滚动阻力模拟;The simulation motor is used for speed control simulation and rolling resistance simulation according to the road in the scene;
所述实验台控制系统用于接收自动驾驶车辆系统的决策指令,或者向所述自动驾驶车辆系统发送指令,或者接收人工输入的操控指令;The test bench control system is used to receive a decision-making instruction from an autonomous vehicle system, or send an instruction to the autonomous vehicle system, or receive a manual input control instruction;
所述传感器包括转速传感器和转矩传感器,用于检测自动驾驶车辆轮毂转速以及所传递的转矩;The sensors include a rotational speed sensor and a torque sensor, which are used to detect the rotational speed of the hub of the autonomous vehicle and the transmitted torque;
所述转向加载系统用于自动驾驶车辆转向时,由转向加载电机产生阻止车轮转向的转矩,验证自动驾驶车辆自动转向。The steering loading system is used when the automatic driving vehicle is steering, and the steering loading motor generates a torque that prevents the wheels from turning to verify the automatic steering of the automatic driving vehicle.
结合第一方面,在第一方面的第三种可能实现方式中,所述评价模块具体用于,根据公式:With reference to the first aspect, in a third possible implementation manner of the first aspect, the evaluation module is specifically configured to, according to the formula:
Figure PCTCN2019120934-appb-000001
Figure PCTCN2019120934-appb-000001
计算用于评价自动驾驶车辆行驶状态的回报值,其中:I[[·]]表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x1自动驾驶车辆与正前方车道边缘线的距离阈值,x2为自动驾驶车辆与车道中轴线的距离阈值。 Calculate the return value used to evaluate the driving state of the autonomous vehicle, where: I[[·]] represents the indicator function, and the value is 1 when the internal conditions of the function are met, otherwise the value is 0, and v is the longitudinal speed of the autonomous vehicle , D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead, d 2 is the distance between the autonomous vehicle and the center axis of the lane, α and β are the constraint parameters when the autonomous vehicle turns, r is the return value, and x1 is the automatic driving The distance threshold between the vehicle and the edge of the lane directly ahead, x2 is the distance threshold between the autonomous vehicle and the center axis of the lane.
结合第一方面,在第一方面的第四种可能实现方式中,所述自动驾驶车辆的测试系统还包括融合模块,所述融合模块用于对场景中的多个自动驾驶车辆的传感数据,以及场景中的多个道路的传感数据进行采集,并对采集的多个传感数据进行融合。With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the test system of the autonomous vehicle further includes a fusion module, and the fusion module is used for sensing data of multiple autonomous vehicles in the scene. , And collect the sensor data of multiple roads in the scene, and fuse the collected multiple sensor data.
本申请实施例的第二方面提供了一种基于第一方面任一项所述自动驾驶车辆的测试系统的自动驾驶车辆的测试方法,所述自动驾驶车辆的测试方法包括:A second aspect of the embodiments of the present application provides a test method for an autonomous vehicle based on the test system for an autonomous vehicle according to any one of the first aspect, and the test method for the autonomous vehicle includes:
根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;According to the pre-established traffic scene model and traffic flow model, combined with the environment sensing sensor model, generate control instructions for the autonomous vehicle, and collect control data of the control components of the tested autonomous vehicle based on the control instructions;
基于所述操控数据,结合所述自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根 据所述反艇力获取所述自动驾驶车辆的状态数据;Based on the manipulation data, combined with the scene information of the autonomous vehicle, a scene feedback instruction is generated, and the motor of the test bench is controlled according to the scene feedback instruction to generate a reaction force against the autonomous vehicle under test. Acquiring the state data of the autonomous vehicle by the anti-boat force;
根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;According to the state data, determine the position data of the automatic driving vehicle dynamics model in the traffic scene model;
根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。According to the state data and the position data, a return value for evaluating the driving state of the autonomous driving vehicle is calculated.
结合第二方面,在第二方面的第一种可能实现方式中,所述根据所述仿真数据,以及所述位置数据,计算用于评价自动驾驶车辆行驶状态的回报值的步骤包括:With reference to the second aspect, in the first possible implementation of the second aspect, the step of calculating a return value for evaluating the driving state of an autonomous vehicle based on the simulation data and the location data includes:
根据公式:According to the formula:
Figure PCTCN2019120934-appb-000002
Figure PCTCN2019120934-appb-000002
计算用于评价自动驾驶车辆行驶状态的回报值,其中:I[[·]]表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x1自动驾驶车辆与正前方车道边缘线的距离阈值,x2为自动驾驶车辆与车道中轴线的距离阈值。 Calculate the return value used to evaluate the driving state of the autonomous vehicle, where: I[[·]] represents the indicator function, and the value is 1 when the internal conditions of the function are met, otherwise the value is 0, and v is the longitudinal speed of the autonomous vehicle , D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead, d 2 is the distance between the autonomous vehicle and the center axis of the lane, α and β are the constraint parameters when the autonomous vehicle turns, r is the return value, and x1 is the automatic driving The distance threshold between the vehicle and the edge of the lane directly ahead, x2 is the distance threshold between the autonomous vehicle and the lane center axis.
结合第二方面,在第二方面的第二种可能实现方式中,所述根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据的步骤包括:In combination with the second aspect, in a second possible implementation of the second aspect, according to the pre-established traffic scene model and traffic flow model, combined with the environmental perception sensor model, the control instructions for the autonomous vehicle are generated, and based on all The step of collecting the control data of the control component of the tested autonomous vehicle by the control instruction includes:
建立交通场景模型、包括交通流数据的交通流模型、自动驾驶车辆动力学模型以及环境感知传感器模型;Establish traffic scene models, traffic flow models including traffic flow data, autonomous vehicle dynamics models, and environmental sensor models;
根据所述环境感知传感器模型在所述交通场景模型和交通流模型所采集的环境感知数据,生成对自动驾驶车辆的操控指令。According to the environment perception data collected by the environment perception sensor model in the traffic scene model and the traffic flow model, a control instruction for the autonomous vehicle is generated.
第三方面,本申请实施例提供了一种基于第一方面任一项所述自动驾驶车辆的测试系统的自动驾驶车辆的测试装置,其特征在于,所述自动驾驶车辆的测试装置包括:In a third aspect, an embodiment of the present application provides a testing device for an autonomous vehicle based on the testing system for an autonomous vehicle according to any one of the first aspect, wherein the testing device for an autonomous vehicle includes:
操控数据采集单元,用于根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;The control data collection unit is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Manipulate data;
状态数据采集单元,用于基于所述操控数据,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反艇力获取所述自动驾驶车辆的状态数据;The state data collection unit is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force against the tested autonomous vehicle, and according to the anti-boat To obtain state data of the autonomous vehicle;
位置数据确定单元,用于根据所述状态数据,确定自动驾驶车辆动力学模型在交通场 景模型中的位置数据;A location data determining unit, configured to determine location data of the dynamic model of the autonomous vehicle in the traffic scene model according to the state data;
回报值计算单元,用于根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。The reward value calculation unit is used to calculate the reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如第二方面任一项所述自动驾驶车辆的测试方法的步骤。A fourth aspect of the embodiments of the present application provides a computer-readable storage medium that stores a computer program that, when executed by a processor, realizes the automatic The steps of the test method for driving a vehicle.
本申请实施例提供的自动驾驶车辆的测试方法的有益效果在于:通过建立包括交通流模型的场景模型,通过环境感知传感模型实时检测自动驾驶车辆行驶环境,对自动驾驶车辆行驶环境进行识别和响应,生成操控指令,由待测试的自动驾驶车辆执行所述操控指令,采集所述待测试的自动驾驶车辆的操控数据,由测试台架基于自动驾驶车辆的场景信息、以及自动驾驶车辆的操控数据,生成场景反馈指令,根据所述场景反馈指令控制测试台架的电机产生对所述被测试的自动驾驶车辆的反作用力,实现对车辆的动量进行缓冲,并能够模拟实际场景的道路的缓冲力的大小和作用方式,得到自动驾驶车辆的状态数据,基于所述状态数据计算自动加载车辆的位置,根据所述位置数据和所述状态数据,计算所述自动驾驶车辆行驶状态的回报值,从而可以使得本申请所述测试方法可以通过测试台架结合包括交通流数据的场景模型,更加真实的反应自动驾驶车辆的行驶状态,能够更加可靠的测试自动驾驶车辆对环境的识别能力、危险情况的识别响应时间及处理方式,在复杂交通环境下自主认识能力的安全性和稳定性。The beneficial effects of the automated driving vehicle test method provided in the embodiments of the present application are: by establishing a scene model including a traffic flow model, real-time detection of the driving environment of the automated driving vehicle through the environment sensing sensor model, and identifying the driving environment of the automated driving vehicle. In response, a control instruction is generated, the control instruction is executed by the autonomous vehicle to be tested, the control data of the autonomous vehicle to be tested is collected, and the test bench is based on the scene information of the autonomous vehicle and the control of the autonomous vehicle Data, generate scene feedback instructions, and control the motor of the test bench according to the scene feedback instructions to generate a reaction force to the autonomous vehicle under test, so as to buffer the momentum of the vehicle and simulate the road buffer in the actual scene The magnitude and mode of force are used to obtain the state data of the autonomous driving vehicle, the position of the automatic loading vehicle is calculated based on the state data, and the return value of the driving state of the autonomous driving vehicle is calculated based on the position data and the state data, Therefore, the test method described in the present application can be combined with a scene model including traffic flow data through a test bench to more realistically reflect the driving state of the autonomous vehicle, and can more reliably test the autonomous vehicle's ability to recognize the environment and dangerous situations The identification response time and processing methods of the system, the safety and stability of autonomous recognition ability in complex traffic environment.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或示范性技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the description of the embodiments or exemplary technologies. Obviously, the accompanying drawings in the following description are only for the application For some embodiments, for those of ordinary skill in the art, other drawings can be obtained from these drawings without creative work.
图1是本申请实施例提供的一种自动驾驶车辆的测试系统示意图;Figure 1 is a schematic diagram of a test system for an autonomous vehicle provided by an embodiment of the present application;
图2是本申请实施例提供的实车数据采集模块示意图;Figure 2 is a schematic diagram of a real-vehicle data collection module provided by an embodiment of the present application;
图3是本申请实施例提供的一种测试台架的结构示意图;Figure 3 is a schematic structural diagram of a test bench provided by an embodiment of the present application;
图4是本申请实施例提供的用于回报函数设计的状态信息示意图;FIG. 4 is a schematic diagram of state information for designing a reward function provided by an embodiment of the present application;
图5是本申请实施例提供的速度与回报值约束示意图;FIG. 5 is a schematic diagram of speed and return value constraints provided by an embodiment of the present application;
图6是本申请实施例提供的一种自动驾驶车辆的测试方法的实现流程示意图;FIG. 6 is a schematic diagram of an implementation process of a test method for an autonomous vehicle provided by an embodiment of the present application;
图7是本申请实施例提供的一种自动驾驶车辆的测试装置示意图;FIG. 7 is a schematic diagram of a test device for an automatic driving vehicle provided by an embodiment of the present application;
图8是本申请实施例提供的自动驾驶车辆的测试设备的示意图。Fig. 8 is a schematic diagram of a test device for an autonomous vehicle provided by an embodiment of the present application.
本发明的实施方式Embodiments of the invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not used to limit the present application.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions described in the present application, specific embodiments are used for description below.
图1为本申请实施例提供的一种自动驾驶车辆的测试系统的结构示意图,详述如下:Fig. 1 is a schematic structural diagram of a test system for an autonomous vehicle provided by an embodiment of the application, and the details are as follows:
所述自动驾驶车辆的测试系统包括实车控制数据采集模块101、测试台架102、场景模型建立模块103、评价模块104,其中:The test system of the autonomous vehicle includes a real-vehicle control data acquisition module 101, a test bench 102, a scene model establishment module 103, and an evaluation module 104, in which:
所述实车数据采集模块101用于采集被测试的自动驾驶车辆的操控部件的操控数据;The real-vehicle data collection module 101 is used to collect the control data of the control components of the tested autonomous vehicle;
所述测试台架102用于根据所述被测试的自动驾驶车辆的操控数据,以及自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试的自动驾驶车辆的反作用力,根据所述反作用力获取所述自动驾驶车辆的状态数据;The test bench 102 is used to generate a scene feedback instruction according to the control data of the tested autonomous vehicle and the scene information of the autonomous vehicle, and control the motor of the test bench to generate a pair according to the scene feedback instruction. Obtaining the state data of the autonomous vehicle based on the reaction force of the tested autonomous vehicle;
所述场景模型建立模块103用于建立交通场景模型、交通流模型、自动驾驶车辆动力学模型和环境感知传感器模型,所述环境感知传感器模型用于根据所述自动驾驶车辆动力学模型、交通场景模型和交通流模型生成操控指令控制所述自动驾驶车辆的操控部件,并结合所述状态数据获取自动驾驶车辆动力学模型在所述交通场景模型的位置数据;The scene model establishment module 103 is used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment perception sensor model, and the environment perception sensor model is used according to the autonomous vehicle dynamics model and the traffic scene. The model and the traffic flow model generate control instructions to control the control components of the autonomous vehicle, and combine the state data to obtain position data of the autonomous vehicle dynamics model in the traffic scene model;
所述评价模块104用于根据所述自动驾驶车辆动力学模型在所述交通场景模型的位置数据,以及所述被测试的自动驾驶车辆的仿真数据,计算用于评价自动驾驶车辆行驶状态的回报值。The evaluation module 104 is configured to calculate a return for evaluating the driving state of the autonomous vehicle based on the position data of the autonomous vehicle dynamics model in the traffic scene model and the simulation data of the tested autonomous vehicle value.
具体的,所述实车数据采集模块101可以设置在自动驾驶车辆内,可以在所述自动驾驶车辆内搭载激光雷达、摄像头等传感器,如图2所示,所述实车数据采集模块可以包括角度传感器、转速转传感器、直线加速度传感器、角速度传感器、拉力传感器等。其中:Specifically, the real-vehicle data acquisition module 101 may be installed in an autonomous vehicle, and sensors such as lidar and cameras may be installed in the autonomous vehicle. As shown in FIG. 2, the actual-vehicle data acquisition module may include Angle sensor, rotational speed sensor, linear acceleration sensor, angular velocity sensor, tension sensor, etc. among them:
整车控制器向方向柱电机控制器发送旋转指令,控制方向柱电机旋转,通过角度传感器采集方向柱的旋转角度并发送至整车控制器;The vehicle controller sends a rotation command to the steering column motor controller to control the rotation of the steering column motor, and collects the rotation angle of the steering column through an angle sensor and sends it to the vehicle controller;
整车控制器向驱动电机控制器或发送机油门控制器发送驱动指令,驱动电机或发动机驱动车轮旋转,可以由转速传感器采集所述车轮的转速并发送至整车控制器;The vehicle controller sends a drive command to the drive motor controller or the transmitter throttle controller, and the drive motor or engine drives the wheels to rotate. The rotational speed of the wheels can be collected by the rotational speed sensor and sent to the vehicle controller;
整车控制器可以向刹车踏板控制装置发送刹车指令,由刹车踏板执行机构执行刹车指令时,可以由拉力传感器采集拉力信号,根据所述拉力信号计算刹车幅度数据,或者也可 以由行程传感器采集踏板行程。The vehicle controller can send a brake command to the brake pedal control device. When the brake pedal actuator executes the brake command, the tension sensor can collect the tension signal, and the braking amplitude data can be calculated based on the tension signal, or the stroke sensor can also collect the pedal stroke.
当然,如图2所示,还可以包括直线加速度传感器采集所述自动驾驶车辆的自动驾驶行驶加速度,以及角度传感器采集所述自动驾驶车辆的转弯速度,或者还包括由整车控制器根据自动驾驶车辆的行驶状态进行灯光控制的自动灯光系统。Of course, as shown in Figure 2, it may also include a linear acceleration sensor to collect the autonomous driving acceleration of the autonomous vehicle, and an angle sensor to collect the turning speed of the autonomous vehicle, or it may also include the vehicle controller according to the automatic driving An automatic lighting system for lighting control of the vehicle's driving state.
图3为本申请提供的一种测试台架的示意图,如图3所示,所述测试台架102针对无人驾驶自动驾驶车辆的驱动、转向、制动系统试验与测试需求,本申请提出一套多功能轴耦合式试验平台,可用于全车综合测试与验证,也可以单独进行某子系统的测试与验证,通过导入交通流数据和场景信息,根据场景信息中的道路具体信息,比如道路的坡度、道路的路面材质等,结合预先统计的车辆在不同的行驶状态下所对应的摩擦作用力,以及摩擦力作用方式,来控制测试台架作用于自动驾驶车辆的反作用力,从而能够使得自动驾驶车辆的测试更加与实际情况更加吻合,通过导入真实场景的交通流数据,可以使得自动驾驶车辆能够针对更加有效的对实际场景的突发状况进行训练,可以测试自动驾驶车辆对环境的识别能力,对危险情况的识别响应时间及处理方式,及在复杂交通环境下自主认知能力和多系统协同工作的安全性和稳定性。通过测试台架可以使得模拟测试环境接近实地环境。可适用于整车性能测试、耐久、传动系统测试、ADAS及无人驾驶开发测试等领域。Fig. 3 is a schematic diagram of a test bench provided by this application. As shown in Fig. 3, the test bench 102 is aimed at testing and testing requirements of driving, steering, and braking systems of an unmanned autonomous vehicle. This application proposes A set of multifunctional axle coupling test platform, which can be used for comprehensive testing and verification of the whole vehicle, or a sub-system can be tested and verified separately. By importing traffic flow data and scene information, according to the specific road information in the scene information, such as The slope of the road, the road surface material, etc., combined with the pre-statistical friction force corresponding to the vehicle under different driving conditions, and the friction force action method, to control the reaction force of the test bench on the autonomous vehicle, so as to This makes the test of autonomous vehicles more consistent with the actual situation. By importing traffic flow data from real scenes, the autonomous vehicles can be trained more effectively for emergencies in the actual scene, and can test the environment of the autonomous vehicles. Recognition ability, recognition response time and processing methods of dangerous situations, and autonomous cognition ability in complex traffic environment and the safety and stability of multi-system collaborative work. The test bench can make the simulated test environment close to the real environment. It can be applied to the fields of vehicle performance testing, durability, transmission system testing, ADAS and driverless development testing.
所述测试台架可以包括驱动电机,所述驱动电机可以与工业电网相连,或者也可以与车载动力电池相连,所述驱动电机可选用直流、交流或永磁电机,驱动电机需满足超负载、低惯量的需求,功率可以为80-150kw,可以为所述驱动电机配套逆变器、AC/DC交流直流转换器。根据待测试的车型的可提供2驱(前驱/后驱)或4驱版,以满足测试需求。可以根据场景模型,模拟道路滚阻,模拟速度控制,满足不同工况的测试循环要求。The test bench may include a drive motor, which can be connected to an industrial power grid, or can also be connected to a vehicle-mounted power battery. The drive motor can be a DC, AC or permanent magnet motor, and the drive motor needs to meet the requirements of overload, For low inertia requirements, the power can be 80-150kw, and the drive motor can be equipped with an inverter and an AC/DC AC/DC converter. According to the model to be tested, a 2-drive (front-drive/rear-drive) or 4-drive version can be provided to meet the test requirements. It can simulate road rolling resistance and speed control according to the scene model to meet the test cycle requirements of different working conditions.
在所述测试台架上可以包括实验台控制系统、转速传感器、转矩传感器、转向加载系统等,其中:The test bench may include a test bench control system, a speed sensor, a torque sensor, a steering loading system, etc., where:
所述实验台控制系统可以采用PLC,可用于接收并执行整车控制系统发出的决策指令,能够人工输入驱动、转向、刹车指令并执行,能够向整车控制系统发指令。The test bench control system can adopt PLC, which can be used to receive and execute decision instructions issued by the vehicle control system, can manually input and execute driving, steering, and brake instructions, and can issue instructions to the vehicle control system.
所述转速传感器、转矩传感器,可根据不同精度级别的扭矩测试需求搭载传感器,用于测试自动驾驶车辆轮毂转速,以及通过法兰、万向节、花键轴、花键套、万向节等配件传递过来的转矩,刹车测试时可检测并记录最大转速与转矩。或者还可以包括测功机,可通过轴承支座、飞轮与轮毂传动相连,可以包括用于检测轮毂方向角的方向角检测系统与加载系统。The speed sensor and torque sensor can be equipped with sensors according to the torque test requirements of different accuracy levels, used to test the speed of the autonomous driving vehicle hub, and pass flanges, universal joints, spline shafts, spline sleeves, and universal joints The maximum speed and torque can be detected and recorded during the brake test with the torque transmitted by the accessories. Or it can also include a dynamometer, which can be connected to the hub via a bearing support and a flywheel, and can include a direction angle detection system and a loading system for detecting the direction angle of the hub.
所述转向加载系统,可用于对EPS(电子控制式电动助力转向系统)进行测试。自动驾驶车辆转向时,实验台控制系统发指令给转向加载电机,加载电机给出一个阻止车轮转 向的转矩(模拟车轮与地面之间的阻力转矩),验证自动驾驶车辆自动转向柱转向效果。The steering loading system can be used to test EPS (electronically controlled electric power steering system). When the autonomous vehicle is turning, the control system of the test bench sends a command to the steering loading motor, and the loading motor gives a torque that prevents the wheels from turning (simulating the resistance torque between the wheels and the ground), verifying the automatic steering column steering effect of the autonomous vehicle .
本申请所述场景模型建立模块103,可用于建立交通场景模型、交通流模型、自动驾驶车辆动力学模型和环境感知传感器模型,其中:The scene model establishment module 103 described in this application can be used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment sensing sensor model, among which:
所述交通场景模型可基于Prescan等仿真器建立复杂场景自动驾驶交通场景建模,涵盖道路模型、环境模型、道路使用者模型以及天气光照模型等。基于外部地图数据导入,获取道路坡度、曲率、倾斜等信息,完成真实道路高度一致的参数化的路面模型,可用于自动化测试;可进行复杂路网结构建模,如三岔路口、立交桥等。所述交通场景模型可以包含路面及路边设施、交通标识、建筑物以及绿化带等信息。天气光照模型可以包含白天夜晚及太阳光照射、雨雪雾天气以及车灯及路灯模型。The traffic scene model can be based on a simulator such as Prescan to establish a complex scene autonomous driving traffic scene modeling, covering road models, environment models, road user models, weather lighting models, etc. Based on the import of external map data, the road slope, curvature, inclination and other information can be obtained to complete the parameterized pavement model with the same height of the real road, which can be used for automated testing; complex road network structure modeling, such as three-way intersections, overpasses, etc. The traffic scene model may include information such as road surface and roadside facilities, traffic signs, buildings, and green belts. Weather and illumination models can include day and night and sunlight, rain, snow and fog weather, and car lights and street lights models.
所述交通流模型可以通过采用城市级宏观交通流数据,采用拟合(regression)或生成对抗网络(GAN,Generative Adversarial Networks)学习的方式,生成高保真的背景交通流信息。将数据导入微观交通流工具Vissim等,生成微观交通流数据环境,将所述微观交通流数据注入自建的自动驾驶车辆动力学仿真平台Matlab Simulink,得到交通流模型。The traffic flow model can generate high-fidelity background traffic flow information by adopting city-level macroscopic traffic flow data, regression or Generative Adversarial Networks (GAN) learning methods. Import the data into the microscopic traffic flow tool Vissim, etc. to generate a microscopic traffic flow data environment, and inject the microscopic traffic flow data into the self-built autonomous vehicle dynamics simulation platform Matlab Simulink to obtain a traffic flow model.
所述自动驾驶车辆动力学模型可以通过对所述自动驾驶车辆进行2D或3D动力学建模,所述自动驾驶车辆动力学模型可以包括制动系统、转向系统和悬架系统的动力学仿真模型建立,实现自动驾驶车辆纵向加/减速,横向的运动,可以通过自动驾驶车辆动力学,基于模型预测控制(Model Predictive Control,MPC)或PID控制器(比例-积分-微分控制器)进行描述。The autonomous driving vehicle dynamics model may be performed by 2D or 3D dynamic modeling of the autonomous driving vehicle, and the autonomous driving vehicle dynamics model may include dynamic simulation models of the braking system, steering system, and suspension system It is established to realize the longitudinal acceleration/deceleration and lateral movement of the autonomous vehicle. It can be described by the dynamics of the autonomous vehicle based on Model Predictive Control (MPC) or PID controller (proportional-integral-derivative controller).
所述环境感知传感器模型,可用于采集信号,所采集的信号通过融合之后,再传输到决策层,最后传输到整个执行机构。其中传感器种类可以包括摄像头、毫米波雷达、超声波雷达、激光雷达以及需要定位的DGPS+IMU传感器。这些传感器能是用来检测周围的一些交通场景,比如自动驾驶车辆和行人,也可以进行路径规划和定位,确认自动驾驶车辆在道路中的位置,再结合检测出来的可行驶区域,进行局部的路径规划,最后进行控制整个自动驾驶车辆动力制动转向系统。The environmental sensing sensor model can be used to collect signals. After the collected signals are fused, they are transmitted to the decision-making layer, and finally to the entire actuator. The types of sensors can include cameras, millimeter wave radars, ultrasonic radars, lidars, and DGPS+IMU sensors that require positioning. These sensors can be used to detect some surrounding traffic scenes, such as self-driving vehicles and pedestrians. It can also be used for path planning and positioning, confirming the position of the self-driving vehicle on the road, and combining the detected driving area to perform local Path planning, and finally control the power brake steering system of the entire autonomous vehicle.
所述评价模块可用于测试单车决策控制性能、车路协同测试、大规模自动驾驶车辆无线通信技术和能力,以及车联网通信拥塞控制策略测试,额头于评价函数设计状态的状态信息可以包括:自动驾驶车辆前进方向与车道坐标系纵轴的夹角
Figure PCTCN2019120934-appb-000003
自动驾驶车辆沿车体坐标系横轴的速度,也即前行的速度ν,自动驾驶车辆距离正前方200m内的车道边缘的距离d 1,以及自动驾驶车辆车体坐标系原点距离车道轴线的侧方偏移距离d 2。d 2=0表示 自动驾驶车辆在车道轴线上,|d 2|=1表示自动驾驶车辆在车道边缘上,|d 2|>1表示自动驾驶车辆在车道外。
The evaluation module can be used to test the performance of single-vehicle decision-making control, vehicle-road collaborative testing, large-scale autonomous vehicle wireless communication technology and capabilities, and vehicle networking communication congestion control strategy testing. The state information on the design state of the evaluation function may include: The angle between the driving direction of the vehicle and the longitudinal axis of the lane coordinate system
Figure PCTCN2019120934-appb-000003
The speed of the autonomous vehicle along the horizontal axis of the vehicle body coordinate system, that is, the forward speed ν, the distance d 1 of the autonomous vehicle from the edge of the lane within 200m, and the distance between the origin of the autonomous vehicle body coordinate system and the lane axis The lateral offset distance d 2 . d 2 =0 indicates that the autonomous vehicle is on the lane axis, |d 2 |=1 indicates that the autonomous vehicle is on the edge of the lane, and |d 2 |>1 indicates that the autonomous vehicle is outside the lane.
图4示出了用于回报函数设计的状态信息的示意图,图中上下两边的粗线表示车道边缘,中间虚线表示车道的中轴线,自动驾驶车辆纵向速度v与车道中轴线的夹角即为
Figure PCTCN2019120934-appb-000004
绿线表示的距离d 1为自动驾驶车辆与正前方车道边缘线的距离,蓝线表示的距离d 2为车体坐标系原点距离车道中轴线的距离。
Figure 4 shows a schematic diagram of the state information used for the design of the reward function. The thick lines on the upper and lower sides in the figure indicate the edge of the lane, and the dotted line in the middle indicates the central axis of the lane. The angle between the longitudinal speed v of the autonomous vehicle and the central axis of the lane is
Figure PCTCN2019120934-appb-000004
The distance d 1 indicated by the green line is the distance between the autonomous vehicle and the edge of the lane directly ahead, and the distance d 2 indicated by the blue line is the distance from the origin of the vehicle body coordinate system to the center axis of the lane.
本申请所述回报函数的设计包括以下几个方面的考虑:(a)希望自动驾驶车辆行驶的纵向速度v能尽量大;(b)希望自动驾驶车辆前进方向与车道的方向尽量一致,即夹角
Figure PCTCN2019120934-appb-000005
尽量趋于零;(c)希望自动驾驶车辆与正前方车道边缘线的距离d 1尽量的大;(c)希望自动驾驶车辆行驶过程中尽量位于车道中轴线附近,即d 2趋于零;(d)希望自动驾驶车辆在弯道之前能预知弯道,提前刹车减速,确保在不冲出赛道的前提下安全过弯。基于上述对自动驾驶车辆表现的期望,本文给出了如下形式的回报函数:
The design of the reward function described in this application includes the following considerations: (a) It is hoped that the longitudinal speed v of the autonomous driving vehicle can be as large as possible; (b) It is hoped that the forward direction of the autonomous vehicle is as consistent as possible with the direction of the lane, that is, angle
Figure PCTCN2019120934-appb-000005
Try to approach zero as much as possible; (c) hope that the distance d 1 between the autonomous vehicle and the edge of the lane ahead is as large as possible; (c) hope that the autonomous vehicle is located as close to the center axis of the lane as possible during driving, that is, d 2 tends to zero; (d) It is hoped that the self-driving vehicle can predict the curve before the curve, brake in advance and slow down, so as to ensure safe cornering without breaking out of the track. Based on the above expectations for the performance of autonomous vehicles, this article gives a reward function in the following form:
Figure PCTCN2019120934-appb-000006
Figure PCTCN2019120934-appb-000006
计算用于评价自动驾驶车辆行驶状态的回报值,其中:I[[·]]表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x1自动驾驶车辆与正前方车道边缘线的距离阈值,x2为自动驾驶车辆与车道中轴线的距离阈值,比如X1可以取值为10,X2取值为50,根据道路的宽窄、道路的安全级别,可以调整X1和X2的取值,以适应不同道路的测试要求。所述约束参数α和β可以根据参考初始值,结合实际测量的结果不断优化的方式,来确定所述约束参数。 Calculate the return value used to evaluate the driving state of the autonomous vehicle, where: I[[·]] represents the indicator function, and the value is 1 when the internal conditions of the function are met, otherwise the value is 0, and v is the longitudinal speed of the autonomous vehicle , D 1 is the distance between the autonomous vehicle and the edge of the lane ahead, d 2 is the distance between the autonomous vehicle and the center axis of the lane, α and β are the constraint parameters of the autonomous vehicle when turning, r is the return value, and x1 is the automatic driving The distance threshold between the vehicle and the edge of the lane ahead, x2 is the distance threshold between the autonomous vehicle and the central axis of the lane. For example, X1 can be set to 10, and X2 is set to 50. It can be adjusted according to the width of the road and the safety level of the road. The values of X1 and X2 can be adapted to the test requirements of different roads. The constraint parameters α and β can be determined based on the reference initial value and the continuous optimization method combined with the actual measurement result.
本申请所述回报函数采用乘积的形式,而不是采用加和的形式,通过乘积的形式使得回报函数有超线性的性质,对自动驾驶车辆行为变化更敏感,从而能更快速地使自动驾驶车辆行为符合期望。The reward function described in this application adopts the form of product instead of the form of summation. Through the form of product, the reward function is made to have super-linear properties and is more sensitive to changes in the behavior of autonomous vehicles, thereby enabling autonomous vehicles to be driven more quickly The behavior meets expectations.
所述回报函数的乘积项分别对应了前文所述的对自动驾驶车辆行为的五项期望。因为 希望自动驾驶车辆纵向速度能尽量大,所以v作为了乘积项,在不受其他乘积项影响的前提下,v越大,获得的回报值越大。
Figure PCTCN2019120934-appb-000007
Figure PCTCN2019120934-appb-000008
项约束自动驾驶车辆前进方向与车道的方向夹角
Figure PCTCN2019120934-appb-000009
趋于零,当
Figure PCTCN2019120934-appb-000010
项为1,不会对结果产生影响;当
Figure PCTCN2019120934-appb-000011
Figure PCTCN2019120934-appb-000012
将使回报值减少。自动驾驶车辆与正前方车道边缘线的距离由以下乘积项约束:
The product terms of the reward function respectively correspond to the five expectations for the behavior of autonomous vehicles described above. Because it is hoped that the longitudinal speed of the self-driving vehicle can be as large as possible, v is used as a product term. Under the premise that it is not affected by other product terms, the larger v is, the greater the reward value is obtained.
Figure PCTCN2019120934-appb-000007
with
Figure PCTCN2019120934-appb-000008
The term constrains the angle between the forward direction of the autonomous vehicle and the direction of the lane
Figure PCTCN2019120934-appb-000009
Tends to zero when
Figure PCTCN2019120934-appb-000010
The item is 1, it will not affect the result; when
Figure PCTCN2019120934-appb-000011
Figure PCTCN2019120934-appb-000012
Will reduce the return value. The distance between the autonomous vehicle and the edge of the lane directly ahead is constrained by the following product terms:
Figure PCTCN2019120934-appb-000013
Figure PCTCN2019120934-appb-000013
其中,所述自动驾驶车辆与正前方车道边缘线的距离阈值x2,可以设置为50米,当d 1>50,该项取值为1,不会对回报值结果产生影响;而当d 1≤50,该项取值小于1,将使回报值减小,且d 1越小,回报值将越小。 Wherein, the distance threshold x2 between the autonomous vehicle and the edge of the front lane can be set to 50 meters, when d 1 >50, the value of this item is 1, which will not affect the result of the return value; and when d 1 ≤50, the value of this item is less than 1, which will reduce the reward value, and the smaller d 1 is, the smaller the reward value will be.
(1-|d 2|)项约束自动驾驶车辆位于车道(指行驶方向的车道,对于单行方向的车道,则指整个车道,对于双行方向的车道,则指自动驾驶车辆当前行驶方向的车道)中轴线附近,当d 2=0米,即自动驾驶车辆位于车道中轴线位置,(1-|d 2|)项为1,不会对结果产生影响,d 2≠0米,自动驾驶车辆偏离车道中轴线位置,(1-|d 2|)<1,将使回报值减小,甚至使回报值为负。 (1-|d 2 |) constrains the autonomous vehicle to be located in the lane (refers to the lane in the direction of travel, for the lane in the one-way direction, it refers to the entire lane, for the lane in the two-way direction, it refers to the lane in the current direction of the autonomous vehicle ) Near the central axis, when d 2 = 0 meters, that is, the autonomous vehicle is located at the central axis of the lane, and the (1-|d 2 |) term is 1, which will not affect the result. d 2 ≠ 0 meters, the autonomous vehicle Deviating from the position of the center axis of the lane, (1-|d 2 |)<1, will reduce the return value or even make the return value negative.
自动驾驶车辆过弯时的行为约束由下式所示复合项实现:The behavior constraints of the autonomous vehicle when cornering are realized by the compound term shown in the following formula:
Figure PCTCN2019120934-appb-000014
Figure PCTCN2019120934-appb-000014
其中,α和β是需要根据实验效果进行调整的自动驾驶车辆转弯约束参数,可以根据。该项综合考虑了自动驾驶车辆进入弯道前和进入弯道时的速度约束,可以将d 1=10设置为是否遇到弯道的界限值。当d 1>10,自动驾驶车辆未遇到弯道,复合项退化为速度项,此时速度越大对应的回报值越大;当d 1≤10时,该项是关于速度v的二次函数。 Among them, α and β are the turning constraint parameters of the autonomous vehicle that need to be adjusted according to the experimental results. This item comprehensively considers the speed constraints of the automatic driving vehicle before and when entering the curve, and d 1 =10 can be set as the limit value of whether or not the curve is encountered. When d 1 >10, the self-driving vehicle does not encounter a curve, and the compound term degenerates into a speed term. At this time, the greater the speed, the greater the return value; when d 1 ≤10, the term is the second order of the speed v function.
当约束参数α=120,β=180时,绘制该二次函数的曲线图,即速度与回报值的约束曲 线如图5所示,此时二次函数的曲线图存在极大值点,在v=181/2处取得,表示当自动驾驶车辆遇到弯道时,欲使复合项的取值尽量大,自动驾驶车辆的速度应该尽量的逼近90.5km/h,从而限制了自动驾驶车辆在经过弯道时的最大速度,避免了自动驾驶车辆因速度过大冲出赛道。此外,自动驾驶车辆在入弯前的速度可能远大于90.5km/h,一旦d 1达到所设置的边界值,自动驾驶车辆会自动地进行刹车减速,从而实现了预知弯道并刹车的自动驾驶控制。实际情况可以根据自动驾驶车辆的实际行驶数据,来优化确定所述约束参数α和β。 When the constraint parameter α=120, β=180, draw the curve of the quadratic function, that is, the constraint curve of speed and return value, as shown in Figure 5. At this time, the curve of the quadratic function has a maximum value. v = 181/2, which means that when the autonomous vehicle encounters a curve, if the value of the composite item is to be as large as possible, the speed of the autonomous vehicle should be as close as possible to 90.5km/h, thus limiting the automatic driving vehicle in The maximum speed when passing a curve prevents the autonomous vehicle from rushing out of the track due to excessive speed. In addition, the speed of the self-driving vehicle before entering the curve may be much greater than 90.5km/h. Once d 1 reaches the set boundary value, the self-driving vehicle will automatically brake and decelerate, thus realizing the automatic driving of predicting the curve and braking control. In the actual situation, the constraint parameters α and β can be optimized according to the actual driving data of the autonomous vehicle.
在本申请的一种实施方式中,对传感数据进行融合时,还可包括融合模块,所述融合模块用于对场景中的多个自动驾驶车辆的传感数据,以及场景中的多个道路的传感数据进行采集,并对采集的多个传感数据进行融合。多传感器信息融合通过对多个传感器获得的信息进行协调、组合、互补来提高系统的有效性,取得比单一传感器更好的性能。可以通过多源信息分布式并行融合方法、卡尔曼滤波方法、动静滤波技术、交互自适应、因子图方法等方法对多传感器信息进行融合,减少高精度传感器数据量,提高感知融合精度。In an embodiment of the present application, when the sensor data is fused, the fusion module may also be included. The fusion module is used to integrate the sensor data of multiple autonomous vehicles in the scene and the multiple sensors in the scene. The sensor data of the road is collected, and the collected multiple sensor data are merged. Multi-sensor information fusion improves the effectiveness of the system by coordinating, combining, and complementing the information obtained by multiple sensors, and achieves better performance than a single sensor. Multi-sensor information can be fused by methods such as multi-source information distributed parallel fusion method, Kalman filter method, dynamic and static filter technology, interactive adaptive, factor graph method, etc., to reduce the amount of high-precision sensor data and improve the accuracy of perception fusion.
图6为本申请实施例提供的一种基于上述自动驾驶车辆的测试系统的自动驾驶车辆的测试方法的实现流程示意图,详述如下:FIG. 6 is a schematic diagram of the implementation process of an automatic driving vehicle test method based on the above-mentioned automatic driving vehicle test system provided by an embodiment of the application, and the details are as follows:
在步骤S601中,根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;In step S601, according to the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, a control instruction for the autonomous vehicle is generated, and the control data of the control component of the tested autonomous vehicle is collected based on the control instruction ;
其中,所述操控指令可以通过建立的交通场景模型、包括交通流数据的交通流模型、自动驾驶车辆动力学模型以及环境感知传感器模型,将交通流数据注入自动驾驶车辆仿真平台,在所述自动驾驶车辆仿真平台建立包括交通流数据的交通场景模型,通过环境感知传感器模型检测交通场景模型所采集的环境感知数据,生成对自动驾驶车辆的操控指令。Wherein, the control instruction can inject traffic flow data into the autonomous vehicle simulation platform through the established traffic scene model, traffic flow model including traffic flow data, autonomous driving vehicle dynamics model, and environment sensing sensor model. The driving vehicle simulation platform establishes a traffic scene model including traffic flow data, detects the environment perception data collected by the traffic scene model through the environment perception sensor model, and generates control instructions for the autonomous vehicle.
在步骤S602中,基于所述操控数据,结合所述自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反艇力获取所述自动驾驶车辆的状态数据;In step S602, based on the manipulation data and combined with the scene information of the autonomous vehicle, a scene feedback instruction is generated, and the motor of the test bench is controlled according to the scene feedback instruction to generate a signal for the autonomous vehicle under test. The reaction force, obtaining the state data of the autonomous vehicle according to the reaction force;
根据所述操控数据,结合所述交通场景模型的道路信息,在所述测试台架对所述自动驾驶车辆进行行驶测试,根据场景信息中包括的道路数据,确定车辆当前行驶的道路参数,包括如道路的坡度、道路的材质、天气情况(雨天、明天、雪天)等,根据所述道路参数,结合所述车辆的操控数据,来确定作用于所述自动驾驶车辆的反作用力,即作用于所述自 动驾驶车辆的摩擦力,从而使得自动驾驶车辆能够更加真实的模拟实际测试场景,生成更加真实的自动驾驶车辆的状态数据,包括车辆的速度、加速度、角速度等。According to the manipulation data, combined with the road information of the traffic scene model, the autonomous vehicle is tested on the test bench, and the road parameters of the vehicle are determined according to the road data included in the scene information, including Such as the slope of the road, the material of the road, the weather conditions (rainy, tomorrow, snow), etc., according to the road parameters, combined with the control data of the vehicle, determine the reaction force acting on the autonomous vehicle, that is, the action Due to the friction of the autonomous vehicle, the autonomous vehicle can simulate the actual test scenario more realistically and generate more realistic state data of the autonomous vehicle, including the vehicle's speed, acceleration, angular velocity, etc.
在步骤S603中,根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;In step S603, according to the state data, determine the position data of the autonomous vehicle dynamics model in the traffic scene model;
根据所述状态数据,可以确定所述自动驾驶车辆动力学模型在交通场景中的位移信息,根据所述位移信息可以确定自动驾驶车辆驾驶自动驾驶车辆的位置数据,包括上述提到的自动驾驶车辆的前进方向与车道中轴线的夹角
Figure PCTCN2019120934-appb-000015
自动驾驶车辆与正前方车道边缘线的距离d 1,车体坐标系原点距离车道中轴线的距离d 2等。
According to the state data, the displacement information of the autonomous vehicle dynamics model in the traffic scene can be determined, and the position data of the autonomous vehicle driving the autonomous vehicle can be determined according to the displacement information, including the autonomous vehicle mentioned above The angle between the direction of travel and the axis of the lane
Figure PCTCN2019120934-appb-000015
The distance d 1 between the autonomous vehicle and the edge of the lane ahead, the distance d 2 from the origin of the vehicle body coordinate system to the center axis of the lane, etc.
在步骤S604中,根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。In step S604, according to the state data and the position data, a reward value for evaluating the driving state of the autonomous driving vehicle is calculated.
根据所述状态数据中包括的车辆速度、加速度、角速度等信息,以及位置数据,可以对单个车辆的回报值进行计算,其中一种计算方式可以为:According to the vehicle speed, acceleration, angular velocity and other information included in the state data, as well as the position data, the return value of a single vehicle can be calculated. One of the calculation methods can be:
Figure PCTCN2019120934-appb-000016
Figure PCTCN2019120934-appb-000016
计算用于评价自动驾驶车辆行驶状态的回报值,其中:I[[·]]表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x1自动驾驶车辆与正前方车道边缘线的距离阈值,x2为自动驾驶车辆与车道中轴线的距离阈值。 Calculate the return value used to evaluate the driving state of the autonomous vehicle, where: I[[·]] represents the indicator function, and the value is 1 when the internal conditions of the function are met, otherwise the value is 0, and v is the longitudinal speed of the autonomous vehicle , D 1 is the distance between the autonomous vehicle and the edge of the lane directly ahead, d 2 is the distance between the autonomous vehicle and the center axis of the lane, α and β are the constraint parameters when the autonomous vehicle turns, r is the return value, and x1 is the automatic driving The distance threshold between the vehicle and the edge of the lane directly ahead, x2 is the distance threshold between the autonomous vehicle and the lane center axis.
本申请所述回报函数采用乘积的形式,而不是采用加和的形式,通过乘积的形式使得回报函数有超线性的性质,对自动驾驶车辆行为变化更敏感,从而能更快速地使自动驾驶车辆行为符合期望。The reward function described in this application adopts the form of product instead of the form of summation. Through the form of product, the reward function is made to have super-linear properties and is more sensitive to changes in the behavior of autonomous vehicles, thereby enabling autonomous vehicles to be driven more quickly The behavior meets expectations.
所述回报函数的乘积项分别对应了前文所述的对自动驾驶车辆行为的五项期望。因为希望自动驾驶车辆纵向速度能尽量大,所以v作为了乘积项,在不受其他乘积项影响的前提下,v越大,获得的回报值越大。
Figure PCTCN2019120934-appb-000017
Figure PCTCN2019120934-appb-000018
项约束自动驾驶车辆前进方向与车道的方向夹角
Figure PCTCN2019120934-appb-000019
趋于零,当
Figure PCTCN2019120934-appb-000020
项为1,不会对结果产生影响;当
Figure PCTCN2019120934-appb-000021
Figure PCTCN2019120934-appb-000022
将使回报值减少。自动驾驶车辆与正前方车道边缘线的距离由以下乘 积项约束:
The product terms of the reward function respectively correspond to the five expectations for the behavior of autonomous vehicles described above. Because it is hoped that the longitudinal speed of the self-driving vehicle can be as large as possible, v is used as a product term. Under the premise that it is not affected by other product terms, the larger v is, the greater the reward value is obtained.
Figure PCTCN2019120934-appb-000017
with
Figure PCTCN2019120934-appb-000018
Item constraint the angle between the forward direction of the autonomous vehicle and the direction of the lane
Figure PCTCN2019120934-appb-000019
Tends to zero when
Figure PCTCN2019120934-appb-000020
The item is 1, it will not affect the result; when
Figure PCTCN2019120934-appb-000021
Figure PCTCN2019120934-appb-000022
Will reduce the return value. The distance between the autonomous vehicle and the edge of the lane directly ahead is constrained by the following product terms:
Figure PCTCN2019120934-appb-000023
Figure PCTCN2019120934-appb-000023
其中,所述自动驾驶车辆与正前方车道边缘线的距离阈值x2,可以设置为50米,当d 1>50,该项取值为1,不会对回报值结果产生影响;而当d 1≤50,该项取值小于1,将使回报值减小,且d 1越小,回报值将越小。 Wherein, the distance threshold x2 between the autonomous vehicle and the edge of the front lane can be set to 50 meters. When d 1 >50, the value of this item is 1, which will not affect the result of the return value; and when d 1 ≤50, the value of this item is less than 1, which will reduce the reward value, and the smaller d 1 is, the smaller the reward value will be.
(1-|d 2|)项约束自动驾驶车辆位于车道(指行驶方向的车道,对于单行方向的车道,则指整个车道,对于双行方向的车道,则指自动驾驶车辆当前行驶方向的车道)中轴线附近,当d 2=0米,即自动驾驶车辆位于车道中轴线位置,(1-|d 2|)项为1,不会对结果产生影响,d 2≠0米,自动驾驶车辆偏离车道中轴线位置,(1-|d 2|)<1,将使回报值减小,甚至使回报值为负。 (1-|d 2 |) constrains the autonomous vehicle to be located in the lane (refers to the lane in the direction of travel, for the lane in the one-way direction, it refers to the entire lane, for the lane in the two-way direction, it refers to the lane in the current direction of the autonomous vehicle ) Near the central axis, when d 2 = 0 meters, that is, the autonomous vehicle is located at the central axis of the lane, and the (1-|d 2 |) term is 1, which will not affect the result. d 2 ≠ 0 meters, the autonomous vehicle Deviating from the position of the center axis of the lane, (1-|d 2 |)<1, will reduce the return value or even make the return value negative.
自动驾驶车辆过弯时的行为约束由下式所示复合项实现:The behavior constraints of the autonomous vehicle when cornering are realized by the compound term shown in the following formula:
Figure PCTCN2019120934-appb-000024
Figure PCTCN2019120934-appb-000024
其中,α和β是需要根据实验效果进行调整的自动驾驶车辆转弯约束参数,可以根据。该项综合考虑了自动驾驶车辆进入弯道前和进入弯道时的速度约束,可以将d 1=10设置为是否遇到弯道的界限值。当d 1>10,自动驾驶车辆未遇到弯道,复合项退化为速度项,此时速度越大对应的回报值越大;当d 1≤10时,该项是关于速度v的二次函数。 Among them, α and β are the turning constraint parameters of the autonomous vehicle that need to be adjusted according to the experimental results. This item comprehensively considers the speed constraints of the automatic driving vehicle before and when entering the curve, and d 1 =10 can be set as the limit value of whether or not the curve is encountered. When d 1 >10, the self-driving vehicle does not encounter a curve, and the compound term degenerates into a speed term. At this time, the greater the speed, the greater the return value; when d 1 ≤10, the term is the second order of the speed v function.
当约束参数α=120,β=180时,绘制该二次函数的曲线图如图5所示,此时二次函数的曲线图存在极大值点,在v=181/2处取得,表示当自动驾驶车辆遇到弯道时,欲使复合项的取值尽量大,自动驾驶车辆的速度应该尽量的逼近90.5km/h,从而限制了自动驾驶车辆在经过弯道时的最大速度,避免了自动驾驶车辆因速度过大冲出赛道。此外,自动驾驶车辆在入弯前的速度可能远大于90.5km/h,一旦d 1达到所设置的边界值,自动驾驶车辆会 自动地进行刹车减速,从而实现了预知弯道并刹车的自动驾驶控制。 When the constraint parameter α=120, β=180, the graph of the quadratic function is drawn as shown in Figure 5. At this time, there is a maximum point in the graph of the quadratic function, which is obtained at v=181/2, which means When the autonomous vehicle encounters a curve, if the value of the compound item is to be as large as possible, the speed of the autonomous vehicle should be as close as possible to 90.5km/h, thus limiting the maximum speed of the autonomous vehicle when passing the curve, and avoid The autonomous vehicle drove off the track due to excessive speed. In addition, the speed of the self-driving vehicle before entering the curve may be much greater than 90.5km/h. Once d 1 reaches the set boundary value, the self-driving vehicle will automatically brake and decelerate, thus realizing the automatic driving of predicting the curve and braking control.
当然,上述评价函数的计算公式,还可以根据速度或平稳度的权重,对评价函数进行修改,从而得到满足实际使用需求的评价函数计算结果。Of course, the calculation formula of the above evaluation function can also be modified according to the weight of speed or smoothness, so as to obtain the calculation result of the evaluation function that meets actual use requirements.
图6所述自动驾驶车辆的测试方法,与图1所述的自动驾驶车辆的测试系统对应。The test method of the autonomous vehicle described in FIG. 6 corresponds to the test system of the autonomous vehicle described in FIG. 1.
图7为本申请实施例提供的一种自动驾驶车辆的测试装置的结构示意图,所述自动驾驶车辆的测试装置包括:FIG. 7 is a schematic structural diagram of a test device for an autonomous driving vehicle provided by an embodiment of the application. The test device for an autonomous vehicle includes:
操控数据采集单元701,用于根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;The control data acquisition unit 701 is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model in combination with the environmental sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Control data;
状态数据采集单元702,用于基于所述操控数据,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反作用力获取所述自动驾驶车辆的状态数据;The state data collection unit 702 is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force to the tested autonomous vehicle, and according to the reaction To obtain state data of the autonomous vehicle;
位置数据确定单元703,用于根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;The position data determining unit 703 is configured to determine the position data of the dynamic model of the autonomous driving vehicle in the traffic scene model according to the state data;
回报值计算单元704,用于根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。The reward value calculation unit 704 is configured to calculate a reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
所述自动驾驶车辆的测试装置,与所述自动驾驶车辆的测试方法对应。The testing device for the autonomous vehicle corresponds to the testing method for the autonomous vehicle.
图8是本申请一实施例提供的自动驾驶车辆的测试设备的示意图。如图8所示,该实施例的自动驾驶车辆的测试设备8包括:处理器80、存储器81以及存储在所述存储器81中并可在所述处理器80上运行的计算机程序82,例如自动驾驶车辆的测试程序。所述处理器80执行所述计算机程序82时实现上述各个自动驾驶车辆的测试方法实施例中的步骤。或者,所述处理器80执行所述计算机程序82时实现上述各装置实施例中各模块/单元的功能。Fig. 8 is a schematic diagram of a test device for an autonomous vehicle provided by an embodiment of the present application. As shown in FIG. 8, the test device 8 for an autonomous vehicle of this embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and running on the processor 80, such as an automatic Test procedures for driving vehicles. When the processor 80 executes the computer program 82, the steps in the foregoing embodiments of the test method for autonomous vehicles are implemented. Alternatively, when the processor 80 executes the computer program 82, the functions of the modules/units in the foregoing device embodiments are realized.
示例性的,所述计算机程序82可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器81中,并由所述处理器80执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序82在所述自动驾驶车辆的测试设备8中的执行过程。例如,所述计算机程序82可以被分割成:Exemplarily, the computer program 82 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 81 and executed by the processor 80 to complete This application. The one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 82 in the test device 8 of the autonomous vehicle. For example, the computer program 82 can be divided into:
操控数据采集单元,用于根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;The control data collection unit is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Manipulate data;
状态数据采集单元,用于基于所述操控数据,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反艇力获取所述自动驾驶车辆的状态数据;The state data collection unit is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force against the tested autonomous vehicle, and according to the anti-boat To obtain state data of the autonomous vehicle;
位置数据确定单元,用于根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;A location data determining unit, configured to determine location data of an autonomous vehicle dynamics model in a traffic scene model according to the state data;
回报值计算单元,用于根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。The reward value calculation unit is used to calculate the reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
所述自动驾驶车辆的测试设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图8仅仅是自动驾驶车辆的测试设备8的示例,并不构成对自动驾驶车辆的测试设备8的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述自动驾驶车辆的测试设备还可以包括输入输出设备、网络接入设备、总线等。The test equipment of the autonomous vehicle may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art can understand that FIG. 8 is only an example of the test device 8 of an autonomous driving vehicle, and does not constitute a limitation on the test device 8 of an autonomous vehicle. It may include more or less components than shown in the figure, or a combination Certain components, or different components, for example, the test device of the autonomous vehicle may also include input and output devices, network access devices, buses, and so on.
所称处理器80可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 80 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
所述存储器81可以是所述自动驾驶车辆的测试设备8的内部存储单元,例如自动驾驶车辆的测试设备8的硬盘或内存。所述存储器81也可以是所述自动驾驶车辆的测试设备8的外部存储设备,例如所述自动驾驶车辆的测试设备8上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。所述存储器81还可以既包括所述自动驾驶车辆的测试设备8的内部存储单元也包括外部存储设备。所述存储器81用于存储所述计算机程序以及所述自动驾驶车辆的测试设备所需的其他程序和数据。所述存储器81还可以用于暂时地存储已经输出或者将要输出的数据。The memory 81 may be an internal storage unit of the test device 8 of the autonomous driving vehicle, such as a hard disk or memory of the test device 8 of the autonomous vehicle. The memory 81 may also be an external storage device of the test device 8 of the autonomous vehicle, such as a plug-in hard disk or a smart memory card (Smart Media Card, SMC) equipped on the test device 8 of the autonomous vehicle. Secure Digital (SD) card, Flash Card, etc. The memory 81 may also include both the internal storage unit of the test device 8 of the autonomous vehicle and an external storage device. The memory 81 is used to store the computer program and other programs and data required by the test equipment of the autonomous vehicle. The memory 81 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成 的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned functions can be allocated to different functional units and modules as required. Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Formal realization can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the foregoing system, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not detailed or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存 储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media. It should be noted that the content contained in the computer-readable medium can be appropriately added or deleted in accordance with the requirements of the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to the legislation and patent practice, the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (10)

  1. 一种自动驾驶车辆的测试系统,其特征在于,所述自动驾驶车辆的测试系统包括实车控制数据采集模块、测试台架、场景模型建立模块、评价模块,其中:A test system for an autonomous vehicle, characterized in that the test system for an autonomous vehicle includes a real vehicle control data acquisition module, a test bench, a scene model establishment module, and an evaluation module, wherein:
    所述实车数据采集模块用于采集被测试的自动驾驶车辆的操控部件的操控数据;The real-vehicle data collection module is used to collect the control data of the control components of the tested autonomous vehicle;
    所述测试台架用于根据所述被测试的自动驾驶车辆的操控数据,以及自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试的自动驾驶车辆的反作用力,根据所述反作用力获取所述自动驾驶车辆的状态数据;The test bench is used to generate a scene feedback instruction according to the control data of the tested autonomous vehicle and the scene information of the autonomous vehicle, and control the motor of the test bench to generate a response to the vehicle according to the scene feedback instruction. The reaction force of the tested self-driving vehicle, and obtaining state data of the self-driving vehicle according to the reaction force;
    所述场景模型建立模块用于建立交通场景模型、交通流模型、自动驾驶车辆动力学模型和环境感知传感器模型,所述环境感知传感器模型用于根据所述自动驾驶车辆动力学模型、交通场景模型和交通流模型生成操控指令控制所述自动驾驶车辆的操控部件,并结合所述状态数据获取自动驾驶车辆动力学模型在所述交通场景模型的位置数据;The scene model establishment module is used to establish a traffic scene model, a traffic flow model, an autonomous vehicle dynamics model, and an environment perception sensor model, and the environment perception sensor model is used to establish a traffic scene model based on the autonomous vehicle dynamics model and the traffic scene model And a traffic flow model to generate control instructions to control the control components of the autonomous vehicle, and to obtain position data of the autonomous vehicle dynamics model in the traffic scene model in combination with the state data;
    所述评价模块用于根据所述自动驾驶车辆动力学模型在所述交通场景模型的位置数据,以及所述被测试的自动驾驶车辆的仿真数据,计算用于评价自动驾驶车辆行驶状态的回报值。The evaluation module is used to calculate the return value for evaluating the driving state of the autonomous vehicle based on the position data of the autonomous vehicle dynamics model in the traffic scene model and the simulation data of the tested autonomous vehicle .
  2. 根据权利要求1所述的自动驾驶车辆的测试系统,其特征在于,所述实车数据采集模块包括用于采集方向盘的旋转角度的角度传感器,用于采用不同档位的档位开关,以及用于采集踏板行程的行程传感器中的一种或者多种。The test system for an autonomous vehicle according to claim 1, wherein the actual vehicle data collection module includes an angle sensor for collecting the rotation angle of the steering wheel, for adopting gear switches of different gears, and One or more of stroke sensors for collecting pedal stroke.
  3. 根据权利要求1所述的自动驾驶车辆的测试系统,其特征在于,所述测试台架包括模拟电机、实验台控制系统、传感器和转向加载系统中的一项或者多项,其中:The test system for an autonomous vehicle according to claim 1, wherein the test bench includes one or more of a simulation motor, a test bench control system, a sensor, and a steering loading system, wherein:
    所述模拟电机用于速度控制模拟,以及根据场景中的道路进行滚动阻力模拟;The simulation motor is used for speed control simulation and rolling resistance simulation according to the road in the scene;
    所述实验台控制系统用于接收自动驾驶车辆系统的决策指令,或者向所述自动驾驶车辆系统发送指令,或者接收人工输入的操控指令;The control system of the test bench is used to receive a decision-making instruction of an autonomous vehicle system, or send an instruction to the autonomous vehicle system, or receive a manual input control instruction;
    所述传感器包括转速传感器和转矩传感器,用于检测自动驾驶车辆轮毂转速以及所传递的转矩;The sensors include a rotational speed sensor and a torque sensor, which are used to detect the rotational speed of the hub of the autonomous vehicle and the transmitted torque;
    所述转向加载系统用于自动驾驶车辆转向时,由转向加载电机产生阻止车轮转向的转矩,验证自动驾驶车辆自动转向。The steering loading system is used when the automatic driving vehicle is steering, and the steering loading motor generates a torque that prevents the wheels from turning to verify the automatic steering of the automatic driving vehicle.
  4. 根据权利要求1所述的自动驾驶车辆的测试系统,其特征在于,所述评价模块具体用于,根据公式:The test system for an autonomous vehicle according to claim 1, wherein the evaluation module is specifically configured to, according to the formula:
    Figure PCTCN2019120934-appb-100001
    Figure PCTCN2019120934-appb-100001
    计算用于评价自动驾驶车辆行驶状态的回报值,其中:
    Figure PCTCN2019120934-appb-100002
    表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x2自动驾驶车辆与正前方车道边缘线的距离阈值,x1为自动驾驶车辆与车道中轴线的距离阈值。
    Calculate the return value used to evaluate the driving state of autonomous vehicles, where:
    Figure PCTCN2019120934-appb-100002
    Represents the indicator function, when the internal conditions of the function are met, the value is 1, otherwise the value is 0, v is the longitudinal speed of the autonomous vehicle, d 1 is the distance between the autonomous vehicle and the edge of the lane ahead, and d 2 is the autonomous driving The distance between the vehicle and the central axis of the lane, α and β are the constraint parameters of the autonomous vehicle when turning, r is the return value, x2 is the distance threshold between the autonomous vehicle and the edge of the lane directly ahead, and x1 is the distance between the autonomous vehicle and the central axis of the lane Distance threshold.
  5. 根据权利要求1所述的自动驾驶车辆的测试系统,其特征在于,所述自动驾驶车辆的测试系统还包括融合模块,所述融合模块用于对场景中的多个自动驾驶车辆的传感数据,以及场景中的多个道路的传感数据进行采集,并对采集的多个传感数据进行融合。The test system of an autonomous vehicle according to claim 1, wherein the test system of the autonomous vehicle further comprises a fusion module, and the fusion module is used for sensing data of multiple autonomous vehicles in the scene. , And collect the sensor data of multiple roads in the scene, and fuse the collected multiple sensor data.
  6. 一种基于权利要求1-5任一项所述自动驾驶车辆的测试系统的自动驾驶车辆的测试方法,其特征在于,所述自动驾驶车辆的测试方法包括:A testing method for an autonomous vehicle based on the testing system for an autonomous vehicle according to any one of claims 1 to 5, wherein the testing method for the autonomous vehicle comprises:
    根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;According to the pre-established traffic scene model and traffic flow model, combined with the environment sensing sensor model, generate control instructions for the autonomous vehicle, and collect control data of the control components of the tested autonomous vehicle based on the control instructions;
    基于所述操控数据,结合所述自动驾驶车辆的场景信息,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反艇力获取所述自动驾驶车辆的状态数据;Based on the manipulation data, combined with the scene information of the autonomous vehicle, a scene feedback instruction is generated, and the motor of the test bench is controlled according to the scene feedback instruction to generate a reaction force against the autonomous vehicle under test. Acquiring the state data of the autonomous vehicle by the anti-boat force;
    根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;According to the state data, determine the position data of the automatic driving vehicle dynamics model in the traffic scene model;
    根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。According to the state data and the position data, a return value for evaluating the driving state of the autonomous driving vehicle is calculated.
  7. 根据权利要求6所述的自动驾驶车辆的测试方法,其特征在于,所述根据所述仿真数据,以及所述位置数据,计算用于评价自动驾驶车辆行驶状态的回报值的步骤包括:The method for testing an autonomous vehicle according to claim 6, wherein the step of calculating a return value for evaluating the driving state of the autonomous vehicle based on the simulation data and the position data comprises:
    根据公式:According to the formula:
    Figure PCTCN2019120934-appb-100003
    Figure PCTCN2019120934-appb-100003
    计算用于评价自动驾驶车辆行驶状态的回报值,其中:
    Figure PCTCN2019120934-appb-100004
    表示指示函数,当函数内部条件满足时取值为1,否则取值为0,v为自动驾驶车辆的纵向速度,d 1为自动驾驶车 辆与正前方车道边缘线的距离,d 2为自动驾驶车辆与车道中轴线的距离,α和β是自动驾驶车辆转弯时的约束参数,r为回报值,x1自动驾驶车辆与正前方车道边缘线的距离阈值,x2为自动驾驶车辆与车道中轴线的距离阈值。
    Calculate the return value used to evaluate the driving status of autonomous vehicles, where:
    Figure PCTCN2019120934-appb-100004
    Represents the indicator function, when the internal conditions of the function are met, the value is 1, otherwise the value is 0, v is the longitudinal speed of the autonomous vehicle, d 1 is the distance between the autonomous vehicle and the edge of the lane ahead, and d 2 is the autonomous driving The distance between the vehicle and the center axis of the lane, α and β are the constraint parameters when the autonomous vehicle turns, r is the return value, x1 is the distance threshold between the autonomous vehicle and the edge of the lane ahead, and x2 is the distance between the autonomous vehicle and the center axis of the lane Distance threshold.
  8. 根据权利要求6所述的自动驾驶车辆的测试方法,其特征在于,所述根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据的步骤包括:The method for testing an autonomous vehicle according to claim 6, characterized in that, according to the pre-established traffic scene model and traffic flow model, combined with the environment sensing sensor model, the control instructions for the autonomous vehicle are generated and based on all The step of collecting the control data of the control component of the automated driving vehicle under test by the control instruction includes:
    建立交通场景模型、包括交通流数据的交通流模型、自动驾驶车辆动力学模型以及环境感知传感器模型;Establish traffic scene models, traffic flow models including traffic flow data, autonomous vehicle dynamics models, and environmental sensor models;
    根据所述环境感知传感器模型在所述交通场景模型和交通流模型所采集的环境感知数据,生成对自动驾驶车辆的操控指令。According to the environment perception data collected by the environment perception sensor model in the traffic scene model and the traffic flow model, a control instruction for the autonomous vehicle is generated.
  9. 一种基于权利要求1-5任一项所述自动驾驶车辆的测试系统的自动驾驶车辆的测试装置,其特征在于,所述自动驾驶车辆的测试装置包括:An automatic driving vehicle test device based on the automatic driving vehicle test system according to any one of claims 1 to 5, wherein the automatic driving vehicle test device comprises:
    操控数据采集单元,用于根据预先建立的交通场景模型和交通流模型,结合环境感知传感器模型,生成对自动驾驶车辆的操控指令,并基于所述操控指令采集被测试自动驾驶车辆的操控部件的操控数据;The control data collection unit is used to generate control instructions for the autonomous vehicle based on the pre-established traffic scene model and traffic flow model, combined with the environmental sensing sensor model, and collect the control components of the tested autonomous vehicle based on the control instructions Manipulate data;
    状态数据采集单元,用于基于所述操控数据,生成场景反馈指令,根据所述场景反馈指令控制所述测试台架的电机产生对所述被测试自动驾驶车辆的反作用力,根据所述反艇力获取所述自动驾驶车辆的状态数据;The state data collection unit is configured to generate a scene feedback instruction based on the control data, control the motor of the test bench according to the scene feedback instruction to generate a reaction force against the tested autonomous vehicle, and according to the anti-boat To obtain state data of the autonomous vehicle;
    位置数据确定单元,用于根据所述状态数据,确定自动驾驶车辆动力学模型在交通场景模型中的位置数据;A location data determining unit, configured to determine location data of an autonomous vehicle dynamic model in a traffic scene model according to the state data;
    回报值计算单元,用于根据所述状态数据,以及位置数据,计算用于评价自动驾驶车辆行驶状态的回报值。The reward value calculation unit is used to calculate the reward value for evaluating the driving state of the autonomous vehicle based on the state data and the position data.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求6至8任一项所述自动驾驶车辆的测试方法的步骤。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, realizes the test of the autonomous vehicle according to any one of claims 6 to 8 Method steps.
PCT/CN2019/120934 2019-05-31 2019-11-26 Testing method for autonomous vehicle, device, and system WO2020238097A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910473051.9 2019-05-31
CN201910473051.9A CN110160804B (en) 2019-05-31 2019-05-31 Test method, device and system for automatically driving vehicle

Publications (1)

Publication Number Publication Date
WO2020238097A1 true WO2020238097A1 (en) 2020-12-03

Family

ID=67630780

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/120934 WO2020238097A1 (en) 2019-05-31 2019-11-26 Testing method for autonomous vehicle, device, and system

Country Status (2)

Country Link
CN (1) CN110160804B (en)
WO (1) WO2020238097A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467276A (en) * 2021-09-03 2021-10-01 中国汽车技术研究中心有限公司 Intelligent driving simulation method based on intelligent driving simulation event cloud platform
US11551494B2 (en) * 2019-12-23 2023-01-10 Uatc, Llc Predictive mobile test device control for autonomous vehicle testing

Families Citing this family (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110160804B (en) * 2019-05-31 2020-07-31 中国科学院深圳先进技术研究院 Test method, device and system for automatically driving vehicle
CN110807238B (en) * 2019-08-26 2022-11-18 腾讯科技(深圳)有限公司 Simulation model calibration method and related equipment
CN110455554A (en) * 2019-09-03 2019-11-15 酷黑科技(北京)有限公司 A kind of unmanned vehicle test macro and method
JP7308107B2 (en) * 2019-09-06 2023-07-13 三菱重工機械システム株式会社 VEHICLE DRIVING TESTING DEVICE, DRIVING PERFORMANCE TEST SYSTEM AND DRIVING PERFORMANCE TEST METHOD
CN110567733B (en) * 2019-09-10 2021-07-16 武汉光庭信息技术股份有限公司 ACC-based failure scene determination method and system, server and medium
CN112578781B (en) * 2019-09-29 2022-12-30 华为技术有限公司 Data processing method, device, chip system and medium
CN110687828A (en) * 2019-10-28 2020-01-14 苏州智行众维智能科技有限公司 Intelligent networking automobile simulation test system based on whole automobile hardware-in-loop
CN110807922A (en) * 2019-10-29 2020-02-18 长安大学 Unmanned vehicle intersection traffic capacity test system and test method
CN110987464B (en) * 2019-11-08 2021-10-08 同济大学 Sensor testing environment cabin for vehicle in-loop testing and testing method
CN110705134A (en) * 2019-12-13 2020-01-17 中智行科技有限公司 Driving test method, device, equipment and computer readable storage medium
CN110888417A (en) * 2019-12-16 2020-03-17 苏州智加科技有限公司 Real-time simulation and test method for control system of automatic driving truck
CN110986966B (en) * 2019-12-17 2021-06-22 苏州智加科技有限公司 Automatic driving positioning method and system for long-distance tunnel
CN113109055A (en) * 2020-01-10 2021-07-13 上海汽车集团股份有限公司 Test scene grade calculation method and device and computer storage medium
CN111290370B (en) * 2020-03-03 2021-07-23 腾讯科技(深圳)有限公司 Automatic driving performance detection method and device
CN111538315B (en) * 2020-04-26 2021-10-29 东风汽车集团有限公司 Simulation test system and test method for automatic driving function of whole vehicle
CN111736486A (en) * 2020-05-01 2020-10-02 东风汽车集团有限公司 Sensor simulation modeling method and device for L2 intelligent driving controller
CN111614215B (en) * 2020-05-11 2021-11-12 东南大学 Method for designing driving motor for electric vehicle based on generation of countermeasure network
CN111338973B (en) * 2020-05-19 2020-09-22 中汽院汽车技术有限公司 Scene-based automatic driving simulation test evaluation service cloud platform and application method
CN111899625A (en) * 2020-07-16 2020-11-06 北京理工大学 Intelligent driving assisting development device
CN111947938A (en) * 2020-08-03 2020-11-17 中国第一汽车股份有限公司 In-loop test system, method, server and storage medium for automatic driving vehicle
CN112526893B (en) * 2020-10-30 2024-04-02 长安大学 Intelligent automobile's test system
CN112306042B (en) * 2020-10-30 2022-11-04 重庆长安汽车股份有限公司 Automatic test system and method for automatic driving controller
CN112256590B (en) * 2020-11-12 2022-04-29 腾讯科技(深圳)有限公司 Virtual scene effectiveness judgment method and device and automatic driving system
CN112417661B (en) * 2020-11-13 2023-10-27 中国人民解放军陆军研究院装甲兵研究所 Data acquisition and analysis system for unmanned equipment packaging test
DE112021001037T5 (en) * 2020-12-17 2023-01-26 Mobileye Vision Technologies Ltd. TEST SYSTEM FOR VEHICLE OPERATION - SAFETY MODELS
US20220227397A1 (en) * 2021-01-19 2022-07-21 Baidu Usa Llc Dynamic model evaluation package for autonomous driving vehicles
CN112858908B (en) * 2021-01-22 2022-11-25 一汽解放汽车有限公司 System, method, device, equipment and storage medium for testing motor of steering gear
CN113029597A (en) * 2021-04-06 2021-06-25 北京理工大学 Unmanned vehicle full-line control chassis test system
CN113126624B (en) * 2021-04-20 2023-02-17 禾多科技(北京)有限公司 Automatic driving simulation test method, device, electronic equipment and medium
CN113110489B (en) * 2021-04-30 2023-03-10 清华大学 Trajectory planning method and device, electronic equipment and storage medium
CN113406955B (en) * 2021-05-10 2022-06-21 江苏大学 Complex network-based automatic driving automobile complex environment model, cognitive system and cognitive method
CN113776855A (en) * 2021-06-30 2021-12-10 特路(北京)科技有限公司 Function test system and method suitable for intelligent automobile severe cold area
CN113609784B (en) * 2021-08-18 2024-03-22 清华大学 Traffic limit scene generation method, system, equipment and storage medium
CN114067610B (en) * 2021-09-22 2023-03-17 广州文远知行科技有限公司 Simulation scene construction method and device for missing turnout accident
CN114297827A (en) * 2021-12-06 2022-04-08 江苏航天大为科技股份有限公司 Software combined automatic driving system simulation method
CN114415621A (en) * 2021-12-13 2022-04-29 山东省科学院自动化研究所 Automatic driving real vehicle hybrid test system and method based on virtual scene
CN114326423A (en) * 2021-12-21 2022-04-12 美的集团股份有限公司 Automatic generation method of scene control scheme and scene control equipment
WO2023193196A1 (en) * 2022-04-07 2023-10-12 中国科学院深圳先进技术研究院 Autonomous driving test case generation method and apparatus, and electronic device and storage medium
CN115165387A (en) * 2022-06-09 2022-10-11 中汽研汽车检验中心(广州)有限公司 Control method, device and system for testing performance of automatic driving whole vehicle
CN115169890A (en) * 2022-07-07 2022-10-11 深圳大学 Intelligent networked vehicle hybrid traffic evaluation system based on microscopic traffic simulation
CN115468778B (en) * 2022-09-14 2023-08-15 北京百度网讯科技有限公司 Vehicle testing method and device, electronic equipment and storage medium
CN115655752B (en) * 2022-12-09 2023-03-17 成都鲁易科技有限公司 New energy vehicle automatic test method and device, electronic equipment and storage medium
CN117093811A (en) * 2023-07-17 2023-11-21 上海智能汽车融合创新中心有限公司 Automatic driving safety capability evaluation method, device and equipment
CN116698457B (en) * 2023-08-07 2023-10-20 合肥威艾尔智能技术有限公司 Driving operation stability evaluation method based on big data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807542A (en) * 2017-11-16 2018-03-16 北京北汽德奔汽车技术中心有限公司 Automatic Pilot analogue system
CN108627350A (en) * 2018-03-27 2018-10-09 北京新能源汽车股份有限公司 Vehicle testing system and method
CN109100155A (en) * 2018-07-09 2018-12-28 长安大学 A kind of unmanned vehicle is in ring high-speed simulation test macro and method
CN109213126A (en) * 2018-09-17 2019-01-15 安徽江淮汽车集团股份有限公司 Autonomous driving vehicle test macro and method
CN110160804A (en) * 2019-05-31 2019-08-23 中国科学院深圳先进技术研究院 A kind of test method of automatic driving vehicle, apparatus and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018096958A (en) * 2016-12-15 2018-06-21 キーコム株式会社 Automatic drive test system
CN107169567B (en) * 2017-03-30 2020-04-07 深圳先进技术研究院 Method and device for generating decision network model for automatic vehicle driving
CN108267325A (en) * 2018-01-29 2018-07-10 上海测迅汽车科技有限公司 Unmanned vehicle material object is in ring test method
CN108362505B (en) * 2018-01-30 2020-01-17 上海大学 Full-working-condition dynamic whole vehicle test bench and method
CN108844734A (en) * 2018-06-13 2018-11-20 柳州北斗星液压科技有限公司 Axis manifold type chassis transmission performance test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807542A (en) * 2017-11-16 2018-03-16 北京北汽德奔汽车技术中心有限公司 Automatic Pilot analogue system
CN108627350A (en) * 2018-03-27 2018-10-09 北京新能源汽车股份有限公司 Vehicle testing system and method
CN109100155A (en) * 2018-07-09 2018-12-28 长安大学 A kind of unmanned vehicle is in ring high-speed simulation test macro and method
CN109213126A (en) * 2018-09-17 2019-01-15 安徽江淮汽车集团股份有限公司 Autonomous driving vehicle test macro and method
CN110160804A (en) * 2019-05-31 2019-08-23 中国科学院深圳先进技术研究院 A kind of test method of automatic driving vehicle, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WU, JUNTA ET AL.: "Aggregated Multi-Deep Deterministic Policy Gradient for Self-Driving Policy", INTERNET OF VEHICLES. TECHNOLOGIES AND SERVICES TOWARDS SMART CITY. IOV 2018., 21 November 2018 (2018-11-21), pages 179 - 192, XP047494695, DOI: 20200218163530Y *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11551494B2 (en) * 2019-12-23 2023-01-10 Uatc, Llc Predictive mobile test device control for autonomous vehicle testing
CN113467276A (en) * 2021-09-03 2021-10-01 中国汽车技术研究中心有限公司 Intelligent driving simulation method based on intelligent driving simulation event cloud platform
CN113467276B (en) * 2021-09-03 2021-12-07 中国汽车技术研究中心有限公司 Intelligent driving simulation method based on intelligent driving simulation event cloud platform

Also Published As

Publication number Publication date
CN110160804A (en) 2019-08-23
CN110160804B (en) 2020-07-31

Similar Documents

Publication Publication Date Title
WO2020238097A1 (en) Testing method for autonomous vehicle, device, and system
Chen et al. A novel integrated simulation and testing platform for self-driving cars with hardware in the loop
RU2733015C1 (en) Real-time vehicle control
RU2734744C1 (en) Operational control of autonomous vehicle, including operation of model instance of partially observed markov process of decision making
CN107403038B (en) Intelligent automobile virtual rapid test method
CN111123735B (en) Automatic driving simulation operation method and device
WO2022121248A1 (en) Test evaluation information determining method, apparatus and device, and computer storage medium
RU2734732C1 (en) Traffic network blocking tracking during operational control of autonomous vehicle
CN109100155A (en) A kind of unmanned vehicle is in ring high-speed simulation test macro and method
CN109884916A (en) A kind of automatic Pilot Simulation Evaluation method and device
Zhou et al. A framework for virtual testing of ADAS
CN113050455A (en) Digital twin test system for intelligent networked automobile and control method
CN104834776A (en) System and method for modeling and simulating traffic vehicle in microscopic traffic simulation
CN108319250A (en) Intelligent driving automobile test method
CN100504788C (en) Software emulation method of self-determination driving vehicle running process
WO2023028858A1 (en) Test method and system
CN201142163Y (en) Road traffic flow model simulation device
CN114430722A (en) Security analysis framework
Aryal Optimization of geometric road design for autonomous vehicle
EP4302165A1 (en) Instantiating objects in a simulated environment based on log data
CN113918615A (en) Simulation-based driving experience data mining model construction method and system
CN110426215B (en) Model establishing method for vehicle ride comfort test and intelligent driving system
Zhao et al. Virtual traffic simulator for connected and automated vehicles
Gowal et al. A realistic simulator for the design and evaluation of intelligent vehicles
CN116135654A (en) Vehicle running speed generation method and related equipment

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25/01/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19930241

Country of ref document: EP

Kind code of ref document: A1