CN114923704A - Anti-collision function test method, electronic device and storage medium - Google Patents

Anti-collision function test method, electronic device and storage medium Download PDF

Info

Publication number
CN114923704A
CN114923704A CN202210548782.7A CN202210548782A CN114923704A CN 114923704 A CN114923704 A CN 114923704A CN 202210548782 A CN202210548782 A CN 202210548782A CN 114923704 A CN114923704 A CN 114923704A
Authority
CN
China
Prior art keywords
test
collision
condition
function
vehicle
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210548782.7A
Other languages
Chinese (zh)
Inventor
张泽
吕顺顺
范彬
刘浩龙
王强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202210548782.7A priority Critical patent/CN114923704A/en
Publication of CN114923704A publication Critical patent/CN114923704A/en
Pending legal-status Critical Current

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application provides an anti-collision function test method, an electronic device and a storage medium, wherein after the electronic device acquires vehicle bus data, the electronic device acquires data corresponding to vehicle parameters generated in the using process of an anti-collision function, acquires an anti-collision test time range by combining anti-collision test conditions, acquires an anti-collision function test result according to corresponding data of an anti-collision test target and associated vehicle parameters in the time range, visualizes the test result, realizes that the electronic device acquires the operation condition of an internal device in the anti-collision function process of vehicle operation again by using the vehicle bus data, limits the test condition time range in the data through different test conditions, and determines different test results according to different test targets in the time range, thereby not only shortening the data acquisition time, but also improving the utilization rate of the test data, thereby the efficiency of testing of anticollision function has been improved.

Description

