Vehicle and engine control system, oil injection frequency calculation method and device and medium

By obtaining cylinder identification codes and identification marks in each electronic control unit in the engine control system, determining whether to perform fuel injection counts, the problem of inaccurate calculation of the number of fuel injections under the joint control of multiple electronic control units is solved, and the fuel volume and torque are improved. Calculation accuracy enhances the safety and stability of the vehicle.

CN119244388APending Publication Date: 2025-01-03CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411335573.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the case of multi-electric control unit joint control, the calculation of the engine fuel injection times is inaccurate, which affects the calculation accuracy of the oil volume and torque.

Method used

By obtaining cylinder identification codes and identification marks in each electronic control unit in the engine control system, it is determined whether to perform fuel injection counting, and judge whether to perform counting based on fuel injection instructions and fuel injection pulse width signals, ensuring that each electronic control unit only provides them Controlled cylinders for counting.

Benefits of technology

It improves the accuracy of the number of fuel injections, enhances the calculation accuracy of fuel volume and torque, and improves the operational safety and stability of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119244388A_ABST
    Figure CN119244388A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle, an engine control system, a fuel injection frequency calculation method, a fuel injection frequency calculation device and a medium, and the fuel injection frequency calculation method comprises the following steps: when the engine control system comprises a plurality of electric control units, each electric control unit obtains a cylinder identification code of each electric control unit and an electric control unit identification mark; when an air cylinder of the engine is controlled to inject oil, each electric control unit obtains an air cylinder identifier, an oil injection instruction and an oil injection pulse width signal of the current oil injection air cylinder; the electric control unit determines whether oil injection counting is carried out or not according to the air cylinder identifier of the current oil injection air cylinder, the air cylinder identification code of each electric control unit and the electric control unit identification identifier; and when the electronic control unit performs oil injection counting, the electronic control unit determines a current oil injection counting value according to the oil injection instruction and the oil injection pulse width signal, and records the current oil injection counting value as an oil injection recording value. By adopting the technical scheme, the accuracy of the oil injection count value recorded by each electronic control unit can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle and engine control system, a method, a device and a medium for calculating the number of fuel injections. Background Art

[0002] The Electronic Control Unit (ECU) is the main control device of the electronically controlled engine. Its function is to provide an electric pulse signal of a certain width to the injector to control the injection amount according to the program and data stored in it and in response to the corresponding sensor information, and to count the number of injections of the injector to facilitate the subsequent determination of the injection amount, etc.

[0003] At present, the principle of counting the number of engine injections is that each time the injection command and the injection pulse width are allowed to be input at the same time, the count value of the number of injections is increased by one, and during the counting process, it is not distinguished which cylinder of the engine the injection is. When the injection command input is prohibited, the count value of the number of injections will not be controlled to increase by one regardless of whether there is an injection pulse width input.

[0004] However, with different requirements for vehicle performance, different types of engines are used, such as four-cylinder engines and eight-cylinder engines. When the number of cylinders in an engine is large, multiple electronic control units are required for coordinated control. In the case of multiple electronic control units, if the existing injection counting method is still used, the injection count will be inaccurate, thereby affecting the calculation accuracy of subsequent functions such as oil volume calculation and torque calculation. Summary of the invention

[0005] The present invention provides a vehicle and engine control system, a method, a device and a medium for calculating the number of fuel injections, so as to solve the problem of inaccurate calculation of the number of fuel injections of an engine when multiple electronic control units are jointly controlled.

[0006] In a first aspect, the present invention provides a method for calculating the number of fuel injections of an engine, the method comprising:

[0007] When the control system of the engine includes multiple electronic control units, each electronic control unit obtains a cylinder identification code and an electronic control unit identification mark of each electronic control unit;

[0008] When controlling the cylinder injection of the engine, each electronic control unit obtains the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder;

[0009] The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification;

[0010] Optionally, each electronic control unit has a different electronic control unit identification mark; each electronic control unit identification mark corresponds one-to-one to the cylinder identification code of each electronic control unit.

[0011] Optionally, the cylinder identification includes at least the injection sequence number of the cylinder; the cylinder identification code of the electronic control unit includes a counting identification corresponding one-to-one to the injection sequence number of each cylinder.

[0012] Optionally, the electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification, including:

[0013] The electronic control unit determines, according to the electronic control unit identification mark, a cylinder identification code corresponding to the electronic control unit identification mark as the cylinder identification code of the electronic control unit;

[0014] The electronic control unit extracts the count mark corresponding to the injection number from the cylinder identification code of the electronic control unit according to the injection number of the current injection cylinder as the current count mark;

[0015] The electronic control unit determines whether to perform injection counting based on the current counting flag.

[0016] Optionally, the electronic control unit determines whether to perform fuel injection counting according to the current counting mark, including:

[0017] The electronic control unit determines whether the current counting mark of the electronic control unit is a first preset mark;

[0018] If so, the electronic control unit counts the injection.

[0019] Optionally, the electronic control unit determines whether to perform fuel injection counting according to the current counting mark, and further includes:

[0020] If the electronic control unit determines that the current counting mark of the electronic control unit is not the first preset mark, the electronic control unit stops the fuel injection counting.

[0021] Optionally, the fuel injection instruction includes a fuel injection permission instruction or a fuel injection prohibition instruction; the fuel injection pulse width signal includes a fuel injection pulse enable signal and a fuel injection pulse disable signal.

[0022] Optionally, when the electronic control unit performs fuel injection counting, the electronic control unit determines the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, including:

[0023] When the electronic control unit counts the fuel injection, the electronic control unit determines whether the fuel injection condition is met according to the fuel injection instruction and the fuel injection pulse width signal; the fuel injection condition includes: the fuel injection instruction is a fuel injection permission instruction, and the fuel injection pulse width signal is an enable signal of the fuel injection pulse width signal;

[0024] If so, the electronic control unit adds one to the recorded injection record value as the current injection count value.

[0025] Optionally, when the electronic control unit performs fuel injection counting, the electronic control unit determines the current fuel injection count value according to the fuel injection instruction fuel injection pulse width signal, and further includes:

[0026] If the injection condition is not met, the electronic control unit will use the recorded injection record value as the current injection count value.

[0027] Optionally, the method for calculating the number of engine fuel injections also includes:

[0028] The electronic control unit obtains the number of electronic control units in the engine control system;

[0029] The electronic control unit determines whether the number of electronic control units in the engine control system is 1;

[0030] If not, then when the control system of the engine includes a plurality of electronic control units, the step of obtaining the cylinder identification code and the electronic control unit identification mark of each electronic control unit is performed.

[0031] Optionally, the method for calculating the number of engine fuel injections also includes:

[0032] If the control system of the engine includes an electronic control unit, when controlling the fuel injection of the cylinder of the engine, the electronic control unit obtains the fuel injection instruction and the fuel injection pulse width signal;

[0033] The electronic control unit determines the current injection count value according to the injection command and the injection pulse width signal, and records the current injection count value as the injection record value.

[0034] In a second aspect, the present invention further provides a device for calculating the number of fuel injections of an engine, the device comprising:

[0035] An identification code acquisition control module, used for controlling each electronic control unit to respectively acquire a cylinder identification code and an electronic control unit identification mark of each electronic control unit when the control system of the engine includes multiple electronic control units;

[0036] The signal acquisition control module is used to control each electronic control unit to obtain the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder when controlling the cylinder injection of the engine;

[0037] The injection count determination module is used to control the electronic control unit to determine whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification;

[0038] The fuel injection count control module is used to control the electronic control unit to determine the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal when the electronic control unit performs fuel injection counting, and record the current fuel injection count value as the fuel injection record value.

[0039] In a third aspect, the present invention further provides an engine control system, the engine control system comprising:

[0040] at least one electronic control unit;

[0041] Among them, each electronic control unit is used to execute the method for calculating the number of engine injections in the first aspect.

[0042] In a fourth aspect, the present invention provides a vehicle, comprising: an engine and the engine control system of the third aspect;

[0043] The engine control system is used to control the working state of the engine.

[0044] In a fifth aspect, the present invention further provides a computer-readable storage medium storing computer instructions, which are used to enable a processor to implement the method for calculating the number of engine injections of the first aspect when executing the computer instructions.

[0045] The technical solution of the present invention is that when the control system of the engine includes multiple electronic control units, by making each electronic control unit respectively obtain the cylinder identification code and the electronic control unit identification mark of each electronic control unit, each electronic control unit can determine the cylinder controlled by the electronic control unit according to the cylinder identification code and the electronic control unit identification mark of each electronic control unit; at the same time, when controlling the cylinder injection of the engine, by making each electronic control unit obtain the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder, the electronic control unit can determine whether the electronic control unit performs injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code and the electronic control unit identification mark of each electronic control unit, and when the electronic control unit performs injection counting, the electronic control unit can further determine the current injection count value according to the injection instruction and the injection pulse width signal, and record the current injection count value as the injection record value. This embodiment allows each electronic control unit to count as needed, and can avoid the situation where the engine control system includes multiple electronic control units, where the multiple electronic control units count fuel injections at the same time, which leads to inaccurate fuel injection counting. This is beneficial to improving the accuracy of the fuel injection counting of each electronic control unit, and further beneficial to improving the calculation accuracy of the oil volume, torque, etc., and improving the safety and stability of vehicle operation.

[0046] 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

[0047] 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.

[0048] Figure 1 is a flow chart of a method for calculating the number of engine fuel injections provided by the first embodiment of the present invention;

[0049] Figure 2 is a flow chart of a method for calculating the number of engine fuel injections provided by the second embodiment of the present invention;

[0050] Figure 3 is a flow chart of a method for calculating the number of engine fuel injections provided by Embodiment 3 of the present invention;

[0051] Figure 4 is a flow chart of a method for calculating the number of engine fuel injections provided by a fourth embodiment of the present invention;

[0052] Figure 5 This is a structural block diagram of a device for calculating the number of engine injections provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0053] 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.

[0054] 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.

[0055] Embodiment 1

[0056] Figure 1 This is a flow chart of a method for calculating the number of fuel injections of an engine provided in the first embodiment of the present invention. This embodiment is applicable to the case where the engine control system includes multiple electronic control units, and each electronic control unit can accurately count fuel injections. This method can be executed by the engine fuel injection number calculation device provided in the embodiment of the present invention. The engine fuel injection number calculation device can be implemented in the form of hardware and / or software, and the engine fuel injection number calculation device can be configured in the engine control system. Figure 1 As shown, the method includes:

[0057] S110: When the control system of the engine includes a plurality of electronic control units, each electronic control unit obtains a cylinder identification code and an electronic control unit identification mark of each electronic control unit.

[0058] It is understandable that for a large-displacement engine, it usually includes multiple cylinders to work together. When a single electronic control unit is used to control the engine, the hardware volume of the electronic control unit is large, the circuit board is relatively complex, the load is high, and better heat dissipation capacity is required. This requires the electronic control unit to have higher performance, which will invisibly increase the cost of the engine control system. Therefore, in order to facilitate the control of each cylinder, multiple electronic control units are usually set in the engine control system. Each electronic control unit can control the operating status (such as injection status) of different cylinders respectively, which is equivalent to each electronic control unit controlling a small-displacement engine. In this way, the structure of each electronic control unit can be simplified and the cost of each electronic control unit can be reduced.

[0059] Specifically, each electronic control unit can control different cylinders for fuel injection respectively, and when controlling the cylinders for fuel injection, the number of fuel injections of each cylinder needs to be counted. To prevent repeated counting by each electronic control unit, each electronic control unit can be controlled to only count the number of fuel injections of the cylinders it controls. For example, for an eight-cylinder engine, when two electronic control units are provided in the engine control system, each electronic control unit can control the fuel injection of four cylinders. At this time, each electronic control unit can count the number of fuel injections of the four cylinders it controls.

[0060] Among them, in order to facilitate the statistics of the number of injections of each cylinder, each electronic control unit has its own electronic control unit identification mark, and the electronic control unit identification mark can be used to determine the identity of the electronic control unit. For example, in the case where the engine control system includes two electronic control units, the two electronic control units can be a main electronic control unit and a sub-electronic control unit, respectively. For the main electronic control unit, the electronic control unit identification mark obtained can be "1", and for the sub-electronic control unit, the electronic control unit identification mark obtained can be "0"; at the same time, each electronic control unit has its own cylinder identification code, and the injection sequence of the cylinders controlled by the electronic control unit can be determined by its own cylinder identification code. For example, for the main electronic control unit, its cylinder identification code can be M, and M can store the injection sequence of the cylinders controlled by the main electronic control unit. For the sub-electronic control unit, its cylinder identification code can be S, and S can store the injection sequence of the cylinders controlled by the sub-electronic control unit.

[0061] In an optional embodiment, each electronic control unit has a different electronic control unit identification mark; each electronic control unit identification mark corresponds one-to-one to the cylinder identification code of each electronic control unit.

[0062] Specifically, taking the engine control system including a main electronic control unit and a slave electronic control unit as an example, the electronic control unit identification identifier of the main electronic control unit is different from the electronic control unit identification identifier of the slave electronic control unit, so that each electronic control unit can determine its own identity according to the electronic control unit identification identifier obtained by itself. For example, when the electronic control unit identification identifier obtained by one of the electronic control units is "1", the electronic control unit can know that its own identity is the main electronic control unit, and when the electronic control unit identification identifier obtained by the other electronic control unit is "0", the electronic control unit can know that its own identity is the slave electronic control unit. At the same time, since the internal structures of each electronic control unit are the same, when each electronic control unit obtains the cylinder identification code, it will simultaneously obtain the cylinder identification codes of all electronic control units, that is, the main electronic control unit will simultaneously obtain the cylinder identification code of the main electronic control unit and the cylinder identification code of the slave electronic control unit, and the slave electronic control unit will also simultaneously obtain the cylinder identification code of the main electronic control unit and the cylinder identification code of the slave electronic control unit. In order to facilitate each electronic control unit to identify its own cylinder identification code, each electronic control unit identification identifier can correspond one-to-one with the cylinder identification code of each electronic control unit. For example, the electronic control unit identification identifier "1" can correspond to the cylinder identification code M, and the electronic control unit identification identifier "0" can correspond to the electronic control unit identification code S. For the main electronic control unit, when the electronic control unit identification identifier it obtains is "1", and the cylinder identification codes M and S are obtained at the same time, the cylinder identification code corresponding to the electronic control unit identification identifier can be determined to be M through the electronic control unit identification identifier "1".

[0063] S120. When controlling the cylinder fuel injection of the engine, each electronic control unit obtains the cylinder identification, fuel injection instruction and fuel injection pulse width signal of the current fuel injection cylinder.

[0064] Among them, the cylinder identification of the cylinder may at least include the injection sequence number of the cylinder. Taking an eight-cylinder engine as an example, if the decimal values ​​"1, 2, 3, 4, 5, 6, 7, 8" are used to represent the eight cylinders respectively, in actual injection control, the injection sequence of each cylinder can be designed according to actual needs. For example, the injection sequence of each cylinder can be "1, 5, 4, 8, 6, 3, 7, 2", that is, the injection sequence of cylinder 1 is 1, the injection sequence of cylinder 5 is 2, ... and so on. The injection sequence of cylinder 2 is 8. In this way, the cylinder identification of the cylinder can be determined according to the injection sequence of the current injecting cylinder in the current injection cycle.

[0065] Correspondingly, the cylinder identification code of the electronic control unit includes a counting mark that corresponds to the injection sequence number of each cylinder. For example, taking the main electronic control unit controlling cylinders 1, 2, 3, 4 and the auxiliary electronic control unit controlling cylinders 5, 6, 7, 8 as an example, if the injection sequence numbers of the cylinders are "1, 5, 4, 8, 6, 3, 7, 2", when the counting mark is represented by a binary number, the cylinder identification code M of the main electronic control unit can be "10100101", and the cylinder identification code S of the auxiliary electronic control unit can be "01011010", that is, for the current injection sequence of the cylinder is 2, the cylinder identification code of the main electronic control unit corresponding to the cylinder with the injection sequence 2 The counting mark corresponding to the cylinder is 0, and the counting mark corresponding to the cylinder with an injection order of 2 in the cylinder identification code of the slave electronic control unit is 1; when the injection order of the current injection cylinder is 3, the counting mark corresponding to the cylinder with an injection order of 3 in the cylinder identification code of the main electronic control unit is 1, and the counting mark corresponding to the cylinder with an injection order of 2 in the cylinder identification code of the slave electronic control unit is 0, and so on. When the cylinder identification of the current injection cylinder is known, the counting mark corresponding to the cylinder identification in the cylinder identification code of each electronic control unit can be determined.

[0066] It should be noted that the above only exemplarily uses decimal values ​​to represent each cylinder and binary numbers to represent the counting mark as an example to exemplarily illustrate the technical solution of the embodiment of the present invention, and in the embodiment of the present invention, the representation method of the cylinder and the representation method of the counting mark are not limited to this. Accordingly, the cylinder identification code of each electronic control unit can also be designed according to actual needs, and the embodiment of the present invention does not specifically limit this.

[0067] In addition, the injection command and injection pulse width signal can be provided to each electronic control unit by the vehicle's whole vehicle controller according to the actual working conditions, and the whole vehicle controller will send the same injection command and injection pulse width signal to each electronic control unit at the same time, so that each electronic control unit will obtain the injection command and injection pulse width signal at the same time, so that the electronic control unit can control the corresponding cylinder to inject fuel according to the injection command and injection pulse width signal.

[0068] S130: The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit, and the electronic control unit identification identification.

[0069] Specifically, since each electronic control unit has a unique electronic control unit identification mark and a cylinder identification code corresponding to the electronic control unit identification mark, after the electronic control unit obtains the electronic control unit identification mark of the electronic control unit, the cylinder identification code corresponding to the electronic control unit can be determined accordingly; at the same time, since the cylinder identification code of the electronic control unit includes a counting mark corresponding to the injection number of each cylinder, and the cylinder identification of the current injection cylinder includes the injection number of the current injection cylinder, at this time, the counting mark corresponding to the injection number in the cylinder identification of the electronic control unit can be determined according to the injection number of the current injection cylinder, so that it can be determined whether to perform injection counting according to the counting mark.

[0070] S140: When the electronic control unit counts fuel injections, the electronic control unit determines a current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as a fuel injection record value.

[0071] Specifically, when the vehicle is running normally, each electronic control unit controls each cylinder to inject fuel according to the current injection sequence number of each cylinder. However, when the working condition of the vehicle changes, such as the driver steps on the brakes or switches gears, the injection amount of the cylinder, the engine output torque, etc. need to be changed. At this time, some cylinders will no longer participate in the injection. In this way, it can be determined whether the current injection cylinder needs to be injected according to the injection command and the injection pulse width signal obtained by the electronic control unit. When it is determined that the current injection cylinder needs to be injected according to the injection command and the injection pulse width signal, the injection count value of the electronic control unit that counts the injection can be controlled to add 1, that is, the injection count value of the electronic control unit that counts the injection is changed from N to N+1, while the injection count values ​​of other electronic control units remain unchanged; or, when it is determined that the current injection cylinder does not need to be injected according to the injection command and the injection pulse width signal, the injection count values ​​of all electronic control units can be controlled to remain unchanged, so that the actual number of injections of each cylinder can be recorded.

[0072] In an exemplary embodiment, taking the engine control system including a main electronic control unit and a sub-electronic control unit as an example, if the injection number of the current injection cylinder is 1, a counting mark corresponding to the injection number 1 is determined according to the cylinder identification code of the main electronic control unit as the counting mark of the main electronic control unit, and a counting mark corresponding to the injection number 1 is determined according to the cylinder identification code of the sub-electronic control unit as the counting mark of the sub-electronic control unit. At this time, the main electronic control unit can determine whether it needs to perform injection counting according to the counting mark of the main electronic control unit, and the sub-electronic control unit can determine whether it needs to perform injection counting according to the counting mark of the sub-electronic control unit. The identification determines whether it needs to perform injection counting; if it is determined that the main electronic control unit needs to perform injection counting, but the slave electronic control unit does not need to perform injection counting, the injection count value of the slave electronic control unit will remain unchanged, and the main electronic control unit will determine whether the current injection cylinder with injection sequence number 1 is injecting fuel according to the injection command and injection pulse width signal it receives. If the current injection cylinder with injection sequence number 1 is injecting fuel, the injection count value of the main electronic control unit will change from the current N to N+1, thereby preventing each electronic control unit from repeating counting and improving the accuracy of the injection count of each electronic control unit.

[0073] It should be noted that the above description is only exemplarily for the case where the engine control system includes two electronic control units, and in the embodiment of the present invention, the engine control system may also include three or more electronic control units, which can be designed according to actual needs, and the embodiment of the present invention does not specifically limit this. When the engine control system includes three or more electronic control units, the injection counting principle is similar to that when it includes two electronic control units. The similarities are referred to the above description and will not be repeated again. For the convenience of description, in the embodiment of the present invention, when the engine control system includes multiple electronic control units, the engine control system includes two electronic control units as an example, and the technical solution of the embodiment of the present invention is exemplarily described.

[0074] In this embodiment, when the engine control system includes multiple electronic control units, each electronic control unit respectively obtains the cylinder identification code and the electronic control unit identification mark of each electronic control unit, so that each electronic control unit can determine the cylinder controlled by the electronic control unit according to the cylinder identification code and the electronic control unit identification mark of each electronic control unit; at the same time, when controlling the cylinder injection of the engine, by making each electronic control unit obtain the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder, the electronic control unit can determine whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code and the electronic control unit identification mark of each electronic control unit, and when the electronic control unit performs injection counting, the electronic control unit can further determine the current injection count value according to the injection instruction and the injection pulse width signal, and record the current injection count value as the injection record value. This embodiment allows each electronic control unit to count as needed, and can avoid the situation where the engine control system includes multiple electronic control units, where the multiple electronic control units count fuel injections at the same time, which leads to inaccurate fuel injection counting. This is beneficial to improving the accuracy of the fuel injection counting of each electronic control unit, and further beneficial to improving the calculation accuracy of the oil volume, torque, etc., and improving the safety and stability of vehicle operation.

[0075] Embodiment 2

[0076] Figure 2 This is a flow chart of a method for calculating the number of fuel injections of an engine provided in the second embodiment of the present invention. Based on the above embodiment, this embodiment explains how to determine whether to perform fuel injection counting. Figure 2 As shown, the method includes:

[0077] S210: When the control system of the engine includes a plurality of electronic control units, each electronic control unit obtains a cylinder identification code and an electronic control unit identification mark of each electronic control unit.

[0078] Among them, different electronic control units have different electronic control unit identification marks; each electronic control unit identification mark corresponds to the cylinder identification code of each electronic control unit one by one.

[0079] S220: When controlling the cylinder fuel injection of the engine, each electronic control unit obtains the cylinder identification, fuel injection instruction and fuel injection pulse width signal of the current fuel injection cylinder.

