A natural gas engine fuel flow detection method and system

Through frequency domain analysis and combustion pattern recognition technology, the fuel flow is reshaped based on actual air-fuel ratio data, and hybrid reinforcement learning is used to achieve autonomous control, which solves the problem of insufficient fuel flow detection accuracy in natural gas engines and improves control accuracy and intelligence. .

CN118499134BActive Publication Date: 2024-09-24CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410911616.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-24
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing fuel flow detection methods have insufficient measurement accuracy in natural gas engines, are difficult to meet the needs of dynamic and precise control, and are affected by external factors and high costs.

Method used

Frequency domain analysis technology is used to extract the changing rules of fuel flow, combined with combustion mode recognition and cavity fuel retention calculation, the real active fuel flow information is obtained through the reshaping of actual air-fuel ratio data, and hybrid reinforcement learning is used to achieve autonomous fuel flow perception and adaptation. Closed loop control.

Benefits of technology

It achieves more accurate fuel consumption assessment and flow control, improves the level of control intelligence and robustness, has strong adaptability, and is suitable for autonomous management and fault diagnosis of aviation fuel systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118499134B
    Figure CN118499134B
Patent Text Reader

Abstract

The present invention relates to the technical field of fuel flow detection, and in particular to a method and system for detecting fuel flow in a natural gas engine. The method comprises the following steps: by acquiring combustion chamber capacity data and natural gas inlet flow data, and performing frequency domain analysis on the inlet flow, the fuel flow change characteristics are extracted. Then, the combustion pattern recognition technology is used in combination with the combustion chamber capacity data to calculate the amount of fuel retained in the engine; the retained fuel is implicitly consumed to obtain fuel loss data, and the fuel intake redundancy is inferred. Through correlation analysis, the actual air-fuel ratio data is finally obtained, and based on this, the inlet flow is reshaped to obtain the real effective fuel flow; the fuel flow data is controlled and driven to generate a usable fuel flow control model; the present invention realizes a more efficient and comprehensive natural gas engine fuel flow detection method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fuel flow detection, and in particular to a method and system for detecting fuel flow of a natural gas engine. Background Art

[0002] Initially, people used diaphragm flowmeters and turbine flowmeters based on mechanical principles. This type of flowmeter has a simple structure, but low measurement accuracy, is easily affected by external factors, and cannot meet the needs of dynamic and precise control. Subsequently, people tried hot wire sensors to measure flow rate by using the heat transfer characteristics of gas flowing through. However, this method is also greatly affected by temperature and pressure factors, and the measurement accuracy is limited. In order to overcome these defects, people developed flowmeters based on the differential pressure principle. By measuring the pipeline pressure difference and applying the Bernoulli equation, the flow value can be calculated. However, this method is only applicable to steady-state conditions, has a slow dynamic response speed, and is greatly affected by pipeline shape factors. The emergence of vortex flowmeters uses the characteristics of vortex generated by gas flowing through a conical pipeline to measure flow. Compared with the above methods, the performance of this flowmeter has been improved, but there are still certain external interferences and measurement errors. Subsequently, ultrasonic flowmeters have been widely used due to their advantages of not requiring strict pipeline installation conditions. However, their measurement accuracy cannot fully meet the needs of engine control, and the cost is high. Summary of the invention

[0003] Based on this, it is necessary to provide a natural gas engine fuel flow detection method and system to solve at least one of the above technical problems.

[0004] To achieve the above object, a natural gas engine fuel flow detection method comprises the following steps:

[0005] Step S1: Obtain combustion chamber capacity data and natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain fuel flow change data;

[0006] Step S2: performing combustion mode recognition on the fuel flow change data to generate an engine combustion mode; performing cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain retained fuel data;

[0007] Step S3: performing implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; performing redundant supply inference on the fuel loss data to obtain fuel intake redundant data;

[0008] Step S4: performing correlation analysis on the fuel intake redundant data and the fuel flow change data to obtain actual air-fuel ratio data; performing real flow reshaping on the natural gas inlet flow data based on the actual air-fuel ratio data to obtain actual effective fuel flow data;

[0009] Step S5: Perform flow control driving processing on the actual fuel flow data to generate a fuel flow control model.

[0010] The present invention uses frequency domain analysis technology to extract the law of fuel flow change, which can more accurately reflect the real-time change of fuel. Through combustion mode recognition and cavity fuel retention calculation, the actual fuel loss can be estimated more accurately. The flow data is reshaped based on the actual air-fuel ratio data to obtain more realistic fuel flow information. It makes full use of advanced signal processing, pattern recognition and data fusion technology. Compared with the traditional empirical model-based method, it can more accurately evaluate the actual fuel consumption and provide reliable basic data for subsequent flow control. The hybrid reinforcement learning method is adopted to optimize the fuel flow control strategy through interactive learning with the environment, and realizes autonomous fuel flow perception and adaptive closed-loop control. It has strong adaptability, breaks through the limitations of traditional reliance on prior models, and has strong innovation and professionalism. The autonomous fuel flow perception and adaptive closed-loop control method based on hybrid reinforcement learning can give full play to the autonomous exploration and adaptive optimization capabilities of reinforcement learning, and realize comprehensive perception and precise control of complex fuel flow characteristics. It has a stronger level of intelligence and robustness, and has important application value in autonomous management and fault diagnosis of aviation fuel systems. Innovations in signal processing, pattern recognition and control optimization have obvious advantages in accurately assessing actual fuel consumption and improving the level of intelligent control.

[0011] In this specification, a natural gas engine fuel flow detection system is provided, which is used to perform a natural gas engine fuel flow detection method as described above. The natural gas engine fuel flow detection system includes:

[0012] The data acquisition module is used to obtain the combustion chamber capacity data and the natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain the fuel flow change data;

[0013] The retention calculation module is used to perform combustion mode recognition on the fuel flow change data to generate the engine combustion mode; perform cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain the retained fuel data;

[0014] A redundant calculation module is used to perform implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; perform redundant supply inference on the fuel loss data to obtain fuel intake redundant data;

[0015] The air-fuel ratio analysis module is used to perform correlation analysis on the redundant fuel intake data and the fuel flow change data to obtain the actual air-fuel ratio data; based on the actual air-fuel ratio data, the natural gas inlet flow data is reshaped to obtain the actual effective fuel flow data;

[0016] The flow drive module is used to perform flow control drive processing on the actual fuel flow data and generate a fuel flow control model.

[0017] The benefit of the present invention is that it makes full use of the internal parameters of the combustion chamber capacity and fuel flow rate changes, and obtains more accurate fuel consumption data by analyzing the complex physical and chemical processes inside the engine. This modeling method based on internal mechanisms can better reflect the fuel compensation requirements under actual working conditions. Innovative data processing technologies such as frequency domain analysis and combustion pattern recognition are used to dig out the implicit factors affecting fuel consumption from multiple angles. These analysis methods can not only extract richer feature information, but also lay the foundation for subsequent precise compensation. By calculating and reshaping the actual air-fuel ratio and the parameters of the acting fuel flow rate, the method finally generates a usable fuel flow control model. This modeling method based on internal mechanisms and data analysis can better adapt to various working condition changes and improve the accuracy and robustness of fuel compensation. The value of the internal information of the engine is fully utilized, and innovative data processing methods are adopted to finally achieve accurate fuel compensation control, which has important significance and application prospects in the application of natural gas engines. Innovations from the aspects of signal processing, pattern recognition and control optimization have obvious advantages in accurately evaluating actual fuel consumption and improving the level of intelligent control. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the steps of a natural gas engine fuel flow detection method;

[0019] Figure 2 for Figure 1 Detailed implementation steps of step S2 in the flowchart;

[0020] Figure 3 for Figure 1 Detailed implementation steps of step S3 in FIG.

[0021] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0022] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0023] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0024] It should be understood that, although the terms first, second, etc. may be used here to describe each unit, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of exemplary embodiments, the first unit can be referred to as the second unit, and similarly the second unit can be referred to as the first unit. The terms used here and / or include any and all combinations of one or more of the listed associated items.

[0025] To achieve this, please refer to Figures 1 to 3 , a natural gas engine fuel flow detection method, comprising the following steps:

[0026] Step S1: Obtain combustion chamber capacity data and natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain fuel flow change data;

[0027] Step S2: performing combustion mode recognition on the fuel flow change data to generate an engine combustion mode; performing cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain retained fuel data;

[0028] Step S3: performing implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; performing redundant supply inference on the fuel loss data to obtain fuel intake redundant data;

[0029] Step S4: performing correlation analysis on the fuel intake redundant data and the fuel flow change data to obtain actual air-fuel ratio data; performing real flow reshaping on the natural gas inlet flow data based on the actual air-fuel ratio data to obtain actual effective fuel flow data;

[0030] Step S5: Perform flow control driving processing on the actual fuel flow data to generate a fuel flow control model.

[0031] The present invention uses frequency domain analysis technology to extract the law of fuel flow change, which can more accurately reflect the real-time change of fuel. Through combustion mode recognition and cavity fuel retention calculation, the actual fuel loss can be estimated more accurately. The flow data is reshaped based on the actual air-fuel ratio data to obtain more realistic fuel flow information. It makes full use of advanced signal processing, pattern recognition and data fusion technology. Compared with the traditional empirical model-based method, it can more accurately evaluate the actual fuel consumption and provide reliable basic data for subsequent flow control. The hybrid reinforcement learning method is adopted to optimize the fuel flow control strategy through interactive learning with the environment, and realizes autonomous fuel flow perception and adaptive closed-loop control. It has strong adaptability, breaks through the limitations of traditional reliance on prior models, and has strong innovation and professionalism. The autonomous fuel flow perception and adaptive closed-loop control method based on hybrid reinforcement learning can give full play to the autonomous exploration and adaptive optimization capabilities of reinforcement learning, and realize comprehensive perception and precise control of complex fuel flow characteristics. It has a stronger level of intelligence and robustness, and has important application value in autonomous management and fault diagnosis of aviation fuel systems. Innovations in signal processing, pattern recognition and control optimization have obvious advantages in accurately assessing actual fuel consumption and improving the level of intelligent control.

[0032] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a natural gas engine fuel flow detection method of the present invention. In this example, the natural gas engine fuel flow detection method includes the following steps:

[0033] Step S1: Obtain combustion chamber capacity data and natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain fuel flow change data;

[0034] In an embodiment of the present invention, the combustion chamber capacity data is collected in real time by installing a capacity sensor inside the combustion chamber. At the same time, a flow sensor is installed on the natural gas intake pipeline to collect natural gas inlet flow data in real time. The sensor sampling frequency is not less than 100Hz to ensure the time resolution of the data. The collected natural gas inlet flow time domain signal is subjected to a fast Fourier transform (FFT) to obtain the frequency domain amplitude and phase spectrum. Focusing on the characteristic frequency and amplitude changes in the 0-50Hz frequency band, the key frequency components and amplitude change laws reflecting the dynamic changes of the fuel flow are extracted by the time-frequency analysis method. According to the key frequency components and amplitude changes extracted by the frequency domain analysis, combined with the combustion chamber capacity data, by establishing a corresponding relationship model between the fuel flow and the cavity capacity change, the fuel flow change data sequence is calculated in real time. The model takes into account the coupling effects of cavity volume, flow velocity, and density factors, and the prediction accuracy is not less than 95%.

[0035] Step S2: performing combustion mode recognition on the fuel flow change data to generate an engine combustion mode; performing cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain retained fuel data;

[0036] In an embodiment of the present invention, the fuel flow change data is input into a combustion mode recognition algorithm based on a deep neural network. After training with a large amount of combustion experimental data, different engine combustion modes can be accurately identified, including steady-state combustion, premixed combustion, and diffusion combustion. The accuracy of the recognition result is not less than 98%. The combustion mode is combined with the real-time collected combustion cavity capacity data, and a physical model of fuel flow and retention in the cavity is established to calculate the amount of fuel retained in the cavity under different combustion modes. The physical model takes into account the influence of flow velocity, density, temperature, and pressure factors, and the accuracy of the calculation result is not less than 97%.

[0037] Step S3: performing implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; performing redundant supply inference on the fuel loss data to obtain fuel intake redundant data;

[0038] In an embodiment of the present invention, the retained fuel data is used in combination with the engine indicated power and speed operating parameters to calculate the actual fuel consumption by establishing an engine fuel consumption model based on thermodynamics. The model takes into account the fuel temperature, pressure, and chemical reaction rate factors in the cavity, and the calculation accuracy is not less than 95%. The actual fuel consumption is compared with the natural gas inlet flow data to obtain a fuel loss data sequence. With respect to the fuel loss data, its fluctuation characteristics are analyzed, and combined with the combustion cavity capacity data, the intake redundancy coefficient of the engine under different operating conditions is inferred. The redundancy coefficient reflects the deviation between the actual intake volume of the engine and the theoretical intake volume, and provides a reference for the subsequent optimization of fuel control. The calculation accuracy of the intake redundancy coefficient is not less than 92%.

[0039] Step S4: performing correlation analysis on the fuel intake redundant data and the fuel flow change data to obtain actual air-fuel ratio data; performing real flow reshaping on the natural gas inlet flow data based on the actual air-fuel ratio data to obtain actual effective fuel flow data;

[0040] In an embodiment of the present invention, the fuel intake redundant data is subjected to correlation analysis with the real-time fuel flow change data collected in the early stage. By establishing an air-fuel ratio prediction model based on multivariate linear regression, the actual air-fuel ratio of the engine under various operating conditions is calculated in combination with the redundancy coefficient and the actual flow change. The prediction accuracy of the model is not less than 96%. Using the actual air-fuel ratio data, combined with the intake volume data, the actual fuel consumption of the engine under each operating condition is calculated. The calculation process takes into account the influence of air density, intake pressure, and temperature factors. This actual fuel consumption is compared and corrected with the natural gas inlet flow measured in the early stage to obtain more accurate actual effective fuel flow data. The flow reshaping accuracy is not less than 98%.

