Data acquisition method, device and medium for engine injection hil

By starting the engine through the HIL control interface, determining the injection mode and cylinder 0 phase, and combining the physical cylinder and injection mode, the injection sequence is automatically determined. This solves the problem of inaccurate acquisition of injection advance angle and power-on time in existing technologies, and realizes efficient automation and reliability of engine HIL testing.

CN119321373BActive Publication Date: 2025-11-21WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411250099.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-11-21
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

Existing technologies cannot accurately collect the injection advance angle and power-on time of the engine ECU injection control, resulting in poor or non-closed-loop HIL status, which affects the smooth progress of engine HIL testing.

Method used

The engine is started via the HIL control interface, the injection mode is determined, the 0-cylinder phase and the preset acquisition angle are determined, and the injection sequence is automatically determined by combining the engine's physical cylinders and injection mode. Data acquisition is performed, and software cylinder number supplementation and phase offset compensation are used to ensure the accuracy and completeness of data acquisition.

Benefits of technology

It improved the controllability and security of the testing environment, realized the automation and intelligence of data collection, improved testing efficiency, reduced development costs, and ensured the reliability of product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119321373B_ABST
    Figure CN119321373B_ABST
Patent Text Reader

Abstract

The application discloses a data acquisition method and device for engine injection HIL and a medium, the method comprising: determining a starting signal through a control interface of the HIL, starting the engine according to the starting signal, and determining an injection mode of the engine; determining a 0-cylinder phase through the HIL, and determining a preset acquisition angle; determining an injection mode according to a physical cylinder of the engine, and determining an injection sequence according to the injection mode, so as to perform data acquisition according to the acquisition angle and the injection sequence. The application directly starts the engine through the control interface of the HIL and determines the injection mode, greatly improving controllability and safety of a test environment. The application has a very high application value in the development, test and verification process of an engine injection system, improves test efficiency, reduces development cost, and ensures reliability of product quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and particularly relates to a data acquisition method, device and medium for engine injection HIL. BACKGROUND

[0002] With the development of electronic control unit (ECU) injection control technology of an engine, hardware-in-the-loop (HIL) is faced with new challenges. The original fixed injection sequence acquisition method and hardware board acquisition short board cannot meet the current accurate demand of engine ECU injection control, for example, MPI, CPI and X-valve N-injection acquisition, cannot acquire correct injection advance angle and power-on time, so that the HIL closed loop state is poor, or the closed loop cannot be achieved, which seriously affects the smooth progress of engine HIL test. SUMMARY

[0003] In order to solve the above problems, the present application provides a data acquisition method for engine injection HIL, comprising: determining a start signal through a control interface of the HIL, starting an engine according to the start signal, and determining an injection mode of the engine; determining a 0-cylinder phase through the HIL, and determining a pre-set acquisition angle; determining an injection mode according to a physical cylinder of the engine, and determining an injection sequence according to the injection mode, so as to perform data acquisition according to the acquisition angle and the injection sequence.

[0004] In one example, the 0-cylinder phase is determined through the HIL, specifically comprising: determining a low idle injection angle through the HIL, performing phase offset according to the low idle injection angle, and determining the 0-cylinder phase.

[0005] In one example, the method further comprises: determining the injection mode, wherein the injection mode comprises a multi-point injection mode and a multi-injection multi-valve mode.

[0006] In one example, the method further comprises: if the injection mode is the multi-point injection mode, determining an order of the physical cylinder, and performing corresponding complement of a software cylinder number of the physical cylinder according to the 0-cylinder phase and the order of the physical cylinder, so as to determine the injection sequence.

[0007] In one example, the method further comprises: if the injection mode is the multi-valve multi-injection mode, determining whether the physical cylinder has an injection signal; if the physical cylinder does not have the injection signal, judging whether the physical cylinder is contained between phase offsets; and if the physical cylinder is contained between the phase offsets, updating a phase offset angle according to a pre-set angle increase amount.

[0008] In one example, after updating the phase deviation angle according to the preset angle increase amount, the method further comprises: determining a physical cylinder number corresponding to the physical cylinder, and shifting the 0 cylinder according to the physical cylinder number.

[0009] In one example, the method further comprises: performing phase offset compensation according to the acquisition angle to perform data acquisition, so as to obtain an advance angle corresponding to the physical cylinder, and determine a power-on time corresponding to the acquisition.

[0010] In one example, the method further comprises: obtaining acquisition parameters, the acquisition parameters including but not limited to an acquisition range, a software 0 cylinder phase, phase offset compensation, and a spray mode; and displaying the acquisition parameters through the control interface.

[0011] In another aspect, the application further provides a data acquisition device for engine spray HIL, comprising: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the data acquisition device for engine spray HIL to perform: determining a start signal through a control interface of the HIL, starting the engine according to the start signal, and determining a spray mode of the engine; determining a 0 cylinder phase through the HIL, and determining a preset acquisition angle; determining the spray mode according to a physical cylinder of the engine, and determining a spray sequence according to the spray mode, to perform data acquisition according to the acquisition angle and the spray sequence.

[0012] In another aspect, the application further provides a non-volatile computer storage medium storing computer executable instructions, which are configured to: determine a start signal through a control interface of the HIL, start the engine according to the start signal, and determine a spray mode of the engine; determine a 0 cylinder phase through the HIL, and determine a preset acquisition angle; determine the spray mode according to a physical cylinder of the engine, and determine a spray sequence according to the spray mode, to perform data acquisition according to the acquisition angle and the spray sequence.

[0013] The application directly starts the engine through the HIL control interface and determines the injection mode, greatly improving the controllability and safety of the test environment. Through accurate calculation of the 0 cylinder phase and setting of the collection angle, combined with the physical cylinder and injection mode of the engine, the injection sequence is automatically determined, realizing the automation and intelligentization of data collection. Especially in dealing with complex multi-point injection mode and multi-injection multi-valve mode, it can be flexibly handled through software cylinder number corresponding or phase offset compensation, etc., to ensure the accuracy and integrity of data collection. In addition, the application also has powerful parameter configuration and display function, which can flexibly set the collection range, software 0 cylinder phase and other parameters, and intuitively display through the control interface, convenient for user operation and monitoring. The application shows high application value in the development, test and verification process of the engine injection system, improves the test efficiency, reduces the development cost and ensures the reliability of product quality. BRIEF DESCRIPTION OF DRAWINGS

[0014] The drawings described herein are used to provide further understanding of the application, and form a part of the application. The illustrative embodiments of the application and their descriptions serve to explain the application, and do not constitute an improper limitation on the application. In the drawings:

[0015] Figure 1 A flowchart of a data collection method of an engine injection HIL in an embodiment of the application is shown;

[0016] Figure 2 A schematic diagram of a data collection device of an engine injection HIL in an embodiment of the application is shown. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical scheme and advantages of the application more clear, the technical scheme of the application will be described in detail below with reference to the specific embodiments of the application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the application, not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the application.

[0018] The technical scheme provided by each embodiment of the application will be described in detail below with reference to the drawings.

[0019] As shown in Figure 1 In order to solve the above problems, the data collection method of the engine injection HIL provided by the embodiments of the application, the method comprises:

[0020] S101, determining a start signal through the control interface of the HIL, so as to start the engine according to the start signal and determine the injection mode of the engine.

[0021] HIL technology simulates the real environment of engine operation by replacing the physical engine with a mathematical model and connecting it with the real controller to form a closed-loop test system. In this system, the control interface serves as a bridge for users to interact with the test system, allowing test personnel to input various instructions and parameters. The user first clicks the HIL interface T50 button to make the ECU output a start signal to make the starter work. The injection mode is one of the key factors affecting engine performance, as it determines the timing, quantity, and method of fuel injection. For example, multi-point fixed injection mode (MPI), multi-point non-fixed injection mode (CPI), and X-valve N-injection mode.

[0022] S102, determine the 0 cylinder phase through the HIL, and determine the pre-set collection angle.

[0023] According to the injection of 0 cylinder phase at the same time, the HIL hardware configurable injection collection range is 720 degrees.