Anti-collision function test method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of automatic testing technologies, and in particular, to an anti-collision function testing method, an electronic device, and a storage medium.
Background
With the development of science and technology and the improvement of the economic level of people, automobiles are widely applied to daily life of people, and accompanying the increase of passing vehicles on roads and the frequent occurrence of collision and scraping accidents among vehicles. In order to reduce the damage of the accidents to the vehicle and the driver, researchers develop an anti-collision function and apply the function to the vehicle.
In order to improve the vehicle condition suitable for the anti-collision function and ensure the stability of the operation of the anti-collision function, a tester needs to sequentially test the operation condition of the function on a vehicle to which the anti-collision function is applied, and analyze the operation condition in the test process to obtain the problems of the function and the place to be improved. However, the analysis process can only be performed in the actual vehicle test process, and the information in the test data cannot be fully utilized, so that the utilization rate of the test data is reduced, the repeatability of the test process is caused, and the efficiency of the anti-collision function development is reduced.
Disclosure of Invention
The application provides an anti-collision function testing method, electronic equipment and a storage medium, which are used for solving the technical problem of low development efficiency caused by low utilization rate of test data in the development process of an anti-collision function.
In a first aspect, the present application provides an anti-collision function testing method, including:
acquiring vehicle bus data, and acquiring data corresponding to vehicle parameters generated in the using process of an anti-collision function from the vehicle bus data, wherein the vehicle parameters comprise anti-collision test condition parameters and anti-collision test target parameters;
acquiring an anti-collision test time range according to the anti-collision test condition and the corresponding data of the anti-collision test condition parameters;
within the anti-collision test time range, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target;
and generating a visual instruction according to the anti-collision function test result, and sending the visual instruction to a display device, wherein the visual instruction is used for controlling the display device to display the anti-collision function test result.
In the technical scheme, the electronic equipment obtains bus data associated with the function from a vehicle running with the anti-collision function to be tested, extracts data corresponding to the anti-collision test condition and the anti-collision test target respectively by using the bus data, and obtains the running state of the vehicle aiming at the test condition and the target according to the data, so that the anti-collision test result is obtained, separation of data acquisition and data analysis processes is realized, time occupied by switching operation between the two processes is saved, the test efficiency is improved, the test data and the test result can be repeatedly analyzed, the acquisition process of vehicle data running under the same vehicle condition is saved, and the utilization rate of the test result and the test data is improved.
Optionally, after obtaining data corresponding to vehicle parameters generated during the use of the anti-collision function from the vehicle bus data, the method further includes:
acquiring an anti-collision test type, wherein the anti-collision test type comprises a safety distance early warning test type or a collision warning use test type;
obtaining vehicle parameters corresponding to the anti-collision test type according to the anti-collision test type and the type parameter mapping table; the type parameter mapping table represents the mapping relation between the anti-collision test type and the corresponding vehicle parameters;
acquiring an anti-collision test condition and an anti-collision test target corresponding to the anti-collision test type according to the anti-collision test type and the type condition mapping table; the type condition mapping table represents the anti-collision test type and the mapping relation between the corresponding anti-collision test condition and the anti-collision test target;
the anti-collision test conditions comprise basic test conditions and preset test conditions, the basic test conditions are that the treading depth of an accelerator pedal is smaller than a preset depth threshold value, the rotating speed of a steering wheel is smaller than a preset rotating speed threshold value, the current vehicle moving state is a forward state, and a vehicle distance sensor and an image sensor are free of faults.
Optionally, when the anti-collision test type is a safety distance early warning test type, obtaining an anti-collision test time range according to the anti-collision test condition and corresponding data of the anti-collision test condition parameters, specifically including:
if the preset test condition is a safety distance early warning test condition, acquiring a first safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters meet the basic test condition and the safety distance early warning test condition; or alternatively
Acquiring a second safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the safety distance early warning test condition;
the safety distance early warning test conditions comprise that the self-adaptive cruise control system is not activated, the vehicle speed is in a first preset vehicle speed range, the projection speed of the vehicle speed along the current vehicle running direction is greater than a first preset speed threshold value, the type of a current vehicle front side object is a preset type, and the time distance between the current vehicle and the front side object is smaller than a first preset time distance threshold value.
Optionally, when the anti-collision test target is a safety distance early warning test target, in the anti-collision test time range, obtaining an anti-collision function test result according to the anti-collision test target and corresponding data of parameters of the anti-collision test target, where the anti-collision function test result specifically includes any one of the following:
within a first safety distance early warning test time range, obtaining a first safety distance early warning test result according to the use state of a safety distance early warning function and the display state of a safety distance early warning result by an instrument large screen;
within the first safety distance early warning test time range, obtaining a second safety distance early warning test result according to the basic test condition after the safety distance early warning function is activated and the holding state of each parameter in the safety distance early warning test condition;
and in the second safety distance early warning test time range, obtaining a third safety distance early warning test result according to the use state of the safety distance early warning function and the display state of the large instrument screen on the safety distance early warning result.
Optionally, when the anti-collision test type is a collision alarm use test type, obtaining an anti-collision test time range according to the anti-collision test condition and the data corresponding to the parameters of the anti-collision test condition, specifically including:
if the preset test condition is the anti-collision alarm function test condition, obtaining a first anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the anti-collision alarm function test condition; or
Acquiring a second anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the anti-collision alarm function test condition;
the anti-collision warning function test conditions comprise that the collision grade is in a first preset collision grade, the time distance between the current vehicle and a front side object is smaller than a second preset time distance threshold value, the early warning sensitivity function is in a non-closed state, and the vehicle speed is within a second preset vehicle speed range.
Optionally, when the anti-collision test target is the anti-collision alarm function test target, obtaining an anti-collision function test result according to the corresponding data of the parameters of the anti-collision test target and the anti-collision test target within the anti-collision test time range, specifically including any one of the following:
within the first anti-collision alarm test time range, obtaining a first anti-collision alarm function test result according to the state of the collision alarm function, obtaining a second anti-collision alarm function test result according to the state of the request point brake function, and obtaining a third anti-collision alarm function test result according to the pressure of a brake main cylinder, the first preset pressure range and the state of the brake pre-filling function;
in the first anti-collision alarm test time range, adjusting the basic test condition to the activated state according to the collision alarm function or the brake pre-filling function or the request inching function, and obtaining a fourth anti-collision alarm function test result according to the maintenance state of each parameter in the anti-collision alarm function test condition and the basic test condition;
and within the second anti-collision alarm test time range, obtaining a fifth anti-collision alarm function test result according to the state of the collision alarm function and the state of the request inching brake function.
Optionally, the method further comprises:
if the preset test condition is a Dynamic Braking System (DBS) auxiliary Braking test condition, obtaining a first DBS auxiliary Braking test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the DBS auxiliary Braking test condition; or
Obtaining a second DBS auxiliary braking test time range when data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the DBS auxiliary braking test condition;
the DBS auxiliary braking test condition includes that after the collision alarm function is activated, the collision grade is in a first preset collision grade, the vehicle speed is in a third preset vehicle speed range, the braking system is in an activated state, the brake pedal is in a treading state, the acceleration generated by the brake pedal is smaller than a preset acceleration threshold value, and an Electronic Stability Controller (ESC) of the automobile is in an inactivated state.
Optionally, if the anti-collision test target is the DBS auxiliary braking test target, obtaining an anti-collision function test result according to the corresponding data of the parameters of the anti-collision test target and the anti-collision test target within the anti-collision test time range, where the anti-collision function test result specifically includes any one of the following:
in a first DBS auxiliary braking test time range, obtaining a first DBS auxiliary braking test result according to the state of the DBS auxiliary braking function, and obtaining a second DBS auxiliary braking test result according to the projection acceleration of the current vehicle along the current vehicle form direction, a first preset acceleration range, the pressure of a brake master cylinder and a second preset pressure range;
within the time range of the first DBS auxiliary braking test, obtaining a third DBS auxiliary braking test result according to the basic test condition after the DBS auxiliary braking function is activated and the holding state of each parameter in the DBS auxiliary braking test condition;
and in the second DBS auxiliary braking test time range, obtaining a fourth DBS auxiliary braking test result according to the state of the DBS auxiliary braking function.
Optionally, the method further comprises:
if the anti-collision test condition is an Automatic emergency braking system (AEB) test condition, obtaining a first AEB system test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the AEB system test condition; or
Obtaining a second AEB system test time range when the data corresponding to the anti-collision test condition parameters do not meet the AEB system activation test conditions;
the AEB system activation test conditions comprise that the collision risk level is in a second preset collision level or a third preset collision level, the vehicle speed is in a fourth preset vehicle speed range, the braking system is in an activated state, the AEB starting signal is in an acquired state, and the ESC is in an inactivated state.
Optionally, when the anti-collision test target is an AEB system test target, in the anti-collision test time range, obtaining an anti-collision function test result according to the anti-collision test target and corresponding data of the parameters of the anti-collision test target, where the anti-collision function test result specifically includes any one of the following:
within the first AEB system test time range, obtaining a first AEB system test result according to the state of an AEB system, and obtaining a second AEB system test result according to the current vehicle acceleration, a second preset acceleration range, the brake master cylinder pressure and a third preset pressure range;
within the test time range of the first AEB system, obtaining a third AEB system test result according to the retention state of each parameter in the basic test condition after the activation of the AEB system and the activation test condition of the AEB system;
and in the second AEB system testing time range, obtaining a fourth AEB system testing result according to the state of the AEB system.
In the technical scheme, the electronic equipment determines corresponding test conditions and parameters related to the test conditions according to different test types of the anti-collision function, and tests at least one test target in each test time range after limiting the corresponding test time range according to the test conditions and the data corresponding to the related parameters, so that the process of repeatedly setting the test conditions by the electronic equipment is saved, the repeated test and analysis of the same test process are realized, the utilization rate of bus data generated in the test process is improved, and the test efficiency and the development efficiency of the anti-collision function are improved.
In a second aspect, the present application provides an electronic device comprising: a processor and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the anti-collision function testing method according to the first aspect.
In a third aspect, the present application provides a computer-readable storage medium, in which computer instructions are stored, and the computer instructions are executed by a processor to implement the anti-collision function testing method according to the first aspect.
The application provides an anti-collision function test method, electronic equipment and a storage medium, which are used for acquiring vehicle bus data, acquiring data which are generated in the using process of an anti-collision function and correspond to vehicle parameters comprising anti-collision test condition parameters and anti-collision test target parameters from the vehicle bus data, acquiring an anti-collision test time range according to the corresponding data of the anti-collision test condition parameters and the anti-collision test target parameters, acquiring an anti-collision function test result according to the corresponding data of the anti-collision test target parameters and the anti-collision test target parameters in the anti-collision test time range, generating a visual instruction according to the anti-collision function test result, sending the visual instruction to a display device to control the display device to display the anti-collision function test result so as to realize that the electronic equipment acquires the running condition of an internal device in the running anti-collision function process of a vehicle again by utilizing the vehicle bus data, the bus data are processed in a centralized manner by using different preset anti-collision test conditions and targets so as to obtain test condition time ranges limited by different test conditions and different test results determined according to different test targets in the time ranges, so that the data acquisition time is shortened, the utilization rate of the test data is improved, and the test efficiency of the anti-collision function is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario diagram of an anti-collision function testing method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an anti-collision function testing method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a method for testing an anti-collision function according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an anti-collision function testing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
With the development of science and technology and the improvement of the economic level of people, automobiles are widely applied to daily life of people, and the increase of vehicles passing on roads and the frequent occurrence of collision and scraping accidents among vehicles follow. In order to reduce the damage of the accidents to the vehicle and the driver, researchers develop an anti-collision function and apply the function to the vehicle.
In order to improve the vehicle condition suitable for the anti-collision function and ensure the stability of the operation of the anti-collision function, a tester needs to sequentially test the operation condition of the function on a vehicle to which the anti-collision function is applied, and analyze the operation condition in the test process to obtain the problems of the function and the place to be improved. However, the analysis process can only be performed in the actual vehicle test process, and the information in the test data cannot be fully utilized, so that the utilization rate of the test data is reduced, the repeatability of the test process is caused, and the efficiency of the anti-collision function development is reduced.
In view of the above technical problems, embodiments of the present application provide an anti-collision function testing method, an electronic device, and a storage medium, which aim to solve the problem of low development efficiency caused by low test data utilization rate in the development process of an anti-collision function. The technical idea of the application is as follows: the electronic equipment obtains vehicle bus data from a vehicle running with an anti-collision function, screens out data corresponding to associated vehicle parameters through preset anti-collision test conditions to limit different vehicle conditions where the vehicle is located, determines the state of the vehicle executing the anti-collision function through a preset anti-collision test target and determines a corresponding test result in each vehicle condition so as to realize the reutilization of the bus data in the same time period, reduce the data acquisition times aiming at the same vehicle condition and improve the anti-collision function test and development efficiency.
Fig. 1 is an application scenario diagram of a collision avoidance function testing method according to an embodiment of the present application, as shown in fig. 1, including a vehicle 10, an electronic device 11, and a display device 12. The electronic apparatus 11 and the display device 12 are connected, and more specifically, the connection includes an electrical connection and a communication connection.
More specifically, the vehicle 10 includes a target vehicle 100 and a test vehicle 101, the target vehicle 100 runs on the front side of the test vehicle 101, and the test vehicle 101 has a collision avoidance function built therein for making corresponding collision avoidance measures according to the operating conditions of the target vehicle 100 and the test vehicle 101. Wherein, the anti-collision measures comprise the steps of braking, brake pre-filling, activating the DBS auxiliary brake function and activating the AEB system.
More specifically, at least one distance sensor and at least one image sensor are installed in the test vehicle 101. In an embodiment, the distance sensor is a radar, the image sensor is a camera, wherein the radar is used for detecting a distance between the test vehicle 101 and an obstacle in front of the vehicle, and the camera is used for acquiring image information of the obstacle when the radar detects that the obstacle exists on the front side of the test vehicle 101, and transmitting the image information to an Electronic Control Unit (ECU) of the test vehicle 101, so that the ECU performs target detection on the image information to determine the type of the obstacle and the position of the obstacle in a field of view of the camera. When the test vehicle 101 determines that the obstacle in front is the target vehicle 100, in the process that the test vehicle 101 drives along with the target vehicle 100, if the test vehicle 101 meets the safety distance early warning condition, the vehicle activates the safety distance early warning function. In addition, the vehicle determines the collision risk level of the vehicle 101 according to the distance between the vehicle and the target vehicle and the running speed, and when the collision risk level evaluation function is activated, the vehicle executes corresponding collision prevention measures according to the collision risk level to prevent the test vehicle 101 from colliding with the target vehicle 100.
During the test of the collision avoidance function of the vehicle 101, commands and/or data are transmitted between devices in the vehicle associated with the function via the vehicle bus in the form of bus data, and the bus data are stored in the vehicle. In the process of testing the operation condition of the anti-collision function, the electronic device 11 acquires bus data from the test vehicle 101, extracts corresponding data of corresponding vehicle parameters according to preset test conditions and preset test targets, and analyzes the data to obtain a test result. In order to improve the visibility of the test results, the electronic device 11 transmits the test results to the display device 12, so that the display device 12 displays the test results correspondingly.
Fig. 2 is a schematic flow chart of an anti-collision function testing method according to an embodiment of the present application. As shown in fig. 2, the anti-collision function testing method provided by the present application includes:
s201, the electronic equipment acquires vehicle bus data and acquires data corresponding to vehicle parameters generated in the using process of the anti-collision function from the vehicle bus data.
The vehicle bus data is data transmitted on a vehicle bus in the process of running the anti-collision function of the vehicle, and the types of the correspondingly generated and stored bus data are different according to different types and/or different instructions of data required by a device for executing the anti-collision function on the vehicle. In one embodiment, the format of the bus data includes: mdf format, dat format, blf format.
When the electronic equipment utilizes the vehicle bus data to carry out testing, the data corresponding to the vehicle parameters obtained by the electronic equipment from the vehicle bus data are different according to different running conditions of the tested vehicle and different target states of the testing functions. Wherein the vehicle parameters comprise anti-collision test condition parameters and anti-collision test target parameters.
More specifically, the data corresponding to the anti-collision test condition parameters is used for determining the data of the vehicle running condition, and the data corresponding to the anti-collision test target parameters is used for determining the data of the anti-collision function running condition.
S202, the electronic equipment obtains an anti-collision test time range according to the anti-collision test conditions and the corresponding data of the anti-collision test condition parameters.
The anti-collision test condition is a vehicle condition which is preset by the electronic device when the anti-collision function test is performed, and more specifically, the anti-collision test condition is data which is to be satisfied by relevant parameters of the vehicle condition which the vehicle needs to satisfy in vehicle bus data, wherein the relevant parameters of the vehicle condition are anti-collision test condition parameters, and the data which is to be satisfied by the relevant parameters of the vehicle condition is target data which is required to be satisfied by the anti-collision test condition parameters.
The electronic device compares the data corresponding to the anti-collision test condition parameters obtained in step S201 with target data in preset anti-collision test conditions, obtains a time range in which actual data corresponding to the anti-collision test condition parameters that meet the data range defined by the target data are located, and determines the time range as an anti-collision test time range. More specifically, the target data includes a target data value and/or a target data range, and when the actual data corresponding to the anti-collision test condition parameter is equal to the target data value or is within the target data range, it is determined that a time point corresponding to the actual data is within the anti-collision test time range. That is, the continuous actual data that conforms to the data range defined by the target data constitutes the anti-collision test time range, wherein the anti-collision test time range includes at least one test time sub-range according to the distribution state of the actual data.
And S203, in the anti-collision test time range, the electronic equipment obtains an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target.
Wherein the anti-collision test time range is obtained from step S202.
Within the anti-collision test time range, the electronic device obtains data meeting the anti-collision test target and a time distribution state corresponding to the data according to the vehicle bus data obtained in step S201, and the electronic device analyzes the data and the time distribution state corresponding to the data to obtain statistical characteristics of the data, so as to obtain an anti-collision function test result.
The anti-collision test target is a target state required to be met by representing the running state of an anti-collision function installed in the vehicle, namely in the vehicle bus data, the anti-collision test target comprises anti-collision test target parameters and target data to be met corresponding to the parameters, and the electronic equipment determines a time point and/or a time period when the actual data meet the target data according to actual data corresponding to the anti-collision test target parameters. And the electronic equipment obtains an anti-collision test result according to the statistical characteristics of the time points and/or the time periods. The process of determining, by the electronic device, that the actual data satisfies the target data is the same as the process of determining, by the electronic device, that the actual data satisfies the target data when the anti-collision test time range is determined in step S202, and is not described herein again.
And S204, the electronic equipment generates a visual instruction according to the anti-collision function test result and sends the visual instruction to the display device.
Wherein the anti-collision function test result is obtained from step S203.
And the electronic equipment generates a visual instruction according to the obtained anti-collision function test result so that the display device displays the anti-collision function test result. The anti-collision function test result displayed by the display device includes but is not limited to: and the anti-collision function runs related data, and a statistical graph and/or a statistical table corresponding to the data.
In the technical scheme, the electronic equipment obtains bus data associated with the function from a vehicle running with the anti-collision function to be tested, extracts data corresponding to the anti-collision test condition and the anti-collision test target respectively by using the bus data, and obtains the running state of the vehicle aiming at the test condition and the target according to the data, so that the anti-collision test result is obtained, separation of data acquisition and data analysis processes is realized, time occupied by switching operation between the two processes is saved, the test efficiency is improved, the test data and the test result can be repeatedly analyzed, the acquisition process of vehicle data running under the same vehicle condition is saved, and the utilization rate of the test result and the test data is improved.
Fig. 3 is a schematic flowchart of an anti-collision function testing method according to another embodiment of the present application, where an execution subject of the method is an electronic device. As shown in fig. 3, the anti-collision function testing method provided by the present application includes:
s301, vehicle bus data are obtained, and data corresponding to vehicle parameters generated in the using process of the anti-collision function are obtained from the vehicle bus data.
The vehicle bus data is data transmitted and stored on the bus during the operation of the anti-collision function of the vehicle. The bus data comprises data corresponding to the vehicle running condition and data corresponding to the anti-collision function using state. More specifically, the vehicle parameters include an anti-collision test condition parameter and an anti-collision test target parameter, which are explained in detail in step S201 and are not described herein again.
After the electronic equipment acquires the vehicle bus data, discretizing the data, namely sampling the vehicle bus data by using a preset time interval to obtain discrete data corresponding to discrete time points, wherein the discrete data comprises discrete data corresponding to the anti-collision test condition parameters and discrete data corresponding to the anti-collision test target parameters.
S302, anti-collision test types are obtained.
The anti-collision test type is a preset type which limits the type of an anti-collision function test target and the test condition corresponding to the target. The anti-collision test type comprises a safety distance early warning test type and a collision warning use test type.
And S303, obtaining vehicle parameters corresponding to the anti-collision test type according to the anti-collision test type and the type parameter mapping table.
Wherein the anti-collision test type is obtained from step S302.
The type parameter mapping table indicates the mapping relationship between the anti-collision test type and the corresponding vehicle parameter, that is, the electronic device determines to perform the target vehicle parameter corresponding to the type according to the type parameter mapping table and the anti-collision test type, and selects the data corresponding to the parameter from the data corresponding to the vehicle parameter obtained in step S301 according to the target vehicle parameter.
And S304, acquiring an anti-collision test condition and an anti-collision test target corresponding to the anti-collision test type according to the anti-collision test type and the type condition mapping table.
Wherein, the anti-collision test type is obtained from step S302, and the type condition mapping table represents the anti-collision test type and the mapping relationship between the corresponding anti-collision test condition and the anti-collision test target.
More specifically, the electronic device determines a test condition and a test target corresponding to the test type according to the anti-collision test type and the type condition mapping table, and is used for defining a working condition of the anti-collision function to be tested, which is operated by the vehicle corresponding to the test type, through the test condition, and defining the use and/or operation state of the anti-collision function to be tested in the working condition. The test target tested under the test condition defined by the test condition determines a test case.
More specifically, the anti-collision test conditions include basic test conditions and preset test conditions, wherein the basic test conditions are test conditions required to be met by each test case in the anti-collision function test. The preset test condition is a specific test working condition which needs to be met by each test case. Therefore, the basic test conditions are used in a plurality of test cases with the anti-collision function, and the preset test conditions of the test cases are different from each other.
In one embodiment, the basic test condition is that the stepping depth of the accelerator pedal is less than a preset depth threshold value, the rotating speed of the steering wheel is less than a preset rotating speed threshold value, the current vehicle moving state is a forward state, and the vehicle distance sensor and the image sensor are not in fault.
S305, obtaining an anti-collision test time range according to the anti-collision test conditions and the corresponding data of the anti-collision test condition parameters.
Wherein, the anti-collision test condition is obtained from step S304, and the anti-collision test condition parameter is obtained from step S303, and the test condition includes the target data that the anti-collision test condition parameter needs to satisfy.
The electronic device extracts corresponding actual data from the vehicle bus data obtained in step S301 by using the anti-collision test condition parameters, and compares the actual data with corresponding target data to obtain actual data satisfying a data range defined by the target data, thereby obtaining an anti-collision test time range.
More specifically, the electronic device processes each anti-collision test condition by using the logic condition mapping table, so that each condition is converted into a corresponding logic expression, where the logic expression includes an anti-collision test condition parameter, an identifier corresponding to each parameter, and an identifier corresponding to a state or data that each parameter needs to satisfy. For example: when the adaptive cruise function in the anti-collision test condition needs to be in an inactive state, the electronic device converts a condition which needs to be met by the function into an inactive logic expression "ACC ═ 0" by using a logic condition mapping table, wherein ACC is a parameter identifier corresponding to the state of the adaptive cruise function, 0 is an identifier corresponding to the inactive state, when bus data corresponding to ACC is 0, the logic expression is true, and the electronic device obtains the original time range of the anti-collision test according to the true logic expression. The electronic equipment respectively processes other conditions needing to be met in the anti-collision test conditions, obtains a corresponding original time range, obtains a time range in which the logic expressions corresponding to the conditions are true by combining the original time range corresponding to the adaptive cruise function, and determines the time range as the anti-collision test time range.
And when the anti-collision test type is a safety distance early warning test type, if the preset test condition is a safety distance early warning test condition, obtaining a first safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters meet the basic test condition and the safety distance early warning test condition. The safety distance early warning test conditions comprise that the self-adaptive cruise control system is not activated, the vehicle speed is in a first preset vehicle speed range, the projection speed of the vehicle speed along the current vehicle running direction is greater than a first preset speed threshold value, the type of a current vehicle front side object is a preset type, and the time distance between the current vehicle and the front side object is smaller than a first preset time distance threshold value.
Or
And obtaining a second safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the safety distance early warning test condition.
Wherein, in the first safe distance early warning test time range, the vehicle bus data indicates that the vehicle runs forwards along the rear side of the target vehicle but the self-adaptive cruise function is not activated, the rotating speed of the steering wheel of the current vehicle is less than a first preset rotating speed threshold value, namely, the running direction of the current vehicle is adjusted more smoothly, the longitudinal relative speed of the projection of the relative speeds between two vehicles along the driving direction of the current vehicle is greater than a first preset speed threshold value, the time distance calculated by combining the distance between the two vehicles is less than the first preset time distance threshold value, but the treading depth of the accelerator pedal of the current vehicle is less than the first preset depth threshold value, the acceleration generated correspondingly is smaller than a first preset acceleration threshold value, so that the collision risk exists between the current vehicle and the target vehicle, and the vehicle distance sensor and the image sensor have no faults, so that road condition information can be acquired, and the condition for carrying out safety distance early warning is met.
When at least one of the conditions is not met, the current vehicle does not meet the condition of safety distance early warning condition limitation, and the corresponding vehicle bus data is in a second safety distance early warning test time range.
More specifically, when the current vehicle activates the adaptive cruise function, the vehicle can automatically adjust the distance between the vehicles, and the collision phenomenon between two vehicles cannot happen;
or when the vehicle speed is not within the first preset vehicle speed range, if the vehicle speed is less than the minimum vehicle speed of the vehicle speed range, the risk of collision between the two workshops is low, and safety distance early warning is not needed;
or when the front target is identified by the test vehicle, the front target is determined not to be the target vehicle but other obstacles, and other braking operations are also required to be carried out on the vehicle, so that the safety distance early warning requirement is not met, and the safety distance early warning is not required;
or when the longitudinal relative speed of the relative speed between the test vehicle and the target vehicle projected along the driving direction of the test vehicle is less than or equal to a first preset speed threshold value, and the time distance obtained by calculating the distance between the test vehicle and the target vehicle by combining the two vehicles is greater than or equal to a first preset time threshold value, the safety distance early warning requirement is not met, so that the safety distance early warning is not needed;
or when the tread depth of the accelerator pedal is greater than or equal to a first preset depth threshold value and the correspondingly generated acceleration is greater than or equal to the first preset acceleration threshold value, the collision risk level of the test vehicle and the target vehicle is higher, and the test vehicle needs to directly adopt other braking operations, so that safety distance early warning is not needed;
or when the rotating speed of the steering wheel of the test vehicle is greater than or equal to the first preset rotating speed threshold value, the test vehicle fails to realize stable running and rapidly swings leftwards or rightwards in the running process, and the test vehicle needs to perform corresponding stabilizing measures according to the situation, so that safety distance early warning is not needed;
or when the test vehicle stops or runs backwards, the safety distance early warning requirement is not met between the test vehicle and a target vehicle in front of the test vehicle, so that safety distance early warning is not needed;
or when at least one of the vehicle distance sensor and the image sensor of the test vehicle is in a fault state, the test vehicle preferentially processes the fault problem until the two sensors are in a fault-free state, and then safety distance early warning is carried out according to the states of the two vehicles.
When the anti-collision test type is a collision alarm use test type, if the preset test condition is an anti-collision alarm function test condition, obtaining a first anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the anti-collision alarm function test condition; or
And obtaining a second anti-collision alarm test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the anti-collision alarm function test condition.
The anti-collision warning function test conditions comprise that the collision grade is in a first preset collision grade, the time distance between the current vehicle and a front side object is smaller than a second preset time distance threshold value, the early warning sensitivity function is in a non-closed state, and the vehicle speed is within a second preset vehicle speed range.
More specifically, the vehicle bus data within the first anti-collision warning test time range indicates that the test vehicle simultaneously satisfies the sub-conditions in the anti-collision warning test when the basic test condition is satisfied. When the bus data of the vehicle does not satisfy at least one sub-condition within the first anti-collision alarm test time range, the electronic device determines that the bus data of the test vehicle is within a second anti-collision alarm test time range. More specifically, when the ECU of the test vehicle determines that there is no collision risk of the vehicle, or the time distance between the test vehicle and the target vehicle is greater than a second preset time threshold, or the warning sensitivity function is in an off state, or the rotation speed of the steering wheel is less than the second preset rotation speed threshold, or the tread depth of the accelerator pedal is greater than or equal to the second preset depth threshold, or the vehicle speed is not within the second preset vehicle speed range, or the vehicle is not in a forward movement state, or at least one of the vehicle distance sensor and the image sensor is in a failure state, the electronic device determines that the bus data of the test vehicle is within the second anti-collision warning test time range. When the ECU of the test vehicle determines that the vehicle has no collision risk, the data corresponding to the collision grade of the vehicle is empty.
When the anti-collision test type is a collision alarm use test type, if the preset test condition is a DBS auxiliary brake test condition, obtaining a first DBS auxiliary brake test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the DBS auxiliary brake test condition; or
And obtaining a second DBS auxiliary braking test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the DBS auxiliary braking test condition.
The DBS auxiliary braking test conditions comprise that after the collision alarm function is activated, the collision grade is in a first preset collision grade, the vehicle speed is in a third preset vehicle speed range, the braking system is in an activated state, the brake pedal is in a trampling state, the acceleration generated by the brake pedal is smaller than a preset acceleration threshold value, and the ESC is in an inactivated state.
More specifically, vehicle bus data corresponding to the first DBS auxiliary braking test time range indicates that the test vehicle meets the basic test condition and also meets the DBS auxiliary braking test condition, that is, the vehicle bus data corresponding to the first DBS auxiliary braking test time range indicates that the vehicle distance and the vehicle speed of the test vehicle meet the preset vehicle distance and the preset vehicle speed corresponding to the first preset collision grade in the forward stable running process of the test vehicle, after the vehicle has triggered the collision alarm function, when the braking system is activated to allow braking, a brake pedal of the vehicle is stepped on to perform corresponding braking operation, the acceleration generated by the braking is smaller than the preset acceleration, the ESC is not activated, the rotating speed of the steering wheel is smaller than the third preset rotating speed threshold value, the vehicle is not in a rapid rotating state, and neither the distance sensor nor the image sensor is in obstacle. After the collision warning function is triggered according to the early warning of the safe distance, when the distance between two vehicles exceeds the threshold value of the safe distance and the time interval exceeds the threshold value of the safe time interval, the collision warning function is triggered. When the test vehicle does not meet at least one of the basic test condition and the DBS auxiliary braking test condition, the electronic equipment determines that the vehicle is in a second DBS auxiliary braking test time range. And the bus data corresponding to the second DBS auxiliary braking test time range is the bus data corresponding to the test vehicle, and the test vehicle is not in the collision risk range corresponding to the activated DBS auxiliary braking function.
When the anti-collision test type is a collision alarm use test type, if the anti-collision test condition is an AEB system test condition, obtaining a first AEB system test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the AEB system test condition; or
And obtaining a second AEB system test time range when the data corresponding to the anti-collision test condition parameters do not meet the AEB system activation test conditions.
The AEB system activation test conditions comprise that the collision risk level is in a second preset collision level or a third preset collision level, the vehicle speed is in a fourth preset vehicle speed range, the braking system is in an activated state, the AEB starting signal is in an acquired state, and the ESC is in an inactivated state.
More specifically, the vehicle bus data corresponding to the first AEB system test time range indicates that the vehicle is in a second preset collision level or a third preset collision level determined by the vehicle in the forward driving process of the test vehicle, the driving speed is in a fourth preset vehicle speed range, after the brake system is activated, the test vehicle can perform brake operation, the AEB function is turned on, when the acceleration generated by stepping on the accelerator pedal is small, namely the acceleration is smaller than the acceleration corresponding to the fourth preset depth threshold, the vehicle does not have the condition of emergency turning, namely the rotating speed of the steering wheel of the vehicle is smaller than the fourth preset rotating speed threshold, the vehicle is not activated, and the distance sensor and the image sensor of the vehicle are not in obstacle.
When the test vehicle does not meet any sub-condition in the vehicle bus data corresponding to the first AEB system test time range, the electronic equipment judges that the bus data of the vehicle is in a second AEB system test time range, namely the test vehicle is not in a collision risk range corresponding to the activation of the AEB system.
And S306, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the anti-collision test target parameter within the anti-collision test time range.
Wherein the anti-collision test time range is obtained from step S305, and the corresponding data of the anti-collision test target parameters is screened from the bus data obtained from step S301 according to the vehicle parameters obtained from step S303.
More specifically, the anti-collision test target and the anti-collision function test result obtained according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target are explained in detail in step S203, and are not described herein again.
The electronic equipment processes the anti-collision test target by using the logic condition mapping table, converts the anti-collision test target into a corresponding logic expression, obtains whether the logic expression corresponding to each discrete time point is true or not in bus data corresponding to the anti-collision test time range according to data corresponding to parameters in each logic expression, and accordingly obtains all true logic expressions, discrete time points meeting the test target and discrete time points at which the logic expressions are false and do not meet the test target. And the electronic equipment obtains the distribution condition of the data of the anti-collision test target realized by the test vehicle under the anti-collision test condition according to the two discrete time points so as to obtain the anti-collision test result.
If the anti-collision test target is the safety distance early warning test target, in the anti-collision test time range, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target, wherein the anti-collision function test result specifically comprises any one of the following three safety distance early warning test results:
and in the first safety distance early warning test time range, obtaining a first safety distance early warning test result according to the use state of the safety distance early warning function and the display state of the instrument large screen on the safety distance early warning result.
The using state of the safe distance early warning function comprises an activated state and an inactivated state, and the displaying state of the large screen of the instrument comprises a safe distance early warning mark displaying state and a safe distance early warning mark non-displaying state. In an embodiment, according to a preset test target, the use state of the safe distance early warning function corresponding to the vehicle parameter within the first safe distance early warning test time range is an activated state, and the display state of the large screen of the instrument is a state of displaying the safe distance early warning sign.
And in the first safety distance early warning test time range, obtaining a second safety distance early warning test result according to the basic test condition after the safety distance early warning function is activated and the holding state of each parameter in the safety distance early warning test condition.
More specifically, after the vehicle meets the basic test condition and the safe distance early warning test condition, the use state of the safe distance early warning function of the vehicle is an activated state, and the display state of the large screen of the instrument is a safe distance early warning mark display state. And in the bus data of the vehicle, the use state of the safety distance early warning function of the vehicle is represented as an activated state, the display state of the large screen of the instrument is within a time range corresponding to the state of the safety distance early warning mark, and a second safety distance early warning test result is obtained according to the basic test condition and the change condition of the data corresponding to each parameter in the safety distance early warning test condition. The change condition of the data comprises that the data is in the data range corresponding to the condition parameter or exceeds the data range. According to the preset test target, in one embodiment, the variation of the data is always within the data range corresponding to the condition parameter.
And in the second safety distance early warning test time range, obtaining a third safety distance early warning test result according to the use state of the safety distance early warning function and the display state of the large instrument screen on the safety distance early warning result.
More specifically, in the second safe distance early warning test time range, because the vehicle no longer satisfies the basic test condition and/or the safe distance early warning test condition, the use state of the corresponding safe distance early warning function and the display state of the instrument large screen are correspondingly adjusted. And the electronic equipment obtains a third safety distance early warning test result according to the maintaining and adjusting states of the two states. According to a preset test target, in one embodiment, the use state of the safety distance early warning function is adjusted to be in an inactive state, and the display state of the large screen of the instrument is adjusted to be in a state that the safety distance early warning mark is not displayed.
If the anti-collision test target is the anti-collision alarm function test target, in the anti-collision test time range, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target, wherein the anti-collision test result specifically comprises any one of the following five anti-collision alarm function test results:
and in the first anti-collision alarm test time range, obtaining a first anti-collision alarm function test result according to the state of the collision alarm function, obtaining a second anti-collision alarm function test result according to the state of the requested snubbing function, and obtaining a third anti-collision alarm function test result according to the pressure of the brake master cylinder, the first preset pressure range and the state of the brake pre-filling function.
The collision warning function is in an activated state and an inactivated state, the request inching function is in an activated state and an inactivated state, and the brake pre-filling function is in a filled state and an unfilled state.
In one embodiment, the collision warning function should be activated, which means that the vehicle performs a corresponding collision warning operation according to the driving state and the road condition of the vehicle. The state of the request inching function is an activated state, which means that the vehicle can be controlled to inching according to the road condition, the distance between two vehicles and the running speed of the test vehicle when the vehicle needs to be braked after the request inching function is activated. The brake pre-filling function is in a filled state, accordingly, the pressure of the brake master cylinder is in a first preset pressure range, the vehicle can perform the braking operation at any time within a first anti-collision test time range, and after the vehicle is subjected to brake pre-filling, the time for the vehicle to perform the braking operation after receiving the braking instruction can be saved.
And in the first anti-collision alarm test time range, adjusting the basic test condition after the collision alarm function or the brake pre-filling function or the request inching brake function to be in the activated state and the maintenance state of each parameter in the anti-collision alarm function test condition to obtain a fourth anti-collision alarm function test result.
More specifically, when the vehicle meets the basic test condition and the anti-collision alarm function test condition, the collision alarm function, the brake pre-filling function and the request braking function can be determined to be adjusted to be in the activated state according to the bus data corresponding to the vehicle, the electronic equipment obtains the adjustment state of the data corresponding to each parameter in the basic test condition and the anti-collision alarm function test condition according to the bus data within the time range corresponding to the activated state, and obtains the fourth anti-collision alarm function test result according to the adjustment state. In an embodiment, the data corresponding to each parameter in the above conditions should be continuously maintained within a preset data range.
And within the second anti-collision alarm test time range, obtaining a fifth anti-collision alarm function test result according to the state of the collision alarm function and the state of the request inching function.
More specifically, when the test vehicle does not satisfy the basic test condition and/or the anti-collision warning function test condition, the corresponding bus data is within the second anti-collision warning test time range. And because the test vehicle does not meet the conditions any more, the state of the anti-collision alarm function of the vehicle and the state of the request inching function of the vehicle are changed, and the electronic equipment obtains a fifth anti-collision alarm function test result according to the change condition of the states. In one embodiment, the state of the anti-collision alarm function should be adjusted from an activated state to an inactivated state, and the state of the inching brake function should be adjusted from an activated state to an inactivated state.
If the anti-collision test target is the DBS auxiliary braking test target, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target within the anti-collision test time range, specifically including any one of the following five DBS auxiliary braking test results:
and in a first DBS auxiliary braking test time range, obtaining a first DBS auxiliary braking test result according to the state of the DBS auxiliary braking function, and obtaining the first DBS auxiliary braking test result according to the projection acceleration of the current vehicle along the current vehicle form direction, a first preset acceleration range, the pressure of a brake master cylinder and a second preset pressure range. Wherein, the state of the DBS auxiliary braking function includes an activated state and an inactivated state.
More specifically, in the vehicle bus data corresponding to the first DBS auxiliary braking test time range, the running state of the test vehicle has satisfied the condition required for the operation of the DBS auxiliary braking function, the state of the DBS auxiliary braking function in the vehicle is changed, and the electronic device determines the first DBS auxiliary braking test result according to the bus data corresponding to the change. In one embodiment, the state of the DBS auxiliary braking function should be adjusted to the activated state.
And in the vehicle bus data corresponding to the first DBS auxiliary brake test time range, the test vehicle obtains a second DBS auxiliary brake test result according to the condition that whether the projection acceleration is in a first preset acceleration range and the condition that whether the pressure of the brake master cylinder is in a second preset pressure range. In one embodiment, the projected acceleration should be within a first predetermined acceleration range, indicating that the acceleration generated during braking of the vehicle should be within the corresponding acceleration range when the DBS auxiliary braking function is activated.
And in the first DBS auxiliary braking test time range, obtaining a third DBS auxiliary braking test result according to the basic test condition after the DBS auxiliary braking function is activated and the maintenance state of each parameter in the DBS auxiliary braking test condition.
More specifically, the DBS auxiliary braking function is adjusted to an active state after the test vehicle satisfies the basic test condition and the DBS auxiliary braking test condition. And acquiring data corresponding to condition parameters in the basic test condition and the DBS auxiliary braking test condition from the bus data when the system is in an activated state, and acquiring a third DBS auxiliary braking test result by the electronic equipment according to the adjustment condition of the data. In one embodiment, the data corresponding to the condition parameter should be continuously maintained within the predetermined data range corresponding to the parameter.
And in the second DBS auxiliary braking test time range, obtaining a fourth DBS auxiliary braking test result according to the state of the DBS auxiliary braking function.
More specifically, when the test vehicle does not satisfy the basic test condition and/or the DBS auxiliary brake test condition, the generated bus data is within the second DBS auxiliary brake test time range, and at this time, the electronic device obtains data corresponding to the state of the DBS auxiliary brake function within the time range, and obtains a fourth DBS auxiliary brake test result according to the data. In one embodiment, the system should be adjusted from the activated state to the deactivated state since the test vehicle within the second DBS auxiliary braking test time range no longer satisfies the condition for activation of the DBS auxiliary braking function.
If the anti-collision test target is the AEB system test target, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target within the anti-collision test time range, wherein the anti-collision function test result specifically comprises any one of the following four AEB system test results:
and in the first AEB system test time range, obtaining a first AEB system test result according to the state of the AEB system, and obtaining a second AEB system test result according to the current vehicle acceleration, a second preset acceleration range, the brake master cylinder pressure and a third preset pressure range.
The AEB system is in an activated state and an inactivated state, and the current vehicle is a test vehicle.
More specifically, in the vehicle bus data corresponding to the first AEB system test time range, the vehicle meets the condition of AEB system activation, the electronic device acquires the system activation state according to the data corresponding to the AEB system, and acquires the first AEB system test result according to the state. In one embodiment, the AEB system should adjust from an inactive state to an active state and remain in the active state continuously.
In the vehicle bus data corresponding to the first AEB system test time range, the electronic device obtains a second AEB system test result according to the condition that whether the acceleration of the test vehicle is in a second preset acceleration range or not and the condition that whether the pressure of the brake master cylinder is in a third preset pressure range or not. In one embodiment, the vehicle under the basic test condition and the AEB system test condition needs emergency braking, and the AEB system is activated, at which time, the acceleration generated during deceleration of the test vehicle should be within a second preset acceleration range, that is, the acceleration generated during braking of the test vehicle when the test vehicle operates the AEB system meets the requirement of emergency braking. In the operation process of the AEB system, the pressure of the brake master cylinder is in a third preset pressure range, so that the braking force required by the vehicle in emergency braking is ensured.
And in the first AEB system test time range, obtaining a third AEB system test result according to the maintenance state of each parameter in the basic test condition after the activation of the AEB system and the activation test condition of the AEB system.
More specifically, when the test vehicle meets the basic test condition and the AEB system test condition, the electronic device determines the activation of the AEB system according to the bus data, and in the activation process, a third AEB system test result is obtained according to the adjustment state of data corresponding to each condition parameter in the basic test condition and the AEB system test condition. In one embodiment, the data corresponding to each condition parameter in the basic test condition and the AEB system test condition should be continuously maintained within the preset data range corresponding to each parameter.
And in the second AEB system testing time range, obtaining a fourth AEB system testing result according to the state of the AEB system.
More specifically, when the test vehicle does not meet the basic test condition and/or the AEB system test condition, the state of the AEB system of the vehicle is correspondingly adjusted, and the electronic equipment obtains a fourth AEB system test result according to the adjustment condition of the function. In one embodiment, the AEB system of the vehicle should be adjusted from an activated state to an inactivated state.
And S307, generating a visualization instruction according to the anti-collision function test result, and sending the visualization instruction to a display device.
Wherein the anti-collision function test result is obtained from step S306.
The process that the electronic device generates a visualization instruction according to the test result and sends the visualization instruction to the display device to control the display device to display the test result is explained in detail in step S204, and is not described herein again.
In the technical scheme, the electronic equipment determines corresponding test conditions and parameters related to the conditions according to different test types of the anti-collision function, and tests at least one test target according to each test time range after the corresponding test time range is limited according to the test conditions and the data corresponding to the related parameters, so that the process of repeatedly setting the test conditions by the electronic equipment is saved, the repeated test and analysis of the same test process are realized, the utilization rate of bus data generated in the test process is improved, and the test efficiency and the development efficiency of the anti-collision function are improved.
As shown in fig. 4, an embodiment of the present application provides an anti-collision function testing apparatus 400, where the apparatus 400 includes:
the obtaining module 401 is configured to obtain vehicle bus data, and obtain data corresponding to vehicle parameters generated in a using process of the anti-collision function from the vehicle bus data, where the vehicle parameters include an anti-collision test condition parameter and an anti-collision test target parameter.
The processing module 402 is configured to obtain an anti-collision test time range according to the anti-collision test condition and the data corresponding to the anti-collision test condition parameter.
The processing module 402 is further configured to obtain an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target within the anti-collision test time range.
The processing module 402 is further configured to generate a visualization instruction according to the anti-collision function test result, and send the visualization instruction to the display device, where the visualization instruction is used to control the display device to display the anti-collision function test result.
In an embodiment, the processing module 402 is specifically configured to:
acquiring an anti-collision test type, wherein the anti-collision test type comprises a safety distance early warning test type or a collision warning use test type;
obtaining vehicle parameters corresponding to the anti-collision test type according to the anti-collision test type and the type parameter mapping table; the type parameter mapping table represents the mapping relation between the anti-collision test type and the corresponding vehicle parameters;
acquiring an anti-collision test condition and an anti-collision test target corresponding to the anti-collision test type according to the anti-collision test type and the type condition mapping table; the type condition mapping table represents the mapping relation between the anti-collision test type, the corresponding anti-collision test condition and the anti-collision test target;
the anti-collision test conditions comprise basic test conditions and preset test conditions, the basic test conditions are that the treading depth of an accelerator pedal is smaller than a preset depth threshold value, the rotating speed of a steering wheel is smaller than a preset rotating speed threshold value, the current vehicle moving state is a forward state, and a vehicle distance sensor and an image sensor are free of faults.
In an embodiment, the processing module 402 is specifically configured to:
if the preset test condition is a safety distance early warning test condition, acquiring a first safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters meet the basic test condition and the safety distance early warning test condition; or
Acquiring a second safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the safety distance early warning test condition;
the safety distance early warning test conditions comprise that the self-adaptive cruise control system is not activated, the vehicle speed is in a first preset vehicle speed range, the projection speed of the vehicle speed along the current vehicle running direction is greater than a first preset speed threshold value, the type of a current vehicle front side object is a preset type, and the time distance between the current vehicle and the front side object is smaller than a first preset time distance threshold value.
In an embodiment, the processing module 402 is specifically configured to:
within a first safety distance early warning test time range, obtaining a first safety distance early warning test result according to the use state of a safety distance early warning function and the display state of the large instrument screen on the safety distance early warning result;
within the first safety distance early warning test time range, obtaining a second safety distance early warning test result according to the basic test condition after the safety distance early warning function is activated and the holding state of each parameter in the safety distance early warning test condition;
and in the second safety distance early warning test time range, obtaining a third safety distance early warning test result according to the use state of the safety distance early warning function and the display state of the large instrument screen on the safety distance early warning result.
In an embodiment, the processing module 402 is specifically configured to:
if the preset test condition is the anti-collision alarm function test condition, obtaining a first anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the anti-collision alarm function test condition; or
Obtaining a second anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters do not satisfy at least one sub-condition of the basic test condition and the anti-collision alarm function test condition;
the anti-collision warning function test conditions comprise that the collision grade is in a first preset collision grade, the time distance between the current vehicle and a front side object is smaller than a second preset time distance threshold value, the early warning sensitivity function is in a non-closed state, and the vehicle speed is within a second preset vehicle speed range.
In an embodiment, the processing module 402 is specifically configured to:
within the first anti-collision alarm test time range, obtaining a first anti-collision alarm function test result according to the state of a collision alarm function, obtaining a second anti-collision alarm function test result according to the state of a requested snubbing function, and obtaining a third anti-collision alarm function test result according to the pressure of a brake master cylinder, the first preset pressure range and the state of a brake pre-filling function;
in the first anti-collision alarm test time range, adjusting the basic test condition to the activated state according to the collision alarm function or the brake pre-filling function or the request inching function, and obtaining a fourth anti-collision alarm function test result according to the maintenance state of each parameter in the anti-collision alarm function test condition and the basic test condition;
and within the second anti-collision alarm test time range, obtaining a fifth anti-collision alarm function test result according to the state of the collision alarm function and the state of the request inching function.
In an embodiment, the processing module 402 is specifically configured to:
if the preset test condition is the DBS auxiliary braking test condition, obtaining a first DBS auxiliary braking test time range when the data corresponding to the anti-collision test condition parameters meet the basic test condition and the DBS auxiliary braking test condition; or alternatively
Obtaining a second DBS auxiliary braking test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the DBS auxiliary braking test condition;
the DBS auxiliary braking test conditions comprise that after the collision alarm function is activated, the collision grade is in a first preset collision grade, the vehicle speed is in a third preset vehicle speed range, the braking system is in an activated state, the brake pedal is in a trampling state, the acceleration generated by the brake pedal is smaller than a preset acceleration threshold value, and the ESC is in an inactivated state.
In an embodiment, the processing module 402 is specifically configured to:
in a first DBS auxiliary braking test time range, obtaining a first DBS auxiliary braking test result according to the state of the DBS auxiliary braking function, and obtaining a second DBS auxiliary braking test result according to the projection acceleration of the current vehicle along the current vehicle form direction, a first preset acceleration range, the pressure of a brake master cylinder and a second preset pressure range;
within the first DBS auxiliary braking test time range, obtaining a third DBS auxiliary braking test result according to the basic test condition after the DBS auxiliary braking function is activated and the maintenance state of each parameter in the DBS auxiliary braking test condition;
and in the second DBS auxiliary braking test time range, obtaining a fourth DBS auxiliary braking test result according to the state of the DBS auxiliary braking function.
In an embodiment, the processing module 402 is specifically configured to:
if the anti-collision test condition is the AEB system test condition, obtaining a first AEB system test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the AEB system test condition; or alternatively
Obtaining a second AEB system test time range when data corresponding to the anti-collision test condition parameters do not meet the AEB system activation test conditions;
the AEB system activation test conditions comprise that the collision risk level is in a second preset collision level or a third preset collision level, the vehicle speed is in a fourth preset vehicle speed range, the braking system is in an activated state, the AEB starting signal is in an acquired state, and the ESC is in an inactivated state.
In an embodiment, the processing module 402 is specifically configured to:
in the first AEB system test time range, obtaining a first AEB system test result according to the state of the AEB system, and obtaining a second AEB system test result according to the acceleration of the current vehicle, a second preset acceleration range, the pressure of a brake master cylinder and a third preset pressure range;
within the test time range of the first AEB system, obtaining a third AEB system test result according to the maintenance state of each parameter in the basic test condition after the activation of the AEB system and the activation test condition of the AEB system;
and in the second AEB system testing time range, obtaining a fourth AEB system testing result according to the state of the AEB system.
As shown in fig. 5, an embodiment of the present application provides an electronic device 500, where the electronic device 500 includes a memory 501 and a processor 502.
The memory 501 is used for storing computer instructions executable by the processor.
The processor 502, when executing computer instructions, performs the various steps in the collision avoidance function testing method in the above-described embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Alternatively, the memory 501 may be separate or integrated with the processor 502. When the memory 501 is provided separately, the server 500 further includes a bus for connecting the memory 501 and the processor 502.
The embodiment of the present application further provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the processor executes the computer instructions, the steps in the anti-collision function testing method in the foregoing embodiments are implemented.
The embodiment of the present application further provides a computer program product, which includes computer instructions, and when the computer instructions are executed by a processor, the computer instructions implement the steps in the anti-collision function testing method in the foregoing embodiment.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. An anti-collision function testing method, characterized in that the method comprises:
acquiring vehicle bus data, and acquiring data corresponding to vehicle parameters generated in the using process of an anti-collision function from the vehicle bus data, wherein the vehicle parameters comprise anti-collision test condition parameters and anti-collision test target parameters;
acquiring an anti-collision test time range according to the anti-collision test condition and the corresponding data of the anti-collision test condition parameters;
within the anti-collision test time range, obtaining an anti-collision function test result according to an anti-collision test target and corresponding data of the anti-collision test target parameter;
and generating a visual instruction according to the anti-collision function test result, and sending the visual instruction to a display device, wherein the visual instruction is used for controlling the display device to display the anti-collision function test result.
2. The method according to claim 1, wherein after obtaining data corresponding to vehicle parameters generated during the use of the anti-collision function from the vehicle bus data, the method further comprises:
acquiring an anti-collision test type, wherein the anti-collision test type comprises a safety distance early warning test type or a collision alarm use test type;
obtaining vehicle parameters corresponding to the anti-collision test type according to the anti-collision test type and the type parameter mapping table; the type parameter mapping table represents the mapping relation between the anti-collision test type and the corresponding vehicle parameters;
acquiring an anti-collision test condition and an anti-collision test target corresponding to the anti-collision test type according to the anti-collision test type and the type condition mapping table; the type condition mapping table represents the anti-collision test type and the mapping relation between the corresponding anti-collision test condition and the anti-collision test target;
the anti-collision test conditions comprise basic test conditions and preset test conditions, wherein the basic test conditions comprise that the treading depth of an accelerator pedal is smaller than a preset depth threshold value, the rotating speed of a steering wheel is smaller than a preset rotating speed threshold value, the current vehicle moving state is a forward state, and a vehicle distance sensor and an image sensor have no faults.
3. The method according to claim 2, wherein when the collision avoidance test type is a safety distance early warning test type, obtaining a collision avoidance test time range according to the collision avoidance test condition and the data corresponding to the parameters of the collision avoidance test condition, specifically comprising:
if the preset test condition is a safety distance early warning test condition, obtaining a first safety distance early warning test time range when the data corresponding to the anti-collision test condition parameter meets the basic test condition and the safety distance early warning test condition; or alternatively
Obtaining a second safety distance early warning test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the safety distance early warning test condition;
the safety distance early warning test conditions comprise that the self-adaptive cruise control system is not activated, the vehicle speed is in a first preset vehicle speed range, the projection speed of the vehicle speed along the current vehicle running direction is greater than a first preset speed threshold value, the type of a current vehicle front side object is a preset type, and the time distance between the current vehicle and the front side object is smaller than a first preset time distance threshold value.
4. The method according to claim 3, wherein if the anti-collision test object is a safety distance early warning test object, obtaining an anti-collision function test result according to the anti-collision test object and the corresponding data of the parameters of the anti-collision test object within the anti-collision test time range, specifically comprising any one of:
within the first safety distance early warning test time range, obtaining a first safety distance early warning test result according to the use state of a safety distance early warning function and the display state of the large instrument screen on the safety distance early warning result;
within the first safety distance early warning test time range, obtaining a second safety distance early warning test result according to the maintenance state of each parameter in the basic test condition and the safety distance early warning test condition after the safety distance early warning function is activated;
and in the second safety distance early warning test time range, obtaining a third safety distance early warning test result according to the use state of the safety distance early warning function and the display state of the instrument large screen on the safety distance early warning result.
5. The method according to claim 2, wherein when the collision avoidance test type is a collision alarm usage test type, obtaining a collision avoidance test time range according to the collision avoidance test condition and the data corresponding to the parameters of the collision avoidance test condition, specifically comprising:
if the preset test condition is an anti-collision alarm function test condition, acquiring a first anti-collision alarm test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the anti-collision alarm function test condition; or alternatively
Obtaining a second anti-collision alarm test time range when the data corresponding to the anti-collision test condition parameters do not meet at least one sub-condition of the basic test condition and the anti-collision alarm function test condition;
the anti-collision warning function test conditions comprise that the collision grade is in a first preset collision grade, the time distance between the current vehicle and a front side object is smaller than a second preset time distance threshold value, the early warning sensitivity function is in an unclosed state, and the vehicle speed is in a second preset vehicle speed range.
6. The method according to claim 5, wherein if the anti-collision test object is an anti-collision alarm function test object, obtaining an anti-collision function test result according to the anti-collision test object and the corresponding data of the parameters of the anti-collision test object within the anti-collision test time range, specifically including any one of:
within the first anti-collision alarm test time range, obtaining a first anti-collision alarm function test result according to the state of a collision alarm function, obtaining a second anti-collision alarm function test result according to the state of a requested snubbing function, and obtaining a third anti-collision alarm function test result according to the pressure of a brake master cylinder, the first preset pressure range and the state of a brake pre-filling function;
within the first anti-collision alarm test time range, obtaining a fourth anti-collision alarm function test result according to the maintenance state of each parameter in the basic test condition and the anti-collision alarm function test condition after the collision alarm function or the brake pre-filling function or the request inching function is adjusted to be in an activated state;
and within the second anti-collision alarm test time range, obtaining a fifth anti-collision alarm function test result according to the state of the collision alarm function and the state of the request inching function.
7. The method of claim 5, further comprising:
if the preset test condition is the DBS auxiliary braking test condition, obtaining a first DBS auxiliary braking test time range when the data corresponding to the anti-collision test condition parameters meet the basic test condition and the DBS auxiliary braking test condition; or alternatively
Obtaining a second DBS auxiliary braking test time range when the data corresponding to the anti-collision test condition parameters do not satisfy at least one sub-condition of the basic test condition and the DBS auxiliary braking test condition;
the DBS auxiliary braking test conditions comprise that after the collision warning function is activated, the collision grade is in a first preset collision grade, the vehicle speed is in a third preset vehicle speed range, the braking system is in an activated state, the brake pedal is in a treading state, the acceleration generated by the brake pedal is smaller than a preset acceleration threshold value, and the ESC is in an inactivated state.
8. The method according to claim 7, wherein if the anti-collision test target is the DBS auxiliary brake test target, obtaining an anti-collision function test result according to the anti-collision test target and the corresponding data of the parameters of the anti-collision test target within the anti-collision test time range, specifically including any one of:
within the first DBS auxiliary braking test time range, obtaining a first DBS auxiliary braking test result according to the state of the DBS auxiliary braking function, and obtaining a second DBS auxiliary braking test result according to the projection acceleration of the current vehicle along the current vehicle form direction, a first preset acceleration range, the pressure of a brake master cylinder and a second preset pressure range;
within the first DBS auxiliary braking test time range, obtaining a third DBS auxiliary braking test result according to the basic test condition after the DBS auxiliary braking function is activated and the maintaining state of each parameter in the DBS auxiliary braking test condition;
and in the second DBS auxiliary braking test time range, obtaining a fourth DBS auxiliary braking test result according to the state of the DBS auxiliary braking function.
9. The method according to claim 5 or 7, characterized in that the method further comprises:
if the anti-collision test condition is an AEB system test condition, obtaining a first AEB system test time range when data corresponding to the anti-collision test condition parameters meet the basic test condition and the AEB system test condition; or alternatively
Obtaining a second AEB system test time range when the data corresponding to the anti-collision test condition parameters do not meet the AEB system activation test conditions;
the AEB system activation test conditions comprise that the collision risk level is in a second preset collision level or a third preset collision level, the vehicle speed is in a fourth preset vehicle speed range, the brake system is in an activated state, the AEB starting signal is in an acquired state, and the ESC is in an inactivated state.
10. The method according to claim 9, wherein if the anti-collision test object is an AEB system test object, obtaining an anti-collision function test result according to the anti-collision test object and the corresponding data of the parameters of the anti-collision test object within the anti-collision test time range, specifically including any one of:
within the first AEB system test time range, obtaining a first AEB system test result according to the state of an AEB system, and obtaining a second AEB system test result according to the acceleration of the current vehicle, a second preset acceleration range, the pressure of a brake master cylinder and a third preset pressure range;
within the first AEB system testing time range, obtaining a third AEB system testing result according to the maintenance state of each parameter in the basic testing condition and the AEB system activation testing condition after the AEB system is activated;
and in the second AEB system testing time range, obtaining a fourth AEB system testing result according to the state of the AEB system.
11. An electronic device, comprising: a processor and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor, when executing the computer executable instructions, is configured to implement the collision avoidance functionality testing method of any of claims 1 to 10.
12. A computer-readable storage medium, wherein computer instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer instructions are configured to implement the collision avoidance functionality test method according to any one of claims 1 to 10.
CN202210548782.7A 2022-05-20 2022-05-20 Anti-collision function test method, electronic device and storage medium Pending CN114923704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210548782.7A CN114923704A (en) 2022-05-20 2022-05-20 Anti-collision function test method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210548782.7A CN114923704A (en) 2022-05-20 2022-05-20 Anti-collision function test method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114923704A true CN114923704A (en) 2022-08-19

Family

ID=82809536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210548782.7A Pending CN114923704A (en) 2022-05-20 2022-05-20 Anti-collision function test method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114923704A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115112396A (en) * 2022-08-31 2022-09-27 中汽研汽车检验中心(天津)有限公司 Automobile crash test control method, system, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115112396A (en) * 2022-08-31 2022-09-27 中汽研汽车检验中心(天津)有限公司 Automobile crash test control method, system, equipment and storage medium
CN115112396B (en) * 2022-08-31 2022-11-25 中汽研汽车检验中心(天津)有限公司 Automobile crash test control method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US9481369B2 (en) Cruise control system for determining object as target for cruise control
CN103303279B (en) Automatic braking method and apparatus after motor vehicle initial collision
US9132775B2 (en) Mobile object target state determination device and program
US9908532B2 (en) Method for determining the activity of a driver of a motor vehicle and the adaptive response time and a corresponding assistance system
US20150094928A1 (en) Driving assistance device
US20120265418A1 (en) Emergency Brake Assistance System for Assisting a Driver of a Vehicle when Setting the Vehicle in Motion
DE102013222880A1 (en) Active safety system and method of operating the same
US20090234543A1 (en) Method for Determining a Direction of Travel in a Motor Vehicle
JP6229376B2 (en) Vehicle driving situation determination device and vehicle driving situation determination method
DE102004051365A1 (en) Collision prediction unit for a vehicle
CN112046472A (en) Vehicle collision avoidance method and device, vehicle and storage medium
CN111791889A (en) Control system and control method for driving a motor vehicle
CN109552321A (en) Drive assistance device
JPH09188234A (en) Equipment for avoiding or minimizing collided condition of road traffic
DE102016104068A1 (en) Safety pedal obstruction and detection of command intent
CN112046455B (en) Automatic emergency braking method based on vehicle quality identification
CN114923704A (en) Anti-collision function test method, electronic device and storage medium
US11027710B2 (en) Emergency braking system for a vehicle and method for controlling the emergency braking system
US9296372B2 (en) Control apparatus
CN111483458B (en) Power system control method and device
CN107499133A (en) Control method, device and the electric automobile of acceleration pedal of electric automobile aperture
CN109501804A (en) It is shown in the method and apparatus of the acceleration of traveling ahead vehicle in the car
CN114954413B (en) Vehicle self-checking processing method, device, equipment and storage medium
CN117872710B (en) Intelligent chassis and control method, device, system, medium and equipment thereof
CN113212426B (en) Driving support device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination