Control method, device and equipment of natural gas engine, medium and product

By obtaining the current working condition data of the natural gas engine, determining the target working condition range and adjusting the combustion parameters, the safety hazards of knocking under different quality natural gases are solved, and the operation safety of the natural gas engine is improved.

CN119267020APending Publication Date: 2025-01-07FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411577284.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Existing natural gas engines are prone to knocking under natural gas of different quality, which leads to impact on operating safety and lacks effective operating conditions identification and mitigation measures.

Method used

By obtaining the current working condition data, determining the target working condition data interval, and adjusting the target combustion parameters according to the correlation between the candidate working condition data interval and the combustion parameter correction value to alleviate the knocking phenomenon.

Benefits of technology

It realizes adaptive correction of combustion parameters according to different working conditions data, effectively alleviating the knocking degree of natural gas engines and improving operational safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119267020A_ABST
    Figure CN119267020A_ABST
Patent Text Reader

Abstract

The invention discloses a control method, device, equipment, medium and product of a natural gas engine, and relates to the technical field of automatic control, and the control method comprises the steps of obtaining current working condition data of a target natural gas engine, and determining a target working condition data interval to which the current working condition data belongs; determining a target combustion parameter correction value associated with the target working condition data interval according to an association relationship between the candidate working condition data interval and the candidate combustion parameter correction value, and correcting the current combustion parameter of the target natural gas engine by adopting the target combustion parameter correction value to obtain a corrected combustion parameter; and controlling the target natural gas engine to operate according to the corrected combustion parameters so as to relieve the knocking degree of the target natural gas engine. According to the method, the effect of adaptively correcting the combustion parameters of the natural gas engine based on different working condition data of the natural gas engine is achieved, the knocking degree of the natural gas engine under different working condition data can be effectively relieved, and the running safety of the natural gas engine is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic control technology, and in particular to a control method, device, equipment, medium and product for a natural gas engine. Background Art

[0002] At present, the composition of natural gas used in natural gas engines on the market varies greatly, because natural gas of various qualities is mixed with a certain proportion of inert gases such as ethane, propane, butane and nitrogen, and the content of the above inert gases in natural gas of different qualities is also different. Natural gas of different qualities will cause natural gas engines to be in different working conditions, which will further cause natural gas engines to have different degrees of detonation.

[0003] In the prior art, most natural gas engines only operate according to a certain fixed combustion parameter and lack the recognition of the engine operating conditions. As a result, once the knock phenomenon occurs in the natural gas engine, it cannot be alleviated, which seriously affects the safety of the natural gas engine operation. Summary of the invention

[0004] The present invention provides a control method, device, equipment, medium and product for a natural gas engine, so as to solve the problem of potential safety hazards in the operation of the natural gas engine.

[0005] According to one aspect of the present invention, a control method for a natural gas engine is provided, comprising:

[0006] Acquire current operating condition data of a target natural gas engine, and determine a target operating condition data interval to which the current operating condition data belongs; wherein the current operating condition data includes a current speed and / or a current intake pressure;

[0007] Determine the target combustion parameter correction value associated with the target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and use the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain the corrected combustion parameter;

[0008] The target natural gas engine is controlled to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

[0009] According to another aspect of the present invention, there is provided a control device for a natural gas engine, comprising:

[0010] A working condition data interval determination module, used to obtain current working condition data of a target natural gas engine and determine a target working condition data interval to which the current working condition data belongs; wherein the current working condition data includes a current speed and / or a current intake pressure;

[0011] A combustion parameter correction module, used to determine a target combustion parameter correction value associated with the target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and use the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain a corrected combustion parameter;

[0012] The engine control module is used to control the target natural gas engine to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the control method of the natural gas engine described in any one of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the control method of the natural gas engine according to any one of the present invention when executed by a processor.

[0018] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the control method of the natural gas engine according to any one of the present invention.

[0019] The present invention pre-configures the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, determines the target operating condition data interval according to the current operating condition data of the target natural gas engine, directly determines the target combustion parameter correction value associated with the target operating condition data interval by using the above association relationship, further corrects the current combustion parameters of the target natural gas engine according to the target combustion parameter correction value to obtain the corrected combustion parameters, and finally controls the target natural gas engine to operate according to the corrected combustion parameters to alleviate the knock degree of the target natural gas engine, thereby achieving the effect of adaptively correcting the combustion parameters of the target natural gas engine based on different operating condition data of the target natural gas engine, and can effectively alleviate the knock degree of the natural gas engine under different operating condition data, thereby improving the safety of the natural gas engine operation.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A flow chart of a natural gas engine control method provided in Embodiment 1 of the present invention;

[0023] Figure 2 A flow chart of a natural gas engine control method provided in Embodiment 2 of the present invention;

[0024] Figure 3 A schematic diagram of the structure of a control device for a natural gas engine provided in Embodiment 3 of the present invention;

[0025] Figure 4 It is a structural schematic diagram of an electronic device for implementing the control method of a natural gas engine according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0027] It should be noted that the terms "current", "target", "candidate", "correction", "auxiliary", "first", "second", "initial", "adjustment", 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 interchangeable 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Embodiment 1