[0024] S103, determine the injection mode according to the physical cylinder of the engine, and determine the injection sequence according to the injection mode, so as to collect data according to the collection angle and the injection sequence.

[0025] When the physical cylinder fixed injection sequence is determined, the HIL collection configuration needs to correspond to the physical cylinder injection sequence to correctly collect the advance angle and power-on time. To meet the needs of injection collection in various modes, the HIL collection configuration is configured as software 0 cylinder, and the injection angle range between the low idle speed and the high idle speed in the application layer is determined. The software 0 cylinder position is determined by the falling edge of the 6 cylinder injection angle and then fixed offset.

[0026] In an engine control system, especially when using HIL testing or simulation, it is often necessary to determine a reference cylinder, i.e. 0 cylinder, as the starting point for injection sequence, ignition sequence or other control logic. However, in the actual physical engine, the arrangement order of the cylinders may not completely correspond to the software or software cylinder number in the control system. After determining a physical cylinder as software 0 cylinder, in order to maintain the consistency and accuracy of the control logic, the software cylinder numbers of the remaining physical cylinders need to be sequentially supplemented. This process ensures that regardless of the actual arrangement of the physical cylinders, the software can control and monitor each cylinder according to the predetermined logical sequence. After determining the 0 cylinder, the physical cylinders 1-5-3-6-2-4 are sequentially supplemented, for example, if the physical 3 cylinder is determined as the software 0 cylinder, the software cylinder numbers of the corresponding physical cylinders are 4-5-0-1-2-3.

[0027] After determining the software cylinder number, phase offset compensation is performed according to the current collection angle, so that the correct advance angle is determined, and the real collected advance angle feature is not lost. The power-on time collection and display are performed. The current angle collected is compared with the reference phase, and the phase difference between the two, that is, the phase offset, is calculated. The offset may be caused by various factors such as sensor installation position, mechanical clearance, electronic delay, etc. According to the calculated phase offset, the advance angle corresponding to the software cylinder number is compensated. After phase offset compensation, the advance angle in the software will match the actual physical situation, thereby ensuring that fuel injection or ignition is performed at the correct crankshaft or camshaft position. After the correct advance angle is determined, the collection and display of the power-on time become direct and accurate. The control system controls the opening and closing of the fuel injector according to the preset fuel injection pulse width and the determined advance angle, and simultaneously collects and displays the data of the power-on time in real time.

[0028] In the X-valve N-injection mode, taking the 5-valve 6-injection as an example, the software 0-cylinder position is determined, and then the physical cylinder number without injection signal is determined. During the operation of the engine, due to some reasons such as faults, fuel-saving strategies, requirements under specific working conditions, etc., some cylinders may temporarily not inject fuel. At this time, the control system needs to be able to identify these physical cylinders without injection signal, which is usually achieved by monitoring the injection state or sensor signal of each cylinder. Then it is judged whether the phase offset contains the physical cylinder. Since the injection sequence of the engine is fixed, and the injection phase of each cylinder is relative to the crankshaft position, the judgment is made by calculating the relationship between the current phase offset and the injection phase of the physical cylinder. If yes, that is, the injection phase of the physical cylinder is within the range covered by the current phase offset, then a 120-degree phase offset angle is added, which ensures that even if there is a phase offset, the injection of the physical cylinder can be performed at the correct crankshaft position. In the next cycle period, the software 0-cylinder is shifted, and the next physical cylinder replaces its position.

[0029] As shown in Figure 2 , the application embodiment further provides a data collection device for engine injection HIL, comprising:

[0030] at least one processor; and

[0031] a memory in communication connection with the at least one processor; wherein

[0032] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the data collection device for engine injection HIL to perform:

[0033] determining a start signal through a control interface of the HIL, so as to start the engine according to the start signal and determine an injection mode of the engine;

[0034] The phase of cylinder 0 is determined by the HIL, and a pre-set acquisition angle is determined;

[0035] The injection pattern is determined based on the physical cylinders of the engine, and the injection sequence is determined based on the injection pattern, so as to collect data according to the acquisition angle and the injection sequence.

[0036] This application embodiment also provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0037] The start signal is determined through the HIL control interface, so as to start the engine according to the start signal and determine the injection mode of the engine.

[0038] The phase of cylinder 0 is determined by the HIL, and a pre-set acquisition angle is determined;

[0039] The injection pattern is determined based on the physical cylinders of the engine, and the injection sequence is determined based on the injection pattern, so as to collect data according to the acquisition angle and the injection sequence.

[0040] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should understand that by simply performing some logic programming on the method flow using one of these hardware description languages ​​and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

[0041] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

[0042] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0043] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0044] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the description of the method embodiments.

[0045] The devices and media provided in this application are one-to-one with the methods. Therefore, the devices and media also have similar beneficial technical effects as their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0046] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0047] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0048] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0049] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0050] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0051] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0052] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0053] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0054] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for acquiring data on HIL (High-Intensity Leakage) injection in an engine, characterized in that, include: The start signal is determined through the HIL control interface, so as to start the engine according to the start signal and determine the injection mode of the engine. The phase of cylinder 0 is determined by the HIL, and a pre-set acquisition angle is determined; The injection pattern is determined based on the physical cylinders of the engine, and the injection sequence is determined based on the injection pattern, so as to collect data according to the acquisition angle and the injection sequence; Determining the cylinder 0 phase using the HIL specifically includes: The low idle injection angle is determined by the HIL, and the phase shift is performed based on the low idle injection angle to determine the 0 cylinder phase.

2. The method according to claim 1, characterized in that, The method further includes: The injection mode is determined, including a multi-point injection mode and a multi-injection multi-valve mode.

3. The method according to claim 2, characterized in that, The method further includes: If the injection mode is a multi-point injection mode, the order of the physical cylinders is determined, and the software cylinder numbers of the physical cylinders are sequentially matched according to the phase of cylinder 0 and the order of the physical cylinders to determine the injection sequence.

4. The method according to claim 2, characterized in that, The method further includes: If the injection mode is a multi-valve multi-injection mode, then determine whether there is an injection signal in the physical cylinder; If the physical cylinder does not have an injection signal, then determine whether the phase offset includes the physical cylinder; If the phase offset includes the physical cylinder, the phase deviation angle is updated according to the preset angle increment.

5. The method according to claim 4, characterized in that, After updating the phase deviation angle according to a preset angle increase, the method further includes: Determine the physical cylinder number corresponding to the physical cylinder, and shift cylinder 0 according to the physical cylinder number.

6. The method according to claim 1, characterized in that, The method further includes: Phase offset compensation is performed based on the acquisition angle to acquire data, thereby obtaining the advance angle corresponding to the physical cylinder and determining the corresponding power-on time during acquisition.

7. The method according to claim 1, characterized in that, The method further includes: Acquire the acquisition parameters, which include, but are not limited to, acquisition range, software cylinder 0 phase, phase offset compensation, and injection mode; The collected parameters are displayed through the control interface.

8. A data acquisition device for engine injection HIL, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the data acquisition device for engine injection HIL to perform the following: The start signal is determined through the HIL control interface, so as to start the engine according to the start signal and determine the injection mode of the engine. The phase of cylinder 0 is determined by the HIL, and a pre-set acquisition angle is determined; The injection pattern is determined based on the physical cylinders of the engine, and the injection sequence is determined based on the injection pattern, so as to collect data according to the acquisition angle and the injection sequence; Determining the cylinder 0 phase using the HIL specifically includes: The low idle injection angle is determined by the HIL, and the phase shift is performed based on the low idle injection angle to determine the 0 cylinder phase.

9. A non-volatile computer storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are set as follows: The start signal is determined through the HIL control interface, so as to start the engine according to the start signal and determine the injection mode of the engine. The phase of cylinder 0 is determined by the HIL, and a pre-set acquisition angle is determined; The injection pattern is determined based on the physical cylinders of the engine, and the injection sequence is determined based on the injection pattern, so as to collect data according to the acquisition angle and the injection sequence; Determining the cylinder 0 phase using the HIL specifically includes: The low idle injection angle is determined by the HIL, and the phase shift is performed based on the low idle injection angle to determine the 0 cylinder phase.