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

By extracting test conditions and target parameters for collision avoidance functions from vehicle bus data, determining the test time range, and generating visualization results, the problem of low test data utilization is solved, and the testing and development efficiency of collision avoidance functions is improved.

CN114923704BActive Publication Date: 2026-04-17ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
Filing Date
2022-05-20
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

The low utilization rate of test data for collision avoidance functions in existing technologies leads to low development efficiency and makes it impossible to fully utilize test data outside of actual vehicle testing.

Method used

By acquiring vehicle bus data, extracting vehicle parameter data during the use of the collision avoidance function, determining the test time range based on preset test conditions and objectives, and generating visual instructions to display the test results, the separation of data acquisition and analysis is achieved, thereby improving the utilization rate of test data.

Benefits of technology

It improves the testing and development efficiency of collision avoidance functions, reduces repetitive data collection processes, and enhances the visibility and analytical capabilities of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114923704B_ABST
    Figure CN114923704B_ABST
Patent Text Reader

Abstract

The application provides a collision avoidance function test method, an electronic device and a storage medium. After the electronic device obtains vehicle bus data, the electronic device obtains data corresponding to vehicle parameters generated in the use process of the collision avoidance function from the vehicle bus data, obtains a collision avoidance test time range in combination with a collision avoidance test condition, and obtains a collision avoidance function test result in the time range according to the corresponding data of the collision avoidance test target and the associated vehicle parameters. The test result is visualized to realize that the electronic device reacquires the running condition of internal devices in the process of running the collision avoidance function of the vehicle by using the vehicle bus data. The test condition time range is limited in the data by different test conditions, and different test results are determined according to different test targets in the time range. The time for data acquisition is shortened, the utilization rate of test data is improved, and the test efficiency of the collision avoidance function is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automatic testing technology, and in particular to a method for testing anti-collision function, an electronic device, and a storage medium. Background Technology

[0002] With the development of technology and the improvement of people's economic level, automobiles have been widely used in people's daily lives. This has led to an increase in the number of vehicles on the road and a more frequent occurrence of collisions and scrapes between vehicles. To reduce the harm these accidents cause to vehicles and drivers, researchers have developed collision avoidance functions and applied them to vehicles.

[0003] To improve the applicability of collision avoidance features to different vehicle conditions and ensure their stable operation, testers need to sequentially test the feature on vehicles equipped with it, analyzing the results during testing to identify problems and areas for improvement. However, this analysis can only be performed during actual vehicle testing, failing to fully utilize the information in the test data, reducing its utilization rate, leading to repetitive testing, and ultimately decreasing the efficiency of collision avoidance feature development. Summary of the Invention

[0004] This application provides a collision avoidance function testing method, electronic device, and storage medium to solve the technical problem of low development efficiency caused by low utilization of test data during the development of collision avoidance functions.

[0005] Firstly, this application provides a method for testing anti-collision functions, the method comprising:

[0006] Acquire vehicle bus data and obtain data corresponding to vehicle parameters generated during the use of the collision avoidance function from the vehicle bus data. The vehicle parameters include collision avoidance test condition parameters and collision avoidance test target parameters.

[0007] Based on the corresponding data of the collision avoidance test conditions and parameters, the collision avoidance test time range is obtained.

[0008] Within the collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters;

[0009] Based on the collision avoidance function test results, a visualization command is generated and sent to the display device. The visualization command is used to control the display device to display the collision avoidance function test results.

[0010] In the above technical solution, the electronic device obtains bus data associated with the collision avoidance function from the vehicle that has already run the collision avoidance function to be tested, and uses the bus data to extract data corresponding to the collision avoidance test conditions and collision avoidance test targets respectively, thereby obtaining the vehicle's operating status under the above test conditions and targets, and thus obtaining the collision avoidance test results. This not only separates the data acquisition and data analysis processes, saving the time occupied by switching between the two processes and improving test efficiency, but also allows for repeated analysis of the test data and test results, saving the process of acquiring vehicle data under the same vehicle conditions, thereby improving the utilization rate of the test results and test data.

[0011] Optionally, after obtaining the vehicle parameter data generated during the use of the collision avoidance function from the vehicle bus data, the method further includes:

[0012] Obtain the collision avoidance test type, which includes either the safe distance warning test type or the collision alarm usage test type;

[0013] Based on the collision avoidance test type and type parameter mapping table, obtain the vehicle parameters corresponding to the collision avoidance test type; the type parameter mapping table represents the mapping relationship between the collision avoidance test type and its corresponding vehicle parameters.

[0014] Based on the collision avoidance test type and type condition mapping table, obtain the collision avoidance test conditions and collision avoidance test objectives corresponding to the collision avoidance test type; the type condition mapping table represents the mapping relationship between the collision avoidance test type and its corresponding collision avoidance test conditions and collision avoidance test objectives.

[0015] The collision avoidance test conditions include basic test conditions and preset test conditions. The basic test conditions are that the accelerator pedal depth is less than a preset depth threshold, the steering wheel rotation speed is less than a preset speed threshold, the current vehicle movement state is forward, and the distance sensor and image sensor are fault-free.

[0016] Optionally, when the collision avoidance test type is a safe distance warning test type, the collision avoidance test time range is obtained based on the corresponding data of the collision avoidance test conditions and collision avoidance test condition parameters, specifically including:

[0017] If the preset test conditions are safe distance warning test conditions, obtain the first safe distance warning test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and safe distance warning test conditions; or

[0018] The second safe distance warning test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one sub-condition of the basic test conditions and the safe distance warning test conditions;

[0019] The safe distance warning test conditions are as follows: the adaptive cruise control system is not activated, the vehicle speed is within the first preset speed range, the projected speed of the vehicle speed along the current vehicle travel direction is greater than the first preset speed threshold, the type of the object in front of the current vehicle is a preset type, and the time distance between the current vehicle and the object in front is less than the first preset time distance threshold.

[0020] Optionally, if the collision avoidance test target is a safe distance warning test target, within the collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and its parameters, specifically including any one of the following:

[0021] Within the first safe distance warning test time range, the first safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0022] Within the first safe distance warning test time range, the second safe distance warning test result is obtained based on the maintenance status of each parameter in the basic test conditions and the safe distance warning test conditions after the safe distance warning function is activated;

[0023] Within the second safe distance warning test time range, the third safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0024] Optionally, when the collision avoidance test type is a collision alarm usage test type, the collision avoidance test time range is obtained based on the corresponding data of the collision avoidance test conditions and collision avoidance test condition parameters, specifically including:

[0025] If the preset test conditions are anti-collision alarm function test conditions, obtain the first anti-collision alarm test time range when the data corresponding to the anti-collision test condition parameters meet the basic test conditions and anti-collision alarm function test conditions; or

[0026] The second anti-collision alarm test time range when the data corresponding to the obtained anti-collision test condition parameters does not meet at least one sub-condition of the basic test conditions and the anti-collision alarm function test conditions;

[0027] The test conditions for the collision avoidance alarm function are: the collision level is at the first preset collision level, the time distance between the current vehicle and the object in front is less than the second preset time distance threshold, the warning sensitivity function is not turned off, and the vehicle speed is within the second preset speed range.

[0028] Optionally, if the collision avoidance test target is the collision avoidance alarm function test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters, specifically including any one of the following:

[0029] Within the first collision avoidance alarm test time range, the first collision avoidance alarm function test result is obtained based on the state of the collision alarm function, the second collision avoidance alarm function test result is obtained based on the state of the request for intermittent braking function, and the third collision avoidance alarm function test result is obtained based on the brake master cylinder pressure, the first preset pressure range, and the state of the brake pre-fill function.

[0030] Within the first collision avoidance alarm test time range, based on the maintenance status of each parameter in the basic test conditions and the collision avoidance alarm function test conditions after the collision alarm function, brake pre-fill function, or request braking function are adjusted to the active state, the fourth collision avoidance alarm function test result is obtained.

[0031] Within the second collision avoidance alarm test time range, the test results of the fifth collision avoidance alarm function are obtained based on the status of the collision alarm function and the status of the request braking function.

[0032] Optionally, the method further includes:

[0033] If the preset test conditions are Dynamic Braking System (DBS) assisted braking test conditions, obtain the first DBS assisted braking test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and DBS assisted braking test conditions; or

[0034] The second DBS auxiliary braking test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one of the sub-conditions of the basic test conditions and the DBS auxiliary braking test conditions;

[0035] The DBS assisted braking test conditions are as follows: after the collision alarm function is activated, the collision level is at the first preset collision level, the vehicle speed is within the third preset vehicle speed range, the braking system is activated, the brake pedal is depressed, the acceleration generated by the brake pedal is less than the preset acceleration threshold, and the Electronic Stability Controller (ESC) is deactivated.

[0036] Optionally, if the collision avoidance test target is the DBS assisted braking test target, within the collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters, specifically including any one of the following:

[0037] Within the first DBS assisted braking test time range, the first DBS assisted braking test result is obtained based on the state of the DBS assisted braking function, and the second DBS assisted braking test result is obtained based on the projected acceleration of the current vehicle acceleration along the current vehicle form direction, the first preset acceleration range, the brake master cylinder pressure, and the second preset pressure range.

[0038] Within the first DBS assisted braking test time range, the third DBS assisted braking test result is obtained based on the basic test conditions after the DBS assisted braking function is activated and the holding state of each parameter in the DBS assisted braking test conditions.

[0039] Within the second DBS assisted braking test time range, the fourth DBS assisted braking test result is obtained based on the state of the DBS assisted braking function.

[0040] Optionally, the method further includes:

[0041] If the collision avoidance test conditions are Automatic Emergency Braking (AEB) system test conditions, obtain the first AEB system test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and AEB system test conditions; or

[0042] The second AEB system test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet the AEB system activation test conditions;

[0043] The AEB system activation test conditions are as follows: the collision risk level is at the second or third preset collision level, the vehicle speed is within the fourth preset speed range, the braking system is activated, the AEB start signal is obtained, and the ESC is not activated.

[0044] Optionally, if the collision avoidance test target is the AEB system test target, within the collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters, specifically including any one of the following:

[0045] Within the first AEB system test time range, the first AEB system test result is obtained based on the state of the AEB system, and the second AEB system test result is obtained based on the current vehicle acceleration, the second preset acceleration range, the brake master cylinder pressure, and the third preset pressure range.

[0046] Within the first AEB system test time range, based on the basic test conditions after AEB system activation and the retention status of each parameter in the AEB system activation test conditions, the third AEB system test results are obtained.

[0047] Within the second AEB system test timeframe, the fourth AEB system test results are obtained based on the AEB system's current state.

[0048] In the above technical solution, the electronic device determines the corresponding test conditions and parameters associated with the conditions according to the different test types of the anti-collision function. After limiting the corresponding test time range according to the data corresponding to the test conditions and associated parameters, at least one test target is tested for each test time range. This not only saves the electronic device from repeatedly setting test conditions, but also realizes repeated testing and analysis of the same test process, improves the utilization rate of bus data generated during the test, and thus improves the testing efficiency and development efficiency of the anti-collision function.

[0049] In a second aspect, this application provides an electronic device, including: a processor and a memory communicatively connected to the processor;

[0050] The memory stores instructions that the computer executes;

[0051] The processor executes computer execution instructions stored in memory to implement the collision avoidance function test method involved in the first aspect.

[0052] Thirdly, this application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to implement the anti-collision function testing method involved in the first aspect.

[0053] This application provides a collision avoidance function testing method, electronic device, and storage medium. It acquires vehicle bus data and obtains data corresponding to vehicle parameters generated during the use of the collision avoidance function, including collision avoidance test condition parameters and collision avoidance test target parameters. Based on the corresponding data of the collision avoidance test conditions and parameters, a collision avoidance test time range is obtained. Within this time range, based on the corresponding data of the collision avoidance test target and parameters, a collision avoidance function test result is obtained. A visualization instruction is generated based on the test result and sent to a display device to control its display. This allows the electronic device to re-acquire the operating status of internal devices during the collision avoidance function operation using vehicle bus data. The bus data is processed using different preset collision avoidance test conditions and targets to obtain test condition time ranges defined by different test conditions and different test results determined according to different test targets within those time ranges. This not only shortens data acquisition time but also improves the utilization rate of test data, thereby increasing the testing efficiency of the collision avoidance function. Attached Figure Description

[0054] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0055] Figure 1 This is an application scenario diagram of the anti-collision function testing method provided in an embodiment of this application;

[0056] Figure 2 A schematic flowchart of a collision avoidance function testing method provided in an embodiment of this application;

[0057] Figure 3 A flowchart illustrating a collision avoidance function testing method according to another embodiment of this application;

[0058] Figure 4 This is a schematic diagram of the anti-collision function testing device provided in an embodiment of this application;

[0059] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0060] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation

[0061] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0062] With the development of technology and the improvement of people's economic level, automobiles have been widely used in people's daily lives. This has led to an increase in the number of vehicles on the road and a more frequent occurrence of collisions and scrapes between vehicles. To reduce the harm these accidents cause to vehicles and drivers, researchers have developed collision avoidance functions and applied them to vehicles.

[0063] To improve the applicability of collision avoidance features to different vehicle conditions and ensure their stable operation, testers need to sequentially test the feature on vehicles equipped with it, analyzing the results during testing to identify problems and areas for improvement. However, this analysis can only be performed during actual vehicle testing, failing to fully utilize the information in the test data, reducing its utilization rate, leading to repetitive testing, and ultimately decreasing the efficiency of collision avoidance feature development.

[0064] To address the aforementioned technical problems, this application provides a collision avoidance function testing method, electronic device, and storage medium, aiming to solve the problem of low development efficiency caused by low utilization of test data during the development of collision avoidance functions. The technical concept of this application is as follows: the electronic device obtains vehicle bus data from a vehicle already operating collision avoidance functions, filters out data corresponding to associated vehicle parameters through preset collision avoidance test conditions to limit the different vehicle conditions. In each vehicle condition, the state of the vehicle executing the collision avoidance function is determined through preset collision avoidance test targets, and the corresponding test results are determined. This enables the reuse of bus data within the same time period, reduces the number of data collection attempts for the same vehicle condition, and improves the efficiency of collision avoidance function testing and development.

[0065] Figure 1 This is an application scenario diagram of the anti-collision function testing method provided in an embodiment of this application, such as... Figure 1 As shown, the system includes a vehicle 10, an electronic device 11, and a display device 12. The electronic device 11 and the display device 12 are connected, and more specifically, the connection includes an electrical connection and a communication connection.

[0066] More specifically, vehicle 10 includes target vehicle 100 and test vehicle 101. Target vehicle 100 travels in front of test vehicle 101. Test vehicle 101 has a built-in collision avoidance function to take corresponding collision avoidance measures based on the operating conditions of target vehicle 100 and test vehicle 101. The collision avoidance measures include intermittent braking, brake pre-filling, activation of DBS assisted braking function, and activation of AEB system.

[0067] More specifically, the test vehicle 101 is equipped with at least one distance sensor and at least one image sensor. In one embodiment, the distance sensor is a radar, and the image sensor is a camera. The radar is used to detect the distance between the test vehicle 101 and an obstacle in front of the vehicle. The camera is used to acquire image information of the obstacle when the radar detects an obstacle in front of the test vehicle 101, and transmits the image information to the Electronic Control Unit (ECU) of the test vehicle 101, so that the ECU can perform target detection on the image information to determine the type of obstacle and the position of the obstacle in the camera's field of view. When the test vehicle 101 determines that the obstacle in front is the target vehicle 100, if the test vehicle 101 meets the safe distance warning conditions while following the target vehicle 100, the vehicle will activate the safe distance warning function. Furthermore, based on the distance between itself and the target vehicle and its operating speed, and provided that the collision risk level assessment function is activated, the test vehicle 101 determines its current collision risk level and executes corresponding collision avoidance measures to prevent a collision between the test vehicle 101 and the target vehicle 100.