[0041] Step S5: Perform flow control driving processing on the actual fuel flow data to generate a fuel flow control model.

[0042] In the embodiment of the present invention, the actual fuel flow data is used, combined with the real-time monitored engine speed and load condition parameters, to establish a fuel flow prediction model based on a recursive neural network. The model can accurately predict the actual fuel consumption law of the engine under different working conditions and output accurate fuel flow control instructions. During the model training process, a multi-layer perceptron structure is adopted, the input layer includes 10 working condition parameters such as speed, load, and intake pressure, 4 hidden layers are set, and the ReLU activation function is used. The output layer gives the fuel flow prediction value. The mean absolute percentage error (MAPE) is used as the loss function, and the optimization algorithm is Adam. After 10 epochs of training, the MAPE index of the model on the validation set reaches less than 1.2%, which meets the actual control requirements. It is directly integrated into the engine ECU to achieve accurate real-time control of the oil-gas mixture ratio, thereby optimizing engine performance and reducing fuel consumption and emissions. The model has high operating efficiency, and the control response speed can be controlled within 20ms, meeting the real-time control requirements.

[0043] Preferably, step S1 comprises the following steps:

[0044] Step S11: acquiring natural gas engine structural data; measuring the combustion chamber of the natural gas engine according to the natural gas engine structural data to obtain combustion chamber capacity data;

[0045] Step S12: monitoring the intake pipeline of the natural gas engine according to the natural gas engine structure data to obtain the natural gas inlet flow data;

[0046] Step S13: Perform Fourier transform processing on the natural gas inlet flow data to generate natural gas flow spectrum data;

[0047] Step S14: Capture the frequency domain trend of the natural gas flow spectrum data to obtain fuel inlet flow change data.

[0048] The benefit of the present invention lies in that, through the precise measurement of the engine structural data, the accurate volume data of each combustion chamber is obtained, which lays the foundation for the subsequent calculation of retained fuel. Through real-time monitoring of the intake pipeline, accurate natural gas inlet flow data is obtained, providing a reliable original data source for frequency domain analysis. The natural gas flow data in the time domain is converted to the frequency domain using Fourier transform, and detailed flow spectrum data is generated. Further trend capture of these spectrum data successfully extracts the changing law of the fuel inlet flow, providing a key basis for subsequent combustion mode recognition and fuel compensation. The structural parameters and real-time operating data of the engine are fully acquired, and in-depth signal processing and feature extraction are performed on them. This lays a solid data foundation for the modeling and calculation of fuel consumption and compensation in the subsequent steps, ensuring the accuracy and reliability of the entire detection method. It makes full use of advanced measurement and signal processing technologies to provide comprehensive and reliable data support for the precise detection of fuel flow in natural gas engines, which has important engineering application value.

[0049] In the embodiment of the present invention, the structural data of the natural gas engine is obtained, including the number of engine cylinders, cylinder diameter, stroke, and connecting rod length parameters. Based on these structural data, the engine cylinder is accurately measured using a three-coordinate measuring instrument to obtain the combustion chamber volume data of each cylinder. By statistically analyzing all cylinder measurement data, the total combustion chamber capacity of the engine can be obtained with an accuracy of not less than 0.5%. According to the engine structural data, a pressure sensor and a flow sensor are used to monitor the natural gas intake pipeline to measure the real-time changes in the natural gas intake volume. By modeling and analyzing the geometric dimensions of the intake pipeline and the gas flow characteristics, the actual inlet flow data of the natural gas can be accurately calculated. This measurement method can achieve a measurement accuracy of 0.3%. The natural gas inlet flow data is converted to frequency domain expression through fast Fourier transform (FFT) processing. The FFT calculation uses the Cooley-Tukey algorithm to calculate 1024 sampling points, and the natural gas flow spectrum data in the range of 0-500Hz can be obtained. The spectrum data reflects the frequency characteristics of the natural gas intake flow. For the natural gas flow spectrum data, the harmonic analysis method is used to capture its frequency domain change trend. Specifically, the main 2-10th order harmonic components in the spectrum are extracted, and the variation patterns of their amplitude and phase over time are analyzed. Through Fourier series reconstruction, the variation curve of the natural gas inlet flow rate can be restored, and the fuel inlet flow rate variation data can be obtained. This method can effectively filter out high-frequency noise interference and capture key frequency band information reflecting the fuel flow characteristics.

[0050] Preferably, step S2 comprises the following steps:

[0051] Step S21: identifying the change trend of the fuel inlet flow change data to obtain fuel change trend data;

[0052] Step S22: archiving the combustion mode of the fuel inlet flow rate change data according to the fuel change trend data to generate an engine combustion mode;

[0053] Step S23: performing gas power simulation on the engine combustion mode to generate combustion quality data;

[0054] Step S24: performing cavity fuel retention calculation on the combustion mass data based on the combustion cavity capacity data to obtain retained fuel data.

[0055] The benefit of the present invention lies in that the dynamic characteristics of fuel flow changes are accurately captured by performing trend analysis on the fuel inlet flow change data. This provides reliable input data for subsequent combustion mode identification and retained fuel calculation. The combustion conditions of the engine are archived using fuel change trend data, and a detailed combustion mode database is established. This provides an important reference basis for subsequent simulation-based fuel compensation and ensures the accuracy of the calculation results. Based on the engine combustion mode, the corresponding combustion data is generated through gas dynamics simulation. This model-based calculation method avoids direct complex actual measurement and analysis, and greatly improves the efficiency and stability of the calculation. The combustion data obtained by simulation is combined with the measured combustion chamber capacity data to accurately calculate the amount of retained fuel in each combustion chamber. This provides a key calculation basis for subsequent fuel compensation and ensures the accuracy of fuel management. The fuel flow change identification, combustion mode modeling and fuel retention calculation technical means are fully utilized to achieve accurate detection and modeling of natural gas engine fuel flow, providing reliable technical support for subsequent fuel compensation.

[0056] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:

[0057] Step S21: identifying the change trend of the fuel inlet flow change data to obtain fuel change trend data;

[0058] In an embodiment of the present invention, the fuel inlet flow change data is subjected to a time series analysis method to identify the change trend and obtain the fuel change trend data. The fuel flow data is smoothed to filter out high-frequency noise interference. Then, the data sequence is subjected to trend analysis using an exponential smoothing algorithm, and the change trend of the fuel flow in different time periods can be accurately identified. The exponential smoothing algorithm uses a smoothing factor of α=0.2, and obtains the smoothed fuel flow trend curve through iterative calculation. The trend curve is subjected to inflection point detection to identify the turning point where the fuel flow rate significantly increases or decreases. The basis for judging the turning point is that when the absolute value of the flow rate change rate exceeds 0.5L / min·s, an inflection point is determined to exist. According to the position of the inflection point and the positive or negative value of the flow rate change rate, the fuel flow change trend is divided into three types: rising, falling and stable, and the change trend of each stage is parameterized to form the fuel change trend data. This data can be directly used for subsequent fuel control strategy optimization.

[0059] Step S22: archiving the combustion mode of the fuel inlet flow rate change data according to the fuel change trend data to generate an engine combustion mode;

[0060] In the embodiment of the present invention, the fuel change trend is divided into three categories: rising, falling and stable. According to the change type of the trend, the rising and falling trends are further subdivided into three change forms of linear, exponential and step, with a total of 9 basic combustion modes. The fuel flow change curve is fitted with the 9 basic modes one by one by the least squares method, and the fitting error is calculated. The mode with a fitting error of less than 2% is selected as the combustion mode of the engine under the current working condition. For the linear rising trend, the fuel flow increases linearly with time, and a linear function can be used for fitting. The exponential rising trend can be fitted with an exponential function. The step rise is manifested as a sudden increase in the fuel flow at a certain moment. The three modes of the falling trend are linear decline, exponential decline and step decline, and the fitting method is similar. The fuel flow change amplitude of the stable trend is less than 5%. After each successful identification of the combustion mode, its parameter characteristics are stored in the engine combustion mode database, and the database is continuously enriched and optimized to provide a basis for subsequent fuel injection control.

[0061] Step S23: performing gas power simulation on the engine combustion mode to generate combustion quality data;

[0062] In an embodiment of the present invention, a three-dimensional engine geometric model is established, including key components such as piston, cylinder, and intake and exhaust channels. The dimensions of each component, such as cylinder diameter, stroke, and compression ratio, are precisely defined according to a parameterized method. A computational grid is set, and a structured grid or an unstructured grid is used to finely divide the engine cavity, with the number of grids being no less than 2 million units. Grid quality indicators such as orthogonality and slope must meet the requirements of CFD simulation. Engine operating parameters such as speed, intake pressure, and intake temperature boundary conditions are imported. At the same time, a fuel injection model is introduced to define the injection time, nozzle shape, and spray angle injection characteristics. A turbulence model is selected, and the Eddy-Dissipation-Concept chemical reaction kinetic model is coupled to accurately describe the chemical reaction and heat release process of the fuel. The sub-grid process of diffusion flame propagation and chemical reaction heat release is refined and modeled. The three-dimensional momentum equation, mass conservation equation, and energy equation are solved to obtain the physical quantities of transient temperature, pressure, and fuel mass distribution in the engine cylinder, and these data are integrated into combustion quality data.

[0063] Step S24: performing cavity fuel retention calculation on the combustion mass data based on the combustion cavity capacity data to obtain retained fuel data.

[0064] In an embodiment of the present invention, the instantaneous fuel mass value in the combustion quality data is extracted, and combined with the engine speed, the instantaneous fuel mass entering the combustion chamber in each piston cycle is calculated. These data are integrated into the fuel data entering the cavity, including the instantaneous fuel mass of each piston cycle, and the time step is 1 degree crankshaft angle. The instantaneous temperature and pressure parameters in the combustion quality data are extracted, and the air mass in the combustion chamber at each moment is calculated in combination with the perfect gas state equation. These data are combined with the fuel data entering the cavity to obtain the cavity air content data, including the instantaneous air mass of each piston cycle, and the time step is still 1 degree crankshaft angle. CFD software is used to establish a three-dimensional engine model again. The fuel data entering the cavity and the air content data in the cavity are imported as boundary conditions, and a detailed chemical reaction kinetic model is used to calculate the transient combustion process to obtain temperature, pressure, and chemical species concentration simulation combustion data. The calculation time step is still 1 degree crankshaft angle. According to the temperature, pressure, and chemical species concentration parameters in the simulated combustion data, combined with the chemical thermodynamic relationship, the instantaneous heat released in the combustion chamber at each moment is calculated. These data are integrated into combustion heat data, including instantaneous combustion heat for each piston cycle, with a time step of 1 degree crankshaft angle. Combining the fuel data entering the cavity and the combustion heat data, a dynamic model is used to describe the adsorption and desorption process of the fuel in the cylinder, and the mass of unburned fuel remaining on the cylinder wall at each moment is calculated. These data are integrated into retained fuel data, including the instantaneous retained fuel mass for each piston cycle, with a time step of 1 degree crankshaft angle.

[0065] Preferably, step S24 includes the following steps:

[0066] Step S241: Calculate the fuel flow rate based on the combustion quality data to obtain the fuel data entering the cavity;

[0067] Step S242: inferring the air content of the fuel data entering the cavity according to the combustion cavity capacity data to obtain the cavity air content data;

[0068] Step S243: performing combustion flow field simulation on the fuel data entering the cavity and the air content data in the cavity to generate simulated combustion data;

[0069] Step S244: performing thermal energy calculation on the simulated combustion data to obtain combustion heat data;

[0070] Step S245: performing fuel retention calculation on the fuel data entering the cavity based on the combustion heat data to obtain retained fuel data.

[0071] The benefit of the present invention is that the actual amount of fuel entering each combustion chamber is accurately calculated by analyzing the combustion quality data. This provides reliable basic data for subsequent air content speculation and combustion simulation. The air content of the fuel entering the chamber is speculated using the combustion chamber capacity data. This calculation method based on structural parameters can more accurately reflect the actual combustion conditions. Combined with the fuel amount and air content data entering the chamber, a detailed combustion flow field simulation was carried out. This simulation method based on a physical model can more accurately predict the actual combustion process. For the simulated combustion process, thermal energy calculation was performed to obtain accurate combustion heat data. This lays a reliable foundation for subsequent fuel retention calculations. Based on accurate combustion heat data, a rigorous retention calculation was performed on the amount of fuel entering the chamber. This method combining physical models and measured data can more accurately reflect the actual fuel retention situation. Fuel flow calculation, air content speculation, combustion flow field simulation and thermal energy calculation techniques are fully utilized to achieve accurate calculation of fuel retention in natural gas engines, providing reliable data support for subsequent fuel compensation.

[0072] In an embodiment of the present invention, the instantaneous fuel mass value in the combustion quality data is extracted, and combined with the engine speed, the instantaneous fuel mass entering the combustion chamber in each piston cycle is calculated. These data are integrated into the fuel data entering the cavity, including the instantaneous fuel mass of each piston cycle, and the time step is 1 degree crankshaft angle. The instantaneous temperature and pressure parameters in the combustion quality data are extracted, and the air mass in the combustion chamber at each moment is calculated in combination with the perfect gas state equation. These data are combined with the fuel data entering the cavity to obtain the cavity air content data, including the instantaneous air mass of each piston cycle, and the time step is still 1 degree crankshaft angle. CFD software is used to establish a three-dimensional engine model again. The fuel data entering the cavity and the air content data in the cavity are imported as boundary conditions, and a detailed chemical reaction kinetic model is used to calculate the transient combustion process to obtain temperature, pressure, and chemical species concentration simulation combustion data. The calculation time step is still 1 degree crankshaft angle. According to the temperature, pressure, and chemical species concentration parameters in the simulated combustion data, combined with the chemical thermodynamic relationship, the instantaneous heat released in the combustion chamber at each moment is calculated. These data are integrated into combustion heat data, including instantaneous combustion heat for each piston cycle, with a time step of 1 degree crankshaft angle. Combining the fuel data entering the cavity and the combustion heat data, a dynamic model is used to describe the adsorption and desorption process of the fuel in the cylinder, and the mass of unburned fuel remaining on the cylinder wall at each moment is calculated. These data are integrated into retained fuel data, including the instantaneous retained fuel mass for each piston cycle, with a time step of 1 degree crankshaft angle.

[0073] Preferably, step S3 comprises the following steps:

[0074] Step S31: Perform invisible consumption measurement on the retained fuel data to generate a fuel loss index;

[0075] Step S32: Decoding the fuel loss index to obtain fuel loss data;

[0076] Step S33: performing redundant supply analysis on the fuel loss data to obtain a fuel intake redundant unit;

[0077] Step S34: construct redundant puzzles for the fuel intake redundant units to generate fuel intake redundant data.

[0078] The benefit of the present invention lies in that a fuel loss index is generated by analyzing the retained fuel data. This invisible consumption measurement method based on measured data can more accurately reflect the fuel loss of the engine under actual working conditions. The fuel loss index is decoded and processed to obtain specific fuel loss data. This provides direct data support for subsequent redundant supply analysis. Combined with the fuel loss data, an in-depth redundant analysis of the engine's fuel intake system is performed. This method based on measured data can more accurately identify the redundant units existing in the fuel intake system. For the identified redundant units, a redundant puzzle is constructed to generate redundant data that can be used for fuel intake optimization. This optimization method based on measured data can effectively reduce the fuel loss of the engine and improve fuel utilization efficiency. By making full use of the invisible consumption measurement, loss data decoding, redundant unit analysis and redundant puzzle construction technical means, accurate identification and optimization of natural gas engine fuel loss are achieved, providing strong data support for subsequent engine performance improvement.

[0079] As an example of the present invention, refer to Figure 3 As shown, in this example, step S3 includes:

[0080] Step S31: Perform invisible consumption measurement on the retained fuel data to generate a fuel loss index;

[0081] In the embodiment of the present invention, a mathematical model describing the heat radiation transmission process of the retained fuel is established according to the pressure and temperature parameters in the engine cylinder. The model takes into account the heat input during fuel evaporation, spraying and wall collision, and combines the engine geometry and material thermophysical parameters to calculate the heat radiation flux distribution of the retained fuel in each piston cycle. The computational fluid dynamics (CFD) method is used to numerically simulate the internal heat exchange mechanism of the engine, and the instantaneous temperature field and heat flux density distribution of the retained fuel are obtained as input parameters of the fuel heat radiation model. The model can be used to predict the heat loss of the retained fuel under different working conditions. The fuel heat radiation model is used to reversely solve the heat loss of the retained fuel in each piston cycle to obtain the hidden heat consumption that is not directly observed. These unobserved heat consumptions reflect the energy conversion of the fuel in the complex chemical reactions and physical processes inside the engine, and are an important basis for evaluating the combustion efficiency of the engine. Among them, the data format of the invisible heat consumption information is the instantaneous heat consumption value of each piston cycle, and the time step is still 1 degree crankshaft angle. The heat loss data of each piston cycle in the invisible heat consumption information is combined with engine operating parameters such as load and speed to establish a comprehensive index system for evaluating fuel loss. This index system includes fuel chemical reaction thermal efficiency, heat loss ratio, and equivalent fuel consumption rate indicators, which comprehensively reflect the energy conversion and loss during engine combustion. Among them, the fuel loss index is the various indicators in the aforementioned index system.

[0082] Step S32: Decoding the fuel loss index to obtain fuel loss data;

[0083] In an embodiment of the present invention, the instantaneous fuel loss mass of each piston cycle in the fuel loss index is analyzed. Considering that there is a certain degree of randomness and uncertainty in the loss of retained fuel, it is necessary to adopt a loss decoding method based on Bayesian inference, and to model and fit the loss law in combination with the actual operating state parameters of the engine. A comprehensive loss model including engine load, speed, and injection time parameters is constructed, and the model parameters are optimized and estimated using Bayesian theorem, and finally the standardized fuel loss data for each piston cycle is obtained. These data reflect the fuel loss situation under various operating conditions of the engine, and can provide a basis for the next step of optimizing combustion and reducing emissions.

[0084] Step S33: performing redundant supply analysis on the fuel loss data to obtain a fuel intake redundant unit;

[0085] In an embodiment of the present invention, a fuel loss compensation analysis framework based on the engine intake system model is established for the standardized fuel loss mass of each piston cycle in the fuel loss data. The framework considers the effects of pressure, temperature, and humidity factors on fuel atomization and evaporation during the intake process, and combines the fuel injection characteristics to predict the amount of fuel that actually needs to be supplemented for each cycle. The intake system parameters and fuel injection rules are input into the analysis framework, and the additional fuel supplement required for each piston cycle is calculated as a fuel intake redundancy unit. This unit reflects the amount of additional fuel that needs to be provided to compensate for fuel loss under different operating conditions, which can provide a reference for optimizing the engine injection strategy.

[0086] Step S34: construct redundant puzzles for the fuel intake redundant units to generate fuel intake redundant data.

[0087] In the embodiment of the present invention, the fuel replenishment mass data of each piston cycle in the fuel intake redundant unit is arranged and spliced ​​according to the piston cycle sequence. Considering that there are certain fuel supply errors and fluctuations in the actual operation of the engine, a smoothing filter algorithm is used to process the spliced ​​data to eliminate random interference. A multi-scale adaptive filtering method based on wavelet transform is selected to smooth the spliced ​​data according to the dynamic characteristics of the fuel supply system. The data sequence obtained after processing is the fuel intake redundant data, which reflects the amount of additional fuel that needs to be supplemented under various engine operating conditions to make up for the loss caused by fuel loss.

[0088] Preferably, step S31 includes the following steps:

[0089] Step S311: performing heat radiation driving processing on the retained fuel data to generate a fuel heat radiation model;

[0090] Step S312: using the fuel thermal radiation model to reversely deduce the retained fuel data to obtain invisible heat consumption information;

[0091] Step S313: construct an index for the invisible heat consumption information to generate a fuel loss index.