[0029] Figure 1 This is a flow chart of a control method for a natural gas engine provided in the first embodiment of the present invention. This embodiment can be applied to adaptively modify the combustion parameters of the natural gas engine based on different operating condition data of the natural gas engine to alleviate the degree of knock of the natural gas engine. The method can be executed by a control device of the natural gas engine, and the control device of the natural gas engine can be implemented in the form of hardware and / or software, such as an engine controller, etc. Figure 1 As shown, the method includes:

[0030] S101, obtaining current operating condition data of a target natural gas engine, and determining a target operating condition data interval to which the current operating condition data belongs.

[0031] The target natural gas engine refers to any natural gas engine with knock control requirements. The current operating condition data refers to the operating condition data corresponding to the target natural gas engine at the current moment. The operating condition data reflects the operating condition of the natural gas engine when it is running. The current operating condition data includes the current speed and / or the current intake pressure. The current speed refers to the speed of the target natural gas engine at the current moment, and the current intake pressure refers to the intake pressure of the target natural gas engine at the current moment.

[0032] In this embodiment, at least one candidate operating condition data interval is pre-divided according to the operating condition data that the natural gas engine may encounter.

[0033] For example, if the operating condition data is the speed of a natural gas engine, at least one candidate speed interval is pre-divided according to the speed at which the natural gas engine may run, such as dividing three candidate speed intervals including candidate speed interval 1, candidate speed interval 2 and candidate speed interval 3.

[0034] If the operating condition data is the intake pressure of a natural gas engine, at least one candidate intake pressure interval is pre-divided according to the intake pressure that the natural gas engine may operate at, such as dividing three candidate intake pressure intervals including candidate intake pressure interval 1, candidate intake pressure interval 2 and candidate intake pressure interval 3.

[0035] If the operating condition data is the speed and intake pressure of the natural gas engine, then at least one candidate speed / intake pressure interval is pre-divided according to the combination results of the speed and intake pressure that the natural gas engine may run at. Assuming that 3 candidate intake pressure intervals and 3 candidate speed intervals are divided, then according to the combination results of the speed and intake pressure, 3*3=9 candidate speed / intake pressure intervals can be divided, including candidate speed / intake pressure interval 1, candidate speed / intake pressure interval 2, candidate speed / intake pressure interval 3, candidate speed / intake pressure interval 4, candidate speed / intake pressure interval 5, candidate speed / intake pressure interval 6, candidate speed / intake pressure interval 7, candidate speed / intake pressure interval 8 and candidate speed / intake pressure interval 9.

[0036] It can be understood that, according to the value range of the operating condition data of each candidate operating condition data interval, the target operating condition data interval to which the current operating condition data belongs can be matched and determined from each candidate operating condition data interval.

[0037] In one embodiment, the engine controller of the target natural gas engine obtains the current speed of the target natural gas engine through the speed sensor of the target natural gas engine, and simultaneously obtains the current intake pressure of the target natural gas engine through the intake pressure temperature sensor of the target natural gas engine, and then uses the current speed and current intake pressure of the target natural gas engine together as the current operating condition data.

[0038] Furthermore, the engine controller matches the current operating condition data with the value ranges of each candidate operating condition data interval, and takes the candidate operating condition data interval whose value range includes the current operating condition data as the target operating condition data interval.

[0039] For example, assuming that the current operating condition data includes "current speed: 1800RPM, current intake pressure: 55Kpa", and the value range of candidate operating condition data interval 1 is "speed: 1-500RPM, intake pressure: 1-15Kpa", the value range of candidate operating condition data interval 2 is "speed: 501-1000RPM, intake pressure: 16-30Kpa", and the value range of candidate operating condition data interval 3 is "speed: 1001-1500RPM, Intake pressure: 31-45Kpa", the value range of candidate operating condition data interval 4 is "speed: 1501-2000RPM, intake pressure: 46-60Kpa", it can be seen that "current speed: 1800RPM, current intake pressure: 55Kpa" belongs to the value range of candidate operating condition data interval 4 "speed: 1501-2000RPM, intake pressure: 46-60Kpa", then the candidate operating condition data interval 4 is determined to be the target operating condition data interval.

[0040] S102, determining a target combustion parameter correction value associated with a target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and using the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain a corrected combustion parameter.

[0041] The combustion parameters refer to the combustion parameters of the natural gas engine, which represent the parameters generated by the natural gas engine during the combustion of natural gas, including but not limited to the ignition angle and / or EGR (Exhaust Gas Recirculation) rate, etc. The current combustion parameters refer to the combustion parameters of the target natural gas engine at the current moment.

[0042] Since natural gas engines may experience knock during operation, in order to alleviate the degree of knock in the natural gas engine, it is necessary to use appropriate combustion parameter correction values ​​to correct the combustion parameters of the natural gas engine so that the natural gas engine can operate under the corrected combustion parameters and reduce the degree of knock.

[0043] In this embodiment, the association relationship between the candidate operating data interval and the candidate combustion parameter correction value is pre-established, and the association relationship reflects what candidate combustion parameter correction value can be used to correct the combustion parameters of the target natural gas engine when the operating data of the target natural gas engine is in a certain candidate operating data interval, so as to alleviate the knock degree of the target natural gas engine. For example, assuming that there is an association relationship between the candidate operating data interval 1 and the candidate combustion parameter correction value X, then when the operating data of the target natural gas engine is in the candidate operating data interval 1, the candidate combustion parameter correction value X can be used to correct the combustion parameters of the target natural gas engine to alleviate the knock degree of the target natural gas engine. It can be understood that the association relationship between the candidate operating data interval and the candidate combustion parameter correction value can be determined based on experience or actual test results. For example, when the operating data of the target natural gas engine is in a certain candidate operating data interval, it is determined through experiments that the candidate combustion parameter correction value Y is used to correct the combustion parameters of the target natural gas engine, which can effectively alleviate the knock degree of the target natural gas engine, then the association relationship between the candidate operating data interval and the candidate combustion parameter correction value Y is established.

[0044] In one embodiment, the engine controller matches the target operating condition data interval in the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and determines the target combustion parameter correction value associated with the target operating condition data interval according to the matching result. For example, assuming that the target operating condition data interval is "interval 3", and in the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, there is an association relationship between "interval 3" and "candidate combustion parameter correction value Z", then "candidate combustion parameter correction value Z" is used as the target combustion parameter correction value associated with the target operating condition data interval.

[0045] Furthermore, the engine controller obtains the current combustion parameters of the target natural gas engine at the current moment, and uses the target combustion parameter correction value to correct the current combustion parameters of the target natural gas engine, and uses the corrected current combustion parameters as the corrected combustion parameters.

[0046] For example, assuming that the current combustion parameters include "ignition angle: 10°, EGR rate: 15%", and the target combustion parameter correction value is "ignition angle increased by 3°, EGR rate decreased by 3%", the target combustion parameter correction value is used to correct the current combustion parameters to obtain the corrected combustion parameters "ignition angle: 13°, EGR rate: 12%".

[0047] S103: Control the target natural gas engine to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

[0048] In one implementation, the engine controller controls the target natural gas engine to operate according to the modified combustion parameters to alleviate the knock level of the target natural gas engine.

[0049] The embodiment of the present invention pre-configures the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, determines the target operating condition data interval according to the current operating condition data of the target natural gas engine, directly determines the target combustion parameter correction value associated with the target operating condition data interval by using the above association relationship, further corrects the current combustion parameters of the target natural gas engine according to the target combustion parameter correction value to obtain the corrected combustion parameters, and finally controls the target natural gas engine to operate according to the corrected combustion parameters to alleviate the knock degree of the target natural gas engine, thereby achieving the effect of adaptively correcting the combustion parameters of the target natural gas engine based on different operating condition data of the target natural gas engine, which can effectively alleviate the knock degree of the natural gas engine under different operating condition data and improve the safety of the natural gas engine operation.

[0050] Embodiment 2

[0051] Figure 2 This is a flow chart of a control method for a natural gas engine provided by Embodiment 2 of the present invention. This embodiment further optimizes and expands the above embodiment and can be combined with the above optional implementations. Figure 2 As shown, the method includes:

[0052] S201, obtaining a target engine water temperature of a target natural gas engine, and obtaining a rate of change of operating condition data of the target natural gas engine within a target time period.

[0053] The target engine water temperature refers to the engine water temperature of the target natural gas engine at the target time, and the target time can be set according to actual business needs. The operating data change rate reflects the degree of change of the operating data of the target natural gas engine within the target time period.

[0054] In one embodiment, the engine controller obtains the target engine water temperature of the target natural gas engine through a temperature sensor, obtains the current speed of the target natural gas engine within a target time period through a speed sensor, and obtains the intake pressure of the target natural gas engine within the target time period through an intake pressure temperature sensor, and then determines the operating condition data change rate based on the current speed and intake pressure within the target time period.

[0055] Optionally, obtaining the rate of change of operating condition data of a target natural gas engine within a target time period includes:

[0056] Acquire first operating condition data of a target natural gas engine corresponding to a first moment in a target time period, and acquire second operating condition data of a target natural gas engine corresponding to a second moment in the target time period; determine an operating condition data difference based on the first operating condition data and the second operating condition data, and determine a time difference based on the first moment and the second moment; determine an operating condition data change rate based on the operating condition data difference and the time difference.

[0057] The first moment and the second moment are different, and the first moment and the second moment can be set according to actual business needs.

[0058] In one embodiment, the engine controller obtains first operating condition data corresponding to a first moment of the target natural gas engine within the target time period, and obtains second operating condition data corresponding to a second moment of the target natural gas engine within the target time period, and determines the operating condition data difference according to the first operating condition data and the second operating condition data. Further, the time difference is determined according to the first moment and the second moment, and finally the operating condition data change rate of the target natural gas engine within the target time period is determined according to the ratio between the operating condition data difference and the time difference.

[0059] By obtaining the first operating condition data of the target natural gas engine corresponding to the first moment in the target time period, and obtaining the second operating condition data of the target natural gas engine corresponding to the second moment in the target time period; determining the operating condition data difference according to the first operating condition data and the second operating condition data, and determining the time difference according to the first moment and the second moment; determining the operating condition data change rate according to the operating condition data difference and the time difference, so that the operating condition data change rate in the target time period can be determined only by the operating condition data corresponding to two sampling moments (the first moment and the second moment), which simplifies the process of determining the operating condition data change rate, speeds up the efficiency of determining the operating condition data change rate, and further improves the efficiency of determining the steady-state operating condition.

[0060] S202: Determine whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the operating condition data change rate, and obtain current operating condition data of the target natural gas engine when the target natural gas engine is in a steady-state operating condition.

[0061] Among them, the steady-state condition refers to the target natural gas engine being in a stable operating state.

[0062] In one embodiment, the target engine water temperature is compared with the water temperature threshold, and the operating condition data change rate is compared with the change rate threshold, and then whether the target natural gas engine is in a steady-state operating condition is determined based on the comparison result, and when the target natural gas engine is in a steady-state operating condition, the current operating condition data of the target natural gas engine is obtained.

[0063] By obtaining the target engine water temperature of the target natural gas engine and the rate of change of the operating condition data of the target natural gas engine within the target time period; determining whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the rate of change of the operating condition data; and obtaining the current operating condition data of the target natural gas engine when the target natural gas engine is in a steady-state operating condition. Since the current operating condition data of the target natural gas engine is obtained only when the target natural gas engine is in a steady-state operating condition to determine the target operating condition data interval, the accuracy and reliability of the determination of the target operating condition data interval is ensured, and it is avoided that the operating condition data is obtained when the target natural gas engine is in a non-steady-state operating condition to determine the target operating condition data interval, resulting in misjudgment of the target operating condition data interval, affecting the effect of the final combustion parameter correction to alleviate the degree of knock.

[0064] Optionally, determining whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the operating condition data change rate includes:

[0065] The target engine water temperature is compared with the water temperature threshold, and the operating condition data change rate is compared with the change rate threshold; when the target engine water temperature is greater than or equal to the water temperature threshold, and the operating condition data change rate is less than or equal to the change rate threshold, it is determined that the target natural gas engine is in a steady-state operating condition.

[0066] Among them, the water temperature threshold is used to determine whether the target engine water temperature meets the characteristics of steady-state conditions, that is, when the target engine water temperature is greater than or equal to the water temperature threshold, it meets the characteristics of steady-state conditions; when the target engine water temperature is less than the water temperature threshold, it does not meet the characteristics of steady-state conditions. The change rate threshold is used to determine whether the change rate of the operating condition data meets the characteristics of steady-state conditions, that is, when the change rate of the operating condition data is less than or equal to the change rate threshold, it meets the characteristics of steady-state conditions; when the change rate of the operating condition data is greater than the change rate threshold, it does not meet the characteristics of steady-state conditions.

[0067] In one embodiment, the engine controller compares the target engine water temperature with the water temperature threshold, and compares the operating condition data change rate with the change rate threshold. When the target engine water temperature is greater than or equal to the water temperature threshold, and the operating condition data change rate is less than or equal to the change rate threshold, it indicates that the characteristics of the steady-state operating condition are met, and the target natural gas engine is determined to be in a steady-state operating condition.

[0068] By comparing the target engine water temperature with the water temperature threshold, and comparing the operating condition data change rate with the change rate threshold; when the target engine water temperature is greater than or equal to the water temperature threshold, and the operating condition data change rate is less than or equal to the change rate threshold, it is determined that the target natural gas engine is in a steady-state operating condition, thereby using the two data dimensions of engine water temperature and operating condition data change rate to jointly identify whether the target natural gas engine is in a steady-state operating condition, thereby improving the accuracy and reliability of the steady-state operating condition determination.

[0069] S203 . Determine a target knock parameter value associated with the target operating condition data interval according to a first association relationship between the candidate operating condition data interval and the candidate knock parameter value.

[0070] The candidate knock parameter value is a parameter value used to reflect the knock degree of the target natural gas engine, that is, candidate knock parameter values ​​of different sizes correspond to different knock degrees of the target natural gas engine. In this embodiment, a first association relationship between each candidate operating condition data interval and each candidate knock parameter value is pre-constructed, and the candidate knock parameter value associated with any candidate operating condition data interval can be determined according to the first association relationship.

[0071] For example, assuming that the target operating condition data interval is "Interval 3", and in the first association relationship between the candidate operating condition data interval and the candidate knock parameter value, there is an association relationship between the candidate operating condition data interval "Interval 3" and the candidate knock parameter value "1.5", then the candidate knock parameter value "1.5" is used as the target knock parameter value associated with the target operating condition data interval.

[0072] S204. Determine, according to a second association relationship between the candidate knock parameter values ​​and the candidate combustion parameter correction values, an auxiliary combustion parameter correction value associated with the target knock parameter value as the target combustion parameter correction value associated with the target operating condition data interval.

[0073] In this embodiment, a second association relationship between each candidate knock parameter value and each candidate combustion parameter correction value is pre-constructed, and a candidate combustion parameter correction value associated with any candidate knock parameter value can be determined according to the second association relationship.

[0074] For example, assuming that the target knock parameter value is "1.5", and in the second association relationship between the candidate knock parameter value and the candidate combustion parameter correction value, there is an association relationship between the candidate knock parameter value "1.5" and the candidate combustion parameter correction value "ignition angle increased by 3°, EGR rate reduced by 3%", then the candidate combustion parameter correction value "ignition angle increased by 3°, EGR rate reduced by 3%" is used as the auxiliary combustion parameter correction value associated with the target knock parameter value, and further as the target combustion parameter correction value associated with the target operating condition data interval.

[0075] The target knock parameter value associated with the target operating condition data interval is determined based on a first correlation between the candidate operating condition data interval and the candidate knock parameter value; the auxiliary combustion parameter correction value associated with the target knock parameter value is determined based on a second correlation between the candidate knock parameter value and the candidate combustion parameter correction value as the target combustion parameter correction value associated with the target operating condition data interval, thereby using the candidate knock parameter value as an intermediate quantity to assist in determining the target combustion parameter correction value associated with the target operating condition data interval, thereby further ensuring the accuracy and credibility of the determination of the target combustion parameter correction value.

[0076] S205: Correct the current combustion parameters of the target natural gas engine using the target combustion parameter correction value to obtain the corrected combustion parameters, and control the target natural gas engine to operate according to the corrected combustion parameters to alleviate the knock degree of the target natural gas engine.

[0077] Optionally, the first association relationship between the candidate operating condition data interval and the candidate knock parameter value is determined in the following manner:

[0078] A1. When the auxiliary operating condition data of the target natural gas engine belongs to any candidate operating condition data interval, the candidate operating condition data interval is used as the auxiliary operating condition data interval, and the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time is determined.

[0079] The auxiliary operating condition data refers to the operating condition data corresponding to the target natural gas engine at any collection time. The average value of the delayed ignition angle refers to the average value of the delayed ignition angle value caused by the knock phenomenon of each cylinder of the target natural gas engine.

[0080] In one embodiment, the engine controller matches the auxiliary operating condition data of the target natural gas engine with the value range of each candidate operating condition data interval, and uses the candidate operating condition data interval whose value range includes the auxiliary operating condition data as the auxiliary operating condition data interval. Further, the engine controller determines the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time through the knock sensor.

[0081] Optionally, determining the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time includes:

[0082] Determine the delayed ignition angle value of each cylinder in the target natural gas engine due to the knock phenomenon at this time; determine the average delayed ignition angle value of the target natural gas engine due to the knock phenomenon at this time according to the delayed ignition angle value corresponding to each cylinder and the number of cylinders of the target natural gas engine.

[0083] In one embodiment, the engine controller determines the delayed ignition angle values ​​of each cylinder in the target natural gas engine due to the knock phenomenon through a knock sensor, and then performs an average calculation based on the delayed ignition angle values ​​corresponding to each cylinder and the number of cylinders of the target natural gas engine (such as 4 cylinders, 6 cylinders, 8 cylinders, etc.) to determine the average value of the delayed ignition angle caused by the knock phenomenon in the target natural gas engine at this time.

[0084] By determining the delayed ignition angle value caused by the knock phenomenon in each cylinder of the target natural gas engine at this time; determining the average delayed ignition angle caused by the knock phenomenon in the target natural gas engine at this time according to the delayed ignition angle value corresponding to each cylinder and the number of cylinders of the target natural gas engine, and then determining the knock degree according to the average delayed ignition angle of all cylinders, the rationality and accuracy of the knock degree determination is guaranteed, and avoiding the problem of unreasonable and inaccurate knock degree determination caused by determining the knock degree based on the delayed ignition angle value of one or several cylinders.

[0085] B1. Determine a first knock degree of the knock phenomenon according to the average value of the delayed ignition angle, and determine a parameter correction step value used to correct the combustion parameters of the target natural gas engine according to the first knock degree.

[0086] Among them, the knock degree reflects the severity of the knock phenomenon. The higher the knock degree, the more serious the knock phenomenon. The first knock degree can be understood as the knock degree determined according to the average value of the delayed ignition angle at the current moment. The knock degree includes but is not limited to "no knock", "mild knock", "moderate knock" and "severe knock". The parameter correction step value refers to the parameter value used to correct the combustion parameters once. For example, the parameter value of "increase the ignition angle by 1° and reduce the EGR rate by 1%" is used to correct the combustion parameters once, that is, "increase the ignition angle by 1° and reduce the EGR rate by 1%" is used as the parameter correction step value.

[0087] In one embodiment, the engine controller matches the delayed ignition angle average value with the delayed ignition angle range corresponding to each candidate knock degree, and uses the candidate knock degree corresponding to the delayed ignition angle range to which the delayed ignition angle average value belongs as the first knock degree.

[0088] For example, assuming that the delayed ignition angle range corresponding to “no knock” is set to (0, 0.375°), that is, if the average value of the delayed ignition angle belongs to (0, 0.375°), it means that the first knock degree is “no knock”.

[0089] Assume that the delayed ignition angle range corresponding to “mild knock” is set to [0.375°, 2.25°), that is, if the average value of the delayed ignition angle belongs to [0.375°, 2.25°), it means that the first knock degree is “mild knock”.

[0090] Assume that the delayed ignition angle range corresponding to the setting of "moderate knock" is [2.25°, 4.5°), that is, if the average value of the delayed ignition angle belongs to [2.25°, 4.5°), it means that the first knock degree is "moderate knock".

[0091] Assume that the delayed ignition angle range corresponding to “severe knock” is set to [4.5°, ∞), that is, if the average value of the delayed ignition angle belongs to [4.5°, ∞), it means that the first knock degree is “severe knock”.

[0092] The engine controller uses the candidate parameter correction step value associated with the first knock degree as the parameter correction step value used to correct the combustion parameters of the target natural gas engine according to the association between the knock degree and the candidate parameter correction step value.

[0093] C1. Correct the combustion parameters of the target natural gas engine using the parameter correction step value until the knock phenomenon is at the second knock degree, and determine the total value of the parameter correction step used.

[0094] The second knock degree is weaker than the first knock degree. For example, if the first knock degree is "heavy knock", the first knock degree may be "moderate knock"; if the first knock degree is "moderate knock", the first knock degree may be "mild knock"; if the first knock degree is "mild knock", the first knock degree may be "no knock".

[0095] In one embodiment, the engine controller uses the parameter correction step value to perform the first correction on the combustion parameters of the target natural gas engine, and re-determines the knock degree of the knock phenomenon according to the updated delayed ignition angle average value. If the knock degree is still the first knock degree, the engine controller uses the parameter correction step value to perform the second correction on the combustion parameters, and re-determines the knock degree of the knock phenomenon according to the updated delayed ignition angle average value. If the knock degree is still the first knock degree, the engine controller uses the parameter correction step value to perform the third correction on the combustion parameters, and so on, until the knock phenomenon is at the second knock degree, all the parameter correction step values ​​previously used are summed to obtain the total parameter correction step value. For example, assuming that the engine controller corrects the combustion parameters three times so that the knock phenomenon is at the second knock degree, assuming that the parameter correction step value is x, then the total parameter correction step value is 3x.

[0096] In order to improve the gas consumption economy of natural gas engines due to differences in natural gas composition, the engine operation is kept at a mild knock. Optionally, if the first knock degree is "no knock", the engine controller uses the parameter correction step value to correct the combustion parameters of the target natural gas engine until the knock phenomenon is at a "mild knock", and the total parameter correction step value used is determined.

[0097] D1. Determine a candidate knock parameter value corresponding to the total parameter correction step value according to the second association relationship as a knock parameter adjustment value, and use the knock parameter adjustment value to adjust the initial knock parameter value to generate an adjusted knock parameter value.

[0098] The initial knock parameter value indicates an initial value of a preset knock parameter value, for example, the initial knock parameter value may be set to “1”.

[0099] In one embodiment, the engine controller determines the candidate knock parameter value corresponding to the total parameter correction step value as the knock parameter adjustment value according to the second association relationship between the candidate knock parameter value and the candidate combustion parameter correction value. For example, assuming that the total parameter correction step value is "ignition angle increased by 5°, EGR rate decreased by 10%", and the candidate knock parameter value associated with "ignition angle increased by 5°, EGR rate decreased by 10%" in the second association relationship is "0.3", then "0.3" is used as the knock parameter adjustment value.

[0100] Further, the engine controller generates an adjusted knock parameter value by summing the initial knock parameter value and the knock parameter adjustment value. For example, assuming that the initial knock parameter value is "1" and the knock parameter adjustment value is "0.3", the adjusted knock parameter value is 1+0.3=1.3.

[0101] E1. Establishing a correlation relationship between the auxiliary operating condition data interval and the adjusted knock parameter value as a first correlation relationship between the auxiliary operating condition data interval and the adjusted knock parameter value.

[0102] When the auxiliary operating condition data of the target natural gas engine belongs to any candidate operating condition data interval, the candidate operating condition data interval is used as the auxiliary operating condition data interval, and the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time is determined; the first knock degree of the knock phenomenon is determined according to the average value of the delayed ignition angle, and the parameter correction step value used to correct the combustion parameters of the target natural gas engine is determined according to the first knock degree; the combustion parameters of the target natural gas engine are corrected by using the parameter correction step value until the knock phenomenon is at the second knock degree, and the total value of the parameter correction step used is determined; wherein, the second knock degree is weak for a first knock degree; determining a candidate knock parameter value corresponding to the total value of the parameter correction step according to the second association relationship as the knock parameter adjustment value, and adjusting the initial knock parameter value using the knock parameter adjustment value to generate an adjusted knock parameter value; establishing an association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value as the first association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value, which is beneficial to directly determine the knock parameter value associated with any operating condition data interval according to the constructed first association relationship, further speeding up the determination of the combustion parameter correction value, ensuring that the combustion parameters can be quickly corrected, and ensuring the safety of the natural gas engine operation.

[0103] Embodiment 3