[0080] The cylinder identification at least includes the injection sequence number of the cylinder; the cylinder identification code of the electronic control unit includes a counting identification corresponding to the injection sequence number of each cylinder.

[0081] S230: The electronic control unit determines, according to the electronic control unit identification identifier, a cylinder identification code corresponding to the electronic control unit identification identifier as the cylinder identification code of the electronic control unit.

[0082] Specifically, since different electronic control units have different electronic control unit identification identifiers, and each electronic control unit identification identifier corresponds one-to-one to the cylinder identification code of each electronic control unit, after the electronic control unit obtains its own electronic control unit identification identifier, it can search for the cylinder identification code corresponding to the electronic control unit identification identifier it has generated among the cylinder identification codes of each electronic control unit it has obtained, and this cylinder identification code is the cylinder identification code of the electronic control unit.

[0083] Exemplarily, taking an 8-cylinder engine as an example, the engine control system includes a main electronic control unit and a slave electronic control unit. The electronic control unit identification identifier obtained by the main electronic control unit is P1, and the electronic control unit identification identifier obtained by the slave electronic control unit is P2. The electronic control unit identification identifier P1 corresponds to the cylinder identification code M, and the electronic control unit identification identifier P2 corresponds to the cylinder identification code S. In this way, according to the electronic control unit identification identifier P1 of the main electronic control unit, the cylinder identification code of the main electronic control unit can be determined to be M, and according to the electronic control unit identification identifier P2 of the slave electronic control unit, the cylinder identification code of the slave electronic control unit can be determined to be S.

[0084] S240: The electronic control unit extracts a counting mark corresponding to the injection number from the cylinder identification code of the electronic control unit according to the injection number of the current injection cylinder as the current counting mark.

[0085] Specifically, since the cylinder identification code includes counting identifiers that correspond one-to-one to the injection numbers of each cylinder, after the electronic control obtains the injection number of the current injection cylinder, the counting identifier corresponding to the injection number of the current injection cylinder can be found in the cylinder identification code of the electronic control unit according to the injection number of the current injection cylinder, and the found counting identifier can be used as the current counting identifier of the electronic control unit.

[0086] Exemplarily, taking the engine as an eight-cylinder engine, and the engine control system including a main electronic control unit and a slave electronic control unit as an example, if the cylinder identification code M of the main electronic control unit is "10100101", the cylinder identification code S of the slave electronic control unit is "01011010", and the injection sequence number of the current injection cylinder is 3, then the third counting identifier from the left in the cylinder identification code M of the main electronic control unit is the counting identifier corresponding to the injection sequence number of the current injection cylinder, and the counting identifier is extracted as the current counting identifier of the main electronic control unit, that is, the current counting identifier of the main electronic control unit is "1"; similarly, the third counting identifier from the left in the cylinder identification code S of the slave electronic control unit is the counting identifier corresponding to the injection sequence number of the current injection cylinder, and the counting identifier is extracted as the current counting identifier of the slave electronic control unit, that is, the current counting identifier of the slave electronic control unit is "0".

[0087] S250: The electronic control unit determines whether to perform fuel injection counting according to the current counting flag.

[0088] Among them, there are differences between the counting identifiers of different electronic control units. According to the current counting identifier of the electronic control unit, it can be determined whether the electronic control unit needs to perform injection counting. If injection counting is required, it can be further determined according to the injection instruction and the injection pulse width signal whether the injection count value of the electronic control unit needs to be added by 1 based on the original injection count value.

[0089] Optionally, the electronic control unit determines whether to perform fuel injection counting based on the current counting identifier, which may include: the electronic control unit determines whether the current counting identifier of the electronic control unit is a first preset identifier; if so, the electronic control unit performs fuel injection counting; if not, the electronic control unit stops fuel injection counting.

[0090] Exemplarily, the counting identifier can be represented by a binary value. In this case, the first preset identifier can be "1". When the current counting identifier of the electronic control unit is the first preset identifier, that is, when the current counting identifier is "1", the electronic control unit needs to count the injections; and when the current counting identifier of the electronic control unit is not the first preset identifier, for example, when the current counting identifier is the second preset identifier "0", the electronic control unit does not need to count the injections. In this way, the current counting identifier of the electronic control unit can be used to accurately determine whether the electronic control unit needs to count the injections, and when the electronic control unit needs to count the injections, the injection count value will be further determined according to the injection command and the injection pulse width signal. When the electronic control unit does not need to count the injections, it is not necessary to determine the injection count value according to the injection command and the injection pulse width signal, and the injection count value of the electronic control unit can be kept unchanged.

[0091] S260: When the electronic control unit counts fuel injections, the electronic control unit determines a current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as a fuel injection record value.

[0092] This embodiment enables the electronic control unit to determine the cylinder identification code corresponding to the electronic control unit identification identifier as the cylinder identification code of the electronic control unit according to the electronic control unit identification identifier, and extracts the counting identifier corresponding to the injection sequence number from the cylinder identification code of the electronic control unit as the current counting identifier according to the injection sequence number of the current injection cylinder, so as to determine whether to perform injection counting according to the current counting identifier of the electronic control unit, thereby being able to determine on demand whether each electronic control unit needs to be counted, and being able to prevent each electronic control unit from repeating counting while ensuring that each electronic control unit can perform injection counting according to the actual injection situation of each cylinder, which is beneficial to improving the accuracy of the injection counting of each cylinder by each electronic control unit, thereby being able to improve the calculation accuracy of the oil volume, torque, etc., and improving the safety and stability of vehicle operation.

[0093] Embodiment 3

[0094] Figure 3This is a flow chart of a method for calculating the number of fuel injections of an engine provided in the third embodiment of the present invention. This embodiment, based on the above embodiment, describes a specific method for determining the fuel injection count value. Figure 3 As shown, the method includes:

[0095] S310: When the control system of the engine includes a plurality of electronic control units, each electronic control unit obtains a cylinder identification code and an electronic control unit identification mark of each electronic control unit.

[0096] S320: When controlling the cylinder fuel injection of the engine, each electronic control unit obtains the cylinder identification, fuel injection instruction and fuel injection pulse width signal of the current fuel injection cylinder.

[0097] S330: The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification.

[0098] S340. When the electronic control unit counts fuel injection, the electronic control unit determines whether the fuel injection condition is met according to the fuel injection instruction and the fuel injection pulse width signal; if so, execute S350; if not, execute S360.

[0099] The fuel injection instruction may include a fuel injection permission instruction or a fuel injection prohibition instruction; the fuel injection pulse width signal includes a fuel injection pulse enable signal and a fuel injection pulse disable signal. At this time, the fuel injection condition includes that the fuel injection instruction is a fuel injection permission instruction, and the fuel injection pulse width signal is a fuel injection pulse width enable signal.

[0100] S350: The electronic control unit adds one to the recorded fuel injection record value as the current fuel injection count value.

[0101] S360: The electronic control unit uses the recorded injection record value as the current injection count value.

[0102] Specifically, taking the engine control system including a main electronic control unit and a sub-electronic control unit as an example, when it is determined that the main electronic control unit needs to count fuel injection, the main electronic control unit will judge the fuel injection command and the fuel injection pulse width signal it receives. If the fuel injection command received by the main electronic control unit is an injection permission command, and the fuel injection pulse width signal received by the main electronic control unit is an injection pulse width enable signal, then the fuel injection command and the fuel injection pulse width signal received by the main electronic control unit meet the fuel injection conditions, indicating that the current fuel injection cylinder controlled by the main electronic control unit is spraying fuel normally, and the fuel injection needs to be counted. At this time, the fuel injection count value of the main electronic control unit can be controlled to change from the currently recorded fuel injection count value N to the fuel injection count value N+1, and the fuel injection count value N+1 can be recorded to facilitate the subsequent accumulation of fuel injection counts. On the contrary, if the injection command received by the main electronic control unit is an injection prohibition command, and / or the injection pulse width signal received by the main control unit is an injection pulse width non-enable signal, it can be determined that the injection command and the injection pulse width signal received by the main electronic control unit do not meet the injection conditions, indicating that the current injection cylinder controlled by the main electronic control unit does not inject fuel normally, and there is no need to count the injection. At this time, the injection count value of the main electronic control unit can be controlled to remain at the currently recorded injection count value N.

[0103] It should be noted that the above description is only an example of the fuel injection counting of the main electronic control unit. The counting methods of other electronic control units are similar to the above description. The similarities can be referred to the above description and will not be repeated here.

[0104] In this embodiment, the electronic control unit that needs to count the fuel injections determines whether the fuel injection instructions and the fuel injection pulse width signals it obtains meet the fuel injection conditions, and when the fuel injection conditions are met, the recorded fuel injection count value of the electronic control unit is increased by one, otherwise, the recorded fuel injection count value of the electronic control unit is kept unchanged, so that when the current fuel injection cylinder controlled by the electronic control unit is spraying fuel normally, the fuel injection can be counted, and when it is not spraying fuel normally, the fuel injection needs to be counted, which is beneficial to improving the accuracy of the fuel injection counting, and further beneficial to improving the calculation accuracy of the fuel quantity, torque, etc., and improving the safety and stability of vehicle operation.

[0105] Embodiment 4

[0106] Figure 4 This is a flowchart of a method for calculating the number of fuel injections of an engine provided by the fourth embodiment of the present invention. Based on the above embodiments, this embodiment obtains the number of electronic control units in the engine control system and describes the method for determining the fuel injection count according to the number of electronic control units in the engine control system. Figure 4 As shown, the method includes:

[0107] S410: The electronic control unit obtains the number of electronic control units in the engine control system.

[0108] S420, the electronic control unit determines whether the number of electronic control units in the engine control system is 1; if so, S430 to S440 are executed in sequence; if not, S450 to S480 are executed in sequence.

[0109] S430: When controlling the cylinder fuel injection of the engine, the electronic control unit obtains the fuel injection instruction and the fuel injection pulse width signal.

[0110] S440, the electronic control unit determines the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as the fuel injection record value.

[0111] S450: Each electronic control unit obtains a cylinder identification code and an electronic control unit identification mark of each electronic control unit.

[0112] S460: When controlling the cylinder fuel injection of the engine, each electronic control unit obtains the cylinder identification, fuel injection instruction and fuel injection pulse width signal of the current fuel injection cylinder.

[0113] S470: The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit, and the electronic control unit identification identification.

[0114] S480: When the electronic control unit counts fuel injections, the electronic control unit determines a current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as a fuel injection record value.

[0115] Specifically, the number of electronic control units in the engine control system can be designed as needed. For example, for a small-displacement engine with a small number of cylinders, only one electronic control unit can be provided to control the cylinders of the engine; while for a large-displacement engine with a large number of cylinders, multiple electronic control units need to be provided to control different cylinders respectively. When the engine control system includes an electronic control unit, the electronic control unit can count the fuel injection of all cylinders in the engine. At this time, when controlling the cylinder to inject fuel, the electronic control unit only needs to determine whether the injection command and injection pulse width signal it obtains meet the corresponding injection conditions. The injection conditions may include that the injection command is an injection permission command, and the injection pulse width signal is an injection pulse width enable signal. When the injection command and injection pulse width signal received by the electronic control unit meet the injection conditions, the injection count value N already recorded by the electronic control unit can be adjusted to N+1; and when the injection conditions are not met, there is no need to adjust the recorded injection count value. In this way, when the engine control system includes only one electronic control unit, it is only necessary to judge the injection command and injection pulse width signal received by the electronic control unit, which is conducive to simplifying the injection counting method and improving the efficiency of injection counting. When the engine control system includes multiple electronic control units, it is first determined whether the electronic control unit needs to perform injection counting based on the injection sequence number of the current injection cylinder, the electronic control unit identification mark and the cylinder identification code obtained by the electronic control unit. For the electronic control unit that needs to perform injection counting, the injection instruction and the injection pulse width signal machine are then judged. In this way, each electronic control unit can be counted separately, thereby improving the counting accuracy of each electronic control unit.

[0116] In this embodiment, when the engine control system includes one electronic control unit, it is only necessary to control the electronic control unit to obtain the injection command and the injection pulse width signal, and directly determine the injection count value according to the injection command and the injection pulse width signal. Therefore, when the engine control system includes only one electronic control unit, the injection counting method of the electronic control unit can be simplified and the injection counting efficiency can be improved.

[0117] Embodiment 5

[0118] The present embodiment provides an engine fuel injection number calculation device, which can accurately count when the engine control system includes one or more electronic control units. The engine fuel injection number calculation device can execute the engine fuel injection number calculation method provided by any embodiment of the present invention. The engine fuel injection number calculation device can be composed of software and / or hardware, and the engine fuel injection number calculation device can be integrated in the electronic control unit.

[0119] Figure 5 : is a structural block diagram of a device for calculating the number of fuel injections of an engine provided by an embodiment of the present invention. Figure 5As shown, the engine injection count calculation device includes: an identification code acquisition control module 510, a signal acquisition control module 520, an injection count determination module 530 and an injection count control module 540, wherein:

[0120] The identification code acquisition control module 510 is used to control each electronic control unit to respectively acquire the cylinder identification code and the electronic control unit identification mark of each electronic control unit when the control system of the engine includes multiple electronic control units;

[0121] The signal acquisition control module 520 is used to control each electronic control unit to obtain the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder when controlling the cylinder injection of the engine;

[0122] The injection count determination module 530 is used to control the electronic control unit to determine whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification;

[0123] The injection count control module 540 is used to control the electronic control unit to determine the current injection count value according to the injection instruction and the injection pulse width signal when the electronic control unit performs injection counting, and record the current injection count value as the injection record value.

[0124] Optionally, each electronic control unit has a different electronic control unit identification mark; each electronic control unit identification mark corresponds one-to-one to the cylinder identification code of each electronic control unit.

[0125] Optionally, the cylinder identification includes at least the injection sequence number of the cylinder; the cylinder identification code of the electronic control unit includes a counting identification corresponding one-to-one to the injection sequence number of each cylinder.

[0126] Optionally, the injection count determination module 530 includes an identification code determination submodule, a count mark determination submodule and an injection count determination submodule, wherein:

[0127] The identification code determination submodule is used to control the electronic control unit to determine the cylinder identification code corresponding to the electronic control unit identification identifier as the cylinder identification code of the electronic control unit according to the electronic control unit identification identifier;

[0128] The counting mark determination submodule is used to control the electronic control unit to extract the counting mark corresponding to the injection number from the cylinder identification code of the electronic control unit according to the injection number of the current injection cylinder as the current counting mark;

[0129] The fuel injection count determination submodule is used to control the electronic control unit to determine whether to perform fuel injection counting according to the current count identifier.

[0130] Optionally, the fuel injection count determination submodule is specifically used for: the electronic control unit determines whether the current count identifier of the electronic control unit is a first preset identifier; if so, the electronic control unit performs fuel injection counting.

[0131] Optionally, the fuel injection count determination submodule is further specifically configured to: if the electronic control unit determines that the current count identifier of the electronic control unit is not a first preset identifier, control the electronic control unit to stop fuel injection counting.

[0132] Optionally, the fuel injection instruction includes a fuel injection permission instruction or a fuel injection prohibition instruction; the fuel injection pulse width signal includes a fuel injection pulse enable signal and a fuel injection pulse disable signal.

[0133] Optionally, the injection count control module 540 is specifically used for: when the electronic control unit performs injection counting, the electronic control unit determines whether the injection conditions are met based on the injection command and the injection pulse width signal; the injection conditions include: the injection command is an injection permission command, and the injection pulse width signal is an enable signal of the injection pulse width signal; if so, the electronic control unit adds one to the recorded injection record value as the current injection count value.

[0134] Optionally, the injection count control module 540 is further specifically configured to: if the injection condition is not met, the electronic control unit uses the recorded injection record value as the current injection count value.

[0135] Optionally, the engine fuel injection number calculation device further includes: an electronic control unit quantity acquisition module and an electronic control unit quantity judgment module, wherein:

[0136] The electronic control unit quantity acquisition module is used to control the electronic control unit to acquire the quantity of the electronic control units in the engine control system;

[0137] The electronic control unit judgment module is used to control the electronic control unit to judge whether the number of electronic control units in the engine control system is 1; if not, when the engine control system includes multiple electronic control units, each electronic control unit respectively obtains the cylinder identification code and the electronic control unit identification mark of each electronic control unit.

[0138] Optionally, if the control system of the engine includes an electronic control unit, the signal acquisition control module is also used to control the electronic control unit to obtain injection instructions and injection pulse width signals when controlling the cylinder injection of the engine; the injection count control module is also used to control the electronic control unit to determine the current injection count value according to the injection instruction and the injection pulse width signal, and record the current injection count value as the injection record value.

[0139] The engine fuel injection number calculation device provided in the embodiment of the present invention can execute the engine fuel injection number calculation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0140] Embodiment 6

[0141] The present embodiment provides an engine control system, which may include at least one electronic control unit, that is, the engine control system may include one or more electronic control units, each electronic control unit being able to execute the engine injection number calculation method provided in any embodiment of the present invention, so each electronic control unit has the corresponding functional modules and beneficial effects of the execution method.

[0142] Embodiment 7