[0068] During the operation of the collision avoidance function in test vehicle 101, devices associated with this function transmit commands and / or data via the vehicle bus in the form of bus data, and store this bus data within the vehicle. During the testing of the collision avoidance function's operation, electronic device 11 acquires the bus data from test vehicle 101, extracts corresponding data for the relevant vehicle parameters according to preset test conditions and preset test targets, analyzes the data, and obtains the test results. To improve the visibility of the test results, electronic device 11 sends the test results to display device 12 for corresponding display.

[0069] Figure 2 This is a schematic flowchart illustrating a collision avoidance function testing method provided in one embodiment of this application. Figure 2 As shown, the anti-collision function testing method provided in this application includes:

[0070] S201. The electronic device acquires vehicle bus data and obtains data corresponding to vehicle parameters generated during the use of the collision avoidance function from the vehicle bus data.

[0071] Vehicle bus data refers to the data transmitted on the vehicle bus during the operation of the collision avoidance function. Depending on the data type and / or instructions required by the device executing the collision avoidance function, the type of bus data generated and stored varies. In one embodiment, the bus data formats include: MDF format, DAT format, and BLF format.

[0072] When electronic devices use vehicle bus data for testing, the vehicle parameters obtained from the vehicle bus data will vary depending on the operating conditions of the test vehicle and the target state of the test function. These vehicle parameters include collision avoidance test condition parameters and collision avoidance test target parameters.

[0073] More specifically, the data corresponding to the collision avoidance test condition parameters are used to determine the vehicle's operating condition, while the data corresponding to the collision avoidance test target parameters are used to determine the operational status of the collision avoidance function.

[0074] S202. The electronic device obtains the anti-collision test time range based on the corresponding data of the anti-collision test conditions and anti-collision test condition parameters.

[0075] Collision avoidance test conditions are the vehicle conditions that electronic devices are required to meet when conducting collision avoidance function tests. More specifically, collision avoidance test conditions are the data in the vehicle bus data that are the relevant parameters of the vehicle conditions that the vehicle needs to meet. Among them, the relevant parameters of the vehicle conditions are the collision avoidance test condition parameters, and the data of the relevant parameters of the vehicle conditions that need to be met are the target data that the collision avoidance test condition parameters need to meet.

[0076] The electronic device compares the corresponding data of the collision avoidance test condition parameters obtained in step S201 with the target data in the preset collision avoidance test conditions to obtain the time range of the actual data corresponding to the collision avoidance test condition parameters that conform to the data range defined by the target data, and determines this time range as the collision avoidance test time range. More specifically, the target data includes target data values ​​and / or target data ranges. When the actual data corresponding to the collision avoidance test condition parameters is equal to the target data value or the actual data is within the target data range, it is determined that the time point corresponding to the actual data is within the collision avoidance test time range. That is, continuous actual data that conform to the data range defined by the target data constitute the collision avoidance test time range, wherein, according to the distribution state of the actual data, the collision avoidance test time range includes at least one test time sub-range.

[0077] S203. Within the collision avoidance test time range, the electronic device obtains the collision avoidance function test results based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters.

[0078] The collision avoidance test time range is obtained from step S202.

[0079] Within the collision avoidance test time range, the electronic device obtains data that meets the collision avoidance test target and the corresponding time distribution state based on the vehicle bus data obtained in step S201. The electronic device analyzes the data and its corresponding time distribution state to obtain the statistical characteristics of the data, thereby obtaining the collision avoidance function test result.

[0080] The collision avoidance test objective represents the target state that the collision avoidance function installed in the vehicle must meet during operation. Specifically, in the vehicle bus data, the collision avoidance test objective includes collision avoidance test objective parameters and the corresponding target data to be met. The electronic device determines the time point and / or time period when the actual data corresponds to the collision avoidance test objective parameters and meets the target data. The electronic device obtains the collision avoidance test result based on the statistical characteristics of the aforementioned time point and / or time period. The process by which the electronic device determines that the actual data meets the target data is the same as the process involved in determining the collision avoidance test time range in step S202, and will not be repeated here.

[0081] S204. The electronic device generates a visual instruction based on the anti-collision function test results and sends the visual instruction to the display device.

[0082] The results of the anti-collision function test are obtained from step S203.

[0083] The electronic device generates a visualization command based on the obtained anti-collision function test results, so that the display device can display the anti-collision function test results. The anti-collision function test results displayed on the display device include, but are not limited to: anti-collision function operation-related data, corresponding statistical charts and / or statistical tables.

[0084] In the above technical solution, the electronic device obtains bus data associated with the collision avoidance function from the vehicle that has already run the collision avoidance function to be tested, and uses the bus data to extract data corresponding to the collision avoidance test conditions and collision avoidance test targets respectively, thereby obtaining the vehicle's operating status under the above test conditions and targets, and thus obtaining the collision avoidance test results. This not only separates the data acquisition and data analysis processes, saving the time occupied by switching between the two processes and improving test efficiency, but also allows for repeated analysis of the test data and test results, saving the process of acquiring vehicle data under the same vehicle conditions, thereby improving the utilization rate of the test results and test data.

[0085] Figure 3 This is a flowchart illustrating a collision avoidance function testing method according to another embodiment of this application, wherein the method is executed by an electronic device. Figure 3 As shown, the anti-collision function testing method provided in this application includes:

[0086] S301. Obtain vehicle bus data and retrieve data corresponding to vehicle parameters generated during the use of the collision avoidance function from the vehicle bus data.

[0087] The vehicle bus data refers to the data transmitted and stored on the bus during the operation of the collision avoidance function. This bus data includes data corresponding to the vehicle's operating conditions and the collision avoidance function's usage status. More specifically, the vehicle parameters include collision avoidance test condition parameters and collision avoidance test target parameters, both of which have been explained in detail in step S201 and will not be repeated here.

[0088] After acquiring vehicle bus data, the electronic device discretizes the data by sampling the vehicle bus data at preset time intervals to obtain discrete data corresponding to discrete time points. This discrete data includes discrete data corresponding to collision avoidance test condition parameters and discrete data corresponding to collision avoidance test target parameters.

[0089] S302, Obtain the collision avoidance test type.

[0090] The collision avoidance test type is a preset type that limits the target type of the collision avoidance function test and the corresponding test conditions. Among them, the collision avoidance test types include the safe distance warning test type and the collision alarm usage test type.

[0091] S303. Obtain the vehicle parameters corresponding to the collision avoidance test type based on the collision avoidance test type and type parameter mapping table.

[0092] The collision avoidance test type is obtained from step S302.

[0093] The type parameter mapping table represents the mapping relationship between the collision avoidance test type and its corresponding vehicle parameters. That is, the electronic device determines the target vehicle parameters corresponding to the type based on the type parameter mapping table and the collision avoidance test type, and selects the data corresponding to the target vehicle parameters from the data corresponding to the vehicle parameters obtained in step S301.

[0094] S304. Based on the collision avoidance test type and type condition mapping table, obtain the collision avoidance test conditions and collision avoidance test objectives corresponding to the collision avoidance test type.

[0095] The collision avoidance test type is obtained from step S302, and the type condition mapping table represents the mapping relationship between the collision avoidance test type, its corresponding collision avoidance test conditions, and the collision avoidance test target.

[0096] More specifically, the electronic device determines the test conditions and test objectives corresponding to the test type based on the collision avoidance test type and type condition mapping table. These test conditions are used to define the operating conditions under which the vehicle corresponding to the test type operates the collision avoidance function to be tested, and within these operating conditions, the use and / or operating state of the collision avoidance function to be tested is defined. Specifically, the test objective tested under a test condition defined by a test condition determines a test case.

[0097] More specifically, collision avoidance test conditions include basic test conditions and preset test conditions. Basic test conditions are the mandatory test conditions that all test cases must meet during collision avoidance function testing. Preset test conditions are the specific test conditions that each test case must meet. Therefore, basic test conditions are used in multiple test cases of the collision avoidance function, while the preset test conditions differ between each test case.

[0098] In one embodiment, the basic test conditions are that the accelerator pedal depth is less than a preset depth threshold, the steering wheel rotation speed is less than a preset speed threshold, the current vehicle movement state is forward, and the distance sensor and image sensor are fault-free.

[0099] S305. Obtain the collision avoidance test time range based on the corresponding data of the collision avoidance test conditions and collision avoidance test condition parameters.

[0100] The collision avoidance test conditions are obtained from step S304, and the collision avoidance test condition parameters are obtained from step S303. The test conditions include the target data that the collision avoidance test condition parameters need to meet.

[0101] The electronic device extracts the corresponding actual data from the vehicle bus data obtained in step S301 using the collision avoidance test condition parameters, and compares the actual data with the corresponding target data to obtain the actual data that meets the data range defined by the target data, thereby obtaining the collision avoidance test time range.

[0102] More specifically, the electronic device uses a logic condition mapping table to process each collision avoidance test condition, transforming each condition into a corresponding logical expression. This logical expression includes the collision avoidance test condition parameters, the identifiers corresponding to each parameter, and the identifiers corresponding to the states or data that each parameter needs to satisfy. For example, when the adaptive cruise control function needs to be in an inactive state in the collision avoidance test conditions, the electronic device uses the logic condition mapping table to transform this condition into the logical expression "ACC = 0". Here, ACC is the parameter identifier corresponding to the adaptive cruise control function state, and 0 is the identifier corresponding to the inactive state. When the bus data corresponding to ACC is 0, the logical expression is true. The electronic device obtains the original time range for the collision avoidance test based on the above true logical expression. The electronic device processes other conditions that need to be satisfied in the collision avoidance test conditions and obtains the corresponding original time ranges. Combining this with the original time range corresponding to the adaptive cruise control function, the electronic device obtains the time range in which all logical expressions corresponding to each condition are true, and determines this time range as the collision avoidance test time range.

[0103] When the collision avoidance test type is the safe distance warning test type, if the preset test conditions are the safe distance warning test conditions, the first safe distance warning test time range is obtained when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and the safe distance warning test conditions. The safe distance warning test conditions are: the adaptive cruise control system is not activated, the vehicle speed is within the first preset speed range, the projected speed of the vehicle speed along the current vehicle travel direction is greater than the first preset speed threshold, the type of the object in front of the current vehicle is a preset type, and the time distance between the current vehicle and the object in front is less than the first preset time distance threshold.

[0104] or

[0105] The second safe distance warning test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one of the sub-conditions of the basic test conditions and the safe distance warning test conditions.

[0106] Within the first safe distance warning test time range, vehicle bus data indicates that the vehicle is following the target vehicle forward but the adaptive cruise control function is not activated. The current vehicle's steering wheel speed is less than the first preset speed threshold, meaning the current vehicle's direction of travel is adjusted relatively smoothly. The relative speed between the two vehicles, projected along the current vehicle's driving direction, is greater than the first preset speed threshold. The time distance calculated based on the distance between the two vehicles is less than the first preset time distance threshold. However, the current vehicle's accelerator pedal is pressed less than the first preset depth threshold, resulting in an acceleration less than the first preset acceleration threshold. Therefore, there is a risk of collision between the current vehicle and the target vehicle. Furthermore, the distance sensor and image sensor are functioning correctly and can acquire road condition information, thus meeting the conditions for issuing a safe distance warning.

[0107] If at least one of the above conditions is not met, the current vehicle does not meet the conditions for conducting a safe distance warning, and its corresponding vehicle bus data is within the second safe distance warning test time range.

[0108] More specifically, when the vehicle activates the adaptive cruise control function, the vehicle will automatically adjust the distance to other vehicles, and collisions between the two vehicles will not occur.

[0109] Alternatively, if the vehicle speed is not within the first preset speed range, and the speed is less than the minimum speed within that range, the risk of a collision between the two vehicles is low, and there is no need for a safety distance warning. If the speed is greater than the maximum speed within that range, the risk of a collision between the two vehicles is extremely high, and a safety distance warning is no longer sufficient to protect the current vehicle. More urgent braking is required, so there is no need for a safety distance warning.

[0110] Alternatively, if the target ahead is identified by the test vehicle as not being the target vehicle but rather another obstacle, and the vehicle is required to take other braking actions, then the safety distance warning requirement is not met and no safety distance warning is needed.

[0111] Alternatively, if the relative speed between the test vehicle and the target vehicle is projected along the driving direction of the test vehicle as the longitudinal relative speed is less than or equal to the first preset speed threshold, and the time interval calculated by the test vehicle in combination with the distance between the two vehicles is greater than or equal to the first preset time threshold, the safety distance warning requirement is not met, and therefore no safety distance warning is required.

[0112] Alternatively, when the accelerator pedal is pressed to a depth greater than or equal to a first preset depth threshold, and the resulting acceleration is greater than or equal to a first preset acceleration threshold, the collision risk level between the test vehicle and the target vehicle is high, and the test vehicle needs to take other braking actions directly. Therefore, there is no need to issue a safe distance warning.

[0113] Alternatively, if the steering wheel speed of the test vehicle is greater than or equal to the first preset speed threshold, and the test vehicle fails to achieve stable driving and sways rapidly to the left or right during driving, the test vehicle needs to take corresponding stabilization measures in this situation, so there is no need to provide a safe distance warning.

[0114] Alternatively, if the test vehicle stops or moves backwards, and the distance between the test vehicle and the target vehicle in front of the test vehicle does not meet the safety distance warning requirements, then there is no need to issue a safety distance warning.

[0115] Alternatively, if at least one of the distance sensor and image sensor of the test vehicle is malfunctioning, the test vehicle will prioritize addressing the malfunction until both sensors are functioning correctly, and then issue a safe distance warning based on the status of the two vehicles.

[0116] When the collision avoidance test type is the collision alarm usage test type, if the preset test conditions are the collision avoidance alarm function test conditions, the first collision avoidance alarm test time range is obtained when the data corresponding to the collision avoidance test condition parameters meets the basic test conditions and the collision avoidance alarm function test conditions; or

[0117] The second anti-collision alarm test time range when the data corresponding to the obtained anti-collision test condition parameters does not meet at least one sub-condition of the basic test conditions and the anti-collision alarm function test conditions.

[0118] The test conditions for the collision avoidance alarm function are: the collision level is at the first preset collision level, the time distance between the current vehicle and the object in front is less than the second preset time distance threshold, the warning sensitivity function is not turned off, and the vehicle speed is within the second preset speed range.

[0119] More specifically, vehicle bus data within the first collision avoidance alarm test time range indicates that the test vehicle, while meeting the basic test conditions, simultaneously meets all sub-conditions of the collision avoidance alarm test. When the vehicle bus data does not meet at least one sub-condition within the first collision avoidance alarm test time range, the electronic equipment determines that the test vehicle's bus data is within the second collision avoidance alarm test time range. More specifically, when the test vehicle's ECU determines that the vehicle has no collision risk, 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 turned off, or the steering wheel speed is less than a second preset speed threshold, or the accelerator pedal depth is greater than or equal to a second preset depth threshold, or the vehicle speed is not within a second preset speed range, or the vehicle is not moving forward, or at least one of the distance sensor and image sensor is faulty, the electronic equipment determines that the test vehicle's bus data is within the second collision avoidance alarm test time range. When the test vehicle's ECU determines that the vehicle has no collision risk, the data corresponding to its collision level is empty.

[0120] When the collision avoidance test type is the collision alarm test type, if the preset test conditions are DBS assisted braking test conditions, the data corresponding to the collision avoidance test condition parameters are obtained within the first DBS assisted braking test time range when the basic test conditions and DBS assisted braking test conditions are met; or

[0121] The second DBS assisted braking test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one of the sub-conditions of the basic test conditions and the DBS assisted braking test conditions.

[0122] The DBS assisted braking test conditions are as follows: after the collision alarm function is activated, the collision level is at the first preset collision level, the vehicle speed is within the third preset vehicle speed range, the braking system is activated, the brake pedal is depressed, the acceleration generated by the brake pedal is less than the preset acceleration threshold, and the ESC is deactivated.

[0123] More specifically, the vehicle bus data corresponding to the first DBS assisted braking test time range indicates that the test vehicle meets both the basic test conditions and the DBS assisted braking test conditions. Specifically, the vehicle bus data corresponding to the first DBS assisted braking test time range indicates that during the test vehicle's smooth forward movement, its distance and speed meet the preset distance and speed corresponding to the first preset collision level. After the collision warning function is triggered, when the braking system activates the braking permission, the brake pedal is depressed and the corresponding braking operation is performed, and the acceleration generated by this braking is less than the preset acceleration. ESC is not activated, the steering wheel speed is less than the third preset speed threshold, the vehicle is not in a state of rapid rotation, and both the distance sensor and image sensor are unobstructed. The collision warning function is triggered when the distance between two vehicles exceeds the safe distance threshold and the time interval exceeds the safe time distance threshold after the safe distance warning is activated. When the test vehicle does not meet at least one of the basic test conditions and the DBS assisted braking test conditions, the electronic equipment determines that the vehicle is within the second DBS assisted braking test time range. Among them, the test vehicle in the bus data corresponding to the second DBS assisted braking test time range is not within the collision risk range corresponding to the DBS assisted braking function being activated.

[0124] When the collision avoidance test type is the collision alarm usage test type, if the collision avoidance test conditions are AEB system test conditions, obtain the first AEB system test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and AEB system test conditions; or

[0125] The second AEB system test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet the AEB system activation test conditions.

[0126] The AEB system activation test conditions are as follows: the collision risk level is at the second or third preset collision level, the vehicle speed is within the fourth preset speed range, the braking system is activated, the AEB start signal is obtained, and the ESC is not activated.

[0127] More specifically, the vehicle bus data corresponding to the first AEB system test time range indicates that during the test vehicle's forward movement, the collision risk level determined by the vehicle is at the second or third preset collision level, the vehicle speed is within the fourth preset speed range, and after the braking system is activated, the test vehicle can perform braking operations. At this time, the AEB function is activated. When the acceleration generated by pressing the accelerator pedal is small, that is, less than the acceleration corresponding to the fourth preset depth threshold, the vehicle does not have an emergency turn, that is, the steering wheel speed is less than the fourth preset speed threshold, the vehicle does not activate ESC, and the vehicle's distance sensor and image sensor are unobstructed.

[0128] When the test vehicle does not meet any of the sub-conditions in the vehicle bus data corresponding to the first AEB system test time range, the electronic device determines that the vehicle's bus data is within the second AEB system test time range, that is, the test vehicle is not within the collision risk range corresponding to the activation of the AEB system.

[0129] S306. Within the collision avoidance test time range, obtain the collision avoidance function test results based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters.

[0130] The collision avoidance test time range is obtained from step S305, and the corresponding data of the collision avoidance test target parameters are selected from the bus data obtained in step S301 based on the vehicle parameters obtained in step S303.

[0131] More specifically, the collision avoidance test target and the corresponding data obtained from the collision avoidance test target and its parameters are explained in detail in step S203, and will not be repeated here.

[0132] The electronic device uses a logic condition mapping table to process the collision avoidance test objectives, transforming them into corresponding logical expressions. Within the bus data corresponding to the collision avoidance test time range, it determines whether the logical expression at each discrete time point is true based on the data corresponding to the parameters in each logical expression. Based on this, it obtains the discrete time points where all logical expressions are true and the test objectives are met, and the discrete time points where the logical expressions are false and the test objectives are not met. Using these two types of discrete time points, the electronic device obtains the distribution of data showing the test vehicle achieving the collision avoidance test objectives under the collision avoidance test conditions, thus obtaining the collision avoidance test results.

[0133] If the collision avoidance test target is a safe distance warning test target, within the collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and its parameters. Specifically, this includes any one of the following three safe distance warning test results:

[0134] Within the first safe distance warning test time range, the first safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0135] The safe distance warning function has two states: active and inactive. The instrument panel display also includes states where the safe distance warning indicator is displayed and states where it is not displayed. In one embodiment, based on a preset test target, the safe distance warning function for vehicle parameters within the first safe distance warning test time range should be active, and the instrument panel display should show the safe distance warning indicator.

[0136] Within the first safe distance warning test time range, the second safe distance warning test result is obtained based on the maintenance status of each parameter in the basic test conditions and the safe distance warning test conditions after the safe distance warning function is activated.

[0137] More specifically, after the vehicle meets the basic test conditions and the safe distance warning test conditions, the vehicle's safe distance warning function should be in an active state, and the instrument panel display should show the safe distance warning sign. Within the time range corresponding to the vehicle's bus data indicating that the safe distance warning function is active and the instrument panel displays the safe distance warning sign, a second safe distance warning test result is obtained based on the changes in the data corresponding to each parameter in the basic test conditions and the safe distance warning test conditions. The changes in data include being within or exceeding the data range corresponding to the condition parameters. According to a preset test target, in one embodiment, the data changes should always be within the data range corresponding to the condition parameters.

[0138] Within the second safe distance warning test time range, the third safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0139] More specifically, within the second safe distance warning test time range, since the vehicle no longer meets the basic test conditions and / or safe distance warning test conditions, the usage status of its corresponding safe distance warning function and the display status of the instrument panel are adjusted accordingly. The electronic equipment obtains the third safe distance warning test result based on the maintenance and adjustment of the above two states. According to the preset test target, in one embodiment, the usage status of the safe distance warning function should be adjusted to an inactive state, and the display status of the instrument panel should be adjusted to a state where the safe distance warning sign is not displayed.

[0140] If the collision avoidance test target is the collision avoidance alarm function test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters. Specifically, it includes any one of the following five collision avoidance alarm function test results:

[0141] Within the first collision avoidance alarm test time range, the first collision avoidance alarm function test result is obtained based on the state of the collision alarm function, the second collision avoidance alarm function test result is obtained based on the state of the request braking function, and the third collision avoidance alarm function test result is obtained based on the brake master cylinder pressure, the first preset pressure range, and the state of the brake pre-fill function.

[0142] The collision alarm function has two states: active and inactive. The request braking function has two states: active and inactive. The brake pre-fill function has two states: filled and unfilled.

[0143] In one embodiment, the collision alarm function should be in an active state, indicating that the vehicle executes the corresponding collision alarm operation based on the vehicle's driving status and road conditions. The request-to-brake function should also be in an active state, indicating that after the request-to-brake function is activated, the vehicle can control itself to perform intermittent braking when braking is required, based on road conditions, the distance between the two vehicles, and the test vehicle's speed, provided that the intermittent braking conditions are met. The brake pre-fill function should be in a filled state, correspondingly, the brake master cylinder pressure should be within a first preset pressure range, indicating that the vehicle can perform braking operations at any time within the first collision avoidance test time range. When the vehicle's brake pre-fill is complete, the time required for the vehicle to perform braking operations after receiving a braking command can be saved.

[0144] Within the first collision avoidance alarm test time range, based on the maintenance status of each parameter in the basic test conditions and the collision avoidance alarm function test conditions after the collision alarm function, brake pre-fill function, or request braking function are adjusted to the active state, the fourth collision avoidance alarm function test result is obtained.

[0145] More specifically, when the vehicle meets the basic test conditions and the collision avoidance alarm function test conditions, based on the vehicle's corresponding bus data, the collision warning function, brake pre-fill function, and requested intermittent braking function can be determined to be activated. Within the time range corresponding to the activation state of the above functions, the electronic device obtains the adjustment state of the data corresponding to each parameter in the basic test conditions and the collision avoidance alarm function test conditions based on the bus data, and obtains the fourth collision avoidance alarm function test result based on the adjustment state. In one embodiment, the data corresponding to each parameter in the above conditions should be continuously maintained within a preset data range.

[0146] Within the second collision avoidance alarm test time range, the test results of the fifth collision avoidance alarm function are obtained based on the status of the collision alarm function and the status of the request braking function.

[0147] More specifically, when the test vehicle does not meet the basic test conditions and / or the collision avoidance alarm function test conditions, its corresponding bus data falls within the second collision avoidance alarm test time range. Since the test vehicle no longer meets the above conditions, the states of the vehicle's collision avoidance alarm function and the requested braking function both change. The electronic equipment obtains the fifth collision avoidance alarm function test result based on these state changes. In one embodiment, the state of the collision avoidance alarm function should be adjusted from an active state to an inactive state, and the state of the requested braking function should be adjusted from an active state to an inactive state.

[0148] If the collision avoidance test target is the DBS assisted braking test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters. Specifically, it includes any one of the following five DBS assisted braking test results:

[0149] Within the first DBS assisted braking test time range, the first DBS assisted braking test result is obtained based on the state of the DBS assisted braking function, specifically the projected acceleration of the current vehicle's acceleration along the current vehicle's trajectory, a first preset acceleration range, the brake master cylinder pressure, and a second preset pressure range. The state of the DBS assisted braking function includes both an active state and an inactive state.

[0150] More specifically, in the vehicle bus data corresponding to the first DBS assisted braking test time range, if the driving state of the test vehicle meets the conditions required for the operation of the DBS assisted braking function, and the state of the DBS assisted braking function in the vehicle changes, the electronic equipment determines the first DBS assisted braking test result based on the bus data corresponding to the change. In one embodiment, the state of the DBS assisted braking function should be adjusted to an active state.

[0151] In the vehicle bus data corresponding to the first DBS assisted braking test time range, the test vehicle obtains the second DBS assisted braking test result based on whether the projected acceleration is within a first preset acceleration range and whether the brake master cylinder pressure is within a second preset pressure range. In one embodiment, the projected acceleration should be within the first preset acceleration range, meaning that the acceleration generated by the vehicle during braking should be within the acceleration range corresponding to when the DBS assisted braking function is activated.

[0152] Within the first DBS assisted braking test time range, the third DBS assisted braking test result is obtained based on the basic test conditions after the DBS assisted braking function is activated and the holding state of each parameter in the DBS assisted braking test conditions.

[0153] More specifically, once the test vehicle meets the basic test conditions and the DBS assisted braking test conditions, the DBS assisted braking function is activated. Data corresponding to the condition parameters in the basic test conditions and the DBS assisted braking test conditions is obtained from the bus data when the system is active. Based on the adjustment of this data, the electronic device obtains a third DBS assisted braking test result. In one embodiment, the data corresponding to the condition parameter should be continuously maintained within the preset data range corresponding to that parameter.

[0154] Within the second DBS assisted braking test time range, the fourth DBS assisted braking test result is obtained based on the state of the DBS assisted braking function.

[0155] More specifically, when the test vehicle does not meet the basic test conditions and / or the DBS assisted braking test conditions, the bus data it generates falls within the second DBS assisted braking test time range. At this time, the electronic device acquires the data corresponding to the state of the DBS assisted braking function within this time range and obtains the fourth DBS assisted braking test result based on this data. In one embodiment, since the test vehicle within the second DBS assisted braking test time range no longer meets the conditions for activating the DBS assisted braking function, the system should be adjusted from an activated state to an inactive state.

[0156] If the collision avoidance test target is the AEB system test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the collision avoidance test target parameters. Specifically, it includes any one of the following four AEB system test results:

[0157] Within the first AEB system test time range, the first AEB system test result is obtained based on the state of the AEB system, and the second AEB system test result is obtained based on the current vehicle acceleration, the second preset acceleration range, the brake master cylinder pressure, and the third preset pressure range.

[0158] The AEB system can be either active or inactive, and the current vehicle is a test vehicle.

[0159] More specifically, within the vehicle bus data corresponding to the first AEB system test time range, if the vehicle meets the conditions for AEB system activation, the electronic devices obtain the activation status of the AEB system based on the corresponding data, and obtain the first AEB system test result based on this status. In one embodiment, the AEB system should be adjusted from an inactive state to an active state and remain in the active state continuously.

[0160] In the vehicle bus data corresponding to the first AEB system test time range, the electronic equipment obtains the second AEB system test result based on whether the acceleration of the test vehicle is within a second preset acceleration range and whether the brake master cylinder pressure is within a third preset pressure range. In one embodiment, the vehicle under the basic test conditions and AEB system test conditions needs to brake urgently, and the AEB system is activated. At this time, the acceleration generated during the deceleration of the test vehicle should be within the second preset acceleration range, that is, the acceleration generated by braking when the test vehicle operates the AEB system meets the requirements for emergency braking. During the operation of the AEB system, the brake master cylinder pressure should be within the third preset pressure range to ensure the braking force required for emergency braking of the vehicle.

[0161] Within the first AEB system test timeframe, the third AEB system test results are obtained based on the basic test conditions after AEB system activation and the retention status of each parameter in the AEB system activation test conditions.

[0162] More specifically, when the test vehicle meets the basic test conditions and the AEB system test conditions, the electronic equipment determines that the AEB system is activated based on bus data. During the activation process, a third AEB system test result is obtained based on the adjustment status of the corresponding data of each condition parameter in the basic test conditions and the AEB system test conditions. In one embodiment, the corresponding data of each condition parameter in the basic test conditions and the AEB system test conditions should be continuously maintained within the preset data range corresponding to each parameter.

[0163] Within the second AEB system test timeframe, the fourth AEB system test results are obtained based on the AEB system's current state.

[0164] More specifically, when the test vehicle fails to meet the basic test conditions and / or the AEB system test conditions, the state of the vehicle's AEB system is adjusted accordingly, and the electronic equipment obtains the fourth AEB system test result based on this adjustment. In one embodiment, the vehicle's AEB system should be adjusted from an active state to an inactive state.

[0165] S307. Generate a visual instruction based on the collision avoidance function test results and send the visual instruction to the display device.

[0166] The collision avoidance function test results are obtained from step S306.

[0167] The process by which the electronic device generates a visualization instruction based on the test result and sends the instruction to the display device to control the device to display the test result has been explained in detail in step S204 and will not be repeated here.

[0168] In the above technical solution, the electronic device determines the corresponding test conditions and parameters associated with the conditions according to the different test types of the anti-collision function. After limiting the corresponding test time range according to the data corresponding to the test conditions and associated parameters, at least one test target is tested for each test time range. This not only saves the electronic device from repeatedly setting test conditions, but also realizes repeated testing and analysis of the same test process, improves the utilization rate of bus data generated during the test, and thus improves the testing efficiency and development efficiency of the anti-collision function.

[0169] like Figure 4 As shown, one embodiment of this application provides a collision avoidance function testing device 400, which includes:

[0170] The acquisition module 401 is used to acquire vehicle bus data and obtain data corresponding to vehicle parameters generated during the use of the collision avoidance function from the vehicle bus data. The vehicle parameters include collision avoidance test condition parameters and collision avoidance test target parameters.

[0171] The processing module 402 is used to obtain the collision avoidance test time range based on the corresponding data of the collision avoidance test conditions and collision avoidance test condition parameters.

[0172] The processing module 402 is also used to obtain the anti-collision function test results based on the corresponding data of the anti-collision test target and the anti-collision test target parameters within the anti-collision test time range.

[0173] The processing module 402 is also used to generate visualization instructions based on the collision avoidance function test results and send the visualization instructions to the display device. The visualization instructions are used to control the display device to display the collision avoidance function test results.

[0174] In one embodiment, the processing module 402 is specifically used for:

[0175] Obtain the collision avoidance test type, which includes either the safe distance warning test type or the collision alarm usage test type;

[0176] Based on the collision avoidance test type and type parameter mapping table, obtain the vehicle parameters corresponding to the collision avoidance test type; the type parameter mapping table represents the mapping relationship between the collision avoidance test type and its corresponding vehicle parameters.

[0177] Based on the collision avoidance test type and type condition mapping table, obtain the collision avoidance test conditions and collision avoidance test objectives corresponding to the collision avoidance test type; the type condition mapping table represents the mapping relationship between the collision avoidance test type and its corresponding collision avoidance test conditions and collision avoidance test objectives.

[0178] The collision avoidance test conditions include basic test conditions and preset test conditions. The basic test conditions are that the accelerator pedal depth is less than a preset depth threshold, the steering wheel rotation speed is less than a preset speed threshold, the current vehicle movement state is forward, and the distance sensor and image sensor are fault-free.

[0179] In one embodiment, the processing module 402 is specifically used for:

[0180] If the preset test conditions are safe distance warning test conditions, obtain the first safe distance warning test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and safe distance warning test conditions; or

[0181] The second safe distance warning test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one sub-condition of the basic test conditions and the safe distance warning test conditions;

[0182] The safe distance warning test conditions are as follows: the adaptive cruise control system is not activated, the vehicle speed is within the first preset speed range, the projected speed of the vehicle speed along the current vehicle travel direction is greater than the first preset speed threshold, the type of the object in front of the current vehicle is a preset type, and the time distance between the current vehicle and the object in front is less than the first preset time distance threshold.

[0183] In one embodiment, the processing module 402 is specifically used for:

[0184] Within the first safe distance warning test time range, the first safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0185] Within the first safe distance warning test time range, the second safe distance warning test result is obtained based on the maintenance status of each parameter in the basic test conditions and the safe distance warning test conditions after the safe distance warning function is activated;

[0186] Within the second safe distance warning test time range, the third safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

[0187] In one embodiment, the processing module 402 is specifically used for:

[0188] If the preset test conditions are anti-collision alarm function test conditions, obtain the first anti-collision alarm test time range when the data corresponding to the anti-collision test condition parameters meet the basic test conditions and anti-collision alarm function test conditions; or

[0189] The second anti-collision alarm test time range when the data corresponding to the obtained anti-collision test condition parameters does not meet at least one sub-condition of the basic test conditions and the anti-collision alarm function test conditions;

[0190] The test conditions for the collision avoidance alarm function are: the collision level is at the first preset collision level, the time distance between the current vehicle and the object in front is less than the second preset time distance threshold, the warning sensitivity function is not turned off, and the vehicle speed is within the second preset speed range.

[0191] In one embodiment, the processing module 402 is specifically used for:

[0192] Within the first collision avoidance alarm test time range, the first collision avoidance alarm function test result is obtained based on the state of the collision alarm function, the second collision avoidance alarm function test result is obtained based on the state of the request for intermittent braking function, and the third collision avoidance alarm function test result is obtained based on the brake master cylinder pressure, the first preset pressure range, and the state of the brake pre-fill function.

[0193] Within the first collision avoidance alarm test time range, based on the maintenance status of each parameter in the basic test conditions and the collision avoidance alarm function test conditions after the collision alarm function, brake pre-fill function, or request braking function are adjusted to the active state, the fourth collision avoidance alarm function test result is obtained.

[0194] Within the second collision avoidance alarm test time range, the test results of the fifth collision avoidance alarm function are obtained based on the status of the collision alarm function and the status of the request braking function.

[0195] In one embodiment, the processing module 402 is specifically used for:

[0196] If the preset test conditions are DBS assisted braking test conditions, obtain the first DBS assisted braking test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and DBS assisted braking test conditions; or

[0197] The second DBS auxiliary braking test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet at least one of the sub-conditions of the basic test conditions and the DBS auxiliary braking test conditions;

[0198] The DBS assisted braking test conditions are as follows: after the collision alarm function is activated, the collision level is at the first preset collision level, the vehicle speed is within the third preset vehicle speed range, the braking system is activated, the brake pedal is depressed, the acceleration generated by the brake pedal is less than the preset acceleration threshold, and the ESC is deactivated.

[0199] In one embodiment, the processing module 402 is specifically used for:

[0200] Within the first DBS assisted braking test time range, the first DBS assisted braking test result is obtained based on the state of the DBS assisted braking function, and the second DBS assisted braking test result is obtained based on the projected acceleration of the current vehicle acceleration along the current vehicle form direction, the first preset acceleration range, the brake master cylinder pressure, and the second preset pressure range.

[0201] Within the first DBS assisted braking test time range, the third DBS assisted braking test result is obtained based on the basic test conditions after the DBS assisted braking function is activated and the holding state of each parameter in the DBS assisted braking test conditions.

[0202] Within the second DBS assisted braking test time range, the fourth DBS assisted braking test result is obtained based on the state of the DBS assisted braking function.

[0203] In one embodiment, the processing module 402 is specifically used for:

[0204] If the collision avoidance test conditions are AEB system test conditions, obtain the first AEB system test time range when the data corresponding to the collision avoidance test condition parameters meet the basic test conditions and AEB system test conditions; or

[0205] The second AEB system test time range when the data corresponding to the obtained collision avoidance test condition parameters does not meet the AEB system activation test conditions;

[0206] The AEB system activation test conditions are as follows: the collision risk level is at the second or third preset collision level, the vehicle speed is within the fourth preset speed range, the braking system is activated, the AEB start signal is obtained, and the ESC is not activated.

[0207] In one embodiment, the processing module 402 is specifically used for:

[0208] Within the first AEB system test time range, the first AEB system test result is obtained based on the state of the AEB system, and the second AEB system test result is obtained based on the current vehicle acceleration, the second preset acceleration range, the brake master cylinder pressure, and the third preset pressure range.

[0209] Within the first AEB system test time range, based on the basic test conditions after AEB system activation and the retention status of each parameter in the AEB system activation test conditions, the third AEB system test results are obtained.

[0210] Within the second AEB system test timeframe, the fourth AEB system test results are obtained based on the AEB system's current state.

[0211] like Figure 5 As shown, one embodiment of this application provides an electronic device 500, which includes a memory 501 and a processor 502.

[0212] The memory 501 is used to store computer instructions that can be executed by the processor.

[0213] When executing computer instructions, processor 502 implements each step of the collision avoidance function testing method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing method embodiments.

[0214] Optionally, the memory 501 can be either standalone or integrated with the processor 502. When the memory 501 is set up independently, the server 500 also includes a bus for connecting the memory 501 and the processor 502.

[0215] This application also provides a computer-readable storage medium storing computer instructions. When a processor executes the computer instructions, it implements the various steps in the anti-collision function testing method described above.

[0216] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the various steps in the anti-collision function testing method described above.