[0104] Figure 3 This is a schematic diagram of the structure of a control device for a natural gas engine provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0105] The operating condition data interval determination module 31 is used to obtain the current operating condition data of the target natural gas engine and determine the target operating condition data interval to which the current operating condition data belongs; wherein the current operating condition data includes the current speed and / or the current intake pressure;

[0106] The combustion parameter correction module 32 is used to determine the target combustion parameter correction value associated with the target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and use the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain the corrected combustion parameter;

[0107] The engine control module 33 is used to control the target natural gas engine to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

[0108] Optionally, the combustion parameter correction module 32 is specifically used to:

[0109] Determining a target knock parameter value associated with the target operating condition data interval according to a first association relationship between the candidate operating condition data interval and the candidate knock parameter value;

[0110] According to the second association relationship between the candidate knock parameter value and the candidate combustion parameter correction value, the auxiliary combustion parameter correction value associated with the target knock parameter value is determined as the target combustion parameter correction value associated with the target operating condition data interval.

[0111] Optionally, the device further includes a steady-state operating condition identification module, which is specifically used to:

[0112] Obtaining a target engine water temperature of the target natural gas engine, and obtaining a rate of change of operating condition data of the target natural gas engine within a target time period;

[0113] Determining whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the operating condition data change rate;

[0114] Optionally, the operating condition data interval determination module 31 is specifically used to:

[0115] When the target natural gas engine is in a steady-state operating condition, the current operating condition data of the target natural gas engine is acquired.

[0116] Optionally, the steady-state operating condition identification module is further used to:

[0117] Comparing the target engine water temperature with a water temperature threshold, and comparing the operating condition data change rate with a change rate threshold;

[0118] When the water temperature of the target engine is greater than or equal to the water temperature threshold, and the change rate of the operating condition data is less than or equal to the change rate threshold, it is determined that the target natural gas engine is in a steady-state operating condition.

[0119] Optionally, the steady-state operating condition identification module is further used to:

[0120] Acquire first operating condition data corresponding to a first moment of the target natural gas engine within the target time period, and acquire second operating condition data corresponding to a second moment of the target natural gas engine within the target time period; wherein the first moment and the second moment are different;

[0121] Determine an operating condition data difference according to the first operating condition data and the second operating condition data, and determine a time difference according to the first moment and the second moment;

[0122] The operating condition data change rate is determined according to the operating condition data difference and the time difference.

[0123] Optionally, the first association relationship between the candidate operating condition data interval and the candidate knock parameter value is determined in the following manner:

[0124] When the auxiliary operating condition data of the target natural gas engine belongs to any of the candidate operating condition data intervals, the candidate operating condition data interval is used as the auxiliary operating condition data interval, and the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time is determined;

[0125] Determining a first knock degree of the knock phenomenon according to the delayed ignition angle average value, and determining a parameter correction step value used to correct the combustion parameters of the target natural gas engine according to the first knock degree;

[0126] The combustion parameters of the target natural gas engine are corrected by using the parameter correction step value until the knock phenomenon is at a second knock degree, and then a total parameter correction step value is determined; wherein the second knock degree is weaker than the first knock degree;

[0127] determining the candidate knock parameter value corresponding to the parameter correction step total value according to the second association relationship as a knock parameter adjustment value, and adjusting the initial knock parameter value using the knock parameter adjustment value to generate an adjusted knock parameter value;

[0128] An association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value is established as a first association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value.

[0129] Optionally, the average value of the delayed ignition angle is determined by:

[0130] Determine the delayed ignition angle value generated by the knock phenomenon in each cylinder of the target natural gas engine at this time;

[0131] According to the delayed ignition angle values ​​corresponding to the cylinders and the number of cylinders of the target natural gas engine, the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine is determined.

[0132] The control device of the natural gas engine provided in the embodiment of the present invention can execute the control method of the natural gas engine provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0133] Embodiment 4

[0134] Figure 4A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0135] like Figure 4 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0136] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0137] The processor 41 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a control method for a natural gas engine.

[0138] In some embodiments, the control method of the natural gas engine may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the control method of the natural gas engine described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the control method of the natural gas engine in any other appropriate manner (e.g., by means of firmware).

[0139] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0140] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0141] 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 conjunction 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.

[0142] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0143] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0144] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0145] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0146] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for controlling a natural gas engine, characterized in that: include: Acquire current operating condition data of a target natural gas engine, and determine a target operating condition data interval to which the current operating condition data belongs; wherein the current operating condition data includes a current speed and / or a current intake pressure; Determine the target combustion parameter correction value associated with the target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and use the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain the corrected combustion parameter; The target natural gas engine is controlled to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

2. The method according to claim 1, characterized in that The determining, based on the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, the target combustion parameter correction value associated with the target operating condition data interval includes: Determining a target knock parameter value associated with the target operating condition data interval according to a first association relationship between the candidate operating condition data interval and the candidate knock parameter value; According to the second association relationship between the candidate knock parameter value and the candidate combustion parameter correction value, the auxiliary combustion parameter correction value associated with the target knock parameter value is determined as the target combustion parameter correction value associated with the target operating condition data interval.