[0143] The embodiment of the present invention further provides a vehicle, which includes an engine and the engine control system of the above embodiment, and the engine control system is used to control the engine. Since the engine control system includes at least one electronic control unit, the electronic control unit can be used to execute the engine injection number calculation method provided by the embodiment of the present invention, so the vehicle also has the corresponding functional modules and beneficial effects of the execution method.

[0144] Embodiment 8

[0145] The present embodiment provides a computer-readable storage medium, which stores computer instructions, which are also called programs, software, software applications, or codes, including machine instructions for programmable processors, and these computer programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or device for providing machine instructions and / or data to a programmable processor, such as a disk, an optical disk, a memory, a programmable logic device (PLD), including a machine-readable medium that receives machine instructions as machine-readable signals. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0146] 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.

[0147] 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 recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0148] The above specific implementations do not constitute a limitation on the protection scope of this application. 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 modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for calculating the number of engine fuel injections, characterized in that: include: When the control system of the engine includes a plurality of electronic control units, each of the electronic control units respectively obtains a cylinder identification code and an electronic control unit identification mark of each of the electronic control units; When controlling the cylinder injection of the engine, each of the electronic control units obtains the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder; The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification; When the electronic control unit counts fuel injections, the electronic control unit determines a current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as a fuel injection record value.

2. The method for calculating the number of engine fuel injections according to claim 1, characterized in that: Each of the electronic control units has a different electronic control unit identification mark; each of the electronic control unit identification marks corresponds one-to-one to the cylinder identification code of each of the electronic control units.

3. The method for calculating the number of engine fuel injections according to claim 2, characterized in that: The cylinder identification at least includes the injection sequence number of the cylinder; the cylinder identification code of the electronic control unit includes a counting identification corresponding to the injection sequence number of each cylinder.

4. The method for calculating the number of engine fuel injections according to claim 3, characterized in that: The electronic control unit determines whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification, including: The electronic control unit determines, according to the electronic control unit identification mark, a cylinder identification code corresponding to the electronic control unit identification mark as the cylinder identification code of the electronic control unit; The electronic control unit extracts a count mark corresponding to the injection number from the cylinder identification code of the electronic control unit according to the injection number of the current injection cylinder as the current count mark; The electronic control unit determines whether to perform fuel injection counting according to the current counting identifier.

5. The method for calculating the number of engine fuel injections according to claim 3, characterized in that: The electronic control unit determines whether to perform fuel injection counting according to the current counting mark, including: The electronic control unit determines whether the current counting mark of the electronic control unit is a first preset mark; If so, the electronic control unit performs fuel injection counting.

6. The method for calculating the number of engine fuel injections according to claim 5, characterized in that: The electronic control unit determines whether to perform fuel injection counting according to the current counting mark, and further includes: If the electronic control unit determines that the current counting flag of the electronic control unit is not the first preset flag, the electronic control unit stops the fuel injection counting.

7. The method for calculating the number of engine fuel injections according to claim 1, characterized in that: The fuel injection instruction includes a fuel injection permission instruction or a fuel injection prohibition instruction; the fuel injection pulse width signal includes a fuel injection pulse enable signal and a fuel injection pulse disable signal.

8. The method for calculating the number of engine fuel injections according to claim 7, characterized in that: When the electronic control unit performs fuel injection counting, the electronic control unit determines the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, including: When the electronic control unit counts fuel injection, the electronic control unit determines whether the fuel injection condition is met according to the fuel injection instruction and the fuel injection pulse width signal; the fuel injection condition includes: the fuel injection instruction is the fuel injection permission instruction, and the fuel injection pulse width signal is an enable signal of the fuel injection pulse width signal; If so, the electronic control unit adds one to the recorded fuel injection record value as the current fuel injection count value.

9. The method for calculating the number of engine fuel injections according to claim 8, characterized in that: When the electronic control unit performs fuel injection counting, the electronic control unit determines the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and further includes: If the fuel injection condition is not met, the electronic control unit uses the recorded fuel injection record value as the current fuel injection count value.

10. The method for calculating the number of engine fuel injections according to claim 1, characterized in that: Also includes: The electronic control unit obtains the number of electronic control units in the engine control system; The electronic control unit determines whether the number of electronic control units in the engine control system is 1; If not, then when the control system of the engine includes a plurality of electronic control units, the steps of respectively acquiring the cylinder identification code and the electronic control unit identification mark of each electronic control unit are executed.

11. The method for calculating the number of engine fuel injections according to claim 10, characterized in that: Also includes: If the control system of the engine includes an electronic control unit, when controlling the cylinder fuel injection of the engine, the electronic control unit obtains the fuel injection instruction and the fuel injection pulse width signal; The electronic control unit determines a current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal, and records the current fuel injection count value as a fuel injection record value.

12. An engine fuel injection frequency calculation device, characterized in that: include: an identification code acquisition control module, used for controlling each electronic control unit to respectively acquire a cylinder identification code and an electronic control unit identification mark of each electronic control unit when the control system of the engine includes multiple electronic control units; A signal acquisition control module, used to control each of the electronic control units to acquire the cylinder identification, injection instruction and injection pulse width signal of the current injection cylinder when controlling the cylinder injection of the engine; An injection count determination module, used to control the electronic control unit to determine whether to perform injection counting according to the cylinder identification of the current injection cylinder, the cylinder identification code of each electronic control unit and the electronic control unit identification identification; The fuel injection count control module is used to control the electronic control unit to determine the current fuel injection count value according to the fuel injection instruction and the fuel injection pulse width signal when the electronic control unit performs fuel injection counting, and record the current fuel injection count value as the fuel injection record value.

13. An engine control system, characterized in that: include: at least one electronic control unit; Each of the electronic control units is used to execute the method for calculating the number of engine fuel injections as described in any one of claims 1-11.

14. A vehicle, characterized in that: include: An engine and an engine control system as claimed in claim 13; The engine control system is used to control the working state of the engine.

15. 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 method for calculating the number of engine injections according to any one of claims 1 to 11 when executed.