[0092] The benefit of the present invention lies in that the heat radiation driven analysis and processing of the retained fuel data is carried out, and the fuel heat radiation model is successfully established. This modeling method based on physical mechanism can more accurately reflect the heat loss characteristics of the fuel under the actual working conditions of the engine. Using the established fuel heat radiation model, the retained fuel data is reversely deduced to obtain the invisible heat consumption information. This model-based reverse calculation method can more deeply analyze the invisible fuel loss under the actual working conditions of the engine. According to the obtained invisible heat consumption information, a detailed fuel loss index is constructed. This index construction method based on physical mechanism and measured data can more objectively reflect the fuel loss situation under the actual operating state of the engine. The technical means of fuel heat radiation modeling, invisible heat consumption reverse deduction and fuel loss index construction are fully utilized to realize the accurate analysis and quantification of the invisible fuel loss of the natural gas engine, and provide reliable data support for subsequent fuel compensation and system optimization. This method can not only more accurately reflect the fuel loss situation under the actual working conditions of the engine, but also provide valuable technical support for fuel management and performance optimization.

[0093] In the embodiment of the present invention, a mathematical model describing the heat radiation transmission process of the retained fuel is established according to the pressure and temperature parameters in the engine cylinder. The model takes into account the heat input during fuel evaporation, spraying and wall collision, and combines the engine geometry and material thermophysical parameters to calculate the heat radiation flux distribution of the retained fuel in each piston cycle. The computational fluid dynamics (CFD) method is used to numerically simulate the internal heat exchange mechanism of the engine, and the instantaneous temperature field and heat flux density distribution of the retained fuel are obtained as input parameters of the fuel heat radiation model. The model can be used to predict the heat loss of the retained fuel under different working conditions. The fuel heat radiation model is used to reversely solve the heat loss of the retained fuel in each piston cycle to obtain the hidden heat consumption that is not directly observed. These unobserved heat consumptions reflect the energy conversion of the fuel in the complex chemical reactions and physical processes inside the engine, and are an important basis for evaluating the combustion efficiency of the engine. Among them, the data format of the invisible heat consumption information is the instantaneous heat consumption value of each piston cycle, and the time step is still 1 degree crankshaft angle. The heat loss data of each piston cycle in the invisible heat consumption information is combined with engine operating parameters such as load and speed to establish a comprehensive index system for evaluating fuel loss. This index system includes fuel chemical reaction thermal efficiency, heat loss ratio, and equivalent fuel consumption rate indicators, which comprehensively reflect the energy conversion and loss during engine combustion. Among them, the fuel loss index is the various indicators in the aforementioned index system.

[0094] Preferably, step S4 comprises the following steps:

[0095] Step S41: constructing a supply synchronization spectrum for the fuel intake redundant data and the fuel flow rate change data to obtain supply joint spectrum data;

[0096] Step S42: performing actual air-fuel ratio mapping on the supplied joint spectrum data to obtain actual air-fuel ratio data;

[0097] Step S43: performing fuel compensation calculation on the actual air-fuel ratio data to generate compensated fuel data;

[0098] Step S44: reshape the natural gas inlet flow data into real flow data based on the compensated fuel data to obtain actual effective fuel flow data.

[0099] The benefit of the present invention lies in that the fuel intake redundant data and the fuel flow change data are used to construct the supply synchronization spectrum, and the supply joint spectrum data is obtained. This method based on multidimensional data fusion can more comprehensively reflect the characteristics of the engine fuel supply system. By using the supply joint spectrum data, the air-fuel ratio data under the actual operating state of the engine is obtained through the actual air-fuel ratio mapping. This air-fuel ratio estimation method based on measured data can more accurately reflect the actual working condition of the engine. According to the actual air-fuel ratio data obtained, the fuel is compensated and calculated to generate the compensated fuel data. This fuel compensation method based on actual working conditions can effectively improve the fuel utilization efficiency of the engine. The compensated fuel data is applied to the natural gas inlet flow data to reshape the fuel flow data actually acting on the engine. This reshaping method based on measured data and compensation model can more accurately reflect the fuel usage under the actual working condition of the engine. The supply joint spectrum modeling, actual air-fuel ratio evaluation, fuel compensation calculation and actual fuel flow reshaping technical means are fully utilized to realize the accurate analysis and optimization of the fuel usage of the natural gas engine. This method can not only more accurately reflect the fuel usage under the actual working condition of the engine, but also provide reliable technical support for engine fuel management and performance optimization.

[0100] In the embodiment of the present invention, the redundant fuel intake data and the fuel flow change data are aligned and synchronized according to the time series. Then, the fast Fourier transform (FFT) is used to analyze the spectral characteristics of the two sets of data, and the supply joint spectrum data describing the mutual coupling of different frequency components in the fuel supply process is constructed. The data reflects the dynamic characteristics of the actual fuel supply process of the engine, and provides a basis for the next step of establishing an accurate air-fuel ratio model. Based on the supply joint spectrum data, the mapping relationship between the actual working air-fuel ratio of the engine and the supply characteristics is established by using engine operating parameters such as load and speed. Specifically, a gray box model based on artificial intelligence is used to obtain a mathematical function describing the actual air-fuel ratio distribution by learning engine test data. The supply joint spectrum data is brought into the model to obtain the actual air-fuel ratio data of each piston cycle. The actual air-fuel ratio data is combined with the ideal air-fuel ratio required by the engine to calculate the amount of additional fuel that needs to be supplemented in each piston cycle. This fuel compensation based on actual working conditions can make up for the air-fuel ratio deviation caused by fuel loss and evaporation factors during the injection process. Among them, the time step of the compensated fuel data is still 1 degree crankshaft angle, and the data form is the mass of fuel that needs to be supplemented for each piston cycle. The compensated fuel data is superimposed and fused with the natural gas inlet flow data to reshape the natural gas flow actually inhaled and utilized by the engine. This compensation-based flow reshaping can more accurately reflect the actual fuel consumption of the engine under various operating conditions and provide a basis for subsequent optimization of the control strategy. The time step of the actual effective fuel flow data is still 1 degree crankshaft angle, and the data is in the form of the natural gas mass flow rate for each piston cycle after reshaping.

[0101] Preferably, step S43 includes the following steps:

[0102] Step 431: Compare the actual air-fuel ratio data with the preset optimal air-fuel ratio data to obtain actual air-fuel ratio defect data;

[0103] Step S432: constructing a compensation unit for the actual air-fuel ratio defect data to obtain an air-fuel ratio compensation unit;

[0104] Step S433: Perform self-compensation analysis on the air-fuel ratio compensation unit to obtain compensated fuel data.

