Gas volume measurement method and device, and storage medium

By introducing a correction coefficient and a speed penalty mechanism into the turbine flow meter, the turbine flow calculation model is corrected, the calculation error caused by the dynamic change of turbine rotation speed is resolved, and the accuracy of gas volume measurement is improved.

CN114199318BActive Publication Date: 2025-11-18FEELLIFE HEALTH INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111332373.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-11
Publication Date
2025-11-18
Estimated Expiration
2041-11-11

AI Technical Summary

Technical Problem

When the turbine rotation speed changes dynamically, the conventional flow calculation model of the existing turbine flow meter results in a large measurement error.

Method used

By introducing a correction coefficient and a speed penalty mechanism, the turbine flow calculation model is corrected to simulate the dynamic changes in turbine rotation speed and reduce calculation errors.

Benefits of technology

It effectively reduces the measurement error caused by dynamic changes in turbine rotation speed and improves the accuracy of gas volume measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114199318B_ABST
    Figure CN114199318B_ABST
Patent Text Reader

Abstract

The application discloses a gas volume measurement method and device and a storage medium. The gas volume measurement method is used for a turbine flowmeter, and comprises the following steps: acquiring a rotation frequency of a turbine when gas passes through the turbine flowmeter; obtaining a corresponding correction coefficient according to the rotation frequency; obtaining a corrected volume value according to the rotation frequency and the correction coefficient; and obtaining a gas volume value according to an ideal volume value and the corrected volume value, wherein the ideal volume value is obtained when the turbine is in a uniform rotation state. The gas volume measurement method has at least the following beneficial effects: a speed penalty mechanism is introduced by setting the correction coefficient on the basis of a conventional turbine flow calculation model, the dynamic change of the rotation speed of the turbine in actual testing can be better simulated, and the measurement error caused by the dynamic change of the rotation speed of the turbine is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of health monitoring, and in particular to a gas volume calculation method and device and a storage medium. BACKGROUND

[0002] In related technologies, a flow calculation model is used to calculate gas flow. A conventional turbine flow calculation model is a steady-state model, and the premise for the model to be established is that the turbine is in a uniform rotation state. However, in actual testing, the rotation speed of the turbine dynamically changes, and therefore, the use of the conventional turbine flow calculation model will cause a large error. SUMMARY

[0003] The present application aims to at least solve one of the technical problems existing in the prior art. To this end, the present application proposes a gas volume calculation method, which introduces a speed penalty mechanism by setting a correction coefficient on the basis of a conventional turbine flow calculation model, thereby reducing the calculation error caused by the dynamic change of the rotation speed of the turbine.

[0004] The present application also proposes a gas volume calculation device having the above-mentioned gas volume calculation method and a computer-readable storage medium.

[0005] The gas volume calculation method according to the first aspect of the present application is used for a turbine flowmeter, and includes: obtaining a rotation frequency of a turbine when gas passes through the turbine flowmeter; obtaining a corresponding correction coefficient according to the rotation frequency; obtaining a corrected volume value according to the rotation frequency and the correction coefficient; and obtaining a gas volume value according to an ideal volume value and the corrected volume value, the ideal volume value being obtained when the turbine is in a uniform rotation state.

[0006] The gas volume calculation method according to the present application has at least the following beneficial effects: by setting a correction coefficient to introduce a speed penalty mechanism on the basis of a conventional turbine flow calculation model, the dynamic change of the rotation speed of the turbine in actual testing can be better simulated, thereby reducing the calculation error caused by the dynamic change of the rotation speed of the turbine.

[0007] According to some embodiments of the present application, the method further includes: obtaining a rotation number of the turbine after the gas passes through the turbine flowmeter; and calculating a product value of a preset conversion coefficient and the rotation number to obtain the ideal volume value.

[0008] According to some embodiments of the present application, each rotation of the turbine corresponds to one rotation frequency, and each rotation frequency corresponds to one correction coefficient.

[0009] According to some embodiments of this application, the step of obtaining the corrected volume value based on the rotation frequency and the correction coefficient includes: calculating the product of each rotation frequency and its corresponding correction coefficient to obtain a unit correction value; and summing all the unit correction values ​​to obtain the corrected volume value.

[0010] According to some embodiments of this application, the step of obtaining a gas volume value based on an ideal volume value and a corrected volume value includes: calculating the sum of the ideal volume value and the corrected volume value to obtain the gas volume value.

[0011] According to some embodiments of this application, the step of obtaining the gas volume value based on the ideal volume value and the corrected volume value further includes: obtaining the gas volume value based on the ideal volume value, the corrected volume value, and a preset bias constant.

[0012] According to some embodiments of this application, the gas volume value is the sum of the ideal volume value, the corrected volume value, and the bias constant.

[0013] According to some embodiments of this application, the step of obtaining the number of rotations of the turbine after the gas passes through the turbine flow meter includes: obtaining the original signal measured by the turbine flow meter; sampling the original signal to obtain a sampling sequence; filtering the sampling sequence to obtain a target sequence; and obtaining the number of rotations based on the target sequence.

[0014] A gas volume measuring device according to a second aspect of this application includes: a measuring module for acquiring the rotation frequency of a turbine as the gas passes through a turbine flow meter; a processing module connected to the measuring module for obtaining a corresponding correction coefficient based on the rotation frequency; and a calculation module connected to both the measuring module and the processing module for obtaining a corrected volume value based on the rotation frequency and the correction coefficient. The calculation module is further configured to obtain a gas volume value based on an ideal volume value and the corrected volume value, wherein the ideal volume value is obtained when the turbine is rotating at a constant speed.

[0015] According to a third aspect embodiment of the present application, a computer-readable storage medium stores computer-executable instructions for causing a computer to perform the gas volume calculation method as described in the first aspect embodiment above.

[0016] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0017] The present application will be further described below with reference to the accompanying drawings and embodiments, wherein:

[0018] Figure 1 This is a flowchart of one embodiment of the gas volume calculation method of this application;

[0019] Figure 2 This is a flowchart illustrating another embodiment of the gas volume calculation method of this application;

[0020] Figure 3 This is a flowchart illustrating yet another embodiment of the gas volume calculation method of this application;

[0021] Figure 4 for Figure 2 A flowchart of one embodiment of step S500;

[0022] Figure 5 This is a block diagram of one embodiment of the gas volume measuring device of this application.

[0023] Reference numerals: Measurement module 100, Processing module 200, Calculation module 300. Detailed Implementation

[0024] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0025] In the description of this application, "several" means one or more, "multiple" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0026] In the description of this application, unless otherwise expressly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this application in conjunction with the specific content of the technical solution.

[0027] The gas volume measurement method of this application is used in turbine flow meters, which are flow meters that use a turbine for measurement. It first converts the flow velocity into the turbine's rotational speed, and then converts the rotational speed into an electrical signal proportional to the flow rate. This type of flow meter is used to detect instantaneous flow rate and total accumulated flow rate, and its output signal is a frequency, which is easily digitized. Traditional turbine flow meters are equipped with an induction coil and a permanent magnet, which are fixed together to the housing. When the ferromagnetic turbine blades pass the magnet, the magnetic reluctance of the magnetic circuit changes, thereby generating an induced signal. The signal is amplified and shaped, and then sent to a counter or frequency meter to display the total accumulated flow rate. Simultaneously, the pulse frequency is converted to an instantaneous flow rate using a frequency-to-voltage converter. The impeller's rotational speed is proportional to the flow rate, and the number of impeller rotations is proportional to the total flow volume. The output of the turbine flow meter is a frequency-modulated signal, which not only improves the anti-interference capability of the detection circuit but also simplifies the flow detection system.

[0028] The turbine flow meter of this application embodiment is equipped with a laser emitting tube and a receiving tube, which are respectively disposed on both sides of the turbine blades. During the rotation of the turbine, the turbine blades will intermittently block the receiving tube from receiving the light signal from the emitting tube. The signal acquisition circuit generates an electrical pulse signal accordingly, which is the acquired raw signal.

[0029] Some embodiments, refer to Figure 1 Methods for calculating gas volume include:

[0030] S100, obtains the turbine rotation frequency of the gas passing through the turbine flow meter;

[0031] S200, the corresponding correction coefficient is obtained based on the rotation frequency;

[0032] S300, the corrected volume value is obtained based on the rotation frequency and the correction coefficient;

[0033] S400, the gas volume value is obtained based on the ideal volume value and the corrected volume value. The ideal volume value is obtained when the turbine is rotating at a constant speed.

[0034] In an illustrative embodiment, when measuring gas volume using a turbine flow meter, the gas flow rate needs to be calculated using a turbine flow calculation model. A conventional turbine flow calculation model is a steady-state model, which assumes the turbine is moving at a constant speed. However, in actual measurement processes, the turbine's rotational speed changes dynamically, leading to significant calculation errors when using this model.

