Steering data test method, electronic device, and storage medium
By acquiring vehicle bus data and adjusting preset steering test conditions, the problems of low safety and efficiency in electric power steering system testing have been solved, achieving safe and efficient steering function testing.
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-21
AI Technical Summary
Existing technologies for testing electric power steering systems suffer from low operator safety and inefficiency.
By acquiring vehicle bus data and using electronic devices to adjust preset steering test conditions under basic steering conditions, various steering test results can be obtained, replacing manual testing in a real environment, ensuring safety and improving efficiency.
This approach improves the efficiency and accuracy of electric power steering system testing while ensuring the safety of test personnel.
Smart Images

Figure CN114923713B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automatic testing technology, and in particular to a method for testing turnaround data, an electronic device, and a storage medium. Background Technology
[0002] Electric power steering is a system within a vehicle that assists the driver in adjusting the vehicle's direction during driving. This electric power steering system is used in a variety of driving situations.
[0003] To ensure that the electric power steering system can be effectively applied to various driving situations, corresponding tests need to be conducted before the electric power steering system is applied to a vehicle. However, testing the electric power steering system by repeatedly driving at high speeds by testers cannot guarantee the safety of the testers, is highly dangerous, and is inefficient.
[0004] Therefore, how to improve the efficiency of testing electric power steering systems while ensuring the safety of test personnel has become an urgent problem to be solved. Summary of the Invention
[0005] This application provides a steering data testing method, electronic device, and storage medium to solve the technical problem of improving the efficiency of testing electric power steering systems while ensuring the safety of test personnel.
[0006] Firstly, this application provides a method for testing turnaround data, the method comprising:
[0007] The system acquires vehicle bus data and obtains data corresponding to the basic steering condition parameters, preset steering condition parameters, and steering target parameters when the driver operates the steering wheel during vehicle operation. The basic steering condition parameters include: power mode, actual status of Electronic Stability Program (ESP), road conditions, driver's door status, driver's seat belt status, and gear position.
[0008] Based on the data corresponding to the basic steering test conditions and parameters, the basic steering time range is obtained. The basic steering test conditions are: power mode is drive mode, ESP actual status is ESP fault-free status, road surface status is level road surface status, driver's door status is closed status, driver's seat belt status is fastened status and gear is forward gear.
[0009] Within the basic steering time range, steering test results are obtained based on the steering preset test conditions, the data corresponding to the steering preset condition parameters, the steering test target, and the data corresponding to the steering target parameters; the steering preset condition parameters include vehicle mode, vehicle speed, and brake pedal status;
[0010] The system generates visualization instructions based on the steering test results and sends these instructions to the display device. The visualization instructions are used to control the display device to show the steering test results.
[0011] In the above technical solution, the electronic device utilizes vehicle bus data obtained after completing vehicle operation to perform steering tests under the following basic conditions: power mode is drive mode, ESP actual state is ESP fault-free state, road surface state is level road surface state, driver's door state is closed state, driver's seat belt state is fastened state, and gear is forward gear. Different steering test conditions and steering test objectives limit different steering test situations and obtain test results corresponding to different steering test objectives. This replaces the process of testers conducting tests sequentially according to different steering test conditions and objectives in a real vehicle driving environment. This not only ensures the safety of testers during the testing process but also improves testing efficiency.
[0012] Optionally, within the basic steering time range, steering test results are obtained based on preset steering test conditions, data corresponding to preset steering condition parameters, steering test targets, and data corresponding to steering target parameters. Specifically, these results include:
[0013] Within the basic steering time range, the preset time range is determined based on the data corresponding to the preset steering test conditions and the preset steering condition parameters.
[0014] Within a preset time range, the steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters.
[0015] In the above technical solution, when steering test conditions are jointly defined by steering preset test conditions and steering basic test conditions, different steering preset test conditions are adjusted according to different steering test situations, instead of repeatedly adjusting the same steering basic test conditions in each test case. This not only reduces the risk of errors in the settings and improves accuracy, but also improves efficiency.
[0016] Optionally, within the basic steering time range, the preset time range is determined based on the data corresponding to the preset steering test conditions and the preset steering condition parameters, specifically including:
[0017] If the preset test condition is the first preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the first preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel rotation angle continues to change.
[0018] If the preset test condition is the second preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the second preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel is in the counterclockwise or clockwise rotation to the immovable state.
[0019] Optionally, within the basic steering time range, the preset time range is determined based on the data corresponding to the preset steering test conditions and the preset steering condition parameters, specifically including:
[0020] If the preset test condition is the first preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the first preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel rotation angle continues to change.
[0021] If the preset test condition is the second preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the second preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel is in the counterclockwise or clockwise rotation to the immovable state.
[0022] Optionally, the method further includes:
[0023] If the preset test condition is the third preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the third preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel rotation angle continues to change.
[0024] If the preset test condition is the fourth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the fourth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel is rotated counterclockwise or clockwise to a non-movable state.
[0025] Optionally, within a preset time range, steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including:
[0026] Within the preset time range of the third steering, obtain the test results of the third steering when the steering motor torque is not equal to zero;
[0027] Within the preset time range of the fourth steering, the test results of the fourth steering are obtained when the steering motor current is in a reduced state and the steering wheel rotation angle is the preset maximum angle.
[0028] Optionally, the method further includes:
[0029] If the preset test condition is the fifth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the fifth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the vehicle speed signal is in a decreasing state, the brake pedal is in an unpressed state, and the steering wheel rotation angle continues to change.
[0030] If the preset test condition is the sixth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the sixth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the second preset speed, the brake pedal is not pressed, the steering wheel rotation angle is continuously changing, and the vehicle voltage is continuously increasing to be greater than the first preset voltage or decreasing to be less than the second preset voltage.
[0031] Optionally, within a preset time range, steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including:
[0032] Within the preset time range of the fifth steering, obtain the fifth steering test results when the vehicle speed is the preset assist speed during steering wheel assistance;
[0033] Within the preset time range of the sixth steering, obtain the test results of the sixth steering when the steering wheel power assist release status is in the off state.
[0034] Optionally, the method further includes:
[0035] If the preset test condition is the seventh preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the seventh preset steering time range when the vehicle mode is in the process of switching between multiple preset modes in sequence, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the vehicle keeping assist function is in the active state.
[0036] If the preset test condition is the eighth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to meet the eighth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the hands-free highway assist function is activated.
[0037] Optionally, within a preset time range, steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including:
[0038] Within the preset time range of the seventh steering, obtain the test results of the seventh steering when the vehicle keeping assist function is active;
[0039] Within the preset time range of the eighth turn, the test results of the eighth turn were obtained when the hands-free highway assist function was activated.
[0040] In the above technical solution, the electronic device sets eight steering test conditions according to different preset test situations within the basic steering time range and obtains eight steering test results, thereby realizing the diversity of vehicle steering function testing.
[0041] In a second aspect, this application provides an electronic device, including: a processor and a memory communicatively connected to the processor;
[0042] The memory stores the instructions that the computer executes;
[0043] The processor executes computer execution instructions stored in memory to implement the turn data testing method involved in the first aspect.
[0044] Thirdly, this application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to implement the data switching test method involved in the first aspect.
[0045] This application provides a steering data testing method, electronic device, and storage medium. It acquires vehicle bus data and obtains from the vehicle bus data data the steering basic condition parameters, preset steering condition parameters, and steering target parameters corresponding to the driver's steering wheel operation during vehicle operation, including power mode, ESP actual state, road surface condition, driver's door state, driver's seatbelt state, and gear position. Based on the power mode being drive mode, the ESP actual state being ESP fault-free, the road surface condition being a level road surface, the driver's door state being closed, the driver's seatbelt state being fastened, and the gear being forward, the application obtains the steering basic test conditions and the corresponding steering basic condition parameters. The system obtains the basic steering time range and, based on the preset steering test conditions, the corresponding data of the preset steering condition parameters, the steering test target, and the corresponding data of the steering target parameters, obtains the steering test results. It then generates visualization instructions based on the steering test results and sends these instructions to the display device. These visualization instructions control the display device to show the steering test results, enabling testers to obtain different steering test results based on the basic steering test conditions and different steering test conditions and their corresponding steering test targets. This replaces the process of testers sequentially testing according to different steering test conditions and targets in a real vehicle driving environment, ensuring the safety of testers during the testing process and improving testing efficiency. Attached Figure Description
[0046] 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.
[0047] Figure 1 This is an application scenario diagram of the steering data testing method provided in an embodiment of this application;
[0048] Figure 2 A schematic flowchart of a steering data testing method provided in an embodiment of this application;
[0049] Figure 3 A flowchart illustrating a steering data testing method provided in another embodiment of this application;
[0050] Figure 4 This is a schematic diagram of the structure of a steering data testing device provided in an embodiment of this application;
[0051] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0052] 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
[0053] 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.
[0054] Electric power steering is a system within a vehicle that assists the driver in adjusting the vehicle's direction during driving. This electric power steering system is used in a variety of driving situations.
[0055] To ensure that the electric power steering system can be effectively applied to various driving situations, corresponding tests need to be conducted before the electric power steering system is applied to a vehicle. However, testing the electric power steering system by repeatedly driving at high speeds by testers cannot guarantee the safety of the testers, is highly dangerous, and is inefficient.
[0056] Therefore, how to improve the efficiency of testing electric power steering systems while ensuring the safety of test personnel has become an urgent problem to be solved.
[0057] To address the aforementioned technical problems, this application provides a steering data testing method, electronic device, and storage medium, aiming to improve the efficiency of testing electric power steering systems while ensuring the safety of test personnel. The technical concept of this application is: the electronic device obtains data corresponding to steering test conditions and steering test targets, including basic steering test conditions and preset steering test conditions, from vehicle bus data generated during vehicle operation. Within the steering test conditions, different test conditions are defined by adjusting the preset steering test conditions to test the corresponding targets under those conditions, thereby achieving efficient and diverse steering function testing while ensuring the safety of test personnel.
[0058] Figure 1 This is an application scenario diagram of the steering data 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; more specifically, this connection includes both an electrical connection and a communication connection.
[0059] When vehicle 10 performs a steering operation during operation, the electronic control unit of vehicle 10 transmits steering-related commands to other units via a bus. These commands include steering-related parameters and / or steering-related data to adjust or maintain the steering state of vehicle 10. Vehicle 10 stores the aforementioned bus data in its built-in storage unit. There is at least one vehicle 10 to ensure sufficient and diverse bus data, enabling it to cover various steering test scenarios.
[0060] When testing the vehicle's steering data, depending on the steering test environment and steering test objective, the electronic device 11 obtains the pre-configured steering test conditions stored locally, corresponding to the steering test environment. These steering test conditions include steering test parameters and the required data values or ranges for those parameters. The electronic device 11 acquires the bus data stored in the storage unit through its input unit, obtains the data corresponding to the steering test parameters from the acquired bus data, and determines the test data when the data corresponding to the steering test parameters is equal to the required data value and / or within the required data range. The electronic device 11 analyzes the characteristics of the steering test data to obtain the steering test results. Based on the steering test results, the electronic device generates a visualization command and sends it to the display device 12 to control the device to display the steering test results.
[0061] Figure 2 This is a flowchart illustrating a steering data testing method provided in one embodiment of this application. Figure 2 As shown, the steering data testing method provided in this application includes:
[0062] S201. The electronic device acquires vehicle bus data and obtains data corresponding to the basic steering condition parameters, preset steering condition parameters, and steering target parameters when the driver operates the steering wheel during vehicle operation from the vehicle bus data.
[0063] The vehicle bus data refers to data stored locally in at least one vehicle and transmitted on the bus within a preset time range. The type of bus data varies depending on the data type and / or instructions required by the actuators on the vehicle. In one embodiment, the bus data formats include: MDF, DAT, and BLF formats.
[0064] The basic steering condition parameters are parameters that need to be met in each steering data test case, which are multiple cases of steering data testing using bus data.
[0065] Steering preset condition parameters are parameters that need to be met in each steering data test case, which are different from other cases. That is, in the same bus data, different steering preset condition parameters limit the bus data in different time ranges corresponding to the test conditions in different steering data test cases.
[0066] The steering target parameters are the parameters corresponding to the steering function to be tested within the bus data within the time range defined by the steering condition parameters.
[0067] Among them, the basic steering condition parameter includes at least one basic steering condition sub-parameter, the preset steering condition parameter includes at least one preset steering condition sub-parameter, and the target steering parameter includes at least one target steering sub-parameter.
[0068] More specifically, the basic steering condition parameters include: power mode, ESP status, road conditions, driver's door status, driver's seatbelt status, and gear position.
[0069] S202. The electronic equipment obtains the steering foundation time range based on the steering foundation test conditions and the data corresponding to the steering foundation condition parameters.
[0070] The steering basic test conditions include the steering basic condition parameters in step S201.
[0071] The basic steering test conditions are the conditions determined when the bus data corresponding to the basic steering condition parameters in all vehicle bus data needs to meet the first steering preset data. More specifically, the basic steering test conditions are the conditions determined when the vehicle bus data corresponding to all basic steering condition sub-parameters needs to meet the first steering preset sub-data corresponding to the sub-parameters.
[0072] The steering base time range is the time range within which the acquired vehicle bus data meets the steering base test conditions, and the steering base time range includes at least one steering base time range.
[0073] More specifically, the basic steering test conditions are: power mode is drive mode, ESP actual status is ESP fault-free status, road surface status is level road surface status, driver's door status is closed status, driver's seat belt status is fastened status, and gear is forward.
[0074] S203. Within the basic steering time range, the electronic device obtains the steering test result based on the steering preset test conditions, the data corresponding to the steering preset condition parameters, the steering test target, and the data corresponding to the steering target parameters.
[0075] The steering base time range is obtained from step S202, while the steering preset condition parameters and steering target parameters are obtained from step S201.
[0076] The steering preset test conditions include steering preset condition parameters. The steering preset test conditions are the conditions that the bus data corresponding to the steering preset condition parameters in the vehicle bus data within the steering base time range must meet when the second steering preset data is obtained. More specifically, the steering preset test conditions are the conditions that the vehicle bus data corresponding to all steering preset condition sub-parameters within the steering base time range must meet when the second steering preset sub-data corresponding to the sub-parameters is obtained.
[0077] The steering test target includes steering target parameters. The steering test target is the target determined when the data corresponding to the steering target parameters in the vehicle bus data meets the preset steering target.
[0078] The steering test result refers to the situation where, within the basic steering time range, the data corresponding to the steering preset condition parameters meet the steering preset test conditions, and the data corresponding to the steering target parameters meet the steering test target, that is, the vehicle bus target data. More specifically, the situation of the vehicle bus target data includes, but is not limited to, the existence state of the vehicle bus target data and the statistical characteristics of the vehicle bus target data.
[0079] S204. The electronic device generates a visual instruction based on the steering test results and sends the visual instruction to the display device.
[0080] The steering test results are obtained from step S203.
[0081] The visualization command is used to control the display device to show the steering test results. More specifically, the visualization command is a command that converts the above test result data into a statistical chart or table that is easy for the user to observe and displays the statistical chart or table through the display device.
[0082] In the above technical solution, the electronic device utilizes vehicle bus data obtained after completing vehicle operation to perform steering tests under the following basic conditions: power mode is drive mode, ESP actual state is ESP fault-free state, road surface state is level road surface state, driver's door state is closed state, driver's seat belt state is fastened state, and gear is forward gear. Different steering test conditions and steering test objectives limit different steering test situations and obtain test results corresponding to different steering test objectives. This replaces the process of testers conducting tests sequentially according to different steering test conditions and objectives in a real vehicle driving environment. This not only ensures the safety of testers during the testing process but also improves testing efficiency.
[0083] Figure 3 This is a flowchart illustrating a steering data testing method according to another embodiment of this application, wherein the method is executed by an electronic device. Figure 3 As shown, the steering data testing method provided in this application includes:
[0084] S301. Obtain vehicle bus data, and obtain data corresponding to the basic steering condition parameters, preset steering condition parameters, and steering target parameters when the driver operates the steering wheel during vehicle operation from the vehicle bus data.
[0085] The vehicle bus data, basic steering condition parameters, preset steering condition parameters, and target steering parameters are explained in detail in step S201, and will not be repeated here.
[0086] More specifically, after obtaining vehicle bus data, the electronic device samples the vehicle bus data within a target time range according to the sampling frequency to obtain vehicle bus sampling data corresponding to multiple sampling time points.
[0087] The electronic devices obtain the steering basic condition parameters, steering preset condition parameters, and steering target parameters corresponding to the driver's steering wheel operation during vehicle operation from the vehicle bus data. These parameters are sampled data corresponding to the steering basic condition parameters, steering preset condition parameters, and steering target parameters at multiple sampling time points.
[0088] S302. Obtain the steering foundation time range based on the data corresponding to the steering foundation test conditions and steering foundation condition parameters.
[0089] The steering basic condition parameters and their corresponding data are obtained from step S301.
[0090] More specifically, the basic steering condition parameters include: power mode, ESP status, road conditions, driver's door status, driver's seatbelt status, and gear position.
[0091] After the electronic device obtains the vehicle bus sampling data by sampling the vehicle bus data, the data corresponding to the steering basic condition parameters include: power mode sampling data at multiple time points, ESP actual state sampling data, road surface state sampling data, driver's door state sampling data, driver's seat belt state sampling data, and gear sampling data.
[0092] After obtaining the sampled data corresponding to the basic steering condition parameters, the electronic device processes each basic steering test condition using a logic condition mapping table to obtain the corresponding logical expression for that basic steering test condition. Then, it processes the sampled data corresponding to the corresponding basic steering condition parameters using this logical expression to obtain the logical result for each sampled point. The logic condition mapping table represents the correspondence between each basic steering test condition and its corresponding logical expression.
[0093] The electronic device determines the time range in which the logical result of the steering basic test conditions corresponding to each sampling point is true as the steering basic time range.
[0094] More specifically, the basic steering test conditions are: power mode is drive mode, ESP actual state is ESP fault-free state, road surface state is level road surface state, driver's door state is closed state, driver's seat belt state is fastened state, and gear is drive. The corresponding basic steering time range is the time range corresponding to vehicle condition data that meets all the above basic steering test conditions within the entire time range corresponding to vehicle bus data. This time range is less than or equal to the entire time range corresponding to vehicle bus data. The basic steering time range includes at least one basic steering time sub-range. For example, "determine whether the power mode is drive mode" is a basic steering test sub-condition, and the corresponding basic steering test logic expression is "a = 1". Here, the logic variable "power mode" is converted to 'a', and the target sampled data "drive mode" is converted to the logic value 1. When the sampled data corresponding to the power mode at the sampling time point is drive mode, the basic test logic expression becomes "1 = 1", and its logical result is true. The consecutive sampling time points where the logical result is true constitute the corresponding original steering base time range. Combined with the time ranges where the logical result of other steering base test sub-conditions is true, the final time range is determined as the steering base time range. Among them, the logical result of each steering base test sub-condition corresponding to all time points within the steering base time range is true.
[0095] More specifically, when the sampling time points within the aforementioned steering base time range contain only one start time and one end time, the time period between the start and end times is defined as a steering base time period. When the sampling time points within the aforementioned steering base time range contain multiple start and end times, adjacent start and end times are defined as the start and end times of a steering base sub-time period, and multiple steering base sub-time periods are determined based on the multiple start and end times. The electronic device defines all steering base sub-time periods as the entire steering base time period, wherein the start time of each steering base sub-time period is earlier than its end time.
[0096] S303. Within the basic steering time range, the preset time range is determined based on the data corresponding to the preset steering test conditions and the preset steering condition parameters.
[0097] The basic time range for steering is determined in step S302.
[0098] Depending on the specific case being tested, the preset steering test conditions vary within the basic steering timeframe. Each preset steering test condition includes at least one preset steering test sub-condition.
[0099] After determining the basic steering time range, vehicle bus data corresponding to multiple sampling time points are obtained within this time range, and sampling data corresponding to steering preset condition parameters are obtained from this data. After obtaining the sampling data corresponding to the steering preset condition parameters, the electronic device processes the steering preset test conditions using a logic condition mapping table to obtain the steering preset test condition logic expression corresponding to the steering preset test condition. This logic expression is then used to process the sampling data corresponding to the steering preset condition parameters, obtaining the logic result corresponding to the steering preset test conditions for each sampling point. The logic condition mapping table has been explained in detail in step S302 and will not be repeated here.
[0100] Depending on the specific circumstances of the test case, this application proposes various preset steering test conditions, and defines different preset time ranges within the basic steering time range based on each preset steering test condition:
[0101] If the preset test condition is the first preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the first preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset speed, the brake pedal is depressed, and the steering wheel rotation angle continuously changes. This is to obtain the preset time range when the user performs braking operation and turns the steering wheel during vehicle use. In one embodiment, the first preset speed is 0 km / h.
[0102] More specifically, based on the first preset test conditions, the logical expression corresponding to the vehicle mode being normal mode, the vehicle speed being the first preset speed, the brake pedal being depressed, and the steering wheel rotation angle continuously changing is determined. In the vehicle bus data within the steering base time range, the logical value of the sampled data corresponding to each sampling time point is obtained. This logical value, combined with the above logical expression, is used to obtain the sampling time points where the logical result corresponding to each sub-condition in the first preset test conditions within the steering base time range is true, and the continuous sampling time points are determined as the first steering preset time range.
[0103] If the preset test condition is the second preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the second preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel is in the counterclockwise or clockwise rotation to the immovable state.
[0104] If the preset test condition is the third preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the third preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset speed, the brake pedal is not pressed, and the steering wheel rotation angle continues to change. In one embodiment, the second preset speed is 5 km / h.
[0105] If the preset test condition is the fourth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the fourth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel is rotated counterclockwise or clockwise to a non-movable state.
[0106] If the preset test condition is the fifth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained within the fifth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset speed, the vehicle speed signal is in a decreasing state, the brake pedal is not pressed, and the steering wheel rotation angle continues to change.
[0107] If the preset test condition is the sixth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the sixth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the second preset speed, the brake pedal is not pressed, the steering wheel rotation angle is continuously changing, and the vehicle voltage is continuously increasing to be greater than the first preset voltage or decreasing to be less than the second preset voltage.
[0108] If the preset test condition is the seventh preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters obtained satisfy the seventh preset steering time range when the vehicle mode is in the process of sequentially switching between multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the vehicle holding assist function is in the active state. In one embodiment, the third preset speed is 60 km / h.
[0109] If the preset test condition is the eighth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to meet the eighth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the hands-free highway assist function is activated.
[0110] The processing of the second to eighth preset turning time ranges obtained from the second to the eighth preset test conditions is the same as the processing of the first preset turning time range obtained from the first preset test conditions, and will not be described again here.
[0111] S304. Within a preset time range, obtain the steering test results based on the data corresponding to the steering test target and the steering target parameters.
[0112] The preset time range is obtained from step S303. More specifically, the preset time range varies depending on the specific case being tested.
[0113] After a preset time range is determined, vehicle bus data corresponding to multiple sampling time points are obtained within this time range, and sampling data corresponding to steering target parameters are obtained from this data. After obtaining the sampling data corresponding to the steering target parameters, the electronic device processes the steering test target using a logic condition mapping table to obtain the steering test target logic expression corresponding to the steering test target. This steering test target logic expression is then used to process the sampling data corresponding to the steering target parameters, obtaining the logic result corresponding to the steering test target for each sampling point. The logic condition mapping table has been explained in detail in step S302 and will not be repeated here.
[0114] Depending on the specific circumstances of the test case, this application proposes corresponding steering test objectives under different preset steering test conditions, and obtains corresponding steering test results based on the steering test objectives within a preset steering time range:
[0115] Within the first preset steering time range, the first steering test result is obtained when the steering motor torque is equal to zero.
[0116] Within the second steering preset time range, the second steering test results are obtained when the steering motor torque is less than zero and the steering wheel rotation angle is greater than the preset soft stop angle.
[0117] Within the preset time range for the third steering test, the test results are obtained when the steering motor torque is not equal to zero. Specifically, the steering motor torque can be greater than zero or less than zero.
[0118] Within the preset time range of the fourth steering, the test results of the fourth steering are obtained when the steering motor current is in a reduced state and the steering wheel rotation angle is the preset maximum angle.
[0119] Within the preset time range of the fifth steering, obtain the fifth steering test results when the vehicle speed is the preset assist speed during steering wheel assistance.
[0120] Within the preset time range for the sixth steering maneuver, the test results for the sixth steering maneuver are obtained when the steering assist activation state is off. More specifically, when the steering assist activation state is off, the vehicle's steering assist system stops providing steering assistance.
[0121] Within the preset time range of the seventh steering, obtain the test results of the seventh steering when the vehicle keeping assist function is active.
[0122] Within the preset time range of the eighth turn, the test results of the eighth turn were obtained when the hands-free highway assist function was activated.
[0123] S305. Generate a visualization command based on the steering test results and send the visualization command to the display device.
[0124] The steering test results are obtained from step S304.
[0125] The process of visualizing the turnaround test results has been explained in detail in step S204 and will not be repeated here.
[0126] In the above technical solution, when steering test conditions are jointly defined by steering preset test conditions and steering basic test conditions, different steering preset test conditions are adjusted according to different steering test situations, instead of repeatedly adjusting the same steering basic test conditions in each test case. This not only reduces the risk of errors in the settings and improves accuracy, but also improves efficiency.
[0127] like Figure 4 As shown, one embodiment of this application provides a steering data testing device 400, which includes:
[0128] The acquisition module 401 is used to acquire vehicle bus data and obtain data corresponding to the basic steering condition parameters, preset steering condition parameters and steering target parameters when the driver operates the steering wheel during vehicle operation from the vehicle bus data. The basic steering condition parameters include: power mode, ESP actual status, road surface status, driver's door status, driver's seat belt status and gear position.
[0129] The processing module 402 is used to obtain the steering base time range based on the steering base test conditions and the data corresponding to the steering base condition parameters. The steering base test conditions are: power mode is drive mode, ESP actual status is ESP fault-free status, road surface status is level road surface status, driver's door status is closed status, driver's seat belt status is fastened status and gear is forward gear.
[0130] The processing module 402 is also used to obtain the steering test result within the basic steering time range based on the steering preset test conditions, the data corresponding to the steering preset condition parameters, the steering test target, and the data corresponding to the steering target parameters. The steering preset condition parameters include vehicle mode, vehicle speed, and brake pedal status.
[0131] The processing module 402 is also used to generate visualization instructions based on the test result data and send the visualization instructions to the display device. The visualization instructions are used to control the display device to display the test result data.
[0132] In one embodiment, the processing module 402 is specifically used for:
[0133] Within the basic steering time range, the preset time range is determined based on the data corresponding to the preset steering test conditions and the preset steering condition parameters.
[0134] Within a preset time range, the steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters.
[0135] In one embodiment, the processing module 402 is specifically used for:
[0136] If the preset test condition is the first preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the first preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel rotation angle continues to change.
[0137] If the preset test condition is the second preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the second preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel is in the counterclockwise or clockwise rotation to the immovable state.
[0138] In one embodiment, the processing module 402 is specifically used for:
[0139] Within the first preset steering time range, obtain the first steering test result when the steering motor torque is equal to zero;
[0140] Within the second steering preset time range, the second steering test results are obtained when the steering motor torque is less than zero and the steering wheel rotation angle is greater than the preset soft stop angle.
[0141] In one embodiment, the processing module 402 is specifically used for:
[0142] If the preset test condition is the third preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the third preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel rotation angle continues to change.
[0143] If the preset test condition is the fourth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the fourth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel is rotated counterclockwise or clockwise to a non-movable state.
[0144] In one embodiment, the processing module 402 is specifically used for:
[0145] Within the preset time range of the third steering, obtain the test results of the third steering when the steering motor torque is not equal to zero;
[0146] Within the preset time range of the fourth steering, the test results of the fourth steering are obtained when the steering motor current is in a reduced state and the steering wheel rotation angle is the preset maximum angle.
[0147] In one embodiment, the processing module 402 is specifically used for:
[0148] If the preset test condition is the fifth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the fifth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the vehicle speed signal is in a decreasing state, the brake pedal is in an unpressed state, and the steering wheel rotation angle continues to change.
[0149] If the preset test condition is the sixth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the sixth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the second preset speed, the brake pedal is not pressed, the steering wheel rotation angle is continuously changing, and the vehicle voltage is continuously increasing to be greater than the first preset voltage or decreasing to be less than the second preset voltage.
[0150] In one embodiment, the processing module 402 is specifically used for:
[0151] Within the preset time range of the fifth steering, obtain the fifth steering test results when the vehicle speed is the preset assist speed during steering wheel assistance;
[0152] Within the preset time range of the sixth steering, obtain the test results of the sixth steering when the steering wheel power assist release status is in the off state.
[0153] In one embodiment, the processing module 402 is specifically used for:
[0154] If the preset test condition is the seventh preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to satisfy the seventh preset steering time range when the vehicle mode is in the process of switching between multiple preset modes in sequence, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the vehicle keeping assist function is in the active state.
[0155] If the preset test condition is the eighth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters are obtained to meet the eighth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the hands-free highway assist function is activated.
[0156] In one embodiment, the processing module 402 is specifically used for:
[0157] Within the preset time range of the seventh steering, obtain the test results of the seventh steering when the vehicle keeping assist function is active;
[0158] Within the preset time range of the eighth turn, the test results of the eighth turn were obtained when the hands-free highway assist function was activated.
[0159] like Figure 5 As shown, one embodiment of this application provides an electronic device 500, which includes a memory 501 and a processor 502.
[0160] The memory 501 is used to store computer instructions that can be executed by the processor.
[0161] The processor 502 implements the various steps of the data redirection testing method in the above embodiments when executing computer instructions. For details, please refer to the relevant descriptions in the foregoing method embodiments.
[0162] 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.
[0163] This application also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the various steps in the data testing method described above.
[0164] This application also provides a computer program product, including computer instructions that, when executed by a processor, implement the various steps in the data testing method described above.
[0165] 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.
[0166] 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 for testing steering data, characterized in that, The method includes: The vehicle bus data is acquired, and data corresponding to the basic steering condition parameters, preset steering condition parameters, and steering target parameters when the driver operates the steering wheel during vehicle operation are obtained from the vehicle bus data. The basic steering condition parameters include: power mode, ESP actual status, road condition, driver's door status, driver's seat belt status, and gear position. Based on the steering basic test conditions and the data corresponding to the steering basic condition parameters, the steering basic time range is obtained. The steering basic test conditions are: the power mode is drive mode, the actual ESP status is ESP fault-free status, the road surface status is level road surface status, the driver's door status is closed status, the driver's seat belt status is fastened status and the gear is forward. Within the aforementioned basic steering time range, steering test results are obtained based on preset steering test conditions, data corresponding to the preset steering condition parameters, steering test targets, and data corresponding to the steering target parameters; the preset steering condition parameters include vehicle mode, vehicle speed, and brake pedal status. A visualization instruction is generated based on the steering test results, and the visualization instruction is sent to the display device. The visualization instruction is used to control the display device to display the steering test results. Within the stated basic steering time range, steering test results are obtained based on preset steering test conditions, data corresponding to preset steering condition parameters, the steering test target, and data corresponding to the steering target parameters. Specifically, this includes: If the preset test condition is the first preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters is obtained to satisfy the first preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel rotation angle continues to change. If the preset test condition is the second preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters is obtained to satisfy the second preset steering time range when the vehicle mode is normal mode, the vehicle speed is the first preset vehicle speed, the brake pedal is in the depressed state, and the steering wheel is in the counterclockwise or clockwise rotation to the immovable state. Within the preset time range, the steering test results are obtained based on the data corresponding to the steering test target and the steering target parameters.
2. The method according to claim 1, characterized in that, Within the preset time range, the steering test result is obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including: Within the first preset steering time range, the first steering test result is obtained when the steering motor torque is equal to zero; Within the second steering preset time range, the second steering test results are obtained when the steering motor torque is less than zero and the steering wheel rotation angle is greater than the preset soft stop angle.
3. The method according to claim 1, characterized in that, The method further includes: If the preset test condition is the third preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters is obtained to satisfy the third preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel rotation angle continues to change. If the preset test condition is the fourth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters obtained meet the fourth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the brake pedal is not pressed, and the steering wheel is rotated counterclockwise or clockwise to an immovable state.
4. The method according to claim 3, characterized in that, Within the preset time range, the steering test result is obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including: Within the preset time range of the third steering, the test results for the third steering when the steering motor torque is not equal to zero are obtained; Within the preset time range of the fourth steering, the fourth steering test results are obtained when the steering motor current is in a reduced state and the steering wheel rotation angle is the preset maximum angle.
5. The method according to claim 1, characterized in that, The method further includes: If the preset test condition is the fifth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters is obtained to satisfy the fifth preset steering time range when the vehicle mode is normal mode, the vehicle speed is the second preset vehicle speed, the vehicle speed signal is in a decreasing state, the brake pedal is in an unpressed state, and the steering wheel rotation angle continues to change. If the preset test condition is the sixth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters obtained meet the sixth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the second preset speed, the brake pedal is in an unpressed state, the steering wheel rotation angle is continuously changing, and the vehicle voltage is continuously increasing to a level greater than the first preset voltage or decreasing to a level less than the second preset voltage.
6. The method according to claim 5, characterized in that, Within the preset time range, the steering test result is obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including: Within the preset time range of the fifth steering, the fifth steering test results are obtained when the vehicle speed is the preset steering assist speed during steering wheel assistance. Within the preset time range of the sixth steering, the test results of the sixth steering when the steering wheel power assist release state is in the off state are obtained.
7. The method according to claim 1, characterized in that, The method further includes: If the preset test condition is the seventh preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters obtained meet the seventh preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the vehicle keeping assist function is in the active state. If the preset test condition is the eighth preset test condition, within the basic steering time range, the data corresponding to the steering preset condition parameters obtained meet the eighth preset steering time range when the vehicle mode is in the process of sequentially switching multiple preset modes, the vehicle speed is the third preset speed, the brake pedal is not pressed, and the hands-free highway assist function is activated.
8. The method according to claim 7, characterized in that, Within the preset time range, the steering test result is obtained based on the data corresponding to the steering test target and the steering target parameters, specifically including: Within the preset time range of the seventh steering, the test results of the seventh steering when the vehicle holding assist function is activated are obtained; Within the preset time range of the eighth turn, the test results of the eighth turn are obtained when the hands-free highway assist function is activated.
9. An electronic device, characterized in that, 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 steering data testing method as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, are used to implement the steering data testing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Electronic parking braking system and control method thereof
CN103569076A
Vehicle hardware-in-the-loop (HIL) test method, device and system
CN108628280A
Control method and device for a working condition method energy consumption test
CN111007843A