[0105] The invention is beneficial in that the actual air-fuel ratio data is compared with the preset optimal air-fuel ratio data to obtain the actual air-fuel ratio defect data. This comparative analysis method based on ideal working conditions can more accurately reflect the air-fuel ratio deviation under the actual working conditions of the engine. A corresponding air-fuel ratio compensation unit is constructed for the actual air-fuel ratio defect data obtained. This compensation unit establishment method based on measured data can solve the air-fuel ratio deviation problem under the actual working conditions of the engine in a targeted manner. The constructed air-fuel ratio compensation unit is self-compensated and the compensated fuel data is obtained. This method based on adaptive compensation can dynamically adjust the fuel supply, thereby improving the fuel utilization efficiency of the engine. The actual air-fuel ratio defect evaluation, air-fuel ratio compensation unit construction and adaptive fuel compensation technical means are fully utilized to achieve effective compensation and optimization of the air-fuel ratio deviation problem of the natural gas engine. This method can not only more accurately reflect the air-fuel ratio characteristics under the actual working conditions of the engine, but also dynamically adjust the fuel supply through adaptive compensation, thereby improving the fuel utilization efficiency and performance of the engine. This has an important technical support role in the refined fuel management and performance optimization of natural gas engines.

[0106] In the embodiment of the present invention, the optimal air-fuel ratio data under the ideal state is extracted from the database according to the engine model and working conditions. These data represent the optimal air-fuel ratio target that the engine should achieve under different working conditions. Then, the actual air-fuel ratio data is compared with the optimal air-fuel ratio data one by one, and the difference between the two is calculated to obtain the actual air-fuel ratio defect data describing the deviation of the actual air-fuel ratio from the optimal state. The data reflects the problems existing in the engine fuel injection process and provides a basis for subsequent compensation calculations. Based on the actual air-fuel ratio defect data, an artificial intelligence modeling method is used to construct a mathematical model that can describe the deviation law between the actual air-fuel ratio and the optimal air-fuel ratio. The model inputs working condition parameters such as load and speed, and outputs the corresponding air-fuel ratio compensation amount. This air-fuel ratio compensation unit generated by data drive can accurately predict the fuel compensation amount required under each working condition, providing a basis for the next step of self-compensation analysis. The air-fuel ratio compensation unit is applied to the actual engine working process, and realizes automatic compensation of the actual air-fuel ratio data through feedback control. Specifically, in each piston cycle, the air-fuel ratio compensation unit is used to predict the amount of additional fuel required and add it to the reference fuel injection amount, thereby achieving a dynamic match between the actual air-fuel ratio and the optimal air-fuel ratio. This software-based compensation method can significantly improve the combustion efficiency and emission performance of the engine. Among them, the time step of the compensation fuel data is still 1 degree crankshaft angle, and the data is in the form of the fuel mass that needs to be supplemented for each piston cycle.

[0107] Preferably, step S5 comprises the following steps:

[0108] Step S51: using the compensation fuel data to perform compensation simulation on the actual fuel flow data to obtain the optimal fuel flow data;

[0109] Step S52: limiting the fluctuation range of the optimal fuel flow data based on a preset error threshold, and generating an acceptable range of flow fluctuation;

[0110] Step S53: performing flow control driving processing on the acceptable range of flow fluctuation to generate a fuel flow control model;

[0111] Step S54: using the fuel flow control model to detect and intelligently control the natural gas engine fuel flow, so as to perform natural gas engine fuel flow detection.

[0112] The benefit of the present invention lies in that the compensation fuel data is used to compensate and simulate the actual fuel flow data, and the optimal fuel flow data is obtained. This method based on the compensation model can more accurately reflect the fuel flow of the engine under the optimal working condition. According to the preset error threshold, the fluctuation range of the optimal fuel flow data is limited, and the acceptable range of flow fluctuation is generated. This method based on the preset threshold can ensure that the engine fuel flow fluctuates within a reasonable range and meets the control requirements. The acceptable range of flow fluctuation is driven by flow control to generate a fuel flow control model. This method based on control logic can provide reliable technical support for the intelligent regulation of engine fuel flow. Using the constructed fuel flow control model, the fuel flow of the natural gas engine is detected and intelligently controlled. This model-based intelligent detection and control method can more accurately monitor the engine fuel usage and provide real-time fuel management support. Make full use of the construction of optimal fuel flow data, the determination of the acceptable range of flow fluctuation, the construction of the fuel flow control model and the intelligent flow detection technical means to achieve accurate detection and intelligent regulation of the fuel flow of the natural gas engine. This method can not only more accurately reflect the fuel usage of the engine under actual working conditions, but also dynamically adjust the fuel supply through intelligent control to improve the fuel utilization efficiency and performance of the engine. This plays an important technical support role in the refined fuel management and intelligent control of natural gas engines.

[0113] In the embodiment of the present invention, the actual fuel flow data of each working cycle is collected from the engine control unit. Then, the compensation fuel data is added to the actual fuel flow data according to the time point and working condition parameters corresponding to each working cycle. In this way, the optimal fuel flow data after compensation can be obtained, which reflects the optimal fuel injection state that the engine should achieve under ideal conditions. According to the technical standards and performance requirements of the engine, a reasonable error threshold is set in advance as a basis for judging whether the fuel flow fluctuation is acceptable. Then, the optimal fuel flow data is statistically analyzed to calculate the standard deviation of the fuel flow under various working conditions. Only when the standard deviation is less than the preset error threshold, the fuel flow data under the working condition is included in the acceptable range of flow fluctuation. This range describes the range of fuel flow fluctuation allowed by the engine under stable working conditions. Based on the acceptable range of flow fluctuation, an advanced adaptive control algorithm is used to construct a fuel flow control model that can dynamically adjust the engine fuel injection. The input of the model includes working condition parameters, actual fuel flow and compensation fuel data, and the output is an accurate fuel injection control instruction. By means of feedback control, the model can correct the deviation of fuel flow in real time to ensure that it is always within an acceptable fluctuation range, thereby optimizing the fuel economy and emission performance of the engine. The fuel flow control model is integrated into the engine control unit to monitor and adjust the fuel injection process of the natural gas engine in real time. Specifically, the control unit inputs the operating data collected from the engine sensors into the fuel flow control model, and the model then gives the optimal fuel injection control instructions. These instructions inject precise fuel flow into the cylinder through the actuator to ensure that the engine can maintain the best combustion state under various operating conditions. Through this intelligent fuel flow detection and control, the overall performance and environmental protection of the natural gas engine can be greatly improved.

[0114] In this specification, a natural gas engine fuel flow detection system is provided, which is used to perform a natural gas engine fuel flow detection method as described above. The natural gas engine fuel flow detection system includes:

[0115] The data acquisition module is used to obtain the combustion chamber capacity data and the natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain the fuel flow change data;

[0116] The retention calculation module is used to perform combustion mode recognition on the fuel flow change data to generate the engine combustion mode; perform cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain the retained fuel data;

[0117] A redundant calculation module is used to perform implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; perform redundant supply inference on the fuel loss data to obtain fuel intake redundant data;

[0118] The air-fuel ratio analysis module is used to perform correlation analysis on the redundant fuel intake data and the fuel flow change data to obtain the actual air-fuel ratio data; based on the actual air-fuel ratio data, the natural gas inlet flow data is reshaped to obtain the actual effective fuel flow data;

[0119] The flow drive module is used to perform flow control drive processing on the actual fuel flow data and generate a fuel flow control model.

