Engine electrical diagnostic calibration method, device, equipment and medium
By using the virtual diagnosis system and fault matrix to perform real-time simulation tests on the vehicle during engine electrical diagnosis, the target calibration parameters are determined, which solves the problems of high cost and long period in the engine electrical diagnosis and calibration process in the existing technology, and improves the accuracy of diagnosis. and robustness, reducing risk.
Patent Information
- Application Number
- CN202210664708.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-06-13
AI Technical Summary
Existing technology cannot effectively solve the problems of high cost and long cycle in the engine electrical diagnostic calibration process. Especially in the development of OBD systems, there is a lack of system diagnostic calibration methods to improve diagnostic accuracy and robustness.
By determining the first calibration parameters based on the characteristics of sensors and actuators, using the pre-established vehicle virtual diagnostic calibration system and fault matrix to test the vehicle real-time simulation system, collect test data, and then determine the target calibration parameters to improve engine electrical diagnostic control Parameter accuracy and robustness.
This method reduces actual vehicle test samples and test times, shortens the development cycle, saves costs, reduces safety risks, and improves product competitiveness.
Smart Images

Figure CN114995346B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engine control technology, and in particular to an engine electrical diagnosis calibration method, device, equipment and medium. Background Art
[0002] As vehicle emission regulations become increasingly stringent, vehicle safety is becoming more and more important, and the importance of the OBD system (On-Board Diagnostics) in the vehicle development process is becoming more and more prominent. The OBD system performs online diagnosis of vehicle and emission-related components to determine whether the vehicle emissions exceed the OBD regulatory limits due to the complete failure of some emission-related components. If the emissions exceed the limit, the OBD system diagnoses the vehicle fault, records the fault code, and lights the fault light, and notifies the driver to perform maintenance on the vehicle. It can be understood that the electrical diagnosis of the OBD system is a diagnosis of all sensor and actuator circuit systems of the engine. This type of fault accounts for most of the fault codes in the ECU (Electronic Control Unit). This part of the diagnosis is mainly based on the actual vehicle calibration during the engine and vehicle development process. After calibration, data coverage and robustness verification are performed on actual roads or wheels. Therefore, it requires a lot of manpower and material resources, high costs, and a long cycle.
[0003] In the existing public technologies, the development of diagnostic virtual calibration systems mainly focuses on building digital or physical models of engines, and the development of OBD diagnosis mainly focuses on software function verification. However, the system diagnostic calibration involves very few aspects and cannot solve the problems of high diagnostic calibration costs and long cycles.
[0004] Therefore, how to quickly and accurately calibrate the engine electrical diagnostic control parameters is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention
[0005] The present invention provides an engine electrical diagnosis calibration, device, equipment and medium, which can improve the accuracy of calibration of engine electrical diagnosis control parameters.
[0006] According to one aspect of the present invention, a method for calibrating an engine electrical diagnosis is provided, the method comprising:
[0007] Determining a first calibration parameter according to characteristics of the sensor and the actuator;
[0008] Test the vehicle real-time simulation system based on the pre-established vehicle virtual diagnostic calibration system and fault matrix, and collect test data of sensors and actuators;
[0009] A target calibration parameter is determined according to the first calibration parameter and the test data.
[0010] According to another aspect of the present invention, there is provided an engine electrical diagnostic calibration device, characterized in that the device comprises:
[0011] A first calibration parameter determination module, used to determine a first calibration parameter according to characteristics of the sensor and the actuator;
[0012] The test data acquisition module is used to test the vehicle real-time simulation system according to the pre-established vehicle virtual diagnosis calibration system and fault matrix, and collect the test data of sensors and actuators;
[0013] The target calibration parameter determination module is used to determine the target calibration parameter according to the first calibration parameter and the test data.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engine electrical diagnostic calibration method described in any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the engine electrical diagnostic calibration method described in any embodiment of the present invention when executed.
[0019] The technical solution of the embodiment of the present invention determines the first calibration parameter according to the characteristics of the sensor and the actuator; tests the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis calibration system and fault matrix, and collects the test data of the sensor and the actuator; determines the target calibration parameter according to the first calibration parameter and the test data. This technical solution can improve the accuracy of the calibration of the engine electrical diagnosis control parameters and the robustness of the engine electrical diagnosis, reduce the number of real vehicle test samples and tests, shorten the development cycle, save costs, reduce safety risks, and improve product competitiveness.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 is a flow chart of an engine electrical diagnostic calibration method provided by Embodiment 1 of the present invention;
[0023] Figure 2 It is a structural schematic diagram of a whole vehicle virtual diagnosis and calibration system in an engine electrical diagnosis and calibration method provided in the first embodiment of the present invention;
[0024] Figure 3 It is a structural schematic diagram of a vehicle real-time simulation system in an engine electrical diagnosis and calibration method provided in Embodiment 1 of the present invention;
[0025] Figure 4 This is a schematic diagram of the pin mapping relationship between sensors and actuators in an engine electrical diagnostic calibration method provided in the first embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of a fault matrix in an engine electrical diagnosis and calibration method provided in Embodiment 1 of the present invention;
[0027] Figure 6 is a flow chart of an engine electrical diagnostic calibration method provided by Embodiment 2 of the present invention;
[0028] Figure 7 It is a structural schematic diagram of an engine electrical diagnostic calibration device provided by Embodiment 3 of the present invention;
[0029] Figure 8 It is a schematic diagram of the structure of an electronic device for implementing the engine electrical diagnosis calibration method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 A flow chart of an engine electrical diagnostic calibration method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of calibrating engine control parameters. The method can be executed by an engine electrical diagnostic calibration device, which can be implemented in the form of hardware and / or software. Figure 1 As shown, the method includes:
[0034] S110. Determine a first calibration parameter according to characteristics of the sensor and the actuator.
[0035] The characteristics of the sensor and the actuator may be the relationship between their input and output quantities. The first calibration parameter may be a preset engine control parameter.
[0036] S120, testing the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis and calibration system and fault matrix, and collecting test data of the sensors and actuators.
[0037] Among them, the fault matrix can be used to represent the relationship between sensors and actuators installed in different parts of the engine and various faults. The whole vehicle virtual diagnosis and calibration system is a system that can be used to calibrate the electrical control parameters of the engine. Figure 2 FIG. 1 is a schematic diagram of the structure of a vehicle virtual diagnosis and calibration system in an engine electrical diagnosis and calibration method provided in Embodiment 1 of the present invention. Figure 2As shown, the whole vehicle virtual diagnosis and calibration system can include a vehicle real-time simulation system, a model / signal automatic measurement and control module, a calibration module and an ECU control module. Among them, the vehicle real-time simulation system is a simulation system that can be used to test and verify the control parameters of the engine electrical fault diagnosis. The ECU control module is a controller that can be used to calculate the signals of each sensor and control the operation of the controlled object through the calculation results. The model / signal automatic measurement and control module can be used to display the operation data, signal detection and fault simulation settings of the vehicle real-time simulation system during the test and calibration process. The calibration module can be used to collect fault information data.
[0038] Optionally, the vehicle real-time simulation system may be composed of a closed-loop system formed by multiple powertrain controllers and a real-time simulation model through a HiL (Hardware-in-the-Loop) method. Figure 3 FIG. 1 is a schematic diagram of the structure of a vehicle real-time simulation system in an engine electrical diagnosis and calibration method provided in Embodiment 1 of the present invention. Figure 3 As shown, the vehicle real-time simulation system may include a real-time simulation model and a signal measurement conversion control module. The real-time simulation model may include a vehicle module, a transmission module, an engine module, a cooling module and a post-processing module. The signal measurement conversion control module may include a sensor signal conversion module and an actuator signal conversion module, which may be used to convert the signals of the sensor and the actuator into physical signal parameters to input into the real-time simulation model. Among them, the vehicle module may be a simplified model of subsystems such as the vehicle electrical accessories. The engine module may be composed of a one-dimensional engine model, including the cylinder, torque, friction, etc. of the engine body model, the intercooler, supercharger, etc. of the gas circuit model, and the high and low rail pressure, injector, etc. of the oil circuit model. The engine module can reflect the detailed change data of parameters such as the speed, load, air-fuel ratio, ignition angle, VVT (Variable Valve Timing, engine variable valve timing system), coolant temperature, intake and exhaust temperature, etc. in real time during the engine process. The transmission module may be a simplified model of the gearbox. The cooling module may include a first coolant temperature and a second coolant temperature. The post-processing module may include the original exhaust and the tail exhaust, etc.
[0039] In an embodiment of the present invention, the test data of sensors and actuators can be collected through automobile calibration software, for example, the test data can be collected through calibration software such as INCA and CANape. Exemplarily, the data obtained by testing the vehicle real-time simulation system through INCA calibration software can be collected by first creating a new database in INCA software, and then creating the required test environment, test space and test items in sequence; initializing and connecting to the ECU, adding calibration variables and fault matrices to the INCA calibration software for testing, and collecting test data.
[0040] The test data may be data reflecting the state of the engine, such as speed, load, air-fuel ratio, ignition angle, VVT, coolant temperature, intake and exhaust temperature and other parameters.
[0041] In an embodiment of the present invention, optionally, the process of establishing the fault matrix includes: establishing a one-to-one mapping relationship between the pins of the sensors and actuators and the signal measurement conversion modules in the whole vehicle virtual diagnostic calibration system; and determining the fault matrix according to the mapping relationship and the fault failure mode.
[0042] It should be noted that the ECU control module is an electronic control unit with calculation and control functions. When the engine is running, it collects signals from various sensors for calculation and converts the calculation results into control signals. By inputting the control signals to the actuators, it controls the operation of the controlled object, such as the engine's ignition, air-fuel ratio, idle speed, exhaust gas recirculation and other parameters.
[0043] It can be understood that in order to enable the ECU control module to perform control tests on the vehicle real-time simulation system, the input / output signals of the sensors and actuators in the ECU control module need to be converted into physical signal parameters. Therefore, a signal measurement conversion module is set in the vehicle real-time simulation system to convert the signals of the sensors and actuators. In this way, the electrical type fault simulation of the ECU control module pins performed on the actual vehicle can be converted into a fault simulation for the vehicle real-time simulation system.
[0044] Figure 4 Schematic diagram of the pin mapping relationship between sensors and actuators in an engine electrical diagnostic calibration method provided in the first embodiment of the present invention. Figure 4 As shown in the figure, Board represents the signal measurement conversion module, Signals represents the name of the sensor or actuator in the signal measurement conversion module, LC Conn represents the integrated circuit board, C Conn represents the socket of the integrated circuit cable, Pin represents the pin number corresponding to the sensor or actuator, and Signal description represents the name of the sensor or actuator in the ECU control module. Based on the above, a one-to-one mapping relationship between the pins of sensors and actuators and the signal measurement conversion module can be established.
[0045] The fault failure modes may include open circuit fault, short circuit fault to power and short circuit fault to ground.
[0046] Figure 5 FIG. 1 is a schematic diagram of a fault matrix in an engine electrical diagnosis and calibration method provided in Embodiment 1 of the present invention. Figure 5As shown in the figure, Open Load indicates an open circuit fault, Short To UBalt indicates a short circuit fault to power, Short ToGnd indicates a short circuit fault to ground, ECU indicates the name of the ECU control module, PIN indicates the pin number, ECU PIN Name indicates the pin name, and PIN Description indicates the pin description. It can be understood that each row indicates a fault corresponding to a sensor or actuator.
[0047] It should be noted that the mapping relationship between the pins of sensors and actuators and the signal measurement conversion module in the whole vehicle virtual diagnosis and calibration system is established based on hardware, while the fault matrix is established based on software.
[0048] Optionally, after establishing the fault matrix, one of the faults can be compiled using a programming language such as C code or Python to generate a corresponding automatic test process script, and the generated automatic test process script can be loaded into the vehicle real-time simulation system for testing.
[0049] In an embodiment of the present invention, optionally, a vehicle real-time simulation system is tested according to a pre-established whole vehicle virtual diagnostic calibration system and a fault matrix, including: determining the order of each fault to be tested in the fault matrix according to the fault matrix; and injecting each fault to be tested and the first calibration parameter into the vehicle real-time simulation system for testing in the order.
[0050] It is understandable that the fault matrix includes all faults of each sensor and actuator. For example, the open circuit fault, short circuit fault to electricity and short circuit fault to ground of the throttle position sensor, the open circuit fault, short circuit fault to electricity and short circuit fault to ground of the accelerator pedal sensor, etc. Of course, the embodiment of the present invention does not limit the order of each fault to be tested in the fault matrix, which can be in the order of first from top to bottom and then from left to right in the fault matrix, or first from left to right and then from top to bottom, or the fault to be tested can be selected autonomously according to actual needs.
[0051] Optionally, each fault in the fault matrix can be compiled using a programming language such as C code or Python to generate a corresponding automatic test process script, and the automatic test process scripts corresponding to all faults in the fault matrix are integrated. The integrated automatic test process scripts can be loaded into the vehicle real-time simulation system for testing, so as to realize the sequential testing of each fault in the fault matrix.
[0052] The advantage of such a setting is that the integrity of the test data can be improved by determining the order of each to-be-tested fault in the fault matrix.
[0053] In an embodiment of the present invention, optionally, each of the faults to be tested and the first calibration parameters are injected into the vehicle real-time simulation system in sequence for testing, including: injecting the first fault to be tested that is ranked first in the sequence into the vehicle real-time simulation system for testing; after the test corresponding to the first fault to be tested is completed, repairing the first fault to be tested; injecting the next fault to be tested into the vehicle real-time simulation system in the sequence for testing and repairing, until all faults in the fault matrix are tested and repaired.
[0054] Among them, the fault to be tested is injected into the vehicle real-time simulation system for testing and repair, which can be indicated by controlling the on and off of the fault light. For example, if the fault to be tested currently ranked first in the order is an open circuit fault of the throttle position sensor, the open circuit fault light of the throttle position sensor is controlled to be on, and the fault parameters and the first calibration variable are injected into the vehicle real-time simulation system, and the test data is automatically collected through the INCA calibration software; when the test of the fault to be tested is completed, the fault to be tested is repaired, that is, the open circuit fault light of the throttle position sensor is controlled to be off. In an embodiment of the present invention, the fault repair can be to cancel the selected fault, and the fault can be automatically repaired after 3 cycles of powering on and starting the engine, that is, the corresponding item 0→1 in the fault matrix activates the fault, and the corresponding item 1→0 eliminates the fault, and the fault is repaired after 3 cycles. It should be noted that the number of cycles can be customized, such as 1 cycle to repair the fault, and the regulations require 3 cycles to repair the fault.
[0055] By testing and repairing the failures to be tested in sequence, the integrity of the test data can be improved.
[0056] S130. Determine target calibration parameters according to the first calibration parameters and the test data.
[0057] In order to optimize the engine control parameters, the vehicle real-time simulation system may be tested and verified multiple times by using multiple sets of sample data (such as sensor or actuator control signals) to obtain multiple sets of test data.
[0058] In an embodiment of the present invention, the target calibration parameters can be determined by performing data analysis and comparison on the first calibration parameters and the test data. For example, descriptive statistical analysis, such as central tendency analysis, dispersion trend analysis, correlation analysis and inferential statistics, can be performed on the test data; reliability analysis, regression analysis, cluster analysis, correlation analysis or variance analysis can also be performed on the test data.
[0059] Exemplarily, a central tendency analysis can be performed on the test data, such as comparing the statistical indicators such as the mean, median or mode of the test data with the first calibration parameter to determine the distribution deviation of the test data. Another exemplary method is to perform inferential statistical analysis on the test data to determine the distribution type of the test data, and determine the analysis result of the test data according to the distribution type. It can be understood that in general, the distribution of the test data is a continuous distribution, and its distribution type can be uniform distribution, normal distribution, gamma distribution or skewed distribution, etc.
[0060] In an embodiment of the present invention, a comparison result can be obtained by performing data analysis comparison based on the first calibration parameter and the test data, and a target calibration parameter can be determined based on the comparison result. Exemplarily, if the data analysis method is to analyze based on the central tendency of the test data, the comparison result can be the proportion of the mode in the test data to the total test data. If the preset proportion is reached, the first calibration parameter is determined to be the target calibration parameter; for another example, the data analysis method is based on the distribution type of the test data. If the distribution type of the test data is a normal distribution, a normal distribution model is established based on the first calibration parameter. If the test data satisfies the 3σ principle, the first calibration parameter is determined to be the target calibration parameter.
[0061] In an embodiment of the present invention, optionally, a target calibration parameter is determined based on the first calibration parameter and the test data, including: establishing a first normal distribution model based on the first calibration parameter; if the test data satisfies the 3σ principle of the first normal distribution model, freezing the first calibration parameter and determining the first calibration parameter as the target calibration parameter; otherwise, re-calibrating the engine electrical diagnosis until the test data satisfies the 3σ principle of its corresponding normal distribution model.
[0062] Among them, the test data can be obtained by testing the vehicle real-time simulation system according to the pre-established fault matrix and multiple sets of different calibration variables. It can be understood that the obtained test data is homogeneous and its characteristics are often convergent, that is, there is a benchmark, but due to the influence of the calibration variables, the test data will fluctuate around the benchmark by a certain amplitude, thus forming a feature of dense in the middle and sparse on both sides, so a normal distribution model corresponding to the test data is established.
[0063] It should be noted that according to the characteristics of the normal distribution model, the probability of the value being distributed in (μ-σ, μ+σ) is 0.6527; the probability of the value being distributed in (μ-2σ, μ+2σ) is 0.9545; the probability of the value being distributed in (μ-3σ, μ+3σ) is 0.9973. Among them, μ is the calibration variable and σ is the standard deviation of the calibration variable.
[0064] In an embodiment of the present invention, if normal signals and fault signals in multiple groups of test data satisfy the 3σ principle of normal distribution established based on calibration variables, that is, normal signals in multiple groups of test data are in the range of (μ-3σ, μ+3σ), that is, under the calibration variables, the qualified rate can reach 99.73%. Analyzing and evaluating the diagnostic threshold of the calibration variable according to the 3σ principle of normal distribution can meet the calibration data coverage required for mass production and the robustness requirements of OBD diagnosis. Of course, when normal signals and fault signals in multiple groups of test data do not satisfy the 3σ principle of normal distribution established based on calibration variables, it is necessary to test the engine electrical diagnostic calibration system again according to the fault matrix and the second preset calibration variable until the test data meets the 3σ principle of the normal distribution model.
[0065] An engine electrical diagnostic calibration method provided by an embodiment of the present invention determines a first calibration parameter according to the characteristics of sensors and actuators; tests the vehicle real-time simulation system according to a pre-established whole vehicle virtual diagnostic calibration system and fault matrix, and collects test data of the sensors and actuators; determines target calibration parameters according to the first calibration parameter and the test data. This technical solution can improve the accuracy of calibration of engine electrical diagnostic control parameters, improve the robustness of engine electrical diagnosis, reduce real vehicle test samples and test times, shorten the development cycle, save costs, reduce safety risks, and improve product competitiveness.
[0066] Embodiment 2
[0067] Figure 6 This is a flow chart of an engine electrical diagnostic calibration method provided in the second embodiment of the present invention. This embodiment is optimized on the basis of the above embodiment, and the embodiment of the present invention can be combined with various optional solutions in one or more of the above embodiments. Figure 6 As shown, the method includes:
[0068] S210: Determine a first calibration parameter according to characteristics of the sensor and the actuator.
[0069] S220: Acquire monitoring conditions of the vehicle real-time simulation system.
[0070] Among them, the monitoring conditions are the conditions for activating fault monitoring, the purpose is to ensure the stability of fault monitoring. There are some general conditions stipulated in the emission regulations GB18352: such as ambient temperature greater than -7°C, altitude below 2440m, engine idling for more than 30s, vehicle speed above 40km / h for more than 300s, etc. There are also some faults with special conditions such as engine water temperature exceeding 60°C, engine speed greater than 1200r / min, etc.
[0071] S230: Determine the activation state of the ECU control module according to the monitoring condition.
[0072] It can be understood that when the engine runs to the corresponding operating conditions and the monitoring conditions are met, the specific identification bit in the ECU can be activated and the corresponding fault diagnosis can be performed.
[0073] S240: If the ECU control module is in an activated state, the fault matrix is input into the vehicle real-time simulation system to determine the output voltage of the ECU control module.
[0074] It should be noted that the ECU control module will actively send out a test signal and perform diagnostic tests based on the changes in the voltage signal. If the voltage drops to a low level and remains at a low level, it is a short circuit to ground fault; if the voltage remains at a high level without changing, it is a short circuit to electricity fault; if the voltage remains at a high level with fluctuations, it is an open circuit fault.
[0075] S250: Perform functional debugging on the fault matrix according to the output voltage.
[0076] Among them, functional debugging can be calling and testing any fault in the fault matrix. Functional debugging can be performed in the following two ways: first, the fault mode activated by manually checking a signal pin in the fault matrix can be selected for fault testing; second, the fault automatic test process script can be compiled by the Python programming language for fault testing. The embodiment of the present invention does not limit the method of functional debugging, which can be selected according to actual needs.
[0077] In an embodiment of the present invention, optionally, the output voltage performs functional debugging on the fault matrix, including: if the output voltage is less than a first threshold and remains unchanged, the output fault is a short circuit fault to ground; if the output voltage is greater than a second threshold and remains unchanged, the output fault is a short circuit fault to electricity; if the output voltage is greater than the second threshold and fluctuates, the output fault is an open circuit fault.
[0078] S260: Testing the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis and calibration system and fault matrix, and collecting test data of the sensors and actuators.
[0079] S270. Determine target calibration parameters according to the first calibration parameters and the test data.
[0080] An engine electrical diagnostic calibration method provided by an embodiment of the present invention determines a first calibration parameter according to the characteristics of sensors and actuators; obtains the monitoring conditions of the vehicle real-time simulation system; determines the activation state of the ECU control module according to the monitoring conditions; if the ECU control module is in the activated state, inputs the fault matrix into the vehicle real-time simulation system to determine the output voltage of the ECU control module; performs functional debugging on the fault matrix according to the output voltage; tests the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnostic calibration system and fault matrix, and collects test data of sensors and actuators; determines the target calibration parameters according to the first calibration parameters and the test data. This technical solution can further improve the accuracy of engine electrical diagnostic calibration by functionally debugging the vehicle real-time simulation system to ensure that the fault matrix can be normally called and correctly executed.
[0081] In the above embodiments, optionally, after determining the target calibration parameters according to the first calibration parameters and the test data, the method further includes: obtaining a preset number of groups of actual vehicle data; establishing a target normal distribution model according to the target calibration parameters; if the actual vehicle data satisfies the 3σ principle of the target normal distribution model, the target calibration parameters are calibrated successfully; otherwise, re-performing the engine electrical diagnostic calibration until the actual vehicle data satisfies the 3σ principle of the target normal distribution model.
[0082] Among them, the target calibration parameters are tested on a preset number of groups of real vehicles, and the real vehicle data can be collected and analyzed by using a remote big data analysis system. For example, multiple groups of real vehicle OBD data can be uploaded to the cloud platform, and the cloud platform inputs its OBD data into the big data analysis system for analysis and verification. If the normal signal and the fault signal in the real vehicle data meet the normal distribution 3σ principle established based on the target calibration variable, that is, the normal signal in the multiple groups of test data is in the range of (μ-3σ, μ+3σ), that is, under this calibration variable, its pass rate can reach 99.73%. Analyzing and evaluating the diagnostic threshold of the target calibration variable according to the normal distribution 3σ principle can not only meet the needs of real vehicle verification, but also meet the robustness requirements of OBD diagnosis.
[0083] Embodiment 3
[0084] Figure 7 Schematic diagram of the structure of an engine electrical diagnostic calibration device provided by the third embodiment of the present invention. Figure 7 As shown, the device comprises:
[0085] A first calibration parameter determination module 310, configured to determine a first calibration parameter according to characteristics of the sensor and the actuator;
[0086] A test data acquisition module 320 is used to test the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis calibration system and fault matrix, and to collect the test data of the sensors and actuators;
[0087] The target calibration parameter determination module 330 is used to determine the target calibration parameter according to the first calibration parameter and the test data.
[0088] An engine electrical diagnostic calibration device provided by an embodiment of the present invention determines a first calibration parameter according to the characteristics of sensors and actuators; tests the vehicle real-time simulation system according to a pre-established whole vehicle virtual diagnostic calibration system and fault matrix, and collects test data of sensors and actuators; determines a target calibration parameter according to the first calibration parameter and the test data. This technical solution can improve the accuracy of the calibration of engine electrical diagnostic control parameters and the robustness of engine electrical diagnosis, reduce the number of actual vehicle test samples and tests, shorten the development cycle, save costs, reduce safety risks, and improve product competitiveness.
[0089] Furthermore, the process of establishing the fault matrix includes:
[0090] Establishing a one-to-one mapping relationship between the pins of the sensor and the actuator and the signal measurement conversion module in the vehicle virtual diagnosis and calibration system;
[0091] A fault matrix is determined according to the mapping relationship and the fault failure mode.
[0092] Furthermore, the device also includes:
[0093] A monitoring condition acquisition module, used to acquire the monitoring conditions of the vehicle real-time simulation system before testing the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis calibration system and fault matrix;
[0094] An ECU control module activation state determination module, used to determine the activation state of the ECU control module according to the monitoring conditions;
[0095] The output voltage determination module is used to input the fault matrix into the vehicle real-time simulation system to determine the output voltage of the ECU control module if the ECU control module is in an activated state.
[0096] A function debugging module is used to perform function debugging on the fault matrix according to the output voltage.
[0097] Furthermore, the functional debugging module includes:
[0098] A short-circuit-to-ground fault debugging unit, configured to determine that the output fault is a short-circuit-to-ground fault if the output voltage is less than a first threshold and remains unchanged;
[0099] an electrical short circuit fault debugging unit, configured to determine that the output fault is an electrical short circuit fault if the output voltage is greater than a second threshold and remains unchanged;
[0100] The open circuit fault debugging unit is used to determine that the output fault is an open circuit fault if the output voltage is greater than a second threshold and fluctuates.
[0101] Furthermore, the test data collection module 320 includes:
[0102] A unit for determining a sequence of faults to be tested, used for determining the sequence of each fault to be tested in the fault matrix according to the fault matrix;
[0103] The fault-to-be-tested testing unit is used to inject the faults to be tested and the first calibration parameters into the vehicle real-time simulation system in sequence for testing.
[0104] Furthermore, the fault test unit to be tested includes:
[0105] A first to-be-tested fault testing subunit, used for injecting a first to-be-tested fault ranked first in the sequence into the vehicle real-time simulation system for testing;
[0106] A first fault-to-be-tested repairing subunit is used to repair the first fault-to-be-tested fault after the test corresponding to the first fault-to-be-tested fault is completed;
[0107] The next to-be-tested fault test and repair subunit is used to inject the next to-be-tested fault into the vehicle real-time simulation system in the sequence for testing and repairing until all faults in the fault matrix are tested and repaired.
[0108] Furthermore, the target calibration parameter determination module 330 includes:
[0109] A normal distribution model building unit, used to build a first normal distribution model according to the first calibration parameters;
[0110] a target calibration parameter determination unit, configured to freeze the first calibration parameter and determine the first calibration parameter as a target calibration parameter if the test data satisfies the 3σ principle of the first normal distribution model;
[0111] The engine electrical diagnosis recalibration unit is used to re-calibrate the engine electrical diagnosis if the test data does not satisfy the 3σ principle of the first normal distribution model until the test data satisfies the 3σ principle of its corresponding normal distribution model.
[0112] Furthermore, the device also includes:
[0113] A real vehicle data acquisition module, used to acquire a preset number of groups of real vehicle data;
[0114] A target calibration parameter verification module, used for verifying that the target calibration parameter is successfully calibrated if the actual vehicle data meets the 3σ principle of the target normal distribution model;
[0115] The engine electrical diagnosis recalibration module is used to re-calibrate the engine electrical diagnosis if the actual vehicle data does not meet the 3σ principle of the target normal distribution model, until the actual vehicle data meets the 3σ principle of the target normal distribution model.
[0116] The engine electrical diagnosis and calibration device provided in the embodiment of the present invention can execute the engine electrical diagnosis and calibration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0117] Embodiment 4
[0118] Figure 8 1 is a schematic diagram of the structure of an electronic device for implementing the engine electrical diagnostic calibration method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0119] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0120] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0121] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as an engine electrical diagnostic calibration method.
[0122] In some embodiments, the engine electrical diagnostic calibration method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the engine electrical diagnostic calibration method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the engine electrical diagnostic calibration method in any other appropriate manner (e.g., by means of firmware).
[0123] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0124] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0125] Embodiment 5
[0126] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0127] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0128] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0129] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0130] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0131] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An engine electrical diagnostic calibration method, characterized in that: The method comprises: Determining a first calibration parameter according to characteristics of the sensor and the actuator; Testing the vehicle real-time simulation system according to the pre-established vehicle virtual diagnosis and calibration system and fault matrix, and collecting test data of the sensors and actuators; Determining target calibration parameters according to the first calibration parameters and the test data; The process of establishing the fault matrix includes: Establishing a one-to-one mapping relationship between the pins of the sensor and the actuator and the signal measurement conversion module in the whole vehicle virtual diagnosis and calibration system; Determine a fault matrix according to the mapping relationship and the fault failure mode; Wherein, determining a target calibration parameter according to the first calibration parameter and the test data includes: Establishing a first normal distribution model according to the first calibration parameters; If the test data satisfies the 3σ principle of the first normal distribution model, freezing the first calibration parameter and determining the first calibration parameter as a target calibration parameter; Otherwise, the engine electrical diagnosis calibration is performed again until the test data meets the 3σ principle of its corresponding normal distribution model.
2. The method according to claim 1, characterized in that Before testing the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis calibration system and fault matrix, the method further includes: Acquiring monitoring conditions of the vehicle real-time simulation system; Determining the activation state of the ECU control module in the vehicle virtual diagnosis and calibration system according to the monitoring conditions; If the ECU control module is in an activated state, the fault matrix is input into the vehicle real-time simulation system to determine the output voltage of the ECU control module; Function debugging of the fault matrix is performed according to the output voltage.
3. The method according to claim 2, characterized in that Performing functional debugging on the fault matrix according to the output voltage includes: If the output voltage is less than the first threshold and remains unchanged, the output fault is a short circuit to ground fault; If the output voltage is greater than the second threshold and remains unchanged, the output fault is a short circuit fault; If the output voltage is greater than the second threshold and fluctuates, the output fault is an open circuit fault.
4. The method according to claim 1, characterized in that: Test the vehicle real-time simulation system based on the pre-established vehicle virtual diagnostic calibration system and fault matrix, including: Determine the order of each to-be-tested fault in the fault matrix according to the fault matrix; In the order, the various faults to be tested and the first calibration parameters are injected into the vehicle real-time simulation system for testing.
5. The method according to claim 4, characterized in that Injecting the faults to be tested and the first calibration parameters into the vehicle real-time simulation system in sequence for testing, including: Injecting a first to-be-tested fault that is ranked first in the sequence into the vehicle real-time simulation system for testing; After the test corresponding to the first fault to be tested is completed, the first fault to be tested is repaired; The next fault to be tested is injected into the vehicle real-time simulation system in the order for testing and repairing until all faults in the fault matrix are tested and repaired.
6. The method according to claim 1, characterized in that After determining the target calibration parameter according to the first calibration parameter and the test data, the method further includes: Obtain a preset number of sets of real vehicle data; Establishing a target normal distribution model according to the target calibration parameters; If the actual vehicle data meets the 3σ principle of the target normal distribution model, the target calibration parameter calibration is successful; Otherwise, the engine electrical diagnosis calibration is performed again until the actual vehicle data meets the 3σ principle of the target normal distribution model.
7. An engine electrical diagnostic calibration device, characterized in that: The device comprises: A first calibration parameter determination module, used to determine a first calibration parameter according to characteristics of the sensor and the actuator; A test data acquisition module, used to test the vehicle real-time simulation system according to the pre-established whole vehicle virtual diagnosis calibration system and fault matrix, and to collect the test data of the sensors and actuators; a target calibration parameter determination module, configured to determine a target calibration parameter according to the first calibration parameter and the test data; The process of establishing the fault matrix includes: Establishing a one-to-one mapping relationship between the pins of the sensor and the actuator and the signal measurement conversion module in the whole vehicle virtual diagnosis and calibration system; Determine a fault matrix according to the mapping relationship and the fault failure mode; Among them, the target calibration parameter determination module includes: A normal distribution model building unit, used to build a first normal distribution model according to the first calibration parameters; a target calibration parameter determination unit, configured to freeze the first calibration parameter and determine the first calibration parameter as a target calibration parameter if the test data satisfies the 3σ principle of the first normal distribution model; The engine electrical diagnosis recalibration unit is used to re-calibrate the engine electrical diagnosis if the test data does not satisfy the 3σ principle of the first normal distribution model until the test data satisfies the 3σ principle of its corresponding normal distribution model.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the engine electrical diagnostic calibration method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the engine electrical diagnostic calibration method according to any one of claims 1 to 6 when executed.
