Gas flow online calibration system
By designing an online gas flow calibration system including component extraction, environmental compensation, association construction and adaptive compensation modules, the problem of low calibration accuracy of the existing system is solved, real-time monitoring and accurate compensation of gas composition changes is achieved, and measurement accuracy is improved.
Patent Information
- Application Number
- CN202510155843.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2045-02-12
AI Technical Summary
The existing online gas flow calibration system has low calibration accuracy and cannot accurately capture and compensate gas composition changes in real time.
A gas flow online calibration system is designed, including a component extraction module, a preliminary compensation module, a relationship building module and a compensation calibration module. Real-time component data is obtained through spectral component analysis, environmental data is used for environmental compensation, gas component correlation relationship is constructed, and adaptive compensation is performed to improve calibration accuracy.
Real-time monitoring and accurate compensation of gas composition changes is achieved, the calibration accuracy and measurement accuracy of the gas flowmeter are improved, and the problem of low calibration accuracy is solved.
Smart Images

Figure CN119642943A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automatic flow and liquid level measurement, and in particular to an online gas flow calibration system. Background Art
[0002] Gas flow measurement is an important part of industrial production and is widely used in industries such as oil, natural gas, chemical, environmental protection, and electricity. In these industries, accurate gas flow measurement is essential for optimizing production processes, controlling emissions, and ensuring equipment safety. Traditional gas flow meters need to be calibrated regularly to ensure their measurement accuracy. However, with the development of industrial automation, the requirements for gas flow measurement are getting higher and higher, especially under large-scale production and diversified gas components. The traditional manual calibration method is inefficient and not accurate enough. Therefore, the gas flow online calibration system came into being, aiming to ensure its long-term stable operation by real-time monitoring and adjustment of the flow meter's accuracy.
[0003] Most of the current online calibration systems rely on existing standard calibration data and assumed gas composition. However, since the gas composition may change under different operating conditions (such as water vapor content, methane concentration, etc.), these changes cannot be accurately captured and compensated in real time, thus affecting the calibration accuracy. Therefore, the current gas flow online calibration system still has the problem of low calibration accuracy. Summary of the invention
[0004] The invention provides a gas flow online calibration system, the main purpose of which is to solve the problem of low calibration accuracy of the existing gas flow online calibration system.
[0005] To achieve the above-mentioned purpose, the present invention provides a gas flow online calibration system, comprising: a component extraction module, a preliminary compensation module, a relationship construction module, and a compensation calibration module, specifically: A component extraction module is used to obtain real-time sensor data, perform spectral component analysis on the sensor data to obtain component data, and calculate characteristic data of the component data; A preliminary compensation module, used to obtain environmental data and mass flow meter data, and use the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow; A relationship building module, used to build a gas component association relationship based on the characteristic data and the preliminary calibration flow; The compensation calibration module is used to adaptively compensate the preliminary calibration flow rate by using the gas component correlation and the characteristic data to obtain calibration data.
[0006] Optionally, when performing the function of performing spectral component analysis on the sensor data to obtain component data, the component extraction module is specifically used to: Performing signal conversion on the sensor data to generate an absorption spectrum; Performing absorption peak fitting on the absorption spectrum to obtain spectrum parameters; Comparing the absorbance values of the spectral parameters with those of preset standard component data to obtain a molar absorption coefficient; The absorption spectrum is subjected to demixing analysis using the molar absorption coefficient to obtain component data.
[0007] Optionally, when executing the function of performing absorption peak fitting on the absorption spectrum to obtain spectral parameters, the component extraction module is specifically used to: Determining the spectral region of the absorption peak according to the absorption spectrum; Preliminarily estimating the spectral region to obtain the peak position, amplitude and half width; A Gaussian function is constructed according to the peak position, the amplitude and the half width, and the Gaussian function is:
[0008] in, is a Gaussian function that describes the shape of the absorption peak, indicating that the absorbance in the absorption spectrum varies with wavelength. The changing relationship, is the amplitude, is the peak position, is the half width; The Gaussian function is optimized using the least square method to obtain spectral parameters.
[0009] Optionally, when the component extraction module performs the function of performing demixing analysis on the absorption spectrum using the molar absorption coefficient to obtain component data, it is specifically used to: Performing absorbance signal separation on the absorption spectrum to obtain a gas absorbance signal; The gas concentration is calculated according to the molar absorption coefficient and the gas absorbance signal, and the gas concentration is calculated using the following formula:
[0010] in, is the gas absorbance signal at a specific wavelength, is the molar absorption coefficient, is the gas concentration, The optical path length is preset and fixed; The gas absorbance signal, the gas concentration and the molar absorption coefficient are used to construct a data dictionary to obtain component data.
[0011] Optionally, when executing the function of calculating the characteristic data of the component data, the component extraction module is specifically used to: Calculate the average molecular weight of the component data; Calculating the gas density of the composition data according to the average molecular weight; Calculate the gas viscosity of the composition data; Calculate the gas thermal conductivity of the composition data; The gas density, the gas viscosity, and the gas thermal conductivity are combined to obtain characteristic data.
[0012] Optionally, when the preliminary compensation module performs the function of using the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow, it is specifically used to: Perform data calibration according to the environmental data and a preset standard environment to obtain compensation factor data; The preliminary calibration flow is corrected according to the compensation factor data to obtain a preliminary calibration flow.
[0013] Optionally, when the preliminary compensation module performs the function of calibrating the data according to the environmental data and the preset standard environment to obtain the compensation factor data, it is specifically used to: Calculating the ratio between each environmental variable in the environmental data and a preset standard environment one by one to obtain a compensation factor data set; Compensation factor data is obtained by combining the compensation factor data set with the environmental variables in key-value pairs.
[0014] Optionally, when executing the function of building a gas component association relationship according to the characteristic data and the preliminary calibration flow rate, the relationship building module is specifically used to: The actual flow rate is calculated according to the characteristic data based on a preset fluid dynamics equation, wherein the fluid dynamics equation is:
[0015] in, is the gas density in the characteristic data, is the actual flow rate, is the gas viscosity in the characteristic data, is the pre-calculated external force; Component correlation is performed according to the actual flow rate, the preliminary calibration flow rate and the fluid dynamics equation to obtain a gas component correlation relationship.
[0016] Optionally, when the relationship building module performs the function of correlating components according to the actual flow rate, the preliminary calibration flow rate and the fluid dynamics equation to obtain a gas component correlation relationship, it is specifically used to: Comparing the actual flow rate of the fluid dynamics equation with the preliminary calibration flow rate to obtain comparison data; The gas component correlation relationship is obtained by performing flow correlation on the comparison data and the component data.
[0017] Optionally, when the compensation calibration module performs the function of adaptively compensating the preliminary calibration flow rate by using the gas component association relationship and the characteristic data to obtain calibration data, it is specifically used to: Calculating a compensation coefficient related to the composition data according to the gas composition correlation and characteristic data; Based on the calculated proportional adjustment compensation factor, the flow meter reading is adjusted to obtain the final calibration data.
[0018] The present invention can accurately obtain component data through real-time sensor data and spectral analysis. Spectral analysis can provide high-precision component quantification, which is not limited to common gas components, but can also analyze a variety of gas mixtures to ensure data reliability; environmental factors (such as temperature, humidity, air pressure, etc.) will affect the measurement results of the flow meter. Through environmental data compensation, the interference of these environmental changes on the flow meter readings can be eliminated, and the accuracy of flow measurement can be improved. Therefore, the gas flow online calibration system proposed by the present invention can solve the problem of low calibration accuracy of the existing gas flow online calibration system. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A functional module diagram of a gas flow online calibration system provided by one embodiment of the present invention; Figure 2 A schematic diagram of a process for spectral component analysis provided by an embodiment of the present invention; Figure 3 A schematic diagram of a process flow of demixing analysis provided by an embodiment of the present invention; Figure 4 A schematic flow chart of a method for online calibration of gas flow provided in one embodiment of the present invention.
[0020] 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
[0021] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0022] Reference Figure 1 As shown, it is a functional module diagram of a gas flow online calibration system provided by an embodiment of the present invention. In this embodiment, the gas flow online calibration system 100 can be installed in an electronic device. According to the functions implemented, the gas flow online calibration system 100 may include a component extraction module 101, a preliminary compensation module 102, a relationship construction module 103, and a compensation calibration module 104. The module described in the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.
[0023] In the embodiment of the present invention, the component extraction module 101 includes acquiring real-time sensor data, performing spectral component analysis on the sensor data to obtain component data, and calculating characteristic data of the component data; In the embodiment of the present invention, the preliminary compensation module 102 includes acquiring environmental data and mass flow meter data, and performing environmental compensation on the mass flow meter data using the environmental data to obtain a preliminary calibration flow; In the embodiment of the present invention, the relationship building module 103 includes building a gas component association relationship based on the characteristic data and the preliminary calibration flow rate; In the embodiment of the present invention, the compensation calibration module 104 includes using the gas component correlation and the characteristic data to adaptively compensate the preliminary calibration flow to obtain calibration data.
[0024] In detail, each module described in a gas flow online calibration system 100 described in an embodiment of the present invention adopts the same technical means as a gas flow online calibration system described in the accompanying drawings when used, and can produce the same technical effects, which will not be repeated here.
[0025] The following is a description of the various components and specific workflow of the gas flow online calibration system in conjunction with specific embodiments: The component extraction module 101 is used to acquire real-time sensor data, perform spectral component analysis on the sensor data to obtain component data, and calculate characteristic data of the component data.
[0026] In the embodiment of the present invention, the sensor data is information data about specific gas components obtained through TDLAS technology. TDLAS is the abbreviation of Tunable Diode Laser Absorption Spectroscopy, which is a high-precision and high-sensitivity optical sensing technology.
[0027] In the embodiment of the present invention, real-time acquisition of composition data helps to respond promptly to dynamic changes in gas composition. At the same time, relevant physical properties of the gas (such as density, viscosity, etc.) are calculated to provide accurate input data for subsequent fluid dynamics equation calculations.
[0028] Reference Figure 2 As shown, in the embodiment of the present invention, when the component extraction module performs the function of performing spectral component analysis on the sensor data to obtain component data, it is specifically used to: S21, performing signal conversion on the sensor data to generate an absorption spectrum; S22, performing absorption peak fitting on the absorption spectrum to obtain spectrum parameters; S23, comparing the absorbance values of the spectral parameters with preset standard component data to obtain a molar absorption coefficient; S24, performing demixing analysis on the absorption spectrum using the molar absorption coefficient to obtain component data.
[0029] In the embodiment of the present invention, an absorption spectrum is generated by analyzing the signal received by the photodetector, that is, the horizontal axis in the figure is the wavelength, and the vertical axis is the absorbance (or transmittance). Each gas has a characteristic absorption peak at a specific wavelength, so there will be multiple absorption peaks in the absorption spectrum.
[0030] In the embodiment of the present invention, when the component extraction module performs the function of fitting the absorption peak of the absorption spectrum to obtain the spectrum parameters, it is specifically used to: Determine the spectral region of the absorption peak according to the absorption spectrum; Performing a preliminary estimation on the spectral region to obtain the peak position, amplitude and half width; constructing a Gaussian function according to the peak position, the amplitude and the half width; The Gaussian function is optimized using the least square method to obtain spectral parameters.
[0031] In detail, in the absorption spectrum, the absorbance of the gas varies with the wavelength of light, and there are usually one or more absorption peaks within a specific wavelength range. In order to further analyze and fit the spectrum, it is necessary to first determine the spectral region of these absorption peaks, that is, the wavelength range where these peaks are located. By looking for the protruding parts of the spectrum in the absorption spectrum, these parts represent the absorption of light of a specific wavelength by the gas, and based on the known gas absorption characteristics or experimental data, determine the wavelength region where the absorption peak is located (for example, the wave number range from , wavelength range from 2.5 μm to 3.33 μm).
[0032] In detail, the position of the absorption peak refers to the wavelength or frequency position with the strongest absorption in the spectrum. It usually corresponds to the maximum absorption of light by gas molecules; the amplitude of the absorption peak indicates the intensity of absorbance, that is, the degree of absorption of light of a specific wavelength by the gas. The larger the amplitude, the higher the gas concentration, or the stronger the gas absorbs light of that wavelength; the amplitude of the absorption peak indicates the intensity of absorbance, that is, the degree of absorption of light of a specific wavelength by the gas. The larger the amplitude, the higher the gas concentration, or the stronger the gas absorbs light of that wavelength.
[0033] Specifically, the peak position of each absorption peak, i.e., the wavelength with the strongest absorption, is estimated based on the absorption spectrum; the amplitude of each absorption peak, i.e., the maximum absorbance of the peak, is measured or calculated. The half-width of the absorption peak is estimated by observing the wavelength range where the absorbance drops to half of the maximum value.
[0034] In detail, the Gaussian function is:
[0035] in, is a Gaussian function that describes the shape of the absorption peak, indicating that the absorbance in the absorption spectrum varies with wavelength. The changing relationship, is the amplitude, is the peak position, is half width.
[0036] Reference Figure 3 As shown, in the embodiment of the present invention, when the component extraction module performs the function of performing demixing analysis on the absorption spectrum using the molar absorption coefficient to obtain component data, it is specifically used to: S31, performing absorbance signal separation on the absorption spectrum to obtain a gas absorbance signal; S32, calculating the gas concentration according to the molar absorption coefficient and the gas absorbance signal; S33, constructing a data dictionary for the gas absorbance signal, the gas concentration and the molar absorption coefficient to obtain component data.
[0037] In detail, absorbance signal separation refers to extracting the absorbance signals of different gases at specific wavelengths from the absorption spectrum. Different gases have different absorption characteristics in the spectrum. Through the separation of absorbance signals, the absorbance information of each gas can be extracted to obtain the absorbance signals of each gas at different wavelengths. These signals are caused by the absorption of light of specific wavelengths by gas molecules. The absorption signals of each gas are different, and the concentration of the gas can be further analyzed through these signals.
[0038] In detail, the gas concentration is calculated using the following formula:
[0039] in, is the gas absorbance signal at a specific wavelength, is the molar absorption coefficient, is the gas concentration, The optical path length is preset and fixed.
[0040] In detail, a data dictionary is a data structure in which all important information related to each gas component is stored. The data dictionary organizes all related component data together for easy search, update and processing.
[0041] In the embodiment of the present invention, the characteristic data generally refers to the physical properties of the gas components, such as density, viscosity, thermal conductivity, etc. These properties directly affect the flow of the gas and the calibration accuracy of the flow meter. The characteristic data is calculated using the gas component concentration data and known physical and chemical relationships. The density can be calculated using the ideal gas equation or the actual gas equation, and the gas viscosity is calculated using the Sutherland formula.
[0042] In the embodiment of the present invention, when the component extraction module performs the function of calculating the characteristic data of the component data, it is specifically used to: Calculate the average molecular weight of the component data; Calculating the gas density of the composition data according to the average molecular weight; Calculate the gas viscosity of the composition data; Calculate the gas thermal conductivity of the composition data; The gas density, the gas viscosity, and the gas thermal conductivity are combined to obtain characteristic data.
[0043] In the embodiment of the present invention, the average molecular weight of the gas is calculated based on the molecular weight and corresponding mole fraction of each component.
[0044] In the embodiment of the present invention, the gas viscosity can be calculated using the following formula:
[0045] in, is the gas viscosity, is the viscosity at the preset reference temperature, is the temperature when the composition data is collected, is the preset reference temperature, is a fixed constant.
[0046] In the embodiment of the present invention, the thermal conductivity can be calculated by an empirical formula or a weighted average method.
[0047] In the embodiment of the present invention, by real-time monitoring of gas composition, the component extraction module can provide dynamic data feedback, helping the system to make timely responses according to changes in gas composition, thereby ensuring accurate measurement of the flow meter.
[0048] The preliminary compensation module 102 is used to obtain environmental data and mass flow meter data, and use the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow.
[0049] In the embodiment of the present invention, the environmental data refers to data such as temperature, humidity and pressure, and the mass flow meter (such as a thermal mass flow meter, a Coriolis mass flow meter, etc.) measures the gas flow in real time. These flow meters usually rely on the density and flow rate of the gas to measure the flow.
[0050] In the embodiment of the present invention, by combining environmental data (especially compensation of temperature and humidity), the output of the flow meter can be made more consistent with the actual gas flow, avoiding external changes such as temperature and humidity from affecting the measurement results.
[0051] In the embodiment of the present invention, when the preliminary compensation module performs the function of using the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow, it is specifically used to: Perform data calibration according to the environmental data and a preset standard environment to obtain compensation factor data; The preliminary calibration flow is corrected according to the compensation factor data to obtain a preliminary calibration flow.
[0052] In the embodiment of the present invention, when the preliminary compensation module performs the function of calibrating the data according to the environmental data and the preset standard environment to obtain the compensation factor data, it is specifically used to: Calculating the ratio between each environmental variable in the environmental data and a preset standard environment one by one to obtain a compensation factor data set; Compensation factor data is obtained by combining the compensation factor data set with the environmental variables in key-value pairs.
[0053] In detail, environmental data includes physical variables such as temperature, humidity, and atmospheric pressure, which directly affect the measurement results of the flow meter. For example, changes in temperature and humidity may cause changes in gas density, thereby affecting the accuracy of the flow meter. First, the ratio between the actual value of each environmental variable and the standard environment is calculated. Specifically, for each environmental variable (such as temperature, humidity, and air pressure), their ratio is calculated. Standard environmental data: is a preset standard value, such as 25°C, 101.325kPa, etc.
[0054] In detail, for each environmental variable (such as temperature, humidity, and air pressure), its ratio is calculated respectively to form a compensation factor data set. The compensation factor data set will contain the compensation factor data of each environmental variable, and these factors represent the relative difference between the current environment and the standard environment.
[0055] In the embodiment of the present invention, the compensation factor data of each environment variable is combined with the variable in a key-value pair to form a compensation factor data structure. A common form is to use a dictionary (or hash table) to store this key-value pair structure, where the key is the name of the environment variable and the value is the corresponding compensation factor data.
[0056] In the embodiment of the present invention, environmental conditions such as temperature and humidity changes may cause gas expansion or compression, affecting the flow meter reading. The preliminary compensation module helps to take these environmental change factors into consideration, effectively reducing the errors caused by environmental fluctuations.
[0057] The relationship building module 103 is used to build a gas component association relationship based on the characteristic data and the preliminary calibration flow.
[0058] In the embodiment of the present invention, fluid dynamics equations and composition data are used to help establish a quantitative relationship between gas composition (such as water vapor concentration, methane concentration, etc.) and flow meter output, so that the flow meter can be adjusted in real time according to changes in gas composition.
[0059] In the embodiment of the present invention, when the relationship building module executes the function of building a gas component association relationship according to the characteristic data and the preliminary calibration flow rate, it is specifically used to: Calculating the actual flow rate according to the characteristic data based on a preset fluid dynamics equation; Component correlation is performed according to the actual flow rate, the preliminary calibration flow rate and the fluid dynamics equation to obtain a gas component correlation relationship.
[0060] In the embodiment of the present invention, the fluid dynamics equation is:
[0061] in, is the gas density in the characteristic data, is the actual flow rate, is the gas viscosity in the characteristic data, is the pre-calculated external force.
[0062] In an embodiment of the present invention, fluid dynamics equations are used to calculate the flow characteristics of the gas based on the composition data of the gas, including the density, viscosity, flow rate, etc. of the gas. These characteristics will affect the way the gas flows and are closely related to the output data of the flow meter. By solving the fluid dynamics equations, the actual flow rate of the gas (i.e., the flow rate calculated based on the fluid dynamics model) is obtained, which is usually different from the preliminary flow data output by the flow meter because the flow meter does not consider the influence of the composition on the flow behavior when measuring.
[0063] In an embodiment of the present invention, a mathematical relationship between the composition data and the flow meter output is established based on the calculated actual flow rate and the results of the fluid dynamics equation, and is achieved through methods such as regression analysis, data fitting or numerical simulation. The association relationship is usually expressed as a formula or algorithm, which can associate the composition of the gas (such as water vapor concentration, methane concentration, etc.) with the measurement data of the flow meter.
[0064] In an embodiment of the present invention, the relationship building module accurately establishes the relationship between the gas composition and the flow meter measurement output through composition data and fluid dynamics equations. By establishing a clear relationship between the gas composition and the flow rate, the flow meter can dynamically adjust its output according to the real-time changing gas composition, avoiding flow measurement deviations caused by composition fluctuations.
[0065] The compensation calibration module 104 is used to adaptively compensate the preliminary calibration flow rate by using the gas component correlation and the characteristic data to obtain calibration data.
[0066] In the embodiment of the present invention, dynamic compensation is performed based on the real-time changing composition data, environmental data and the initial calibration flow of the flow meter. This means that when the gas composition or environmental conditions change, the flow meter can adjust itself in real time to ensure the continued accuracy of the measurement.
[0067] In the embodiment of the present invention, when the compensation calibration module performs the function of adaptively compensating the preliminary calibration flow rate by using the gas component association relationship and the characteristic data to obtain calibration data, it is specifically used to: Calculating a compensation coefficient related to the composition data according to the gas composition correlation and characteristic data; Based on the calculated proportional adjustment compensation factor, the flow meter reading is adjusted to obtain the final calibration data.
[0068] In the embodiment of the present invention, a compensation coefficient is calculated based on the composition data and the simulation results of the fluid dynamics equation, and the coefficient reflects the influence of the gas flow characteristics on the flow meter output under different gas compositions.
[0069] In the embodiment of the present invention, the calculated compensation coefficient is used to adjust each flow measurement point to ensure that the output of the flow meter is more accurate under the influence of various gas components. The output of the flow meter can be finally calibrated based on the compensated flow data. The calibration data not only includes simple adjustment of the compensation factor data, but also includes error correction and sensitivity adjustment of the flow meter itself, so that the flow meter can accurately reflect the actual gas flow.
[0070] In the embodiment of the present invention, the compensation calibration module dynamically compensates the preliminary calibration flow according to the real-time composition data and the association relationship provided by the relationship building module. This adaptive compensation ensures that the flow meter can cope with the changes in different gas compositions and environmental conditions and always provide accurate flow data. Through adaptive calibration, the compensation calibration module continuously optimizes the performance of the flow meter to ensure that it can work stably under various changing environments, thereby improving the long-term reliability of the system.
[0071] like Figure 4 FIG. 1 is a flow chart of a method for online calibration of gas flow provided by an embodiment of the present invention. In an embodiment of the present invention, the method for online calibration of gas flow includes: S401, acquiring real-time sensor data, performing spectral component analysis on the sensor data to obtain component data, and calculating characteristic data of the component data; S402, acquiring environmental data and mass flow meter data, and performing environmental compensation on the mass flow meter data using the environmental data to obtain a preliminary calibration flow; S403, establishing a gas component association relationship according to the characteristic data and the preliminary calibration flow rate; S404: Use the gas component correlation and the characteristic data to adaptively compensate the preliminary calibration flow to obtain calibration data.
[0072] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology.
[0073] Among them, Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0074] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in the system can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A gas flow online calibration system, characterized in that: The system includes: a component extraction module, a preliminary compensation module, a relationship construction module, and a compensation calibration module. Specifically: A component extraction module is used to obtain real-time sensor data, perform spectral component analysis on the sensor data to obtain component data, and calculate characteristic data of the component data; A preliminary compensation module, used to obtain environmental data and mass flow meter data, and use the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow; A relationship building module, used to build a gas component association relationship based on the characteristic data and the preliminary calibration flow; The compensation calibration module is used to adaptively compensate the preliminary calibration flow rate by using the gas component correlation and the characteristic data to obtain calibration data.
2. A gas flow online calibration system as claimed in claim 1, characterized in that: When the component extraction module performs the function of performing spectral component analysis on the sensor data to obtain component data, it is specifically used to: Performing signal conversion on the sensor data to generate an absorption spectrum; Performing absorption peak fitting on the absorption spectrum to obtain spectrum parameters; Comparing the absorbance values of the spectral parameters with those of preset standard component data to obtain a molar absorption coefficient; The absorption spectrum is subjected to demixing analysis using the molar absorption coefficient to obtain component data.
3. A gas flow online calibration system as claimed in claim 2, characterized in that: When the component extraction module performs the function of fitting the absorption peak of the absorption spectrum to obtain the spectrum parameters, it is specifically used to: Determining the spectral region of the absorption peak according to the absorption spectrum; Preliminarily estimating the spectral region to obtain the peak position, amplitude and half width; A Gaussian function is constructed according to the peak position, the amplitude and the half width, and the Gaussian function is: in, is a Gaussian function that describes the shape of the absorption peak, indicating that the absorbance in the absorption spectrum varies with wavelength. The changing relationship, is the amplitude, is the peak position, is the half width; The Gaussian function is optimized using the least square method to obtain spectral parameters.
4. A gas flow online calibration system as claimed in claim 2, characterized in that: When the component extraction module performs the function of performing unmixing analysis on the absorption spectrum using the molar absorption coefficient to obtain component data, it is specifically used to: Performing absorbance signal separation on the absorption spectrum to obtain a gas absorbance signal; The gas concentration is calculated according to the molar absorption coefficient and the gas absorbance signal, and the gas concentration is calculated using the following formula: in, is the gas absorbance signal at a specific wavelength, is the molar absorption coefficient, is the gas concentration, The optical path length is preset and fixed; The gas absorbance signal, the gas concentration and the molar absorption coefficient are used to construct a data dictionary to obtain component data.
5. A gas flow online calibration system as claimed in claim 1, characterized in that: When the component extraction module performs the function of calculating the characteristic data of the component data, it is specifically used to: Calculate the average molecular weight of the component data; Calculating the gas density of the composition data according to the average molecular weight; Calculate the gas viscosity of the composition data; Calculate the gas thermal conductivity of the composition data; The gas density, the gas viscosity, and the gas thermal conductivity are combined to obtain characteristic data.
6. A gas flow online calibration system as claimed in claim 1, characterized in that: When the preliminary compensation module performs the function of using the environmental data to perform environmental compensation on the mass flow meter data to obtain a preliminary calibration flow, it is specifically used to: Perform data calibration according to the environmental data and a preset standard environment to obtain compensation factor data; The preliminary calibration flow is corrected according to the compensation factor data to obtain a preliminary calibration flow.
7. A gas flow online calibration system as claimed in claim 6, characterized in that: When the preliminary compensation module performs the function of calibrating the data according to the environmental data and the preset standard environment to obtain the compensation factor data, it is specifically used to: Calculating the ratio between each environmental variable in the environmental data and a preset standard environment one by one to obtain a compensation factor data set; Compensation factor data is obtained by combining the compensation factor data set with the environmental variables in key-value pairs.
8. A gas flow online calibration system as claimed in claim 1, characterized in that: When executing the function of building a gas component association relationship according to the characteristic data and the preliminary calibration flow rate, the relationship building module is specifically used to: The actual flow rate is calculated according to the characteristic data based on a preset fluid dynamics equation, wherein the fluid dynamics equation is: in, is the gas density in the characteristic data, is the actual flow rate, is the gas viscosity in the characteristic data, is the pre-calculated external force; Component correlation is performed according to the actual flow rate, the preliminary calibration flow rate and the fluid dynamics equation to obtain a gas component correlation relationship.
9. A gas flow online calibration system as claimed in claim 8, characterized in that: When the relationship building module performs the function of associating components according to the actual flow rate, the preliminary calibration flow rate and the fluid dynamics equation to obtain the gas component association relationship, it is specifically used to: Comparing the actual flow rate of the fluid dynamics equation with the preliminary calibration flow rate to obtain comparison data; The gas component correlation relationship is obtained by performing flow correlation on the comparison data and the component data.
10. A gas flow online calibration system as claimed in claim 1, characterized in that: When the compensation calibration module performs the function of adaptively compensating the preliminary calibration flow rate by using the gas component association relationship and the characteristic data to obtain calibration data, it is specifically used to: Calculating a compensation coefficient related to the composition data according to the gas composition correlation and characteristic data; Based on the calculated proportional adjustment compensation factor, the flow meter reading is adjusted to obtain the final calibration data.
Citation Information
Patent Citations
Gas detection method used for infrared gas analyzer
CN102128806A
Spectral pattern change compensation method and spectral pattern change compensation device for spectrum analyzer
CN104374712A
Data optimization method and system of ultrasonic flowmeter
CN118689866A
method and apparatus for controlling gas flow
FR1358738A
Method and apparatus for precision flow rate measurement of gas mixture
JP2007024511A
Cited By
Natural gas energy metering device
CN119958663A
Gas flow self-adaptive compensation method for MEMS thermal sensor
CN121113235A