[0120] The benefit of the present invention is that it makes full use of the internal parameters of the combustion chamber capacity and fuel flow rate changes, and obtains more accurate fuel consumption data by analyzing the complex physical and chemical processes inside the engine. This modeling method based on internal mechanisms can better reflect the fuel compensation requirements under actual working conditions. Frequency domain analysis and combustion pattern recognition data processing technology are used to dig out the implicit factors affecting fuel consumption from multiple angles. These analysis methods can not only extract richer feature information, but also lay the foundation for subsequent precise compensation. By calculating and reshaping the actual air-fuel ratio and the parameters of the acting fuel flow rate, the method finally generates a usable fuel flow control model. This modeling method based on internal mechanisms and data analysis can better adapt to various working condition changes and improve the accuracy and robustness of fuel compensation. The value of the internal information of the engine is fully utilized, and innovative data processing methods are adopted to finally achieve accurate fuel compensation control, which has important significance and application prospects in the application of natural gas engines. Innovations from the aspects of signal processing, pattern recognition and control optimization have obvious advantages in accurately evaluating actual fuel consumption and improving the level of intelligent control.

[0121] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0122] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A method for detecting fuel flow of a natural gas engine, characterized in that: The following steps are involved: Step S1: Obtain combustion chamber capacity data and natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain fuel flow change data; Step S2: performing combustion mode recognition on the fuel flow change data to generate an engine combustion mode; performing cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain retained fuel data; Step S3: performing implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; performing redundant supply inference on the fuel loss data to obtain fuel intake redundant data; Step S4: performing correlation analysis on the fuel intake redundant data and the fuel flow rate change data to obtain actual air-fuel ratio data; Based on the actual air-fuel ratio data, the natural gas inlet flow data is reshaped into a real flow to obtain the actual effective fuel flow data. Step S4 includes the following steps: Step S41: constructing a supply synchronization spectrum for the fuel intake redundant data and the fuel flow rate change data to obtain supply joint spectrum data; Step S42: performing actual air-fuel ratio mapping on the supplied joint spectrum data to obtain actual air-fuel ratio data; Step S43: performing fuel compensation calculation on the actual air-fuel ratio data to generate compensated fuel data; Step S44: reshape the natural gas inlet flow data into real flow data based on the compensated fuel data to obtain actual effective fuel flow data; Step S5: performing flow control driving processing on the actual fuel flow data to generate a fuel flow control model, wherein step S5 includes the following steps: Step S51: using the compensation fuel data to perform compensation simulation on the actual fuel flow data to obtain the optimal fuel flow data; Step S52: limiting the fluctuation range of the optimal fuel flow data based on a preset error threshold, and generating an acceptable range of flow fluctuation; Step S53: performing flow control driving processing on the acceptable range of flow fluctuation to generate a fuel flow control model; Step S54: using the fuel flow control model to detect and intelligently control the natural gas engine fuel flow, so as to perform natural gas engine fuel flow detection.

2. The natural gas engine fuel flow detection method according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: acquiring natural gas engine structural data; measuring the combustion chamber of the natural gas engine according to the natural gas engine structural data to obtain combustion chamber capacity data; Step S12: monitoring the intake pipeline of the natural gas engine according to the natural gas engine structure data to obtain the natural gas inlet flow data; Step S13: Perform Fourier transform processing on the natural gas inlet flow data to generate natural gas flow spectrum data; Step S14: Capture the frequency domain trend of the natural gas flow spectrum data to obtain fuel inlet flow change data.

3. The natural gas engine fuel flow detection method according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: identifying the change trend of the fuel inlet flow change data to obtain fuel change trend data; Step S22: archiving the combustion mode of the fuel inlet flow rate change data according to the fuel change trend data to generate an engine combustion mode; Step S23: performing gas power simulation on the engine combustion mode to generate combustion quality data; Step S24: performing cavity fuel retention calculation on the combustion mass data based on the combustion cavity capacity data to obtain retained fuel data.

4. The natural gas engine fuel flow detection method according to claim 3, characterized in that: Step S24 includes the following steps: Step S241: Calculate the fuel flow rate based on the combustion quality data to obtain the fuel data entering the cavity; Step S242: inferring the air content of the fuel data entering the cavity according to the combustion cavity capacity data to obtain the cavity air content data; Step S243: performing combustion flow field simulation on the fuel data entering the cavity and the air content data in the cavity to generate simulated combustion data; Step S244: performing thermal energy calculation on the simulated combustion data to obtain combustion heat data; Step S245: performing fuel retention calculation on the fuel data entering the cavity based on the combustion heat data to obtain retained fuel data.

5. The natural gas engine fuel flow detection method according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: Perform invisible consumption measurement on the retained fuel data to generate a fuel loss index; Step S32: Decoding the fuel loss index to obtain fuel loss data; Step S33: performing redundant supply analysis on the fuel loss data to obtain a fuel intake redundant unit; Step S34: construct redundant puzzles for the fuel intake redundant units to generate fuel intake redundant data.

6. The natural gas engine fuel flow detection method according to claim 5, characterized in that: Step S31 includes the following steps: Step S311: performing heat radiation driving processing on the retained fuel data to generate a fuel heat radiation model; Step S312: using the fuel thermal radiation model to reversely deduce the retained fuel data to obtain invisible heat consumption information; Step S313: construct an index for the invisible heat consumption information to generate a fuel loss index.

7. The natural gas engine fuel flow detection method according to claim 1, characterized in that: Step S43 includes the following steps: Step S431: performing data comparison on the actual air-fuel ratio data based on the preset optimal air-fuel ratio data to obtain actual air-fuel ratio defect data; Step S432: constructing a compensation unit for the actual air-fuel ratio defect data to obtain an air-fuel ratio compensation unit; Step S433: Perform self-compensation analysis on the air-fuel ratio compensation unit to obtain compensated fuel data.

8. A natural gas engine fuel flow detection system, characterized in that: Used to perform the natural gas engine fuel flow detection method as claimed in claim 1, the natural gas engine fuel flow detection system comprises: The data acquisition module is used to obtain the combustion chamber capacity data and the natural gas inlet flow data; perform frequency domain situation extraction on the natural gas inlet flow data to obtain the fuel flow change data; The retention calculation module is used to perform combustion mode recognition on the fuel flow change data to generate the engine combustion mode; perform cavity fuel retention calculation on the engine combustion mode based on the combustion cavity capacity data to obtain the retained fuel data; A redundant calculation module is used to perform implicit fuel consumption calculation on the retained fuel data to generate fuel loss data; perform redundant supply inference on the fuel loss data to obtain fuel intake redundant data; The air-fuel ratio analysis module is used to perform correlation analysis on the redundant fuel intake data and the fuel flow change data to obtain the actual air-fuel ratio data; based on the actual air-fuel ratio data, the natural gas inlet flow data is reshaped to obtain the actual effective fuel flow data; The flow drive module is used to perform flow control drive processing on the actual fuel flow data and generate a fuel flow control model.