[0035] In step S100, the gas passes through the turbine flow meter, driving the turbine blades to rotate. The rotation frequency is actually the frequency of the induced signal generated by the blade rotation. Because the turbine rotation speed changes dynamically, the rotation frequency also changes dynamically. When the fluid being measured flows through the sensor of the turbine flow meter, the impeller rotates under the action of the fluid, and its rotational speed is proportional to the average flow velocity in the pipe. During the turbine rotation, the turbine blades intermittently block the light signal received by the receiving tube from the transmitting tube. The signal acquisition circuit generates an electrical pulse signal accordingly. This signal is the acquired raw signal, and the frequency of this electrical pulse signal is proportional to the flow rate of the fluid being measured.

[0036] For step S200, the correction coefficients are a set of data obtained during the calibration of the turbine flow meter for different gas flow rates and velocities before the actual measurement. During the calibration process, environmental factors should be avoided from affecting the flow meter, such as external airflow or foreign matter impurities entering the flow meter and affecting the calibration results.

[0037] In step S300, the corrected volume value is obtained based on the rotation frequency and the correction coefficient. The corrected volume value can correct the calculation results of the original calculation model, thereby reducing errors.

[0038] For step S400, the ideal volume value is the calculation result obtained based on the conventional turbine flow calculation model, that is, the volume value obtained under the assumption that the turbine always rotates at a constant speed.

[0039] The gas volume calculation method according to the embodiments of this application has at least the following beneficial effects: by setting a correction coefficient and introducing a speed penalty mechanism on the basis of the conventional turbine flow calculation model, it is possible to better simulate the dynamic changes in turbine rotation speed in actual testing, thereby reducing the calculation error caused by the dynamic changes in turbine rotation speed.

[0040] Some embodiments, refer to Figure 2 Gas volume calculation methods also include:

[0041] S500, obtains the number of turbine rotations after the gas passes through the turbine flow meter;

[0042] S600 calculates the product of the preset conversion coefficient and the number of rotations to obtain the ideal volume value.

[0043] In step S500, the signal collected by the turbine sensor of the turbine flow meter is a time-period signal similar to a square wave. Therefore, the number of rotations of the turbine is proportional to the number of peaks or troughs of the collected signal.

[0044] For step S600, assuming the turbine rotation speed remains constant, the number of rotations is the main influencing factor on the ideal volume value.

[0045] In one embodiment, the conventional turbine flow calculation model assumes that the airflow is in a steady state and is a linear model; therefore:

[0046]

[0047] Among them, Q V ω represents the volumetric flow rate, φ represents the turbine rotational angular velocity, and φ represents the turbine flow conversion coefficient.

[0048] The formula for calculating the flow conversion factor is:

[0049]

[0050] Where Z is the number of turbine blades; θ is the turbine blade angle; r is the blade radius; ρ represents the fluid density; A is the fluid cross-sectional area; T r It is the rotational resistance torque.

[0051] Equation (2) shows that the conversion coefficient varies with fluid density. In practical applications, this coefficient is used as a constant and is obtained by experimental calibration.

[0052] Integrating equation (1) yields the ideal volume of the flow through the turbine:

[0053]

[0054] Where N represents the number of turbine revolutions, and V1 represents the ideal volume. The relationship between the conversion coefficient K and the flow conversion coefficient is as follows:

[0055]

[0056] Substituting equation (4) into equation (3), we get:

[0057] V1=K*N (5)

[0058] In some embodiments, each revolution of the turbine corresponds to a rotational frequency, and each rotational frequency corresponds to a correction coefficient. It is understood that the turbine's rotational speed changes dynamically; that is, the rotational speed may be different for each revolution, resulting in different frequencies of the induced signal. During flow meter calibration, the obtained correction coefficient is actually a set of frequency correction coefficients calculated at each rotational frequency point; that is, each rotational frequency corresponds to a correction value for a correction coefficient. In other embodiments, the average of the rotational frequencies from multiple revolutions can be used to obtain a common correction value to reduce calculation time, but this will reduce the accuracy of the measurement results.

[0059] Some embodiments, refer to Figure 3 The steps for obtaining the corrected volume value based on the rotation frequency and correction coefficient include:

[0060] S310, calculate the product of each rotational frequency and its corresponding correction coefficient to obtain the unit correction value;

