Adjustment simulation system and method
By acquiring and filtering initial data to generate target data, simulating vehicle ECU operations and adjusting ADAS algorithms, it solves the problems of complex virtual model construction and difficulty in reproducing test conditions, and improves the speed of solving abnormal vehicle problems.
Patent Information
- Application Number
- CN202310341693.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, the construction of virtual models is complex and the reproducibility of test conditions is difficult, resulting in slow resolution of abnormal vehicle problems.
By obtaining initial road test data, filtering out relevant control data to generate target road test data, and simulating vehicle data operations in the external ECU, the ADAS algorithm is adjusted to solve abnormal problems and reduce the number of adjustments to the vehicle ADAS algorithm.
It improves the efficiency of solving vehicle abnormality problems, reduces the number of adjustments to the ADAS algorithm, and avoids the need to build virtual models.
Smart Images

Figure CN118732641A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle autonomous driving, and in particular to a calibration simulation system and method. Background Art
[0002] At present, if a vehicle encounters an abnormal problem during road testing (for example, braking without reason), it is necessary to build multiple virtual models of sensors and vehicles to adjust the vehicle's advanced driver assistance system (ADAS) algorithm to solve the above abnormal problem. However, since the construction of virtual models is extremely complex and time-consuming, and it is difficult to reproduce the same test conditions in road testing, the speed of solving abnormal problems of vehicles is slow. Summary of the invention
[0003] In view of the above, it is necessary to provide a calibration simulation system and method to solve the technical problem that the construction of the virtual model is extremely complex and it is difficult to reproduce the same test conditions, which takes a lot of time and leads to slow resolution of vehicle abnormal problems.
[0004] The present application provides a calibration simulation method, which includes: obtaining initial road test data of a vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system (ADAS) in the vehicle, filtering the first control data from the initial road test data to obtain target road test data, and inputting the target road test data into an external ECU so that data operations of the ECU in the vehicle are simulated in the external ECU.
[0005] In some embodiments, the method further includes: after inputting the target road test data into the external ECU, obtaining second control data output by the external ECU, parsing the target road test data according to the second control data to obtain a parsing result, and adjusting the initial ADAS algorithm in the external ECU according to the parsing result to obtain a target ADAS algorithm.
[0006] In some embodiments, if the second control data includes an automatic emergency braking signal and the second control data is the same as the first control data, parsing the target road test data according to the second control data to obtain the parsing result includes: determining whether the vehicle meets the triggering condition of the automatic emergency braking signal according to the target road test data to obtain the parsing result.
[0007] In some embodiments, adjusting the initial ADAS algorithm in the external ECU according to the analysis result to obtain the target ADAS algorithm includes: if the analysis result is that the vehicle does not meet the triggering condition of the automatic emergency braking signal, adjusting the vehicle speed dissociation threshold calibration value in the initial ADAS algorithm until the control signal output by the adjusted initial ADAS algorithm does not include the automatic emergency braking signal, and using the adjusted initial ADAS algorithm as the target ADAS algorithm.
[0008] In some embodiments, when the vehicle speed dissociation threshold calibration value of the external ECU is adjusted multiple times, the target road test data input to the external ECU after each adjustment is fixed.
[0009] In some embodiments, the initial road test data includes data acquired during a road test of the vehicle.
[0010] In some embodiments, the method for acquiring the initial road test data includes: acquiring data through a data acquisition interface of the electronic device, and performing data segmentation on the acquired data to obtain the initial road test data.
[0011] In some embodiments, performing data segmentation on the acquired data to obtain the initial road test data includes: performing data segmentation on the acquired data according to a preset time period to obtain the initial road test data.
[0012] In some embodiments, the method further includes: determining data with a preset identifier in the initial road test data as the first control data.
[0013] The present application provides a calibration simulation device, which runs on an electronic device, and the calibration simulation device includes: an acquisition unit, which is used to acquire initial road test data of a vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system (ADAS) in the vehicle; a filtering unit, which is used to filter the first control data from the initial road test data to obtain target road test data; and an input unit, which is used to input the target road test data into an external ECU, so that data operations of the ECU in the vehicle are simulated in the external ECU.
[0014] The present application provides a calibration simulation system, which includes a controller ECU of an advanced driver assistance system (ADAS) and an electronic device, wherein the electronic device communicates with the ECU and includes: a memory storing at least one instruction, and a processor executing the at least one instruction to implement the calibration simulation method.
[0015] Through the above implementation, the initial road test data includes the data generated by the vehicle during the road test process. If the vehicle has an abnormal problem during the road test (for example, the vehicle brakes for no reason when following the vehicle in front), the initial road test data also includes the data corresponding to the abnormal situation of the vehicle. The present application inputs the target road test data into the adjusted external ECU, wherein the initial ADAS algorithm of the external ECU can be adjusted multiple times. Since the target road test data is the data generated after the initial road test data is filtered out of the first control data, the ADAS algorithm adjusted each time is not interfered by the first control data when calculating the target road test data, and it also ensures that the target road test data input to the ADAS algorithm adjusted each time is fixed. The ADAS algorithm adjusted each time is used to calculate the fixed target road test data, and the control data output by the ADAS algorithm adjusted each time is obtained. The control data output multiple times is compared, which is equivalent to comparing the effect of the ADAS algorithm adjusted multiple times on the solution of the abnormal problem, so that the target ADAS algorithm that solves the above vehicle problem can be accurately found in the ADAS algorithm adjusted multiple times. Since the external ECU is the same as the ECU in the vehicle and has the same ADAS algorithm as the ECU in the vehicle, the abnormal problems in the vehicle can be solved by adjusting the ADAS algorithm in the vehicle according to the target ADAS algorithm, and the number of adjustments to the ADAS algorithm in the vehicle can be reduced. Since there is no need to build multiple virtual models such as sensors and vehicles, the efficiency of solving abnormal problems in the vehicle can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is an application environment diagram of the calibration simulation method provided in one embodiment of the present application.
[0017] Figure 2 4 is a flow chart of a calibration simulation method provided in one embodiment of the present application.
[0018] Figure 3 This is a schematic diagram of the distribution of the first control data in the initial road test data provided by an embodiment of the present application.
[0019] Figure 4 (a) and Figure 4 (b) is a schematic diagram for comparing initial road test data and target road test data provided in an embodiment of the present application.
[0020] Figure 5 It is a flowchart of a method for adjusting an initial ADAS algorithm provided in one embodiment of the present application.
[0021] Figure 6 (a) and Figure 6 (b) is a schematic diagram comparing the control data output by the initial ADAS algorithm and the target ADAS algorithm provided in one embodiment of the present application.
[0022] Figure 7 It is a functional module diagram of the calibration simulation device provided in an embodiment of the present application.
[0023] Figure 8 It is a structural schematic diagram of an electronic device for a calibration simulation method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0025] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.
[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] The calibration simulation method provided in the embodiment of the present application can be applied to one or more electronic devices.
[0028] like Figure 1 , is a diagram of the application environment of the calibration simulation method provided by an embodiment of the present application. Figure 1In the figure, there are an electronic device 1, an electronic control unit (ECU) 2 (hereinafter referred to as ECU2) of an advanced driver assistance system (ADAS), a bus analysis device 3 and a bus 4. The electronic device 1 communicates with the ECU2 through the bus analysis device 3 and the bus 4.
[0029] When performing data collection, one end of the bus analysis device 3 is connected to the vehicle undergoing road testing, and the other end is connected to the electronic device 1, so that the bus analysis device 3 can collect CAN data from the bus of the vehicle (for example, the controller area network bus Controller Area Network, CAN of the vehicle) and transmit it to the electronic device 1. For example, the bus analysis device 3 can be a CANcase.
[0030] The CAN data collected by the bus analysis device 3 from the bus of the vehicle includes the body data of the vehicle (for example, the speed and longitudinal acceleration of the vehicle, etc.), the self-data of the sensors in the vehicle, the sensor data collected by the sensors, and the control data obtained by the ECU in the vehicle after calculating the body data, the self-data and the sensor data, etc.
[0031] After the data collection is completed, the bus analysis device 3 disconnects from the vehicle and then establishes a connection with the ECU2. One end of the electronic device 1 is connected to the bus analysis device 3, and the other end is connected to the ECU2 through the bus 4. The electronic device 1 processes the CAN data obtained from the bus analysis device 3, for example, filtering and cutting the CAN data. The electronic device 1 inputs the processed CAN data into the ECU2 through the bus analysis device 3, and obtains the control data output by the ECU2 through the bus analysis device 3. Based on the bus 4, the electronic device 1 can modify the ADAS algorithm in the ECU2. The bus 4 can be a CAN bus, for example, the CAN bus can be ES582.
[0032] The electronic device 1 is a device that can automatically calculate parameter values and / or process information according to pre-set or stored instructions, and its hardware includes, but is not limited to: a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.
[0033] The electronic device 1 can be any electronic product that can perform human-computer interaction with a user, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.
[0034] The electronic device 1 may also include a network device and / or a user device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers based on cloud computing. Figure 1 It is only an example of the electronic device 1 and does not constitute a limitation of the electronic device 1. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 1 may also include input and output devices, network access devices, buses, etc.
[0035] The network where the electronic device 1 is located includes but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.
[0036] In one embodiment of the present application, the ECU2 is an independent controller separated from the vehicle. The ECU2 is the same as the ECU in the vehicle in terms of structure and function, and has an ADAS algorithm corresponding to the advanced driver assistance system ADAS that is the same as the ECU in the vehicle. The ADAS algorithm can be used to operate on input data and output control data for the vehicle.
[0037] like Figure 2 FIG. 1 is a flow chart of a calibration simulation method provided by an embodiment of the present application. The method is applied to electronic equipment, such as Figure 1The electronic device 1 shown specifically includes the following process. According to different requirements, the order of each step in the flow chart can be adjusted according to actual requirements, and some steps can be omitted.
[0038] S1 1, acquiring initial road test data of a vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system ADAS in the vehicle.
[0039] In some embodiments, the initial road test data includes CAN data of the vehicle during the road test. The initial road test data includes the body data of the vehicle, the sensor data detected by the sensor on the vehicle, the data of the sensor itself, and the first control data output by the ECU in the vehicle, etc. The sensor includes, but is not limited to: radar and shooting equipment, etc. The shooting equipment includes, but is not limited to: lens, camera and camera, etc. The first control data is the data output by the ECU in the vehicle after calculating the input data such as the body data, the sensor data and the data of the sensor itself. The first control data includes, but is not limited to: automatic emergency braking signal (Autonomous Emergency Braking, AEB) and braking deceleration, etc. The automatic emergency braking signal is usually accompanied by the braking deceleration, and the automatic emergency braking signal and the braking deceleration will cause the vehicle to brake urgently. For example, the automatic emergency braking signal and the braking deceleration will cause the speed of the vehicle to drop to zero in a short time (for example, 1 second or 2 seconds). The ECU in the vehicle can be a built-in ECU in the vehicle.
[0040] The data of the sensor itself includes, but is not limited to: the state of the first control system in the vehicle, the state of the radar, the state of the camera, etc. The first control system includes, but is not limited to: Anti-Lock Brake System (ABS), Traction Control System (TCS), Electronic Stability Control (ESC).
[0041] The sensor data includes an image of a shooting target object captured by the shooting device, the distance between the shooting target object and the vehicle, the type of the shooting target object, the speed of the shooting target object, the distance between the vehicle and the detection target object detected by the radar, the type of the detection target object, the identification of the detection target object, and the speed of the detection target object, etc. The shooting target object and the detection target object can be any object, and the shooting target object and the detection target object can be exactly the same or partially overlap. For example, the shooting target object can be a vehicle located in front of the vehicle and a vehicle located behind the vehicle. The detection target object can be multiple vehicles located in front of the vehicle, behind the vehicle, and around the vehicle.
[0042] The vehicle body data includes the vehicle speed, longitudinal acceleration, yaw rate, brake signal, steering signal, brake master cylinder oil pressure, and control signal output by the second control system in the vehicle, etc. The second control system includes, but is not limited to: Adaptive Cruise Control (ACC), Lane Keeping Assist (LKA), Lane Departure Warning (LDW), etc.
[0043] The initial road test data listed above are only examples, and the initial road test data in actual situations are not limited thereto.
[0044] In some embodiments, in the process of acquiring the initial road test data, the data acquisition interface of the electronic device is connected to one end of a bus analysis device (e.g., the above-mentioned bus analysis device 3), and the other end of the bus analysis device is connected to a vehicle undergoing a road test. The bus analysis device can collect CAN data from the bus of the vehicle (e.g., the controller area network bus (CAN) of the vehicle) and transmit it to the electronic device through the data acquisition interface. The electronic device performs data segmentation on the CAN data acquired through the data acquisition interface to obtain the initial road test data.
[0045] In one embodiment of the present application, the electronic device can perform data segmentation on the acquired CAN data according to a preset time period (e.g., 9:00 a.m. to 11:00 a.m.). For example, the electronic device can obtain data within the preset time period as the initial road test data from the acquired data by data segmentation. The preset time period can be set voluntarily, and the present application does not limit this.
[0046] For example, if the first control data includes an automatic emergency braking signal, the electronic device analyzes the first control data to determine the triggering time point of the automatic emergency braking signal, and then the electronic device can select a first time point before the triggering time point and a second time point after the triggering time point, and determine the time period formed by the first time point and the second time point as the preset time period. For example, if the triggering time point is 10 a.m., the first time point is 9:40 a.m. on the same day, and the second time point is 11:30 a.m. on the same day, the time period between 9:40 a.m. and 11:30 a.m. on that day is the preset time period.
[0047] In another embodiment, the preset time period may be a fixed length of time. For example, the 24 hours of a day may be divided into 12 time periods with every two hours as a preset time period. The time periods may also be divided according to a preset time range. For example, for the time range from 6:00 to 24:00 every day, the preset time periods may be divided every two hours. The actual application is not limited to the description in the above embodiments.
[0048] S12, filtering the first control data from the initial road test data to obtain target road test data.
[0049] In some embodiments, the electronic device determines the data with a preset identifier in the initial road test data as the first control data, and filters out the data with the preset identifier in the initial road test data to obtain the target road test data. The preset identifier can be set by yourself, and this application does not limit this. For example, the preset identifier includes, but is not limited to: numbers, letters, or a combination of numbers and letters, etc.
[0050] like Figure 3 , which is a schematic diagram of the distribution of the first control data in the initial road test data provided by an embodiment of the present application. Figure 3 The data in is the initial road test data, and the first control data is Figure 3 The preset identifier of the initial road test data in the device is Error Frame, so the electronic device determines the data with the Error Frame identifier as the first control data.
[0051] Figure 4 (a) and Figure 4 (b) is a schematic diagram for comparing initial road test data and target road test data provided in an embodiment of the present application. Figure 4 (a) in the figure is the initial road test data. Figure 4 (b) in Figure 4(a) in FIG. 1 corresponds to the target road test data. Figure 4 (a) includes an automatic emergency braking signal, the vehicle speed of the vehicle, and the distance between the vehicle and a target object. Figure 4 After the automatic emergency braking signal in (a), we get Figure 4 In (b), we can see Figure 4 (b) in the figure no longer has an automatic emergency braking signal.
[0052] In this embodiment, since the target road test data is generated after filtering the first control data from the initial road test data, the adjusted external ECU will not be interfered by the first control data when performing calculations on the target road test data. At the same time, it also ensures that the target road test data input into the adjusted external ECU each time is fixed.
[0053] S13, inputting the target road test data into an external ECU so that the data operation of the ECU in the vehicle is simulated in the external ECU.
[0054] In some embodiments, the external ECU is a controller separated from the vehicle, the external ECU is the same as the ECU in the vehicle, and the external ECU has the same ADAS algorithm as the ECU in the vehicle.
[0055] In another embodiment, the ECU in the vehicle may be separated from the vehicle to obtain the external ECU.
[0056] In some embodiments, the electronic device can adjust the initial ADAS algorithm in the external ECU according to actual requirements. For example, if the vehicle brakes without reason, it may be that the setting of the vehicle speed dissociation threshold calibration value of the initial ADAS algorithm in the external ECU is unreasonable. The vehicle speed dissociation threshold calibration value is the basis for the initial ADAS algorithm to determine whether the vehicle meets the triggering conditions of the automatic emergency automatic signal. For example, when the vehicle is following the vehicle in front, the vehicle speed of the vehicle is greater than the vehicle speed dissociation threshold calibration value, then the initial ADAS algorithm will determine that the vehicle meets the triggering conditions of the automatic emergency automatic signal. Therefore, the vehicle speed dissociation threshold calibration value can be adjusted multiple times to obtain the ADAS algorithm after multiple adjustments of the external ECU.
[0057] The electronic device is connected to one end of the bus analysis device via a data acquisition interface, and the other end of the bus analysis device is connected to the external ECU. The electronic device can send the target road test data to the bus analysis device via the data acquisition interface in the electronic device, input the target road test data into each adjusted ADAS algorithm of the external ECU via the bus analysis device, and then obtain the control data output by each adjusted ADAS algorithm for each input target road test data from the external ECU via the bus analysis device. Among them, the target road test data input into each adjusted ADAS algorithm is fixed.
[0058] In this embodiment, since the external ECU is a controller separated from the vehicle, even if the initial ADAS algorithm in the external ECU is adjusted multiple times, it will not cause damage to the vehicle system. In addition, since the target road test data input to the ADAS algorithm after each adjustment is fixed, comparing the control data output multiple times is equivalent to comparing the effect of the ADAS algorithm adjusted multiple times on solving the abnormal problem, so that the target ADAS algorithm that solves the above vehicle problem can be accurately found among the ADAS algorithms adjusted multiple times.
[0059] Through the above implementation, the initial road test data includes the data obtained by the vehicle during the road test. If the vehicle has an abnormal problem during the road test (for example, the vehicle brakes for no reason when following the vehicle in front), the initial road test data also includes the data corresponding to the abnormal situation of the vehicle. The present application inputs the target road test data into the adjusted external ECU, wherein the initial ADAS algorithm of the external ECU can be adjusted multiple times. Since the target road test data is the data generated after the initial road test data is filtered out of the first control data, the ADAS algorithm adjusted each time is not interfered by the first control data when calculating the target road test data, and it also ensures that the target road test data input to the ADAS algorithm adjusted each time is fixed. The ADAS algorithm adjusted each time is used to calculate the fixed target road test data, and the control data output by the ADAS algorithm adjusted each time is obtained. The control data output multiple times is compared, which is equivalent to comparing the effect of the ADAS algorithm adjusted multiple times on the solution of the abnormal problem, so that the target ADAS algorithm that solves the above vehicle problem can be accurately found in the ADAS algorithm adjusted multiple times. Since the external ECU is the same as the ECU in the vehicle and has the same ADAS algorithm as the ECU in the vehicle, the abnormal problems in the vehicle can be solved by adjusting the ADAS algorithm in the vehicle according to the target ADAS algorithm, and the number of adjustments to the ADAS algorithm in the vehicle can be reduced. Since there is no need to build multiple virtual models such as sensors and vehicles, the speed of solving abnormal problems in the vehicle can be increased.
[0060] In another embodiment of the present application, after the target road test data is input into the external ECU, the electronic device may further perform the following steps: Figure 5 The process is described as shown in the figure. Figure 5 , which is a flow chart of a method for adjusting an initial ADAS algorithm provided in one embodiment of the present application.
[0061] S131 , after inputting the target road test data into the external ECU, the electronic device acquires second control data output by the external ECU.
[0062] In some embodiments, since the external ECU has the same ADAS algorithm as the ECU in the vehicle, when no adjustment is made to the initial ADAS algorithm of the external ECU, the second control data is the same as the first control data. When the second control data is the same as the first control data, it means that any modification made on the external ECU can be equivalent to the modification made on the ECU in the vehicle.
[0063] S132: If the second control data includes an automatic emergency braking signal and the second control data is the same as the first control data, the electronic device analyzes the target road test data according to the second control data to obtain an analysis result.
[0064] In some embodiments, when the second control data is the same as the first control data and the second control data includes an automatic emergency braking signal, the electronic device determines whether the vehicle meets the triggering conditions of the automatic emergency braking signal based on the target road test data to obtain the analysis result.
[0065] The analysis result includes that the vehicle does not meet the triggering condition of the automatic emergency braking signal and that the vehicle meets the triggering condition of the automatic emergency braking signal.
[0066] In some embodiments, the electronic device may judge the target road test data according to preset rules to determine whether the vehicle meets the triggering conditions of the automatic emergency braking signal. The preset rules can be set by yourself, and this application does not limit this. For example, the target road test data includes the relative distance and relative speed between the vehicle and the vehicle in front. If the relative distance is greater than the preset safety distance and the relative speed is less than zero, the electronic device determines the analysis result as the vehicle does not meet the triggering conditions of the automatic emergency braking signal, or, if the relative distance is less than the preset safety distance and the relative speed is greater than zero, the electronic device determines the analysis result as the vehicle meets the triggering conditions of the automatic emergency braking signal.
[0067] Among them, the leading vehicle may be the vehicle that is closest to the front of the vehicle, the relative vehicle distance may be the vehicle distance between the vehicle and the leading vehicle in the longitudinal direction, and the relative vehicle speed may be the difference between the vehicle speed of the vehicle and the leading vehicle speed of the leading vehicle. If the relative vehicle speed is less than zero, it means that the vehicle speed is less than the leading vehicle speed, or, if the relative vehicle speed is equal to zero, it means that the vehicle speed is equal to the leading vehicle speed, or, if the relative vehicle speed is greater than zero, it means that the vehicle speed is greater than the leading vehicle speed.
[0068] The above-listed methods for determining whether the vehicle meets the triggering condition of the automatic emergency braking signal are only examples, and the determination method in actual situations is not limited thereto.
[0069] In this embodiment, when the second control data includes an automatic emergency braking signal and the second control data is the same as the first control data, it means that the first control data also includes the automatic emergency braking signal. It can be understood that when the automatic emergency braking signal is included in the first control data, it means that the vehicle has emergency braking behavior when performing road testing. Therefore, the environment of the vehicle when performing emergency braking can be analyzed through the target road test data to determine whether the triggering of the automatic emergency braking signal is reasonable, thereby verifying whether the ADAS algorithm of the ECU in the vehicle is sufficiently intelligent and accurate.
[0070] S133, the electronic device adjusts the initial ADAS algorithm in the external ECU according to the analysis result to obtain a target ADAS algorithm.
[0071] In some embodiments, if the analysis result is that the vehicle does not meet the triggering condition of the automatic emergency braking signal, the vehicle speed disengagement threshold calibration value in the initial ADAS algorithm is adjusted until the control signal output by the adjusted initial ADAS algorithm does not include the automatic emergency braking signal, and the adjusted initial ADAS algorithm is used as the target ADAS algorithm.
[0072] In this embodiment, the electronic device is connected to the external ECU via a bus, so the electronic device can modify the initial ADAS algorithm in the external ECU via the bus and save the modified ADAS algorithm to the external ECU. The bus may be a CAN bus, for example, an ES582 bus.
[0073] For example, the electronic device modifies the vehicle speed dissociation threshold calibration value in the initial ADAS algorithm from 0 kilometers per hour (0 kph) to 8 kilometers per hour (8 kph) to obtain the target ADAS algorithm.
[0074] In some embodiments, when the vehicle speed dissociation threshold calibration value of the external ECU is adjusted multiple times, the target road test data input to the external ECU after each adjustment is fixed. It is understandable that the electronic device can continuously input the same target road test data into the ADAS algorithm of the external ECU after each adjustment.
[0075] In this embodiment, an unreasonable setting of the vehicle speed dissociation threshold calibration value of the initial ADAS algorithm in the external ECU will cause the vehicle to fail to meet the triggering conditions of the automatic emergency braking signal. Therefore, the vehicle speed dissociation threshold calibration value is adjusted multiple times so that the adjusted target ADAS algorithm will not output an automatic emergency braking signal when the vehicle fails to meet the triggering conditions of the automatic emergency braking signal.
[0076] Figure 6 (a) and Figure 6 (b) is a schematic diagram comparing the control data output by the initial ADAS algorithm and the target ADAS algorithm provided in one embodiment of the present application.
[0077] Figure 6 The control data is obtained by the initial ADAS algorithm and the target ADAS algorithm respectively operating on the same input data (for example, the target road test data). Figure 6 (a) is the control data output by the initial ADAS algorithm, Figure 6 (b) is the control data output by the target ADAS algorithm. Figure 6 It can be seen from (a) in the figure that the control data output by the initial ADAS algorithm includes an automatic emergency braking signal. Figure 6 It can be seen from (b) that the control data output by the target ADAS algorithm does not include an automatic emergency braking signal.
[0078] In another embodiment of the present application, after obtaining the target ADAS algorithm, the ADAS algorithm of the ECU in the vehicle can be adjusted by the target ADAS algorithm to solve the problem of the vehicle braking without reason.
[0079] like Figure 7 1 is a functional module diagram of a calibration simulation device provided in an embodiment of the present application. The calibration simulation device 11 includes an acquisition unit 110, a filtering unit 111 and an input unit 112. The module / unit referred to in the present application refers to a Figure 8 A series of computer-readable instruction segments acquired by the processor 13 in the embodiment and capable of completing fixed functions, which are stored in Figure 8 In the memory 12. In this embodiment, the functions of each module / unit will be described in detail in subsequent embodiments.
[0080] The acquisition unit 110 is used to acquire initial road test data of the vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system ADAS in the vehicle.
[0081] In one embodiment of the present application, the acquisition unit 110 is further used to acquire data through a data acquisition interface of the electronic device, and perform data segmentation on the acquired data to obtain the initial road test data. The initial road test data includes data acquired by the vehicle during the road test.
[0082] In an embodiment of the present application, after the target road test data is input into the external ECU, the acquisition unit 110 is further configured to acquire second control data output by the external ECU.
[0083] The filtering unit 111 is used to filter the first control data from the initial road test data to obtain target road test data.
[0084] In one embodiment of the present application, the filtering unit 111 is further used to parse the target road test data according to the second control data to obtain a parsing result, and adjust the initial ADAS algorithm in the external ECU according to the parsing result to obtain a target ADAS algorithm.
[0085] In one embodiment of the present application, if the second control data includes an automatic emergency braking signal and the second control data is the same as the first control data, the filtering unit 111 is also used to determine whether the vehicle meets the triggering condition of the automatic emergency braking signal based on the target road test data to obtain the analysis result.
[0086] In one embodiment of the present application, the filtering unit 111 is also used to adjust the vehicle speed dissociation threshold calibration value in the initial ADAS algorithm if the analysis result is that the vehicle does not meet the triggering condition of the automatic emergency braking signal, until the control signal output by the adjusted initial ADAS algorithm does not include the automatic emergency braking signal, and the adjusted initial ADAS algorithm is used as the target ADAS algorithm.
[0087] In an embodiment of the present application, the filtering unit 111 is further configured to determine data having a preset identifier in the initial road test data as the first control data.
[0088] The input unit 112 is used to input the target road test data to an external ECU so that the data operation of the ECU in the vehicle is simulated in the external ECU.
[0089] In one embodiment of the present application, when the vehicle speed dissociation threshold calibration value of the external ECU is adjusted multiple times, the target road test data input to the external ECU after each adjustment is fixed.
[0090] Through the above implementation, the initial road test data includes the data obtained by the vehicle during the road test. If the vehicle has an abnormal problem during the road test (for example, the vehicle brakes for no reason when following the vehicle in front), the initial road test data also includes the data corresponding to the abnormal situation of the vehicle. The present application inputs the target road test data into the adjusted external ECU, wherein the initial ADAS algorithm of the external ECU can be adjusted multiple times. Since the target road test data is the data generated after the initial road test data is filtered out of the first control data, the ADAS algorithm adjusted each time is not interfered by the first control data when calculating the target road test data, and it also ensures that the target road test data input to the ADAS algorithm adjusted each time is fixed. The ADAS algorithm adjusted each time is used to calculate the fixed target road test data, and the control data output by the ADAS algorithm adjusted each time is obtained. The control data output multiple times is compared, which is equivalent to comparing the effect of the ADAS algorithm adjusted multiple times on the solution of the abnormal problem, so that the target ADAS algorithm that solves the above vehicle problem can be accurately found in the ADAS algorithm adjusted multiple times. Since the external ECU is the same as the ECU in the vehicle and has the same ADAS algorithm as the ECU in the vehicle, the abnormal problems in the vehicle can be solved by adjusting the ADAS algorithm in the vehicle according to the target ADAS algorithm, and the number of adjustments to the ADAS algorithm in the vehicle can be reduced. Since there is no need to build multiple virtual models such as sensors and vehicles, the speed of solving abnormal problems in the vehicle can be increased.
[0091] like Figure 8 , is a schematic diagram of the structure of an electronic device for a calibration simulation method provided in one embodiment of the present application.
[0092] In one embodiment of the present application, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and a computer program stored in the memory 12 and executable on the processor 13, such as a calibration simulation program.
[0093] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation on the electronic device 1. The electronic device 1 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the electronic device 1 may also include input and output devices, network access devices, buses, etc.
[0094] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 13 is the computing core and control center of the electronic device 1, and uses various interfaces and lines to connect various parts of the entire electronic device 1, and obtain the operating system of the electronic device 1 and various installed applications, program codes, etc.
[0095] The processor 13 obtains the operating system of the electronic device 1 and various installed applications. The processor 13 obtains the applications to implement the steps in the above-mentioned various tuning simulation method embodiments, for example Figure 2 as well as Figure 5 .
[0096] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 12 and acquired by the processor 13 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the acquisition process of the computer program in the electronic device 1.
[0097] The memory 12 can be used to store the computer program and / or module, and the processor 13 implements various functions of the electronic device 1 by running or acquiring the computer program and / or module stored in the memory 12, and calling the data stored in the memory 12. The memory 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 12 can include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0098] The memory 12 may be a memory and / or an internal memory of the electronic device 1. Furthermore, the memory 12 may be a memory in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.
[0099] If the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is obtained by the processor, the steps of each of the above-mentioned method embodiments can be implemented.
[0100] The computer program includes computer program code, which may be in source code form, object code form, an accessible file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0101] Combination Figure 2 The memory 12 in the electronic device 1 stores a plurality of instructions to implement a calibration simulation method, and the processor 13 can obtain the plurality of instructions to implement: obtaining initial road test data of a vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system ADAS in the vehicle; filtering the first control data from the initial road test data to obtain target road test data; inputting the target road test data into an external ECU so that the data operation of the ECU in the vehicle is simulated in the external ECU.
[0102] Specifically, the specific implementation method of the processor 13 for the above instructions can refer to Figure 2 The description of the relevant steps in the corresponding embodiments will not be repeated here.
[0103] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0104] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0105] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0106] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present application is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0107] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in this application can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.
Claims
1. A calibration simulation method, applied to electronic equipment, characterized in that: The calibration simulation method comprises: Acquiring initial road test data of a vehicle, wherein the initial road test data includes first control data corresponding to a controller ECU of an advanced driving assistance system ADAS in the vehicle; Filtering the first control data from the initial road test data to obtain target road test data; The target road test data is input into an external ECU so that the data operation of the ECU in the vehicle is simulated in the external ECU.
2. The calibration simulation method according to claim 1, characterized in that: The method further comprises: After inputting the target road test data into the external ECU, acquiring second control data output by the external ECU; Analyze the target road test data according to the second control data to obtain an analysis result; The initial ADAS algorithm in the external ECU is adjusted according to the analysis result to obtain a target ADAS algorithm.
3. The calibration simulation method according to claim 2, characterized in that: If the second control data includes an automatic emergency braking signal and the second control data is the same as the first control data, parsing the target road test data according to the second control data to obtain the parsing result includes: It is determined whether the vehicle meets the triggering condition of the automatic emergency braking signal according to the target road test data to obtain the analysis result.
4. The calibration simulation method according to claim 3, characterized in that: The adjusting the initial ADAS algorithm in the external ECU according to the analysis result to obtain the target ADAS algorithm comprises: If the analysis result is that the vehicle does not meet the triggering condition of the automatic emergency braking signal, the vehicle speed dissociation threshold calibration value in the initial ADAS algorithm is adjusted until the control signal output by the adjusted initial ADAS algorithm does not include the automatic emergency braking signal, and the adjusted initial ADAS algorithm is used as the target ADAS algorithm.
5. The calibration simulation method according to claim 4, characterized in that: When the vehicle speed dissociation threshold calibration value of the external ECU is adjusted multiple times, the target road test data input to the external ECU after each adjustment is fixed.
6. The calibration simulation method according to claim 1, characterized in that: The initial road test data includes data acquired during a road test of the vehicle.
7. The calibration simulation method according to claim 1, characterized in that: The method for obtaining the initial road test data includes: The data is acquired through the data acquisition interface of the electronic device, and the acquired data is segmented to obtain the initial road test data.
8. The calibration simulation method according to claim 7, characterized in that: The data segmentation of the acquired data to obtain the initial road test data comprises: The acquired data is segmented according to a preset time period to obtain the initial road test data.
9. The calibration simulation method according to claim 1, wherein: The method further comprises: The data with a preset identifier in the initial road test data is determined as the first control data.
10. A calibration simulation system, characterized in that: The calibration simulation system includes a controller ECU of an advanced driver assistance system ADAS and an electronic device, wherein the electronic device communicates with the ECU and includes: a memory storing at least one instruction; and A processor executes the at least one instruction to implement the calibration simulation method as described in any one of claims 1 to 9.