[0217] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0218] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method of testing a collision avoidance function, characterized by, The method includes: Acquire vehicle bus data, and obtain data corresponding to vehicle parameters generated during the use of the collision avoidance function from the vehicle bus data. The vehicle parameters include collision avoidance test condition parameters and collision avoidance test target parameters. Based on the collision avoidance test conditions and the corresponding data of the collision avoidance test condition parameters, the collision avoidance test time range is obtained; Within the specified collision avoidance test time range, the collision avoidance function test results are obtained based on the corresponding data of the collision avoidance test target and the parameters of the collision avoidance test target. A visualization command is generated based on the collision avoidance function test results, and the visualization command is sent to the display device. The visualization command is used to control the display device to display the collision avoidance function test results. After obtaining the vehicle parameter data generated during the use of the collision avoidance function from the vehicle bus data, the method further includes: Obtain the collision avoidance test type, which includes a safe distance warning test type or a collision alarm usage test type; Based on the collision avoidance test type and type parameter mapping table, the vehicle parameters corresponding to the collision avoidance test type are obtained; the type parameter mapping table represents the mapping relationship between the collision avoidance test type and its corresponding vehicle parameters. Based on the collision avoidance test type and type condition mapping table, the collision avoidance test conditions and collision avoidance test targets corresponding to the collision avoidance test type are obtained; the type condition mapping table represents the mapping relationship between the collision avoidance test type and its corresponding collision avoidance test conditions and collision avoidance test targets. The collision avoidance test conditions include basic test conditions and preset test conditions. The basic test conditions are that the accelerator pedal depressing depth is less than a preset depth threshold, the steering wheel rotation speed is less than a preset speed threshold, the current vehicle movement state is forward, and the distance sensor and image sensor are fault-free.

2. The method of claim 1, wherein, When the collision avoidance test type is a safe distance warning test type, the collision avoidance test time range is obtained based on the collision avoidance test conditions and the corresponding data of the collision avoidance test condition parameters, specifically including: If the preset test condition is a safe distance warning test condition, obtain the first safe distance warning test time range when the data corresponding to the collision avoidance test condition parameters satisfies the basic test condition and the safe distance warning test condition; or The second safe distance warning test time range when the data corresponding to the collision avoidance test condition parameters does not meet at least one sub-condition of the basic test conditions and the safe distance warning test conditions; The safe distance warning test conditions are as follows: the adaptive cruise control system is not activated, the vehicle speed is within the first preset speed range, the projected speed of the vehicle speed along the current vehicle travel direction is greater than the first preset speed threshold, the type of the object in front of the current vehicle is a preset type, and the time distance between the current vehicle and the object in front is less than the first preset time distance threshold.

3. The method of claim 2, wherein, If the collision avoidance test target is a safe distance warning test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the parameters of the collision avoidance test target, specifically including any one of the following: Within the first safe distance warning test time range, the first safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel. Within the first safe distance warning test time range, based on the basic test conditions and the maintenance status of each parameter in the safe distance warning test conditions after the safe distance warning function is activated, the second safe distance warning test result is obtained; Within the second safe distance warning test time range, the third safe distance warning test result is obtained based on the usage status of the safe distance warning function and the display status of the safe distance warning result on the instrument panel.

4. The method according to claim 1, characterized in that, When the collision avoidance test type is a collision alarm usage test type, the collision avoidance test time range is obtained based on the collision avoidance test conditions and the corresponding data of the collision avoidance test condition parameters, specifically including: If the preset test conditions are anti-collision alarm function test conditions, obtain the first anti-collision alarm test time range when the data corresponding to the anti-collision test condition parameters satisfies the basic test conditions and the anti-collision alarm function test conditions; or The second anti-collision alarm test time range when the data corresponding to the obtained anti-collision test condition parameters does not meet at least one sub-condition of the basic test conditions and the anti-collision alarm function test conditions; The test conditions for the collision avoidance alarm function are: the collision level is at the first preset collision level, the time distance between the current vehicle and the object in front is less than the second preset time distance threshold, the warning sensitivity function is not turned off, and the vehicle speed is within the second preset speed range.

5. The method of claim 4, wherein, If the collision avoidance test target is a collision avoidance alarm function test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the parameters of the collision avoidance test target, specifically including any one of the following: Within the first collision avoidance alarm test time range, the first collision avoidance alarm function test result is obtained according to the state of the collision alarm function, the second collision avoidance alarm function test result is obtained according to the state of the request for intermittent braking function, and the third collision avoidance alarm function test result is obtained according to the brake master cylinder pressure, the first preset pressure range and the state of the brake prefill function. Within the first collision avoidance alarm test time range, based on the maintenance status of each parameter in the basic test conditions and the collision avoidance alarm function test conditions after the collision alarm function, the brake pre-fill function, or the request braking function are adjusted to the active state, the fourth collision avoidance alarm function test result is obtained. Within the second anti-collision alarm test time range, the test results of the fifth anti-collision alarm function are obtained based on the status of the collision alarm function and the status of the request braking function.

6. The method of claim 5, wherein, The method further includes: If the preset test conditions are DBS assisted braking test conditions, obtain the first DBS assisted braking test time range when the data corresponding to the collision avoidance test condition parameters satisfies the basic test conditions and the DBS assisted braking test conditions; or The second DBS auxiliary braking test time range when the data corresponding to the collision avoidance test condition parameters does not meet at least one sub-condition of the basic test conditions and the DBS auxiliary braking test conditions; The DBS assisted braking test conditions are as follows: after the collision alarm function is activated, the collision level is at the first preset collision level, the vehicle speed is within the third preset vehicle speed range, the braking system is activated, the brake pedal is depressed, the acceleration generated by the brake pedal is less than the preset acceleration threshold, and the ESC is deactivated.

7. The method of claim 6, wherein, If the collision avoidance test target is a DBS assisted braking test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the parameters of the collision avoidance test target, specifically including any one of the following: Within the first DBS assisted braking test time range, the first DBS assisted braking test result is obtained based on the state of the DBS assisted braking function, and the second DBS assisted braking test result is obtained based on the projected acceleration of the current vehicle's acceleration along the current vehicle's form direction, the first preset acceleration range, the brake master cylinder pressure, and the second preset pressure range. Within the first DBS assisted braking test time range, based on the basic test conditions after the DBS assisted braking function is activated and the holding state of each parameter in the DBS assisted braking test conditions, the third DBS assisted braking test result is obtained. Within the second DBS assisted braking test time range, the fourth DBS assisted braking test result is obtained based on the state of the DBS assisted braking function.

8. The method of claim 4 or 6, wherein, The method further includes: If the collision avoidance test conditions are AEB system test conditions, obtain the first AEB system test time range when the data corresponding to the collision avoidance test condition parameters satisfies the basic test conditions and the AEB system test conditions; or The second AEB system test time range when the data corresponding to the collision avoidance test condition parameters does not meet the AEB system activation test conditions; The AEB system activation test conditions are as follows: the collision risk level is at the second or third preset collision level, the vehicle speed is within the fourth preset speed range, the braking system is activated, the AEB start signal is obtained, and the ESC is not activated.

9. The method of claim 8, wherein, If the collision avoidance test target is an AEB system test target, within the collision avoidance test time range, the collision avoidance function test result is obtained based on the corresponding data of the collision avoidance test target and the parameters of the collision avoidance test target, specifically including any one of the following: Within the first AEB system test time range, the first AEB system test result is obtained based on the state of the AEB system, and the second AEB system test result is obtained based on the current vehicle acceleration, the second preset acceleration range, the brake master cylinder pressure, and the third preset pressure range. Within the first AEB system test time range, based on the basic test conditions after the AEB system is activated and the retention status of each parameter in the AEB system activation test conditions, the third AEB system test result is obtained; Within the testing timeframe of the second AEB system, the test results of the fourth AEB system are obtained based on the state of the AEB system.

10. An electronic device, comprising: include: A processor and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor, when executing the computer execution instructions, is used to implement the anti-collision function test method as described in any one of claims 1 to 9.

11. A computer readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, which, when executed by a processor, are used to implement the anti-collision function test method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Test method and test system for vehicle collision early warning system

    CN113405812A