3. The method according to claim 1, before obtaining the current operating condition data of the target natural gas engine, further comprises: Obtaining a target engine water temperature of the target natural gas engine, and obtaining a rate of change of operating condition data of the target natural gas engine within a target time period; Determining whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the operating condition data change rate; The obtaining of current operating condition data of the target natural gas engine includes: When the target natural gas engine is in a steady-state operating condition, the current operating condition data of the target natural gas engine is acquired.

4. The method according to claim 3, characterized in that The determining whether the target natural gas engine is in a steady-state operating condition according to the target engine water temperature and the operating condition data change rate includes: Comparing the target engine water temperature with a water temperature threshold, and comparing the operating condition data change rate with a change rate threshold; When the water temperature of the target engine is greater than or equal to the water temperature threshold, and the change rate of the operating condition data is less than or equal to the change rate threshold, it is determined that the target natural gas engine is in a steady-state operating condition.

5. The method according to claim 3, characterized in that: The step of obtaining the rate of change of the operating condition data of the target natural gas engine within a target time period includes: Acquire first operating condition data corresponding to a first moment of the target natural gas engine within the target time period, and acquire second operating condition data corresponding to a second moment of the target natural gas engine within the target time period; wherein the first moment and the second moment are different; Determine an operating condition data difference according to the first operating condition data and the second operating condition data, and determine a time difference according to the first moment and the second moment; The operating condition data change rate is determined according to the operating condition data difference and the time difference.

6. The method according to claim 2, characterized in that The first association relationship between the candidate operating condition data interval and the candidate knock parameter value is determined in the following manner: When the auxiliary operating condition data of the target natural gas engine belongs to any of the candidate operating condition data intervals, the candidate operating condition data interval is used as the auxiliary operating condition data interval, and the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time is determined; Determining a first knock degree of the knock phenomenon according to the delayed ignition angle average value, and determining a parameter correction step value used to correct the combustion parameters of the target natural gas engine according to the first knock degree; The combustion parameters of the target natural gas engine are corrected by using the parameter correction step value until the knock phenomenon is at a second knock degree, and then a total parameter correction step value is determined; wherein the second knock degree is weaker than the first knock degree; determining the candidate knock parameter value corresponding to the total parameter correction step value according to the second association relationship as a knock parameter adjustment value, and adjusting the initial knock parameter value using the knock parameter adjustment value to generate an adjusted knock parameter value; An association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value is established as a first association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value.

7. The method according to claim 6, characterized in that The step of determining the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time includes: Determine the delayed ignition angle value generated by the knock phenomenon in each cylinder of the target natural gas engine at this time; According to the delayed ignition angle values ​​corresponding to the cylinders and the number of cylinders of the target natural gas engine, the average value of the delayed ignition angle generated by the knock phenomenon of the target natural gas engine at this time is determined.

8. A control device for a natural gas engine, characterized in that: include: A working condition data interval determination module, used to obtain current working condition data of a target natural gas engine and determine a target working condition data interval to which the current working condition data belongs; wherein the current working condition data includes a current speed and / or a current intake pressure; A combustion parameter correction module, used to determine a target combustion parameter correction value associated with the target operating condition data interval according to the association relationship between the candidate operating condition data interval and the candidate combustion parameter correction value, and use the target combustion parameter correction value to correct the current combustion parameter of the target natural gas engine to obtain a corrected combustion parameter; The engine control module is used to control the target natural gas engine to operate according to the modified combustion parameters to alleviate the knock degree of the target natural gas engine.

9. The device according to claim 8, characterized in that The combustion parameter correction module is specifically used for: Determining a target knock parameter value associated with the target operating condition data interval according to a first association relationship between the candidate operating condition data interval and the candidate knock parameter value; According to the second association relationship between the candidate knock parameter value and the candidate combustion parameter correction value, the auxiliary combustion parameter correction value associated with the target knock parameter value is determined as the target combustion parameter correction value associated with the target operating condition data interval.

10. The device according to claim 9, characterized in that The first association relationship between the candidate operating condition data interval and the candidate knock parameter value is determined in the following manner: When the auxiliary operating condition data of the target natural gas engine belongs to any of the candidate operating condition data intervals, the candidate operating condition data interval is used as the auxiliary operating condition data interval, and the average value of the delayed ignition angle caused by the knock phenomenon of the target natural gas engine at this time is determined; Determining a first knock degree of the knock phenomenon according to the delayed ignition angle average value, and determining a parameter correction step value used to correct the combustion parameters of the target natural gas engine according to the first knock degree; The combustion parameters of the target natural gas engine are corrected by using the parameter correction step value until the knock phenomenon is at a second knock degree, and then a total parameter correction step value is determined; wherein the second knock degree is weaker than the first knock degree; determining the candidate knock parameter value corresponding to the parameter correction step total value according to the second association relationship as a knock parameter adjustment value, and adjusting the initial knock parameter value using the knock parameter adjustment value to generate an adjusted knock parameter value; An association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value is established as a first association relationship between the auxiliary operating condition data interval and the adjusted knock parameter value.

11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the control method of the natural gas engine according to any one of claims 1 to 7.

12. 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 execute the control method of the natural gas engine according to any one of claims 1-7.

13. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the control method of the natural gas engine according to any one of claims 1 to 7.