[0061] S320 sums all unit correction values ​​to obtain the corrected volume value.

[0062] The formula for calculating the corrected volume value is as follows:

[0063]

[0064] Where V2 represents the corrected volume value, N represents the number of turbine revolutions, and f i α represents the rotational frequency of the turbine in the i-th revolution. i Indicates the corresponding frequency point f i The correction factor.

[0065] Some embodiments, refer to Figure 3 The steps to derive the gas volume value from the ideal volume value and the corrected volume value include:

[0066] S410, calculate the sum of the ideal volume value and the corrected volume value to obtain the gas volume value.

[0067] The formula for calculating the gas volume is as follows:

[0068] V = V1 + V2 (7)

[0069] Where V represents the gas volume.

[0070] Substituting equations (5) and (6) into equation (7), we get:

[0071]

[0072] In some embodiments, the step of obtaining the gas volume value based on the ideal volume value and the corrected volume value further includes: obtaining the gas volume value based on the ideal volume value, the corrected volume value, and a preset bias constant. Turbine rotation not only has inertia but also needs to overcome the effects of frictional resistance, airflow resistance, and other factors. Therefore, during the flow meter calibration process, a bias constant is obtained based on the calibration results to eliminate errors caused by turbine rotational inertia, frictional resistance, and air resistance, thereby further reducing the measurement error of the gas volume.

[0073] In some embodiments, the gas volume value is the sum of the ideal volume value, the corrected volume value, and the bias constant. In this embodiment, the formula for calculating the gas volume value is:

[0074]

[0075] Where V represents the gas volume, K represents the conversion coefficient, N represents the number of turbine revolutions, and fi α represents the rotational frequency of the turbine in the i-th revolution. i Indicates the corresponding frequency point f i The penalty coefficient is η, which represents the bias constant.

[0076] Some embodiments, refer to Figure 4 The steps for obtaining the number of turbine rotations after the gas passes through the turbine flow meter include:

[0077] S510 acquires the raw signal measured by the turbine flow meter;

[0078] S520, samples the original signal to obtain a sampling sequence;

[0079] S530, the sampled sequence is filtered to obtain the target sequence;

[0080] S540, obtain the number of rotations based on the target sequence.

[0081] In step S510, when the fluid being measured flows through the sensor of the turbine flow meter, the impeller rotates under the action of the fluid, and its rotational speed is proportional to the average flow velocity in the pipe. During the turbine rotation, the turbine blades intermittently block the light signal received by the receiving tube from the transmitting tube. The signal acquisition circuit generates an electrical pulse signal accordingly. This signal is the acquired raw signal, which is a time-period signal.

[0082] In step S520, sampling, also known as taking samples, refers to the process of converting a continuous quantity in the time or spatial domain into a discrete quantity. It also refers to the process of converting analog audio into digital audio. Sampling transforms a continuous analog signal in both time and amplitude into a discrete analog signal that is discrete in time (with fixed time intervals) but still continuous in amplitude, under the action of sampling pulses. Therefore, sampling is also called the discretization process of waveforms. In this embodiment, the sampling sequence is the discrete signal obtained after sampling the original signal.

[0083] In step S530, due to inertia and the inherent characteristics of the turbine, the turbine will continue to rotate for a period of time after the gas has completely passed through the flow meter, resulting in the calculated number of rotations being greater than the actual number of rotations. Therefore, by filtering out sampling signals below a certain frequency, and thus removing rotations below a certain flow rate, abnormal rotation counts caused by inertia and the inherent characteristics of the turbine are eliminated, resulting in a more accurate number of rotations.

[0084] For step S540, the number of rotations is determined based on the number of peaks or troughs in the target sequence signal. If the turbine is a two-line turbine, then every two peaks or troughs represent one rotation of the turbine. If the turbine is a single-line turbine, then the number of rotations is equal to the number of peaks or troughs.

[0085] Some embodiments, refer toFigure 5 The gas volume measurement device includes a measurement module 100, a processing module 200, and a calculation module 300. The measurement module 100 is used to acquire the turbine rotation frequency when the gas passes through a turbine flow meter. The processing module 200 is connected to the measurement module 100 and is used to obtain the corresponding correction coefficient based on the rotation frequency. The calculation module 300 is connected to both the measurement module 100 and the processing module 200. The calculation module 300 is used to obtain the corrected volume value based on the rotation frequency and the correction coefficient. The calculation module 300 is also used to obtain the gas volume value based on the ideal volume value and the corrected volume value. The ideal volume value is obtained when the turbine is rotating at a constant speed. By setting the correction coefficient and introducing a speed penalty mechanism on the basis of the conventional turbine flow calculation model, the dynamic changes in turbine rotation speed in actual testing can be better simulated, thereby reducing the measurement error caused by the dynamic changes in turbine rotation speed.

[0086] In some embodiments, this application also includes a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the gas volume calculation method as described above.

[0087] In the description of this application, the terms "one embodiment," "some embodiments," and "illustrative embodiment," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0088] The embodiments of this application have been described in detail above with reference to the accompanying drawings. However, this application is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of this application. Furthermore, unless otherwise specified, the embodiments and features described in the embodiments of this application can be combined with each other.

Claims

1. A gas volume calculation method for turbine flow meters, characterized in that, include: The rotational frequency of the turbine is measured as the gas passes through the turbine flow meter. The corresponding correction coefficient is obtained based on the rotation frequency, wherein each revolution of the turbine corresponds to a rotation frequency, and each rotation frequency corresponds to a correction coefficient; The corrected volume value is obtained based on the rotation frequency and the correction coefficient; The number of rotations of the turbine after the gas passes through the turbine flow meter is obtained; The ideal volume value is obtained by calculating the product of the preset conversion coefficient and the number of rotations; The gas volume value is obtained based on the ideal volume value, the corrected volume value, and the preset bias constant. The gas volume value is the sum of the ideal volume value, the corrected volume value, and the bias constant. The formula for calculating the gas volume value is as follows: ; in, Indicates the gas volume value. This represents the rotational frequency of the turbine on the i-th revolution. This represents the correction coefficient at the corresponding frequency point. The bias constant is used to eliminate errors caused by turbine rotational inertia, frictional resistance, and air resistance. A speed penalty mechanism is introduced on the basis of the conventional turbine flow calculation model by setting a correction coefficient to simulate the dynamic changes in turbine rotational speed in actual testing. The ideal volume value is obtained when the turbine is rotating at a constant speed. The specific calculation process for the ideal volume value is as follows: ; in, This represents the ideal volume value. Represents the conversion coefficient, Indicates the number of turbine revolutions. This represents the flow conversion coefficient of the turbine.

2. The gas volume calculation method according to claim 1, characterized in that, The step of obtaining the number of rotations of the turbine after the gas passes through the turbine flow meter includes: Acquire the raw signal measured by the turbine flow meter; The original signal is sampled to obtain a sampling sequence; The target sequence is obtained by filtering the sampled sequence; The number of rotations is obtained based on the target sequence.

3. A gas volume measuring device, characterized in that, include: The measurement module is used to obtain the rotation frequency of the turbine when the gas passes through the turbine flow meter; A processing module is connected to the measurement module. The processing module is used to obtain a corresponding correction coefficient based on the rotation frequency. Each rotation of the turbine corresponds to a rotation frequency, and each rotation frequency corresponds to a correction coefficient. A calculation module is connected to the measurement module and the processing module, respectively. The calculation module is used to obtain the corrected volume value based on the rotation frequency and the correction coefficient. The calculation module is also used to obtain the number of rotations of the turbine after the gas passes through the turbine flow meter; calculate the product of a preset conversion coefficient and the number of rotations to obtain an ideal volume value; and obtain the gas volume value based on the ideal volume value, the corrected volume value, and a preset bias constant. The gas volume value is the sum of the ideal volume value, the corrected volume value, and the bias constant. The formula for calculating the gas volume value is as follows: ; in, Indicates the gas volume value. This represents the rotational frequency of the turbine on the i-th revolution. This represents the correction coefficient at the corresponding frequency point. The bias constant is used to eliminate errors caused by turbine rotational inertia, frictional resistance, and air resistance. A velocity penalty mechanism is introduced into the conventional turbine flow calculation model by setting correction coefficients to simulate the dynamic changes in turbine rotational speed during actual testing. The ideal volume value is obtained when the turbine is rotating at a constant speed, and the specific calculation process for the ideal volume value is as follows: ; in, This represents the ideal volume value. Represents the conversion coefficient, Indicates the number of turbine revolutions. This represents the flow conversion coefficient of the turbine.

4. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the gas volume calculation method as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Linearized turbine flow meter for fuel dispensers

    US5016187A