Verification method and device for compensation code of oil injector
By establishing a vehicle simulation model and generating test cases, and automatically collecting and adjusting the injection pulse width, the accuracy and efficiency problems of injector compensation code verification in the existing technology are solved, and high-precision and high-efficiency injector compensation code verification are achieved.
Patent Information
- Application Number
- CN202411953668.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-12-27
AI Technical Summary
The existing injector compensation code verification methods have shortcomings in accuracy and efficiency, especially in multi-stage injection pulse width and timing signal analysis and special operating conditions verification, errors and inefficiency are prone to occur.
By establishing a vehicle simulation model, a test case is generated according to the test operating conditions, and the working parameters are adjusted in the simulation model, the simulation fuel injection pulse width under different operating conditions is collected, and the pulse width is automatically compared and corrected.
It improves the verification accuracy and efficiency of the injector compensation code, and can automatically and continuously simulate injector testing and verification under different working conditions, ensuring stable performance under variable conditions and achieving accurate control of the injector volume.
Smart Images

Figure CN119737257A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of engine fuel system testing, and in particular to a method and a device for verifying a fuel injector compensation code. Background Art
[0002] The existing verification method of the automobile engine injector compensation code is generally:
[0003] The test personnel verified the injector compensation code correction function by simulating the injector injection with a load box and using an oscilloscope to collect data. This method mainly sets a standard injection pulse width and timing, then simulates the injection with a load box, and collects the injection pulse width and timing with an oscilloscope. By comparing it with the required injection pulse width and timing, the injector compensation code correction value can be obtained, so that the injector can work with the required injection amount under various working conditions.
[0004] The defects of the above method are:
[0005] (1) When it is necessary to collect multiple injection pulse width and timing signals for analysis, errors are likely to occur by reading the oscilloscope, resulting in a decrease in the accuracy of the injection pulse width and timing.
[0006] (2) When special working conditions need to be injected for verification, the calibration quantity needs to be manually modified for injection, and only one working condition can be met at a time, resulting in low work efficiency.
[0007] It can be seen from this that the verification accuracy and work efficiency of the existing injector compensation code verification method are both low. Summary of the invention
[0008] In view of the defects existing in the prior art, the technical problem solved by the present invention is: how to improve the verification accuracy and verification efficiency of the injector compensation code.
[0009] To achieve the above objectives, in the first aspect, an embodiment of the present application provides a method for verifying an injector compensation code, the method comprising the following steps: establishing a whole vehicle simulation model, forming test cases according to the required test conditions, and setting the test duration and test parameters of each test condition in the test cases; after adjusting the working parameters of the whole vehicle simulation model according to the test cases, collecting the simulated injection pulse width under different conditions, comparing the simulated injection pulse width under different conditions with the set target pulse width of the condition, and obtaining the corrected pulse width of the condition.
[0010] In combination with the first aspect, in one implementation, the whole vehicle simulation model includes an engine model, a whole vehicle controller model and a whole vehicle virtual model corresponding to the whole vehicle structure;
[0011] The process of establishing the whole vehicle simulation model includes:
[0012] A complete vehicle virtual model and an engine model are built on the simulation bench. Both the complete vehicle virtual model and the engine model communicate with the simulation bench through a board card, and a complete vehicle simulation signal is generated through the board card. The host computer and the complete vehicle controller model communicate with the simulation bench respectively.
[0013] In combination with the first aspect, in one implementation, the communication mode between the host computer and the simulation bench is local area network communication, and the communication mode between the vehicle controller and the simulation bench is wired communication.
[0014] In combination with the first aspect, in one embodiment, the collection process of the simulated injection pulse width includes: presetting a level sampling range corresponding to different stable levels, the lower limit of the level sampling range is above the lowest level, and the upper limit of the level sampling range is 0.5 to 2V higher than the lower limit; according to the sampling accuracy under the level sampling range of different stable levels, selecting the level with the highest accuracy within the level sampling range.
[0015] In combination with the first aspect, in one embodiment, the process of forming a test case according to the required test conditions and setting the test duration and test parameters of each test condition in the test case includes: forming a configuration file with the test information, test duration and test parameters of each test condition, and associating all configuration files according to the test sequence to form a test case.
[0016] In combination with the first aspect, in one implementation, the test information of each test condition includes the condition type and the condition climate environment.
[0017] In combination with the first aspect, in one implementation, the operating condition types include: highway driving, national road travel, mountain road operation, traffic congestion, and vehicle parking;
[0018] The working climate environment includes: temperature, humidity and altitude;
[0019] Temperature includes normal temperature, extreme high temperature and extreme low temperature, which may be unchanged or variable;
[0020] Humidity includes normal humidity that is constant or variable, extremely high humidity, and extremely low humidity;
[0021] Altitude includes normal altitude, which may be constant or variable, extreme high altitude, and extreme low altitude.
[0022] In combination with the first aspect, in one implementation, the operating condition type also includes a fault operating condition.
[0023] In combination with the first aspect, in one implementation, the test information of each test condition further includes a cycle mode, and the cycle mode includes at least one of WHSC, WHTC and WNTE.
[0024] In a second aspect, an embodiment of the present application provides a device for verifying a fuel injector compensation code, the device comprising a simulation model building device, a test case generation module, and a test case execution module;
[0025] The simulation model establishment device is used to: implement the process of establishing the whole vehicle simulation model provided in the first aspect;
[0026] The test case generation module is used to: implement the process of forming a test case according to the required test conditions provided in the first aspect, and setting the test duration and test parameters of each test condition in the test case;
[0027] The test case execution module is used to: implement the process provided in the first aspect of adjusting the working parameters of the whole vehicle simulation model according to the test case, collecting the simulated injection pulse width under different working conditions, comparing the simulated injection pulse width under different working conditions with the set target pulse width of the working condition, and obtaining the corrected pulse width of the working condition.
[0028] Compared with the prior art, the advantages of the present invention are:
[0029] Compared with the prior art of collecting the injection pulse width through a load box and an oscilloscope, the present invention collects the injection pulse width by building a whole vehicle simulation model (such as hardware-in-the-loop HIL). This method can realize automatic injection, automatic collection and automatic monitoring according to a preset workflow, and can also record the injection pulse width and timing data of the injector in detail; that is, compared with the method of reading an oscilloscope, the accuracy of injection and collection through simulation is higher, and basically no error will occur.
[0030] At the same time, compared with the prior art that requires multiple operations to verify the injection pulse width under different working conditions, the present invention forms a test case according to the required test conditions, and sets the test duration of each test condition in the test case; after adjusting the working parameters of the whole vehicle simulation model according to the test case, the simulated injection pulse width under different working conditions is collected. That is, the present invention can automatically and continuously realize the simulation test and verification of the injector under different working conditions, such as: highway driving, national road traffic, mountain road operation, traffic congestion and vehicle parking; working environment, such as: extreme high and low temperatures, high and low humidity differences, and high and low altitude conditions.
[0031] Therefore, the present invention can not only improve the verification accuracy and efficiency of the fuel injector, but also achieve stable operating performance under variable adverse conditions and achieve precise control of the fuel injection amount. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] 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.
[0033] Figure 1 This is a schematic diagram of the injection pulse width acquisition principle in the embodiment of the present application;
[0034] Figure 2 Schematic diagram of the flow of the method for verifying the injector compensation code in the embodiment of the present application;
[0035] Figure 3 This is a schematic diagram of the hardware structure of the injector compensation code verification device involved in the embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0037] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0039] In a first aspect, an embodiment of the present application provides a method for verifying an injector compensation code, the steps of the method comprising: establishing a whole vehicle simulation model, forming test cases according to required test conditions, and setting the test duration and test parameters of each test condition in the test cases; after adjusting the working parameters of the whole vehicle simulation model according to the test cases, collecting the simulated injection pulse width under different conditions, comparing the simulated injection pulse width under different conditions with the set target pulse width of the condition, and obtaining the corrected pulse width of the condition.
[0040] It can be seen from this that compared with the prior art of collecting injection pulse width through a load box and an oscilloscope, the present invention collects injection pulse width by building a whole vehicle simulation model (such as hardware-in-the-loop HIL). This method can realize automatic injection, automatic collection and automatic monitoring according to a preset workflow, and can also record the injection pulse width and timing data of the injector in detail; that is, compared with the method of reading an oscilloscope, the accuracy of injection and collection through simulation is higher, and basically no error will occur.
[0041] At the same time, compared with the prior art that requires multiple operations to verify the injection pulse width under different working conditions, the present invention forms a test case according to the required test conditions, and sets the test duration of each test condition in the test case; after adjusting the working parameters of the whole vehicle simulation model according to the test case, the simulated injection pulse width under different working conditions is collected. That is, the present invention can automatically and continuously realize the simulation test and verification of the injector under different working conditions, such as: highway driving, national road traffic, mountain road operation, traffic congestion and vehicle parking; working environment, such as: extreme high and low temperatures, high and low humidity differences, and high and low altitude conditions.
[0042] Therefore, the present invention can not only improve the verification accuracy and efficiency of the fuel injector, but also achieve stable operating performance under variable adverse conditions and achieve precise control of the fuel injection amount.
[0043] In one embodiment, the whole vehicle simulation model in the above method includes a whole vehicle virtual model corresponding to the whole vehicle structure, an engine model and a whole vehicle controller model (such as ECU, etc.).
[0044] On this basis, the process of establishing the whole vehicle simulation model in the above method includes:
[0045] A complete vehicle virtual model and an engine model are built on a simulation bench (HIL), and related complete vehicle simulation signals are simulated and generated through boards on the simulation bench that communicate with the complete vehicle virtual model and the engine model.
[0046] The host computer and the vehicle controller model communicate with the simulation bench. The communication method between the host computer and the simulation bench can be local area network communication, and the communication method between the vehicle controller and the simulation bench can be a customized wiring harness.
[0047] In one embodiment, the collection process of the simulated injection pulse width in the above method includes: presetting a level sampling range corresponding to different stable levels, the lower limit of the level sampling range is above the lowest level, and the upper limit of the level sampling range is 0.5 to 2V higher than the lower limit; according to the sampling accuracy under the level sampling range of different stable levels, selecting the level with the highest accuracy within the level sampling range.
[0048] See for example Figure 1 As shown, four levels are set: level A (0.5-1), level B (1-2), upper and lower levels TA and LA near low level A, upper and lower levels TB and LB near high level B, that is, the level sampling range is TA to LB (that is, the upper limit is LB, the lower limit is TA), point b in the figure is the maximum level point, and point a is the point where the injector starts to spray. In this case, the collection method can be: collecting LA-TA segment, LB-TA segment, LA-TB segment, LB-TB segment, so as to obtain the injection cycle, main injection pulse width, pre-injection pulse width and relative timing, etc.
[0049] See also Figure 1 It can be seen that the electrical level will continue to rise before reaching the highest point b. At this time, the current of the solenoid valve continues to increase, and the suction force generated also continues to increase. Therefore, the valve continues to open until it reaches the stable electrical level V and then fully opens. At this time, this state is maintained until the injector stops spraying fuel.
[0050] Furthermore, since the injector can maintain the maximum opening angle of the solenoid valve at the voltage of V, the level of point a is between the V level and the maximum level. When we usually test, the voltage of the injector is 24V when it is stable, so the V value is 24V, so the slope of the ab segment oblique line tends to be smooth, so at this time, the LA segment to TA segment is selected as the most appropriate interval, and the injection pulse width obtained at this time is the most accurate. After actual oscilloscope acquisition, it can be found that when the LB-TA segment, LA-TB segment, and LB-TB segment are selected, the pulse width is short and not accurate enough.
[0051] If the voltage of the injector is stable at 12V during the test, the slope of the ab segment is low, and the difference between selecting LA and LB is large. If the voltage of the injector is stable at 36V during the test, the slope of the ab segment is very steep, and the difference between selecting LA and LB is not large.
[0052] In one embodiment, the process of forming a test case according to the required test conditions and setting the test duration and test parameters of each test condition in the test case in the above method includes: forming a configuration file with the test information, test duration and test parameters of each test condition, and associating all configuration files according to the test sequence to form a test case.
[0053] Furthermore, the test information of each of the above test conditions includes the condition type and the condition climate environment.
[0054] Specifically, the operating conditions include: highway driving, national road driving, mountain road operation, traffic congestion and vehicle parking;
[0055] The working climate environment includes: temperature, humidity and altitude;
[0056] Temperature includes normal temperature, extreme high temperature and extreme low temperature, which may be unchanged or variable;
[0057] Humidity includes normal humidity that is constant or variable, extremely high humidity, and extremely low humidity;
[0058] Altitude includes normal altitude, which may be constant or variable, extreme high altitude, and extreme low altitude.
[0059] The specific values corresponding to the above-mentioned normal, extremely high and extremely low values are conventional values obtained according to specific circumstances and are not limited here.
[0060] Furthermore, the operating condition types also include: fault conditions, such as nozzle blockage, fuel leakage, etc.
[0061] Furthermore, the test information of each of the above test conditions also includes a cycle mode, and the cycle mode includes at least one of WHSC, WHTC and WNTE designed according to the national standard.
[0062] It can be seen that the present invention can obtain pulse width correction information under different working conditions, and can obtain a relatively complete injector pulse width diagram suitable for various actual situations in combination with the design of the circulation mode.
[0063] See below Figure 2 As shown, the above method is described through a specific embodiment.
[0064] S1: Establish a vehicle simulation model on the HIL platform. In addition to the above-mentioned related content (building the model and establishing communication), the establishment process also includes the simulation environment of the engine control system, including sensors (such as oxygen sensors, throttle position sensors, etc.), actuators (such as injectors, igniters, etc.) and control algorithms; ensure that the simulation environment can accurately simulate the actual vehicle working environment, including different working conditions and environmental conditions.
[0065] It should be noted that the injector model required by the engine model in the vehicle simulation model should be appropriately selected to ensure that it can accurately simulate the working principle and behavior of the injector. Consider factors such as the injector's response time, injection volume, spray characteristics, and the dynamic characteristics of the injector under different working conditions; it is preferred to directly connect to the actual injector load.
[0066] S2: Form test cases according to the required test conditions, and set the test duration and test parameters for each test condition in the test cases; this ensures the coverage and accuracy of the test, improves the quality and stability of the software, and reduces test costs and time consumption.
[0067] Specifically, the development and execution of test cases can be implemented through programming of ECU-TEST software, so as to automatically operate the vehicle under various set working conditions and collect injection pulse width and timing, thereby achieving the effect of automated testing.
[0068] S3: After adjusting the working parameters of the vehicle simulation model according to the test case, the simulated injection pulse width under different working conditions is collected. The collected data can be displayed on the oscilloscope through the HIL bench; the waveform obtained in this way is more stable and more accurate than that of the traditional external oscilloscope.
[0069] S4: After comparing the simulated fuel injection pulse width under different working conditions with the set target pulse width of the working condition, a corrected pulse width of the working condition is obtained.
[0070] The verification result of the injector pulse width correction of this embodiment is:
[0071] (1) Correction of injection pulse width (main injection / pre-injection / post-injection / tail injection) and timing when the system is disabled
[0072] When the pulse width correction is turned off:
[0073] Actual tail jet pulse width = 227us
[0074] Actual post-spray 1 pulse width = 247us
[0075] Actual post-spray 2 pulse width = 268us
[0076] Target tail jet pulse width = 227us
[0077] Target post-spray 1 pulse width = 247us
[0078] Target post-spray 2 pulse width = 268us
[0079] Pulse width deviation = 0
[0080] This is the pulse width that has not been corrected at all. It can be seen that the required value, target value and the actual collected value are completely consistent.
[0081] When corrected timing is turned off:
[0082] Actual tail injection timing = 350us
[0083] Actual tail injection timing correction = 0
[0084] Actual post injection 1 timing = 1876us
[0085] Actual post injection 1 timing correction = 0
[0086] Actual post injection 2 timing = 4757us
[0087] Actual post injection 2 timing correction = 0
[0088] Target tail injection timing = 350us
[0089] Target post-injection 1 timing = 1876us
[0090] Target post-injection 2 timing = 4757us
[0091] When the correction timing is turned off, it can be seen that the actual and required timings are completely consistent. (2) All single pulse width correction detection / minimum injection pulse width correction
[0092] Effect after enabling detection correction:
[0093] Pulse Width Correction 1
[0094] Actual tail jet pulse width = 238us
[0095] Actual post-spray 1 pulse width = 258us
[0096] Actual post-spray 2 pulse width = 279us
[0097] Target tail jet pulse width = 227us
[0098] Required tail spray pulse width = 227us
[0099] Target post-spray 1 pulse width = 247us
[0100] Post-spray 1 pulse width = 247us
[0101] Target post-spray 2 pulse width = 268us
[0102] Required post-spray 2 pulse width = 268us
[0103] Pulse width deviation = 11
[0104] It can be seen that after correction, the difference between the actual pulse width and the target pulse width is 11, which is almost the same as the pulse width deviation.
[0105] Pulse Width Correction 2
[0106] Actual tail jet pulse width = 234us
[0107] Actual post-spray 1 pulse width = 254us
[0108] Actual post-spray 2 pulse width = 275us
[0109] Standard tail spray pulse width = 227us
[0110] Required tail spray pulse width = 227us
[0111] Target post-spray 1 pulse width = 247us
[0112] Required post-spray 1 pulse width = 247us
[0113] Target post-spray 2 pulse width = 268us
[0114] Required post-spray 2 pulse width = 268us
[0115] Pulse width deviation = 6
[0116] It can be seen that after correction, the difference between the actual pulse width and the target pulse width is 6, which is almost the same as the pulse width deviation.
[0117] It can be seen that the corrected pulse width (pulse width deviation) obtained by the above method is substantially the same as the actual pulse width deviation, that is, the verification accuracy of the above method is very high.
[0118] In a second aspect, an embodiment of the present application further provides a device for verifying an injector compensation code, the device being used to: implement the method for verifying an injector compensation code mentioned in the first aspect.
[0119] Specifically, the device includes a simulation model building device, a test case generation module and a test case execution module;
[0120] The simulation model building device is used to: implement the process of building a whole vehicle simulation model mentioned in the first aspect;
[0121] The test case generation module is used to: implement the process of forming a test case according to the required test conditions mentioned in the first aspect, and setting the test duration and test parameters of each test condition in the test case;
[0122] The test case execution module is used to: implement the process mentioned in the first aspect of adjusting the working parameters of the whole vehicle simulation model according to the test case, collecting the simulated injection pulse width under different working conditions, comparing the simulated injection pulse width under different working conditions with the set target pulse width of the working condition, and obtaining the corrected pulse width of the working condition.
[0123] Among them, the functional implementation of each module in the above-mentioned injector compensation code verification device corresponds to the various steps in the above-mentioned injector compensation code verification method embodiment, and its functions and implementation processes are no longer repeated here.
[0124] In a third aspect, an embodiment of the present application provides a verification device for an injector compensation code. The verification device for the injector compensation code may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.
[0125] Reference Figure 3 , Figure 3 The hardware structure diagram of the verification device of the fuel injector compensation code involved in the embodiment of the present application is shown in FIG. In the embodiment of the present application, the verification device of the fuel injector compensation code may include a processor, a memory, a communication interface and a communication bus.
[0126] The communication bus may be of any type and is used to interconnect the processor, the memory, and the communication interface.
[0127] The communication interface includes an input / output (I / O) interface, a physical interface, and a logical interface, etc., which are used to interconnect the devices inside the verification device of the fuel injector compensation code, and an interface used to interconnect the verification device of the fuel injector compensation code with other devices (such as other computing devices or user devices). The physical interface can be an Ethernet interface, an optical fiber interface, an ATM interface, etc.; the user device can be a display, a keyboard, etc.
[0128] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.
[0129] The processor may be a general processor, and the general processor may call the verification program of the injector compensation code stored in the memory, and execute the verification method of the injector compensation code provided in the embodiment of the present application. For example, the general processor may be a central processing unit (CPU). The method executed when the verification program of the injector compensation code is called may refer to the various embodiments of the verification method of the injector compensation code of the present application, which will not be repeated here.
[0130] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation on the present application, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0131] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.
[0132] The computer-readable storage medium of the present application stores a verification program for the injector compensation code, wherein when the verification program for the injector compensation code is executed by a processor, the steps of the above-mentioned method for verifying the injector compensation code are implemented.
[0133] Among them, the method implemented when the verification program of the injector compensation code is executed can refer to the various embodiments of the verification method of the injector compensation code of the present application, and will not be repeated here.
[0134] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0136] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings 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 limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0137] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" 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", "for example" or "for example" is intended to present related concepts in a specific way.
[0138] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of 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. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0139] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0141] The above are only specific implementations of the embodiments of the present invention, but the protection scope of the embodiments of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the embodiments of the present invention, and these modifications or replacements should be included in the protection scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for verifying a fuel injector compensation code, characterized in that: The method comprises the following steps: establishing a whole vehicle simulation model, forming test cases according to the required test conditions, and setting the test duration and test parameters of each test condition in the test cases; after adjusting the working parameters of the whole vehicle simulation model according to the test cases, collecting the simulated fuel injection pulse width under different conditions, comparing the simulated fuel injection pulse width under different conditions with the set target pulse width of the condition, and obtaining the corrected pulse width of the condition.
2. The method for verifying the injector compensation code according to claim 1, characterized in that: The whole vehicle simulation model includes an engine model, a whole vehicle controller model and a whole vehicle virtual model corresponding to the whole vehicle structure; The process of establishing the whole vehicle simulation model includes: A complete vehicle virtual model and an engine model are built on the simulation bench. Both the complete vehicle virtual model and the engine model communicate with the simulation bench through a board card, and a complete vehicle simulation signal is generated through the board card. The host computer and the complete vehicle controller model communicate with the simulation bench respectively.
3. The method for verifying the injector compensation code according to claim 2, characterized in that: The communication mode between the host computer and the simulation bench is local area network communication, and the communication mode between the vehicle controller and the simulation bench is wired communication.
4. The method for verifying the injector compensation code according to claim 1, characterized in that: The collection process of the simulated injection pulse width includes: presetting a level sampling range corresponding to different stable levels, wherein the lower limit of the level sampling range is above the lowest level, and the upper limit of the level sampling range is 0.5 to 2V higher than the lower limit; and selecting a level with the highest accuracy within the level sampling range according to the sampling accuracy under the level sampling range of different stable levels.
5. The method for verifying the injector compensation code according to claim 1, characterized in that: The process of forming a test case according to the required test conditions and setting the test duration and test parameters of each test condition in the test case includes: forming a configuration file with the test information, test duration and test parameters of each test condition, and associating all configuration files according to the test sequence to form a test case.
6. The method for verifying the injector compensation code according to claim 5, characterized in that: The test information of each test condition includes the condition type and the condition climate environment.
7. The method for verifying the injector compensation code according to claim 6, characterized in that: The operating conditions include: highway driving, national road driving, mountain road operation, traffic congestion and vehicle parking; The working climate environment includes: temperature, humidity and altitude; Temperature includes normal temperature, extreme high temperature and extreme low temperature, which may be unchanged or variable; Humidity includes normal humidity that is constant or variable, extremely high humidity, and extremely low humidity; Altitude includes normal altitude, which may be constant or variable, extreme high altitude, and extreme low altitude.
8. The method for verifying the injector compensation code according to claim 7, characterized in that: The operating condition types also include fault conditions.
9. The method for verifying the injector compensation code according to claim 6, characterized in that: The test information of each test condition also includes a cycle mode, and the cycle mode includes at least one of WHSC, WHTC and WNTE.
10. A verification device for a fuel injector compensation code, characterized in that: The device includes a simulation model building device, a test case generation module and a test case execution module; The simulation model establishment device is used to: implement the process of establishing a whole vehicle simulation model as described in any one of claims 1 to 9; The test case generation module is used to: implement the process of forming a test case according to the required test conditions as described in any one of claims 1 to 9, and setting the test duration and test parameters of each test condition in the test case; The test case execution module is used to: implement the process of adjusting the working parameters of the whole vehicle simulation model according to the test case as described in any one of claims 1 to 9, collecting the simulated injection pulse width under different working conditions, comparing the simulated injection pulse width under different working conditions with the set target pulse width of the working condition, and obtaining the corrected pulse width of the working condition.
Citation Information
Patent Citations
Signal matching method and signal matching device for vehicle engine hardware-in-loop simulation process
CN103699035A
Electric control motorcycle engine matching calibration method meeting national IV standard
CN108762110A
Oil injection quantity fluctuation compensation control method based on learning algorithm
CN109595087A
Oil sprayer online fault diagnosis equipment and diagnosis method
CN115596588A
Sensor and actuator simulation system in diesel engine ECU HIL test
CN117555312A