CN110925105B - Method and device for controlling working parameters of natural gas engine, engine and medium - Google Patents

Method and device for controlling working parameters of natural gas engine, engine and medium Download PDF

Info

Publication number
CN110925105B
CN110925105B CN201911083787.1A CN201911083787A CN110925105B CN 110925105 B CN110925105 B CN 110925105B CN 201911083787 A CN201911083787 A CN 201911083787A CN 110925105 B CN110925105 B CN 110925105B
Authority
CN
China
Prior art keywords
natural gas
gas engine
pulse width
correction value
air
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911083787.1A
Other languages
Chinese (zh)
Other versions
CN110925105A (en
Inventor
徐剑飞
李晔
赵华伟
吴健
张超
杨强
靳越峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN201911083787.1A priority Critical patent/CN110925105B/en
Publication of CN110925105A publication Critical patent/CN110925105A/en
Application granted granted Critical
Publication of CN110925105B publication Critical patent/CN110925105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/0025Controlling engines characterised by use of non-liquid fuels, pluralities of fuels, or non-fuel substances added to the combustible mixtures
    • F02D41/0027Controlling engines characterised by use of non-liquid fuels, pluralities of fuels, or non-fuel substances added to the combustible mixtures the fuel being gaseous
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/0002Controlling intake air
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2451Methods of calibrating or learning characterised by what is learned or calibrated
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2477Methods of calibrating or learning characterised by the method used for learning
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2477Methods of calibrating or learning characterised by the method used for learning
    • F02D41/248Methods of calibrating or learning characterised by the method used for learning using a plurality of learned values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/30Controlling fuel injection

Abstract

The application relates to a method and a device for controlling working parameters of a natural gas engine, the natural gas engine and a storage medium. The method comprises the following steps: when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea; acquiring an air intake quantity correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library; and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value. The method enables the natural gas engine to be suitable for different gas quality requirements, and further improves the application range of the natural gas engine.

Description

Method and device for controlling working parameters of natural gas engine, engine and medium
Technical Field
The application relates to the field of engine control, in particular to a method and a device for controlling working parameters of a natural gas engine, the natural gas engine and a storage medium.
Background
With the increasing requirements of the country on environmental protection, the replacement of part of the traditional petrochemical energy by clean energy is a necessary trend, and in the clean energy, natural gas becomes widely used energy due to the characteristics of rich reserves, high combustion heat value, low pollutant emission and the like, so that an engine taking the natural gas as fuel is widely used.
However, natural gas sources in China are wide, the methane content in natural gas mined in different areas and different seasons greatly fluctuates, and different natural gas sources have different heat values and different influences on combustion. Therefore, when the natural gas sources used by the engine are different, the problem that the power of the engine calibrated by a specific natural gas source is insufficient or the emission exceeds the standard can be caused, and the application range of the engine is smaller.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for controlling an operating parameter of a natural gas engine, the natural gas engine, and a storage medium, for solving the technical problem that the engine has a small application range when the natural gas used by the engine is different in source.
In a first aspect, an embodiment of the present application provides a method for controlling an operating parameter of a natural gas engine, including:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
In a second aspect, an embodiment of the present application provides a device for controlling an operating parameter of a natural gas engine, including:
the device comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a to-be-corrected partition of the natural gas engine in the current work according to the current working condition of the natural gas engine and a preset partition mapping relation when the current gas quality of the natural gas engine is determined to be abnormal, and the partition mapping relation comprises a corresponding relation between the working condition and the partition;
the first obtaining module is used for obtaining an air inflow correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air inflow correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and the control module is used for controlling the air input of the natural gas engine according to the air input correction value and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
In a third aspect, an embodiment of the present application provides a natural gas engine, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
According to the control method and device for the working parameters of the natural gas engine, the natural gas engine and the storage medium, when the current gas quality of the natural gas engine is determined to be abnormal, the to-be-corrected partition of the natural gas engine in the current working process is determined according to the current working condition of the natural gas engine and the preset partition mapping relation, the air inflow correction value and the jet pulse width correction value corresponding to the to-be-corrected partition are obtained from the preset parameter correction library, the air inflow of the natural gas engine is controlled according to the air inflow correction value, and the jet pulse width of the natural gas engine is controlled according to the jet pulse width correction value. When the natural gas engine determines that the current gas quality is abnormal, the natural gas engine can correct the self gas inflow and the jet pulse width according to the air inflow correction value and the jet pulse width correction value corresponding to the currently working to-be-corrected partition, when the environment where the natural gas engine is located changes, the obtained air inflow correction value is also related to the temperature and the altitude of the environment where the natural gas engine is located, and the obtained jet pulse width correction value is related to the temperature of the environment where the natural gas engine is located. Therefore, the natural gas engine works based on the corrected air inflow and the corrected jet pulse width, and the output power and the emission value of the natural gas engine can meet the calibrated regulations, so that the natural gas engine can be suitable for different gas quality requirements, and the application range of the natural gas engine is further improved. In addition, by controlling two working parameters of air inflow and air injection pulse width of the natural gas engine, the output power and the emission value of the natural gas engine can be ensured to meet the calibration requirement.
Drawings
FIG. 1 is a schematic flow chart of a method for controlling operating parameters of a natural gas engine according to an embodiment;
fig. 2 is a schematic diagram of a partition mapping relationship according to an embodiment;
FIG. 3 is a schematic flow chart of a method for controlling operating parameters of a natural gas engine according to another embodiment;
FIG. 4 is a schematic flow chart of a method for controlling operating parameters of a natural gas engine according to another embodiment;
FIG. 5 is a schematic diagram of an internal structure of a device for controlling operating parameters of a natural gas engine according to an embodiment;
fig. 6 is a schematic internal structural diagram of a natural gas engine according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application are further described in detail by the following embodiments in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the execution subject of the method embodiments described below may be a control device for operating parameters of a natural gas engine, and the device may be implemented as part or all of the natural gas engine by software, hardware, or a combination of software and hardware. The method embodiments described below are described with respect to the implementation of a natural gas engine as the subject.
Fig. 1 is a schematic flow chart of a method for controlling operating parameters of a natural gas engine according to an embodiment. The embodiment relates to a specific process of how a natural gas engine controls the air inflow and the jet pulse width of the natural gas engine when the current gas quality is abnormal. As shown in fig. 1, the method may include:
s101, when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea.
Specifically, the gas quality can reflect the quality of the natural gas, and when the sources of the natural gas are different, the gas quality of the natural gas is different, that is, the calorific values generated by different natural gas sources are different, and the influence on combustion is also different. The performance parameters of the natural gas engine at present are usually calibrated by a certain specific natural gas source, and when the gas quality difference between the natural gas source used in the operation of the natural gas engine and the natural gas source adopted during the calibration of the performance parameters is large, the current gas quality of the natural gas engine at the present time can be considered to be abnormal.
Before the natural gas engine leaves a factory, partitioning is carried out on the working condition that the natural gas engine may possibly run to obtain a partitioning mapping relation. The partition mapping relation comprises a corresponding relation between a working condition and a partition, wherein the working condition refers to the running condition of the natural gas engine and comprises the rotating speed and the load of the natural gas engine. For example, the partition mapping relationship may be as shown in fig. 2, that is, the operating condition to which the natural gas engine may operate is divided into 9 partitions according to the rotation speed and the load of the natural gas engine (where the 9 partitions are, respectively, 1 partition, 2 partition, 3 partition, 4 partition, 5 partition, 6 partition, 7 partition, 8 partition, and 9 partition), and different partitions may correspond to multiple operating conditions. Therefore, the natural gas engine can determine the current load of the natural gas engine according to the current rotating speed and the current exhaust temperature of the natural gas engine, and then determine the to-be-corrected partition of the natural gas engine which works at present based on the current rotating speed, the current load (the current rotating speed and the current load are the current working condition of the natural gas engine) and the partition mapping relation. The current rotating speed and the current exhaust temperature can be measured by a sensor.
It should be noted that the partition mapping relationship shown in fig. 2 is only an example, and of course, the operating condition that the natural gas engine may operate may also be divided according to actual needs, for example, the number of the partitions is greater than or less than the number of the above 9 partitions.
S102, obtaining an air inflow correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air inflow correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located.
Specifically, the parameter correction library stores in advance an intake air amount correction value and an air injection pulse width correction value corresponding to each partition in the partition mapping relationship. The air inflow correction value is used for correcting the air inflow of the natural gas engine, the air inflow refers to the amount of air entering the natural gas engine, the jet pulse width correction value is used for correcting the jet pulse width of the natural gas engine, and the jet pulse width refers to the time length of natural gas jetting of an ejector of the natural gas engine each time.
S103, controlling the air inflow of the natural gas engine according to the air inflow correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
And the natural gas engine corrects the air inflow of the natural gas engine by using the obtained air inflow correction value, and corrects the jet pulse width of the natural gas engine by using the obtained jet pulse width correction value.
According to the control method and device for the working parameters of the natural gas engine, the natural gas engine and the storage medium, when the current gas quality of the natural gas engine is determined to be abnormal, the to-be-corrected partition of the natural gas engine in the current working process is determined according to the current working condition of the natural gas engine and the preset partition mapping relation, the air inflow correction value and the jet pulse width correction value corresponding to the to-be-corrected partition are obtained from the preset parameter correction library, the air inflow of the natural gas engine is controlled according to the air inflow correction value, and the jet pulse width of the natural gas engine is controlled according to the jet pulse width correction value. When the natural gas engine determines that the current gas quality is abnormal, the natural gas engine can correct the self gas inflow and the jet pulse width according to the air inflow correction value and the jet pulse width correction value corresponding to the currently working to-be-corrected partition, when the environment where the natural gas engine is located changes, the obtained air inflow correction value is also related to the temperature and the altitude of the environment where the natural gas engine is located, and the obtained jet pulse width correction value is related to the temperature of the environment where the natural gas engine is located. Therefore, the natural gas engine works based on the corrected air inflow and the corrected jet pulse width, and the output power and the emission value of the natural gas engine can meet the calibrated regulations, so that the natural gas engine can be suitable for different gas quality requirements, and the application range of the natural gas engine is further improved. In addition, by controlling two working parameters of air inflow and air injection pulse width of the natural gas engine, the output power and the emission value of the natural gas engine can be ensured to meet the calibration requirement.
In an embodiment, there is further provided a process for obtaining the intake air amount correction value and the injection pulsewidth correction value corresponding to the partition to be corrected, that is, the processes of S201 to S203 described below are a process for self-learning the intake air amount correction value and a process for self-learning the injection pulsewidth correction value, and optionally, as shown in fig. 3, before the above step S102, the method further includes:
s201, obtaining an air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, a first environmental parameter of the natural gas engine corresponding to the historical air inflow and a target working condition.
Specifically, the first environmental parameter may include a temperature and a position of an environment in which the natural gas engine is located (the position may be an altitude at which the natural gas engine is located), for example, when a vehicle in which the natural gas engine is installed is located in different regions, such as a cold region, a region with a higher altitude, a warm region, or a region with a lower altitude, in order to meet requirements for output power and emission values, requirements for the intake air amount by the natural gas engine are different in the different regions, and therefore, the temperature and the position of the environment in which the natural gas engine is located need to be considered when calculating the intake air amount correction value. The target working condition is the working condition of the natural gas engine at that time when the historical air inflow is controlled to enter the natural gas engine.
Optionally, the natural gas engine may determine the intake air amount correction value corresponding to the partition to be corrected by referring to the following process of S2011-S2013:
and S2011, determining historical normalized air inflow corresponding to the historical air inflow according to the historical air inflow of the natural gas engine in the partition to be corrected and a first environmental parameter of the natural gas engine corresponding to the historical air inflow.
The natural gas engine can obtain an environmental coefficient corresponding to the first environmental parameter according to the first environmental parameter and the standard environmental parameter. The standard environment parameters are that the temperature is 20 ℃ and the position is plain, so that the natural gas engine can obtain the temperature coefficient and the position coefficient of the environment where the natural gas engine is located. The natural gas engine may be according to the relationship: and calculating the historical normalized intake air amount corresponding to the historical intake air amount. Wherein, the historical air inflow is obtained by the natural gas engine from the control unit.
S2012, determining a preset air inflow required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical air inflow and a preset first standard mapping relation, wherein the first standard mapping relation comprises a corresponding relation between the working condition and the preset air inflow.
The natural gas engine can obtain the required preset air inflow under the target working condition by inquiring the first standard mapping relation according to the target working condition of the natural gas engine at the time, namely the rotating speed and the exhaust temperature at the time.
And S2013, determining an air inflow correction value corresponding to the partition to be corrected according to the historical standardized air inflow and the preset air inflow.
The natural gas engine can determine the difference value between the historical standardized air inflow and the preset air inflow as the air inflow correction value corresponding to the to-be-corrected partition.
Usually, in the running process of the natural gas engine, the natural gas engine can run to the working condition of the same subarea for multiple times, therefore, the plurality of working conditions which run and belong to the same subarea to be corrected can be respectively calculated, so that a plurality of air inflow correction values can be obtained, and the final air inflow correction value corresponding to the subarea to be corrected can be determined by calculating the average value of the plurality of air inflow correction values. For the calculation of each working condition, the calculation process under the target working condition may be referred to, and this embodiment is not described herein again.
S202, obtaining a jet pulse width correction value corresponding to the to-be-corrected partition according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulse width and the target working condition.
The second environmental parameter may include a temperature of an environment in which the natural gas engine is located, for example, when a vehicle in which the natural gas engine is installed is located in a different region, such as a cold region or a warm region, in order to meet requirements of output power and emission values, requirements of the natural gas engine on the jet pulse width are different in the different regions, so that the temperature of the environment in which the natural gas engine is located needs to be considered when calculating the jet pulse width correction value. And when the target working condition is the historical jet pulse width of the control ejector, the working condition of the natural gas engine at that time is the same as the target working condition of the natural gas engine corresponding to the historical air inflow.
Alternatively, the natural gas engine may determine the jet pulse width correction value corresponding to the partition to be corrected by referring to the following process from S2021 to S2023:
s2021, determining a historical standardized jet pulse width corresponding to the historical jet pulse width according to the historical jet pulse width of the natural gas engine in the to-be-corrected subarea and a second environment parameter of the natural gas engine corresponding to the historical jet pulse width.
And the natural gas engine can obtain the environmental coefficient corresponding to the second environmental parameter according to the second environmental parameter and the standard environmental parameter. The standard environment parameter is the temperature of 20 ℃, so that the natural gas engine can obtain the temperature coefficient of the environment where the natural gas engine is located. The natural gas engine may be according to the relationship: and calculating the historical normalized jet pulse width corresponding to the historical jet pulse width. Wherein the historical jet pulsewidth is obtained from the control unit by the natural gas engine.
S2022, determining a preset jet pulse width required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical jet pulse width and a preset second standard mapping relation, wherein the second standard mapping relation comprises a corresponding relation between the working condition and the preset jet pulse width.
The natural gas engine can obtain the preset jet pulse width required under the target working condition by inquiring the second standard mapping relation according to the current target working condition of the natural gas engine, namely the current rotating speed and the current exhaust temperature.
S2023, determining the jet pulse width correction value corresponding to the to-be-corrected partition according to the historical standardized jet pulse width and the preset jet pulse width.
The natural gas engine can determine the difference value between the historical standardized jet pulse width and the preset jet pulse width as the jet pulse width correction value corresponding to the to-be-corrected partition.
Generally, in the running process of the natural gas engine, the natural gas engine can run to the working condition of the same subarea for multiple times, so that multiple running working conditions belonging to the same subarea to be corrected can be calculated respectively to obtain multiple jet pulse width correction values, and the final jet pulse width correction value corresponding to the subarea to be corrected is determined by calculating the average value of the multiple jet pulse width correction values. For the calculation of each working condition, the calculation process under the target working condition may be referred to, and this embodiment is not described herein again.
S203, storing the air intake quantity correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air intake quantity correction value and the air injection pulse width correction value into a preset parameter correction library.
In order to enable the obtained air intake quantity correction value and the air injection pulse width correction value to be more accurate, the total number of times of calculation can be preset, then the final air intake quantity correction value corresponding to the to-be-corrected partition is obtained based on the average value of the air intake quantity correction values of the total number of times, and the final air injection pulse width correction value corresponding to the to-be-corrected partition is obtained based on the average value of the air injection pulse width correction values of the total number of times. When the calculation times of the air intake quantity correction value and the jet pulse width correction value corresponding to the to-be-corrected partition do not reach the preset total times in one running process of the natural gas engine from starting to stopping, the learning state of the correction value can be stored while the air intake quantity correction value and the jet pulse width correction value are stored, such as the learning is finished or not finished. When the learning state of the correction value is not completed, the accumulated calculation times of the correction value can be synchronously stored, so that the natural gas engine can continue to learn by the stored accumulated calculation times after being started next time until reaching the preset total times.
For the process of obtaining the intake air amount correction value and the air injection pulse width correction value corresponding to each partition in the partition mapping relationship, the process of obtaining the intake air amount correction value and the air injection pulse width correction value corresponding to the partition to be corrected can be referred to, and details are not repeated herein in this embodiment. Of course, in the running process of the natural gas engine, learning can be temporarily omitted for the working condition which is not run, namely the partition which is not run, and learning is performed again when the working condition is run, so that the learning efficiency and pertinence are improved, and further the computing resources are saved.
In this embodiment, the natural gas engine may learn through historical data to obtain an intake air amount correction value and an injection pulsewidth correction value corresponding to the to-be-corrected partition, so that the accuracy of the obtained intake air amount correction value and the obtained injection pulsewidth correction value is high. In addition, when the air intake amount correction value and the air injection pulse width correction value are obtained, the calculation is carried out in a subarea mode, and learning can be temporarily omitted when the air intake amount correction value and the air injection pulse width correction value are not operated to the subarea, so that the learning efficiency and pertinence are improved, and further the calculation resources are saved.
Fig. 4 is a schematic flow chart of a method for controlling an operating parameter of a natural gas engine according to an embodiment. The present embodiment relates to a specific process of how a natural gas engine determines that the current gas quality is abnormal. Optionally, as shown in fig. 4, the S101 may include:
s301, respectively obtaining a first air inflow, a first preset air inflow, a first air injection pulse width and a first preset air injection pulse width of the natural gas engine under different first working conditions.
The method comprises the steps of determining whether the current gas quality of the natural gas engine is normal or not, controlling the natural gas engine to work under various first working conditions by controlling the rotating speed of the natural gas engine, and diagnosing whether the current gas quality of the natural gas engine is normal or not based on the working conditions under various first working conditions. The natural gas engine can obtain first air inflow and first air injection pulse width by reading the air inflow and the air injection pulse width of the control unit, obtain first preset air inflow required by the natural gas engine under a first working condition by inquiring the first standard mapping relation, and obtain second preset air injection pulse width required by the natural gas engine under the first working condition by inquiring the second standard mapping relation.
S302, aiming at a target first working condition, determining air inflow deviation of the natural gas engine under the target first working condition according to a first air inflow under the target first working condition, a first preset air inflow and a third environment parameter of the natural gas engine.
The third environmental parameter comprises the temperature and the position of the environment where the natural gas engine is located, and the natural gas engine can obtain an environmental coefficient corresponding to the third environmental parameter according to the third environmental parameter and the standard environmental parameter. The standard environment parameters are that the temperature is 20 ℃ and the position is plain, so that the natural gas engine can obtain the temperature coefficient and the position coefficient of the environment where the natural gas engine is located. The natural gas engine may be according to the relationship: and calculating the air intake deviation of the natural gas engine under the target first working condition.
And S303, obtaining the total air inflow deviation of the natural gas engine based on the air inflow deviation of the plurality of target first working conditions.
The natural gas engine can perform integral summation on the air inflow deviations of the target first working conditions to obtain the total air inflow deviation of the natural gas engine.
S304, determining jet pulse width deviation of the natural gas engine under the target first working condition according to the first jet pulse width, the first preset jet pulse width and the fourth environmental parameter of the natural gas engine under the target first working condition.
And the natural gas engine can obtain an environment coefficient corresponding to the fourth environment parameter according to the fourth environment parameter and the standard environment parameter. The standard environment parameter is the temperature of 20 ℃, so that the natural gas engine can obtain the temperature coefficient of the environment where the natural gas engine is located. The natural gas engine may be according to the relationship: and calculating the jet pulse width deviation of the natural gas engine under the target first working condition.
S305, obtaining the total jet pulse width deviation of the natural gas engine based on the jet pulse width deviations of the plurality of target first working conditions.
The natural gas engine can perform integral summation on the jet pulse width deviations of the target first working conditions to obtain the total jet pulse width deviation of the natural gas engine.
S306, when the deviation of the total air inflow exceeds a preset first threshold value and the deviation of the total air injection pulse width exceeds a preset second threshold value, determining that the current gas quality of the natural gas engine is abnormal.
In practical applications, before diagnosing the current gas quality of the natural gas engine, it is further required to determine that the current operating condition of the natural gas engine is not suitable for gas quality diagnosis, and optionally, before the step S101, the method may further include: acquiring the current rotating speed of the natural gas engine and the change rate of an accelerator within preset time; and when the current rotating speed is greater than the idle speed of the natural gas engine and the accelerator change rate is smaller than a preset value, diagnosing the current gas quality of the natural gas engine.
In this embodiment, the total intake air amount deviation and the total jet pulse width deviation can be determined through data of the natural gas engine under a plurality of different first working conditions, and whether the current gas quality of the natural gas engine is normal or not can be diagnosed based on the total intake air amount deviation and the total jet pulse width deviation, so that the accuracy of the obtained diagnosis result is high. In addition, the embodiment can realize the gas quality diagnosis under any load condition under the non-idle working condition, and improves the adaptability and robustness of the gas quality diagnosis.
In order to ensure the compensation effect on the intake air amount and the jet pulse width of the natural gas engine, after the intake air amount correction value and the jet pulse width correction value corresponding to the to-be-corrected partition are obtained, the obtained intake air amount correction value and jet pulse width correction value need to be verified, and optionally after S202, the method further comprises the following steps: correcting the current air inflow of the natural gas engine by using the air inflow correction value to obtain the corrected current air inflow; correcting the current jet pulse width of the natural gas engine by using the jet pulse width correction value to obtain the corrected current jet pulse width; determining the current air input deviation and the current jet pulse width deviation of the natural gas engine according to the corrected current air input, the corrected current jet pulse width, a second preset air input required by the natural gas engine under the current working condition and a second preset jet pulse width; and if the current air inflow deviation exceeds the first threshold value and the current jet pulse width deviation exceeds the second threshold value, continuously executing the air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical air inflow and the target working condition.
The method comprises the steps that a natural gas engine determines the current air input deviation of the natural gas engine according to the corrected current air input, the second preset air input required by the natural gas engine under the current working condition and the temperature coefficient and the position coefficient of the environment where the natural gas engine is located, and determines the current jet pulse width deviation of the natural gas engine according to the corrected current jet pulse width, the second preset jet pulse width required by the natural gas engine under the current working condition and the temperature coefficient of the environment where the natural gas engine is located. If the deviation of the current air inflow exceeds a first threshold value and the deviation of the current air injection pulse width exceeds a second threshold value, the processes of S201-S202 are continuously executed until the deviation of the next air inflow does not exceed the first threshold value and/or the deviation of the next air injection pulse width does not exceed the second threshold value. And if the deviation of the current air inflow does not exceed the first threshold value and/or the deviation of the current air injection pulse width does not exceed the second threshold value, storing the obtained air inflow correction value and the air injection pulse width correction value.
In this embodiment, the natural gas engine may verify the obtained intake air amount correction value and the obtained injection pulsewidth correction value, and when the verification result does not meet the requirement, the intake air amount correction value and the injection pulsewidth correction value are learned again according to the historical data, so that in the subsequent compensation process, when the natural gas engine works based on the intake air amount corrected by the intake air amount correction value and the injection pulsewidth corrected by the injection pulsewidth correction value, the output power and the emission value of the natural gas engine can meet the requirement, that is, the compensation effect is improved.
It should be understood that, although the steps in the flowcharts of fig. 1 to 4 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
Fig. 5 is a schematic diagram of an internal structure of a device for controlling operating parameters of a natural gas engine according to an embodiment, and as shown in fig. 5, the device may include: a first determination module 10, a first acquisition module 11 and a control module 12.
Specifically, the first determining module 10 is configured to determine a to-be-corrected partition in which the natural gas engine currently works according to a current working condition of the natural gas engine and a preset partition mapping relationship when it is determined that the current gas quality of the natural gas engine is abnormal, where the partition mapping relationship includes a corresponding relationship between the working condition and the partition;
the first obtaining module 11 is configured to obtain an intake air amount correction value and a jet pulse width correction value corresponding to the partition to be corrected from a preset parameter correction library, where the intake air amount correction value is related to the temperature and altitude of the environment where the natural gas engine is located, and the jet pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
the control module 12 is configured to control an air intake amount of the natural gas engine according to the air intake amount correction value, and control a jet pulse width of the natural gas engine according to the jet pulse width correction value.
According to the control device for the working parameters of the natural gas engine, when the current gas quality of the natural gas engine is determined to be abnormal, the to-be-corrected subarea of the natural gas engine in the current working process is determined according to the current working condition of the natural gas engine and the preset subarea mapping relation, the air intake quantity correction value and the jet pulse width correction value corresponding to the to-be-corrected subarea are obtained from the preset parameter correction library, the air intake quantity of the natural gas engine is controlled according to the air intake quantity correction value, and the jet pulse width of the natural gas engine is controlled according to the jet pulse width correction value. When the natural gas engine determines that the current gas quality is abnormal, the natural gas engine can correct the self gas inflow and the jet pulse width according to the air inflow correction value and the jet pulse width correction value corresponding to the currently working to-be-corrected partition, when the environment where the natural gas engine is located changes, the obtained air inflow correction value is also related to the temperature and the altitude of the environment where the natural gas engine is located, and the obtained jet pulse width correction value is related to the temperature of the environment where the natural gas engine is located. Therefore, the natural gas engine works based on the corrected air inflow and the corrected jet pulse width, and the output power and the emission value of the natural gas engine can meet the calibrated regulations, so that the natural gas engine can be suitable for different gas quality requirements, and the application range of the natural gas engine is further improved. In addition, by controlling two working parameters of air inflow and air injection pulse width of the natural gas engine, the output power and the emission value of the natural gas engine can be ensured to meet the calibration requirement.
Optionally, on the basis of the above embodiment, the apparatus further includes: the device comprises a second determining module, a third determining module and a storage module.
Specifically, the second determining module is configured to, before the first obtaining module 11 obtains the intake air amount correction value and the jet pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, obtain the intake air amount correction value corresponding to the to-be-corrected partition according to the historical intake air amount of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical intake air amount, and the target operating condition;
the third determining module is used for obtaining a jet pulse width correction value corresponding to the to-be-corrected partition according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulse width and the target working condition;
the storage module is used for storing the air intake quantity correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air intake quantity correction value and the air injection pulse width correction value into a preset parameter correction library.
Optionally, on the basis of the above embodiment, the second determining module is specifically configured to determine a historical normalized intake air amount corresponding to the historical intake air amount according to the historical intake air amount of the natural gas engine in the partition to be corrected and a first environmental parameter of the natural gas engine corresponding to the historical intake air amount; determining a preset air inflow required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical air inflow and a preset first standard mapping relation, wherein the first standard mapping relation comprises a corresponding relation between the working condition and the preset air inflow; and determining an air inflow correction value corresponding to the to-be-corrected partition according to the historical standardized air inflow and the preset air inflow.
Optionally, on the basis of the foregoing embodiment, the third determining module is specifically configured to determine a historical normalized jet pulse width corresponding to the historical jet pulse width according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition and a second environmental parameter of the natural gas engine corresponding to the historical jet pulse width; determining a preset jet pulse width required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical jet pulse width and a preset second standard mapping relation, wherein the second standard mapping relation comprises a corresponding relation between the working condition and the preset jet pulse width; and determining the air injection pulse width correction value corresponding to the to-be-corrected partition according to the historical standardized air injection pulse width and the preset air injection pulse width.
Optionally, on the basis of the foregoing embodiment, the first determining module 10 is specifically configured to respectively obtain a first intake air amount, a first preset intake air amount, a first jet pulse width and a first preset jet pulse width of the natural gas engine under different first operating conditions; determining the air inflow deviation of the natural gas engine under a target first working condition according to a first air inflow under the target first working condition, a first preset air inflow and a third environmental parameter of the natural gas engine; obtaining the total air inflow deviation of the natural gas engine based on the air inflow deviations of a plurality of target first working conditions; determining jet pulse width deviation of the natural gas engine under a target first working condition according to a first jet pulse width, a first preset jet pulse width and a fourth environmental parameter of the natural gas engine under the target first working condition; obtaining a total jet pulse width deviation of the natural gas engine based on jet pulse width deviations of a plurality of target first working conditions; and when the deviation of the total air inflow exceeds a preset first threshold value and the deviation of the total air injection pulse width exceeds a preset second threshold value, determining that the current gas quality of the natural gas engine is abnormal.
Optionally, on the basis of the above embodiment, the apparatus further includes: a second acquisition module and a diagnostic module.
Specifically, the second obtaining module is configured to obtain a current rotation speed and a throttle change rate within a preset time of the natural gas engine before the first determining module 10 determines that the current gas quality of the natural gas engine is abnormal;
the diagnosis module is used for diagnosing the current gas quality of the natural gas engine when the current rotating speed is larger than the idle speed of the natural gas engine and the accelerator change rate is smaller than a preset value.
Optionally, on the basis of the above embodiment, the apparatus further includes: the device comprises a first correction module, a second correction module, a fourth determination module and a processing module;
specifically, the first correction module is configured to correct the current air intake amount of the natural gas engine by using the air intake amount correction value after the third determination module obtains the air injection pulse width correction value corresponding to the to-be-corrected partition according to the historical air injection pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical air injection pulse width, and the target working condition, so as to obtain the corrected current air intake amount;
the second correction module is used for correcting the current jet pulse width of the natural gas engine by using the jet pulse width correction value to obtain the corrected current jet pulse width;
the fourth determining module is used for determining the current air input deviation and the current jet pulse width deviation of the natural gas engine according to the corrected current air input, the corrected current jet pulse width, the second preset air input required by the natural gas engine under the current working condition and the second preset jet pulse width;
and the processing module is used for continuously executing to obtain the air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical air inflow and the target working condition if the current air inflow deviation exceeds the first threshold and the current jet pulse width deviation exceeds the second threshold.
In one embodiment, a natural gas engine is provided, the internal structure of which may be as shown in fig. 6. The natural gas engine includes a processor and a memory connected by a system bus. Wherein the processor of the natural gas engine is configured to provide computational and control capabilities. The memory of the natural gas engine is used to store a computer program. The computer program is executed by a processor to implement a method of controlling an operating parameter of a natural gas engine.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a natural gas engine comprising a memory having a computer program stored therein and a processor which when executed implements the steps of:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining an air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, a first environmental parameter of the natural gas engine corresponding to the historical air inflow and a target working condition; obtaining a jet pulse width correction value corresponding to the to-be-corrected partition according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulse width and the target working condition; and storing the air inflow correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air inflow correction value and the air injection pulse width correction value into a preset parameter correction library.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining historical normalized air inflow corresponding to the historical air inflow according to the historical air inflow of the natural gas engine in the partition to be corrected and a first environmental parameter of the natural gas engine corresponding to the historical air inflow; determining a preset air inflow required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical air inflow and a preset first standard mapping relation, wherein the first standard mapping relation comprises a corresponding relation between the working condition and the preset air inflow; and determining an air inflow correction value corresponding to the to-be-corrected partition according to the historical standardized air inflow and the preset air inflow.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a historical normalized jet pulse width corresponding to the historical jet pulse width according to the historical jet pulse width of the natural gas engine in the to-be-corrected subarea and a second environmental parameter of the natural gas engine corresponding to the historical jet pulse width; determining a preset jet pulse width required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical jet pulse width and a preset second standard mapping relation, wherein the second standard mapping relation comprises a corresponding relation between the working condition and the preset jet pulse width; and determining the air injection pulse width correction value corresponding to the to-be-corrected partition according to the historical standardized air injection pulse width and the preset air injection pulse width.
In one embodiment, the processor, when executing the computer program, further performs the steps of: respectively acquiring a first air inflow, a first preset air inflow, a first air injection pulse width and a first preset air injection pulse width of the natural gas engine under different first working conditions; determining the air inflow deviation of the natural gas engine under a target first working condition according to a first air inflow under the target first working condition, a first preset air inflow and a third environmental parameter of the natural gas engine; obtaining the total air inflow deviation of the natural gas engine based on the air inflow deviations of a plurality of target first working conditions; determining jet pulse width deviation of the natural gas engine under a target first working condition according to a first jet pulse width, a first preset jet pulse width and a fourth environmental parameter of the natural gas engine under the target first working condition; obtaining a total jet pulse width deviation of the natural gas engine based on jet pulse width deviations of a plurality of target first working conditions; and when the deviation of the total air inflow exceeds a preset first threshold value and the deviation of the total air injection pulse width exceeds a preset second threshold value, determining that the current gas quality of the natural gas engine is abnormal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the current rotating speed of the natural gas engine and the change rate of an accelerator within preset time; and when the current rotating speed is greater than the idle speed of the natural gas engine and the accelerator change rate is smaller than a preset value, diagnosing the current gas quality of the natural gas engine.
In one embodiment, the processor, when executing the computer program, further performs the steps of: correcting the current air inflow of the natural gas engine by using the air inflow correction value to obtain the corrected current air inflow; correcting the current jet pulse width of the natural gas engine by using the jet pulse width correction value to obtain the corrected current jet pulse width; determining the current air input deviation and the current jet pulse width deviation of the natural gas engine according to the corrected current air input, the corrected current jet pulse width, a second preset air input required by the natural gas engine under the current working condition and a second preset jet pulse width; and if the current air inflow deviation exceeds the first threshold value and the current jet pulse width deviation exceeds the second threshold value, continuously executing the air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical air inflow and the target working condition.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
and controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining an air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, a first environmental parameter of the natural gas engine corresponding to the historical air inflow and a target working condition; obtaining a jet pulse width correction value corresponding to the to-be-corrected partition according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulse width and the target working condition; and storing the air inflow correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air inflow correction value and the air injection pulse width correction value into a preset parameter correction library.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining historical normalized air inflow corresponding to the historical air inflow according to the historical air inflow of the natural gas engine in the partition to be corrected and a first environmental parameter of the natural gas engine corresponding to the historical air inflow; determining a preset air inflow required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical air inflow and a preset first standard mapping relation, wherein the first standard mapping relation comprises a corresponding relation between the working condition and the preset air inflow; and determining an air inflow correction value corresponding to the to-be-corrected partition according to the historical standardized air inflow and the preset air inflow.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a historical normalized jet pulse width corresponding to the historical jet pulse width according to the historical jet pulse width of the natural gas engine in the to-be-corrected subarea and a second environmental parameter of the natural gas engine corresponding to the historical jet pulse width; determining a preset jet pulse width required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical jet pulse width and a preset second standard mapping relation, wherein the second standard mapping relation comprises a corresponding relation between the working condition and the preset jet pulse width; and determining the air injection pulse width correction value corresponding to the to-be-corrected partition according to the historical standardized air injection pulse width and the preset air injection pulse width.
In one embodiment, the computer program when executed by the processor further performs the steps of: respectively acquiring a first air inflow, a first preset air inflow, a first air injection pulse width and a first preset air injection pulse width of the natural gas engine under different first working conditions; determining the air inflow deviation of the natural gas engine under a target first working condition according to a first air inflow under the target first working condition, a first preset air inflow and a third environmental parameter of the natural gas engine; obtaining the total air inflow deviation of the natural gas engine based on the air inflow deviations of a plurality of target first working conditions; determining jet pulse width deviation of the natural gas engine under a target first working condition according to a first jet pulse width, a first preset jet pulse width and a fourth environmental parameter of the natural gas engine under the target first working condition; obtaining a total jet pulse width deviation of the natural gas engine based on jet pulse width deviations of a plurality of target first working conditions; and when the deviation of the total air inflow exceeds a preset first threshold value and the deviation of the total air injection pulse width exceeds a preset second threshold value, determining that the current gas quality of the natural gas engine is abnormal.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current rotating speed of the natural gas engine and the change rate of an accelerator within preset time; and when the current rotating speed is greater than the idle speed of the natural gas engine and the accelerator change rate is smaller than a preset value, diagnosing the current gas quality of the natural gas engine.
In one embodiment, the computer program when executed by the processor further performs the steps of: correcting the current air inflow of the natural gas engine by using the air inflow correction value to obtain the corrected current air inflow; correcting the current jet pulse width of the natural gas engine by using the jet pulse width correction value to obtain the corrected current jet pulse width; determining the current air input deviation and the current jet pulse width deviation of the natural gas engine according to the corrected current air input, the corrected current jet pulse width, a second preset air input required by the natural gas engine under the current working condition and a second preset jet pulse width; and if the current air inflow deviation exceeds the first threshold value and the current jet pulse width deviation exceeds the second threshold value, continuously executing the air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical air inflow and the target working condition.
The control device for the working parameters of the natural gas engine, the natural gas engine and the storage medium provided in the above embodiments can execute the control method for the working parameters of the natural gas engine provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details which are not elaborated in the above embodiments may be referred to a method for controlling an operating parameter of a natural gas engine provided in any of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A method of controlling operating parameters of a natural gas engine, comprising:
when the current gas quality of the natural gas engine is determined to be abnormal, determining a to-be-corrected subarea of the natural gas engine which works currently according to the current working condition of the natural gas engine and a preset subarea mapping relation, wherein the subarea mapping relation comprises a corresponding relation between the working condition and the subarea;
acquiring an air intake amount correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air intake amount correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
controlling the air input of the natural gas engine according to the air input correction value, and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value;
before the obtaining of the intake air amount correction value and the air injection pulse width correction value corresponding to the partition to be corrected from the preset parameter correction library, the method further comprises the following steps:
obtaining an air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, a first environmental parameter of the natural gas engine corresponding to the historical air inflow and a target working condition;
obtaining a jet pulse width correction value corresponding to the to-be-corrected partition according to the historical jet pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulse width and the target working condition;
and storing the air inflow correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air inflow correction value and the air injection pulse width correction value into a preset parameter correction library.
2. The method according to claim 1, wherein the obtaining of the intake air amount correction value corresponding to the to-be-corrected partition according to the historical intake air amount of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical intake air amount, and the target working condition comprises:
determining historical normalized air inflow corresponding to the historical air inflow according to the historical air inflow of the natural gas engine in the partition to be corrected and a first environmental parameter of the natural gas engine corresponding to the historical air inflow;
determining a preset air inflow required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical air inflow and a preset first standard mapping relation, wherein the first standard mapping relation comprises a corresponding relation between the working condition and the preset air inflow;
and determining an air inflow correction value corresponding to the to-be-corrected partition according to the historical standardized air inflow and the preset air inflow.
3. The method of claim 1, wherein obtaining the jet pulsewidth correction value corresponding to the to-be-corrected partition according to the historical jet pulsewidth of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulsewidth, and the target operating condition comprises:
determining a historical normalized jet pulse width corresponding to the historical jet pulse width according to the historical jet pulse width of the natural gas engine in the to-be-corrected subarea and a second environmental parameter of the natural gas engine corresponding to the historical jet pulse width;
determining a preset jet pulse width required by the natural gas engine under the target working condition according to the target working condition of the natural gas engine corresponding to the historical jet pulse width and a preset second standard mapping relation, wherein the second standard mapping relation comprises a corresponding relation between the working condition and the preset jet pulse width;
and determining the air injection pulse width correction value corresponding to the to-be-corrected partition according to the historical standardized air injection pulse width and the preset air injection pulse width.
4. The method of any of claims 1 to 3, wherein the determining that the current gas quality of the natural gas engine is not normal comprises:
respectively acquiring a first air inflow, a first preset air inflow, a first air injection pulse width and a first preset air injection pulse width of the natural gas engine under different first working conditions;
determining the air inflow deviation of the natural gas engine under a target first working condition according to a first air inflow under the target first working condition, a first preset air inflow and a third environmental parameter of the natural gas engine;
obtaining the total air inflow deviation of the natural gas engine based on the air inflow deviations of a plurality of target first working conditions;
determining jet pulse width deviation of the natural gas engine under a target first working condition according to a first jet pulse width, a first preset jet pulse width and a fourth environmental parameter of the natural gas engine under the target first working condition;
obtaining a total jet pulse width deviation of the natural gas engine based on jet pulse width deviations of a plurality of target first working conditions;
and when the deviation of the total air inflow exceeds a preset first threshold value and the deviation of the total air injection pulse width exceeds a preset second threshold value, determining that the current gas quality of the natural gas engine is abnormal.
5. The method of claim 4, further comprising, prior to the determining that the current gas quality of the natural gas engine is abnormal:
acquiring the current rotating speed of the natural gas engine and the change rate of an accelerator within preset time;
and when the current rotating speed is greater than the idle speed of the natural gas engine and the accelerator change rate is smaller than a preset value, diagnosing the current gas quality of the natural gas engine.
6. The method of claim 4, further comprising, after obtaining the jet pulsewidth correction value for the to-be-corrected partition based on the historical jet pulsewidths for the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical jet pulsewidths, and the target operating condition:
correcting the current air inflow of the natural gas engine by using the air inflow correction value to obtain the corrected current air inflow;
correcting the current jet pulse width of the natural gas engine by using the jet pulse width correction value to obtain the corrected current jet pulse width;
determining the current air input deviation and the current jet pulse width deviation of the natural gas engine according to the corrected current air input, the corrected current jet pulse width, a second preset air input required by the natural gas engine under the current working condition and a second preset jet pulse width;
and if the current air inflow deviation exceeds the first threshold value and the current jet pulse width deviation exceeds the second threshold value, continuously executing the air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, the first environmental parameter of the natural gas engine corresponding to the historical air inflow and the target working condition.
7. A control device for operating parameters of a natural gas engine, comprising:
the device comprises a first determination module, a second determination module and a third determination module, wherein the first determination module is used for determining a to-be-corrected partition of the natural gas engine in the current work according to the current working condition of the natural gas engine and a preset partition mapping relation when the current gas quality of the natural gas engine is determined to be abnormal, and the partition mapping relation comprises a corresponding relation between the working condition and the partition;
the first obtaining module is used for obtaining an air inflow correction value and an air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library, wherein the air inflow correction value is related to the temperature and the altitude of the environment where the natural gas engine is located, and the air injection pulse width correction value is related to the temperature of the environment where the natural gas engine is located;
the control module is used for controlling the air input of the natural gas engine according to the air input correction value and controlling the jet pulse width of the natural gas engine according to the jet pulse width correction value;
the device also includes:
the second determining module is used for obtaining an air inflow correction value corresponding to the to-be-corrected partition according to the historical air inflow of the natural gas engine in the to-be-corrected partition, a first environmental parameter of the natural gas engine corresponding to the historical air inflow and a target working condition before the first obtaining module obtains the air inflow correction value and the air injection pulse width correction value corresponding to the to-be-corrected partition from a preset parameter correction library;
the third determining module is used for obtaining an injection pulse width correction value corresponding to the to-be-corrected partition according to the historical injection pulse width of the natural gas engine in the to-be-corrected partition, the second environmental parameter of the natural gas engine corresponding to the historical injection pulse width and the target working condition;
and the storage module is used for storing the air intake amount correction value, the air injection pulse width correction value and the corresponding relation between the to-be-corrected partition and the air intake amount correction value and the air injection pulse width correction value into a preset parameter correction library.
8. A natural gas engine comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911083787.1A 2019-11-07 2019-11-07 Method and device for controlling working parameters of natural gas engine, engine and medium Active CN110925105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911083787.1A CN110925105B (en) 2019-11-07 2019-11-07 Method and device for controlling working parameters of natural gas engine, engine and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911083787.1A CN110925105B (en) 2019-11-07 2019-11-07 Method and device for controlling working parameters of natural gas engine, engine and medium

Publications (2)

Publication Number Publication Date
CN110925105A CN110925105A (en) 2020-03-27
CN110925105B true CN110925105B (en) 2022-01-07

Family

ID=69853477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911083787.1A Active CN110925105B (en) 2019-11-07 2019-11-07 Method and device for controlling working parameters of natural gas engine, engine and medium

Country Status (1)

Country Link
CN (1) CN110925105B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005048747A (en) * 2003-07-31 2005-02-24 Nissan Motor Co Ltd Combustion control device for internal combustion engine
CN205101127U (en) * 2015-11-20 2016-03-23 山东大学 Marsh gas internal combustion generating set air -fuel ratio control system
CN106121843A (en) * 2016-08-20 2016-11-16 潍柴西港新能源动力有限公司 A kind of natural gas engine ambient compensation closed loop control method and control system
CN106150724A (en) * 2016-07-07 2016-11-23 中国第汽车股份有限公司 Natural gas engine propellant composition diversity adaptive correction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5048856B1 (en) * 2011-04-27 2012-10-17 三菱電機株式会社 Preignition estimation control device for internal combustion engine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005048747A (en) * 2003-07-31 2005-02-24 Nissan Motor Co Ltd Combustion control device for internal combustion engine
CN205101127U (en) * 2015-11-20 2016-03-23 山东大学 Marsh gas internal combustion generating set air -fuel ratio control system
CN106150724A (en) * 2016-07-07 2016-11-23 中国第汽车股份有限公司 Natural gas engine propellant composition diversity adaptive correction method
CN106121843A (en) * 2016-08-20 2016-11-16 潍柴西港新能源动力有限公司 A kind of natural gas engine ambient compensation closed loop control method and control system

Also Published As

Publication number Publication date
CN110925105A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
US11156183B2 (en) Method for the model-based control and regulation of an internal combustion engine
JP4314573B2 (en) Multi-cylinder internal combustion engine cylinder-by-cylinder air-fuel ratio calculation device
EP1986067B1 (en) Electronic control system for controlling plant temperature
JP4321411B2 (en) Cylinder-by-cylinder air-fuel ratio control apparatus for internal combustion engine
US9790882B2 (en) Individual cylinder air-fuel ratio control device of internal combustion engine
EP2678544B1 (en) Controller and control method for internal combustion engine
US20150032359A1 (en) Method of correcting operating set points of an internal combustion engine
US20190085775A1 (en) Apparatus and method for correction of intake pulsation
KR20100023916A (en) Method and device for determining a control parameter for a fuel injector of an internal combustion engine
KR0132675B1 (en) Apparatus and method for controlling a car
US10247120B2 (en) Cylinder-by-cylinder air-fuel ratio controller for internal combustion engine
US20210180535A1 (en) Method for the model-based control and regulation of an internal combustion engine
CN107035556A (en) The method for running fuel injector
CN110925105B (en) Method and device for controlling working parameters of natural gas engine, engine and medium
US6947826B2 (en) Method for compensating injection quality in each individual cylinder in internal combustion engines
CN112761803A (en) Gas injection transient compensation method and device, vehicle and storage medium
US10480433B2 (en) Apparatus and method for calculating internal exhaust gas recirculation (EGR) amount of engine including continuously variable valve duration apparatus
CN110925106A (en) Control method and device of throttle valve of engine, electronic equipment and engine
JP4404354B2 (en) Control device for internal combustion engine
JP4600699B2 (en) Cylinder-by-cylinder air-fuel ratio control apparatus for internal combustion engine
JP2009167991A (en) Idling operation control device for internal combustion engine
JP2018013056A (en) Control device and control method for internal combustion engine
JP2006266094A (en) Air-fuel ratio control device
JP4748044B2 (en) Ignition timing control device for internal combustion engine
CN114810392B (en) Method and related device for determining fuel gas demand of engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant