Multiphase flow detection method, apparatus, device, and program product
By monitoring the vibration frequency, excitation current, and amplitude parameters of a vibratory flow meter, calculating the fluctuation parameters and damping characteristics, and combining multi-dimensional parameters for multiphase flow detection, the problem of missed detection and false detection caused by changes in single-dimensional parameters in existing technologies is solved, achieving more accurate and reliable multiphase flow detection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GOLDCARD HIGH TECH
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-21
AI Technical Summary
In existing technologies, multiphase flow detection methods rely on parameter changes in a single dimension, which can lead to missed or false detections, large detection errors, and an inability to guarantee the reliability of multiphase flow detection.
By monitoring the vibration frequency, excitation current, and amplitude parameters of the vibratory flowmeter, the fluctuation parameters and damping characteristics are calculated. Multiphase flow detection is performed by combining multi-dimensional parameters, including the synergistic analysis of fluctuation parameters and damping characteristics.
It improves the accuracy and reliability of multiphase flow detection, overcomes the limitations caused by single-dimensional parameter changes, and achieves more comprehensive fluid characteristic capture and more accurate detection results.
Smart Images

Figure CN121409350B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of flow detection technology, and in particular to a method, apparatus, equipment, and program product for multiphase flow detection. Background Technology
[0002] Vibratory flow meters (such as Coriolis mass flow meters) are key metering devices in industries such as petroleum and chemical engineering, capable of measuring critical parameters of fluids such as mass flow rate and density in real time. However, in practical applications, fluids may form multiphase flows (such as gas-liquid two-phase flows) due to factors such as the precipitation of bubbles within the medium itself or gas intake caused by pipeline leaks. Multiphase flows can severely interfere with the detection accuracy of vibratory flow meters, leading to deviations in key parameters such as mass and density.
[0003] Current methods for detecting multiphase flow typically rely on changes in a single-dimensional parameter to determine whether a flow is multiphase. For example, fluctuations in the fluid's mass flow rate or density may be used. However, a single-dimensional parameter cannot fully reflect the fluid's characteristics. This one-sided analysis can easily lead to missed or false positives. Furthermore, parameter changes are susceptible to noise interference, resulting in significant detection errors and ultimately compromising the reliability of multiphase flow detection. Summary of the Invention
[0004] This application provides a multiphase flow detection method, apparatus, device, and program product. It determines the fluctuation parameters and damping characteristics based on the vibration frequency, excitation current, and amplitude parameters, and then combines the fluctuation parameters and damping characteristics to realize multiphase flow detection. By using multi-dimensional parameters, it can comprehensively capture the characteristics of the fluid, thereby effectively improving the accuracy and reliability of the detection results.
[0005] In a first aspect, embodiments of this application provide a multiphase flow detection method, comprising: monitoring the vibration frequency, excitation current, and amplitude parameters of a measuring tube collected by a vibratory flowmeter within a preset time period; fluid flowing through the measuring tube; determining the fluctuation parameters of the measuring tube based on the vibration frequency; the fluctuation parameters reflecting the dispersion of the vibration frequency of the measuring tube collected within the preset time period; determining the damping characteristics of the measuring tube based on the excitation current and amplitude parameters; the damping characteristics reflecting the ability of the resistance hindering the vibration of the measuring tube to dissipate vibration energy; if the fluctuation parameters are greater than or equal to a fluctuation threshold, or the damping characteristics are greater than or equal to a damping threshold, then the fluid is determined to be a multiphase flow; wherein the fluctuation threshold and the damping threshold are determined based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube.
[0006] In one possible implementation, the method further includes: obtaining the viscosity of the single-phase flow corresponding to the measuring tube and the flow velocity of the fluid inside the measuring tube; and determining the fluctuation threshold and the damping threshold based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube.
[0007] In one possible implementation, after determining the damping characteristics of the measuring tube based on the excitation current and amplitude parameters, the method further includes: obtaining the viscosity and flow rate of the fluid inside the measuring tube; and correcting the determined damping characteristics based on the fluid viscosity and flow rate, such that if the fluctuation parameter is greater than or equal to the fluctuation threshold, or if the corrected damping characteristics are greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
[0008] In one possible implementation, the method further includes: if the fluid is determined to be a multiphase flow, determining the degree of multiphase flow based on fluctuation parameters and damping characteristics, wherein the degree of multiphase flow is used to characterize the doping state of the medium within the fluid.
[0009] In one possible implementation, the degree of multiphase flow includes a first parameter and a second parameter. The first parameter characterizes the homogeneity of the medium within the fluid; the second parameter characterizes the doping level of the medium within the fluid. Determining the degree of multiphase flow based on the fluctuation parameter and damping characteristics includes: calculating the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; calculating the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold to obtain a second ratio; taking the maximum value between the first ratio and zero as the first parameter; and taking the maximum value between the second ratio and zero as the second parameter.
[0010] In one possible implementation, the degree of multiphase flow includes a third parameter and a fourth parameter. The third parameter characterizes the homogeneity of the medium within the fluid, and the fourth parameter characterizes the doping level of the medium within the fluid. Determining the degree of multiphase flow based on the fluctuation parameter and damping characteristics includes: calculating the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; calculating the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold to obtain a second ratio; and substituting the first ratio and the second ratio into an exponential function to obtain the third parameter and the fourth parameter, respectively. The exponential function is expressed as:
[0011]
[0012] Where g(x) is the third or fourth parameter; x is the first or second proportion; and k is a preset constant.
[0013] In one possible implementation, the method further includes: if the fluid is determined to be a multiphase flow, generating a multiphase flow notification, the multiphase flow notification including the degree of multiphase flow to instruct relevant personnel to perform multiphase flow treatment according to the degree of multiphase flow.
[0014] Secondly, embodiments of this application provide a multiphase flow detection device, comprising:
[0015] The parameter acquisition module is used to monitor the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flow meter within a preset time period; fluid is passing through the measuring tube.
[0016] The fluctuation parameter determination module is used to determine the fluctuation parameters of the measuring tube based on the vibration frequency; the fluctuation parameters are used to reflect the degree of dispersion of the vibration frequency of the measuring tube collected within a preset time period.
[0017] The damping characteristic determination module determines the damping characteristics of the measuring tube based on the excitation current and amplitude parameters; the damping characteristics are used to reflect the ability of the resistance that hinders the vibration of the measuring tube to dissipate vibration energy.
[0018] The multiphase flow determination module is used to determine whether a fluid is a multiphase flow based on fluctuation parameters and damping characteristics.
[0019] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, causing the processor to perform the method provided in the first aspect above.
[0020] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method provided in the first aspect above.
[0021] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method provided in the first aspect above.
[0022] The multiphase flow detection method, apparatus, equipment, and program products provided in this application achieve multiphase flow detection through multi-dimensional parameter analysis. Specifically, the vibration frequency, excitation current, and amplitude parameters of the measuring tube of the vibratory flowmeter are monitored to obtain multiple parameters, providing comprehensive data support for subsequent detection. Then, fluctuation parameters are calculated based on the vibration frequency, which characterizes the frequency fluctuation of the measuring tube and reflects the static properties of the fluid, such as density and composition. Furthermore, damping characteristics are calculated based on the excitation current and amplitude parameters, which characterize the dynamic resistance properties of the fluid within the measuring tube. Finally, based on the fluctuation parameters and damping characteristics, it is determined whether the fluid is a multiphase flow. By making the fluid characteristics characterized by the frequency parameters and damping characteristics complement each other, a more comprehensive and effective multiphase flow detection is achieved, overcoming the limitations of relying solely on single-dimensional parameter changes, thus making the multiphase flow detection results more accurate and reliable. Attached Figure Description
[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0024] Figure 1This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0025] Figure 2 A schematic flowchart of a multiphase flow detection method provided in an embodiment of this application;
[0026] Figure 3 A schematic diagram of a process for determining multiphase flow is provided for an embodiment of this application;
[0027] Figure 4 A schematic flowchart of another multiphase flow detection method provided in this application embodiment;
[0028] Figure 5 This is a schematic diagram of another flow meter provided in an embodiment of this application;
[0029] Figure 6 A schematic diagram illustrating the experimental results of single-phase flow at different flow velocities, provided as an embodiment of this application;
[0030] Figures 7a-7b A schematic diagram illustrating the multiphase flow detection verification results provided in the embodiments of this application;
[0031] Figure 8 This is a schematic diagram of the structure of a multiphase flow detection device provided in an embodiment of this application;
[0032] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0033] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0035] A vibratory flow meter is a flow measurement device designed based on the principle that the vibration of a sensing element caused by fluid flowing in a pipe interferes with the fluid's characteristics. The degree of interference is related to the fluid's properties. Vibratory flow meters are widely used in industries such as petroleum and chemical engineering. By analyzing the degree of interference, vibratory flow meters can obtain characteristics such as the fluid's mass flow rate and density.
[0036] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. This application is applied to scenarios involving fluid measurement. Figure 1 As shown, taking a vibratory flow meter, specifically a Coriolis mass flow meter, as an example, the Coriolis mass flow meter includes a measuring tube (usually a double U-shaped tube), a vibrator, and sensing elements. The vibrator is mounted on the measuring tube. When measuring the fluid, the vibrator outputs a drive signal, causing the measuring tube to vibrate under set vibration parameters. As the fluid flows through the measuring tube, the superposition effect of fluid motion and measuring tube vibration generates a Coriolis force on the measuring tube. This force alters the vibration state of the measuring tube, thus changing its vibration parameters. Sensing elements symmetrically distributed at the inlet and outlet ends of the measuring tube detect the vibration signals at the inlet and outlet ends, respectively. The phase difference between the vibration signals at the inlet and outlet ends allows calculation of fluid characteristics such as mass flow rate and density.
[0037] However, in actual operation, when the fluid is liquid, pressure changes may cause air bubbles to escape, or leaks in the pipeline may draw in external gases, resulting in a multiphase flow where the fluid exists in both gas and liquid states. It should be noted that multiphase flow can also occur when the fluid is in other phases. The above is merely an example.
[0038] Multiphase flow refers to a flow system formed by the mixing of two or more different phases (such as gas, liquid, and solid), commonly a two-phase flow. Single-phase flow refers to a flow system formed by only one phase of medium. The flow characteristics of multiphase flow are more complex than those of single-phase flow (containing only one phase of medium). For example, the differences and distribution of the flow velocities of the various phases in a multiphase flow can introduce significant deviations in the measurement of a vibratory flowmeter and affect some internal parameters. In other words, if the fluid in the measuring tube of a vibratory flowmeter is multiphase, the multiphase flow will seriously interfere with the detection accuracy of the vibratory flowmeter, resulting in inaccurate results (mass flow rate). Therefore, the detection of multiphase flow has important practical significance.
[0039] Currently, methods for detecting multiphase flow typically involve analyzing changes in a single-dimensional parameter to determine whether a flow is multiphase. For example, analyzing fluctuations in mass flow rate or density measured by a vibratory flowmeter reveals that larger fluctuations indicate more pronounced multiphase flow characteristics. However, multiphase flows are complex in composition and exhibit no fixed flow characteristics. Single-dimensional parameters cannot comprehensively cover the fluid's properties, leading to incomplete analysis and potential for missed or incorrect detections. Furthermore, in practical operations, various types of noise exist, and single-dimensional parameters have poor anti-interference capabilities, ultimately resulting in significant detection errors.
[0040] The multiphase flow detection method provided in this application monitors the vibration frequency, excitation current, and amplitude parameters collected by a vibratory flowmeter, and calculates the fluctuation parameters and damping characteristics. The fluctuation parameters quantify the vibration frequency fluctuations of the measuring tube, which are caused by static properties such as fluid density and composition. Simultaneously, the damping characteristics quantify the dynamic resistance properties of the fluid within the measuring tube, which are also related to fluid properties. These two fluid-related parameters—vibration frequency and damping—provide a more comprehensive data foundation for subsequent detection. Furthermore, multiphase flow detection is performed based on these two dimensions of parameters. The complementary nature of these two dimensions improves the robustness and accuracy of the detection, resulting in more accurate and reliable detection results.
[0041] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0042] Figure 2 This is a schematic flowchart illustrating a multiphase flow detection method provided in an embodiment of this application. The multiphase flow detection method provided in this application can be executed by an electronic device with corresponding processing capabilities, such as a vibrating flow meter. Figure 2 As shown, the method includes:
[0043] Step S201: Monitor the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flow meter within a preset time period.
[0044] In this application, the vibratory flow meter is a flow measurement device designed based on the principle that fluid flowing in a pipe will interfere with the vibration detection element, and the degree of interference is related to the fluid characteristics. Preferably, it is a Coriolis mass flow meter, i.e. Figure 1 The Coriolis mass flow meter in this example uses a vibrating flow meter with a measuring tube as the conduit through which fluid flows; that is, fluid passes through the measuring tube. This fluid is the fluid to be measured.
[0045] The working principle of a vibratory flow meter is as follows: The measuring tube of the vibratory flow meter is connected to an exciter. The exciter outputs a drive signal, such as excitation current or voltage, causing the measuring tube to vibrate at a certain frequency and amplitude. When fluid passes through the measuring tube, the fluid exerts a force on the measuring tube, causing changes in the tube's state parameters (vibration frequency and amplitude). A detection element is connected to the measuring tube to capture the vibration signals of the measuring tube or the fluid in real time, such as phase, amplitude, and frequency. Based on the state parameters detected by the detection element, the flow rate, mass, or density of the fluid is calculated.
[0046] The vibration frequency is the actual vibration frequency of the measuring tube; the excitation current is the excitation current output by the exciter; and the amplitude parameter is the amplitude of the vibration of the measuring tube.
[0047] It should be noted that, according to the working principle of vibratory flow meters, especially Coriolis mass flow meters, when the amplitude parameters of the measuring tube change, the exciter adjusts the excitation current to ensure that the measuring tube continues to vibrate according to the set amplitude parameters. This adjusted excitation current is the excitation current of the measuring tube. The excitation current of the measuring tube is close to the set amplitude parameters, but usually differs from them.
[0048] The preset time period is the time period for collecting the set status parameters. It is a configurable parameter, such as the 1 second before the current time.
[0049] In this step, the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the detection element of the vibratory flow meter are monitored within a preset time period.
[0050] For example, the vibration frequency, excitation current, and amplitude parameters of multiple measuring tubes collected by the detection element of the Coriolis mass flow meter within a preset time period can be obtained according to a set frequency. The set frequency is a configurable parameter, such as 50ms, 100ms, etc.
[0051] The vibration frequency, excitation current, and amplitude parameters obtained in this application can all be acquired by a vibratory flow meter, eliminating the need for additional control or detection units and simplifying the hardware design.
[0052] Step S202: Determine the fluctuation parameters of the measuring tube based on the vibration frequency.
[0053] The fluctuation parameter is a parameter used to reflect the degree of dispersion of the vibration frequency of the measuring tube within a preset time period.
[0054] In this step, the fluctuation parameters of the measuring tube are determined based on the vibration frequency using the statistical dispersion method, the dynamic rate of change method, or the frequency domain characteristic method.
[0055] In one example, the standard deviation of multiple vibration frequencies collected within a preset time period can be calculated, and this standard deviation is denoted as the fluctuation parameter.
[0056] In another example, the absolute value of the difference between the vibration frequencies at adjacent times can also be calculated, and the sum of the absolute values of the differences can be used to determine the wave parameter.
[0057] Step S203: Determine the damping characteristics of the measuring tube based on the excitation current and amplitude parameters.
[0058] Damping characteristics are parameters used to reflect the ability of the resistance that opposes the vibration of the measuring tube to dissipate vibration energy. Vibration energy refers to the mechanical energy required for the measuring tube to maintain vibration. In this application, based on the working principle of the vibrating flow meter, a damping characteristic is defined to indirectly reflect changes in damping.
[0059] Based on the working principle of the vibratory flow meter described above, during initial operation, the exciter outputs a drive signal, causing the measuring tube to vibrate at a set vibration frequency and amplitude parameters. The set amplitude parameters are recorded as the initial amplitude parameter A0. After the fluid passes through the measuring tube and applies force, in order to counteract the dissipation of vibration energy by this force, the excitation current I needs to be increased so that the current amplitude parameter A is close to the initial amplitude parameter A0.
[0060] In this step, the ratio of the amplitude parameter A to the initial amplitude parameter A0 is calculated to obtain the relative amplitude A. p The excitation current I and the relative amplitude A are compared. p The ratio of is defined as the damping characteristic.
[0061] Specifically, the damping characteristic D can be calculated using the following formula:
[0062] A p = A / A0
[0063] D = I / A p
[0064] In some embodiments, the excitation current and amplitude parameters of the measuring tube collected within a preset time period may be multiple. The average values of these multiple excitation currents and amplitude parameters within the preset time period can then be calculated to obtain the average excitation current and average amplitude parameters. Based on the average excitation current and average amplitude parameters, the damping characteristics of the measuring tube are then determined.
[0065] For example, the ratio of the average amplitude parameter to the initial amplitude parameter A0 is calculated to obtain the relative amplitude A. p Calculate the average excitation current and relative amplitude A. p The ratio value is used to obtain the damping characteristics.
[0066] In other embodiments, statistical values, excluding the average value, of multiple excitation currents and multiple amplitude parameters within a preset time period can be calculated separately. The damping characteristics of the measuring tube can then be determined based on these statistical values.
[0067] Step S204: If the fluctuation parameter is greater than or equal to the fluctuation threshold, or the damping characteristic is greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
[0068] The fluctuation threshold and damping threshold are determined based on the viscosity and velocity of the single-phase flow corresponding to the measuring tube.
[0069] During the operation of a vibratory flowmeter, when the fluid inside the measuring tube is relatively uniform and stable, i.e., a single-phase flow, the amplitude parameter of the measuring tube remains stable at the initial amplitude parameter, and the excitation current is small and relatively stable, indicating low damping characteristics. Simultaneously, the vibration frequency remains essentially unchanged for a short period, indicating small fluctuation parameters.
[0070] When a fluid is in a multiphase flow, especially a gas-liquid two-phase flow, its unique flow characteristics affect the parameters of the measuring tube. Specifically, the characteristics of multiphase flow increase resistance, such as bubble aggregation or liquid film adhesion. The exciter requires a larger driving force (i.e., a larger excitation current) to maintain the amplitude parameters of the measuring tube at their initial values, resulting in greater damping. Furthermore, compared to single-phase flow, multiphase flow has significantly different densities and compositions when passing through the measuring tube. The compressibility of the gas and the non-uniformity of the flow further alter the overall equivalent density of the fluid, disrupting the original vibration equilibrium of the measuring tube and causing large fluctuations in the vibration frequency (i.e., large fluctuation parameters). Therefore, the multiphase flow can be determined based on the fluctuation parameters or damping characteristics.
[0071] However, in actual operation, the vibration frequency of the measuring tube is more sensitive to multiphase flows with non-uniform media, and its fluctuation parameter value is generally large. For multiphase flows with uniform media, such as uniformly distributed microbubbles, the vibration frequency of the measuring tube is not sensitive, and the fluctuation parameter value is small. The damping characteristic is extremely sensitive to bubbles, and the damping characteristic value is large; however, when the fluid in the measuring tube is a medium with high viscosity, the damping characteristic also increases. Relying solely on a single dimension of fluctuation parameter or damping characteristic can easily lead to misjudgment.
[0072] In this application, the fluctuation parameters and damping characteristics are integrated and analyzed in a multi-dimensional manner. The fluctuation parameters and damping characteristics complement each other to achieve accurate judgment of multiphase flow, which solves the detection limitations of using a single fluctuation parameter or damping characteristic.
[0073] Specifically, it is determined whether the fluctuation parameters and damping characteristics meet the preset conditions. If they do, the fluid is determined to be a multiphase flow. If they do not, the fluid is determined to be a non-multiphase flow, i.e., a single-phase flow.
[0074] In some embodiments, it can also be determined that if the fluctuation parameters and damping characteristics meet the preset conditions multiple times consecutively or within a preset time period (e.g., 1 second), then the fluid is determined to be a multiphase flow.
[0075] The preset conditions can be the comparison results of the fluctuation parameters and damping characteristics with preset thresholds.
[0076] For example, in order to improve the sensitivity of multiphase flow detection and avoid missed detection, the preset condition can be that the fluctuation parameter is greater than or equal to the fluctuation threshold, or that the damping characteristic is greater than or equal to the damping threshold.
[0077] The fluctuation threshold and damping threshold are pre-set configurable parameters, for example, the fluctuation threshold is 0.5Hz and the damping threshold is 100mA.
[0078] In some embodiments, in order to improve the accuracy of multiphase flow detection and avoid misdetecting single-phase flow as multiphase flow, the preset conditions can be that the fluctuation parameter is greater than or equal to the fluctuation threshold and the damping characteristic is greater than or equal to the damping threshold.
[0079] For example, the preset conditions can also be sequential judgment logic.
[0080] Figure 3 This is a schematic diagram of a process for determining multiphase flow, provided as an embodiment of this application. Figure 3 As shown, a status bit can be set to indicate whether the fluid flowing through the measuring tube is multiphase flow. A status bit of 1 indicates multiphase flow; a status bit of 0 indicates non-multiphase flow, i.e., single-phase flow. Specifically, it checks whether the fluctuation parameter SF is greater than the fluctuation threshold SF0. If it is, the status bit is set to 1; if it is not, it checks whether the damping characteristic D is greater than the damping threshold D0. If it is, the status bit is set to 1; if it is not, the status bit is set to 0. If the status bit remains at 1 for a period of time (e.g., 1 second), the fluid is determined to be multiphase flow.
[0081] The multiphase flow detection method provided in this application achieves multiphase flow detection through multi-dimensional parameter analysis. Specifically, it monitors the vibration frequency, excitation current, and amplitude parameters of the measuring tube of a vibratory flowmeter, obtaining multiple parameters to provide comprehensive data support for subsequent detection. Then, it calculates fluctuation parameters based on the vibration frequency, which characterize the frequency fluctuation of the measuring tube and reflects the static properties of the fluid, such as density and composition. Furthermore, it calculates damping characteristics based on the excitation current and amplitude parameters, which characterize the dynamic resistance properties of the fluid within the measuring tube. Finally, based on the fluctuation parameters and damping characteristics, it determines whether the fluid is a multiphase flow. By making the fluid characteristics characterized by the frequency parameters and damping characteristics complement each other, it achieves more comprehensive and effective multiphase flow detection, overcoming the limitations of relying solely on single-dimensional parameter changes, thus making the multiphase flow detection results more accurate and reliable.
[0082] Figure 4 This is a schematic flowchart illustrating another multiphase flow detection method provided in this embodiment. The multiphase flow detection method provided in this embodiment is... Figure 2 Based on the illustrated embodiment, step S204 has been refined, and subsequent processing steps have been added. For example... Figure 4As shown, the method provided in this embodiment includes the following steps:
[0083] Step S401: Monitor the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flow meter within a preset time period.
[0084] Step S402: Determine the fluctuation parameters of the measuring tube based on the vibration frequency.
[0085] Calculate the standard deviation of multiple vibration frequencies collected within a preset time period, and denote this standard deviation as the fluctuation parameter.
[0086] Step S403: Determine the damping characteristics of the measuring tube based on the excitation current and amplitude parameters.
[0087] Calculate the ratio of the amplitude parameter to the initial amplitude parameter to obtain the relative amplitude. Calculate the ratio of the excitation current to the relative amplitude to obtain the damping characteristics.
[0088] Step S404: Obtain the viscosity and flow rate of the fluid in the measuring tube.
[0089] Step S405: Correct the determined damping characteristics based on the fluid viscosity and flow rate.
[0090] In actual operation, besides multiphase flow causing changes in damping characteristics, variations in viscosity and flow rate within the flowmeter also affect damping characteristics. To obtain more accurate damping characteristics based on the above embodiments, this embodiment modifies the damping characteristics.
[0091] Figure 5 This is a schematic diagram of another flow meter provided in an embodiment of this application. Figure 5 As shown, the flow meter provided in this embodiment also includes a transmitter and a temperature sensor. The transmitter inputs relevant parameters of the medium inside the flow meter, and the temperature sensor collects the current temperature to calculate the viscosity of the medium at the current temperature. For example, the transmitter inputs a curve showing the viscosity of the medium inside the flow meter as a function of temperature, and the viscosity is then determined from the curve based on the current temperature.
[0092] Flow rate, or mass flow rate, is obtained by converting the phase difference of the signals detected by the sensing elements (such as pickup sensors) at both ends of the flow meter.
[0093] In this step, the viscosity and flow rate of the fluid in the measuring pipe are collected using a flow meter. The viscosity and flow rate are then substituted into the damping compensation formula to obtain the corrected damping characteristics.
[0094] The damping compensation formula can be expressed as:
[0095] D = D - f1(μ) - f2(m)
[0096] Where D represents the damping characteristic, μ represents the viscosity, and m represents the flow mass. f1() is a function representing the compensation of viscosity for the damping characteristic, and f2() is a function representing the compensation of flow rate for the damping characteristic. f1() and f2() can be obtained through experimental fitting.
[0097] By modifying the damping characteristics, the obtained damping characteristics are made more accurate and more adaptable to various media, thus improving the applicability of the method.
[0098] Step S406: If the fluctuation parameter is greater than or equal to the fluctuation threshold, or the corrected damping characteristic is greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
[0099] In this step, if the fluctuation parameter is greater than or equal to the fluctuation threshold, or the damping characteristic is greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
[0100] If the fluctuation parameter is less than the fluctuation threshold and the damping characteristic is less than the damping threshold, then the fluid is determined to be a single-phase flow.
[0101] Optionally, the method provided in this embodiment further includes: obtaining the viscosity of the single-phase flow corresponding to the measuring tube and the flow velocity of the fluid in the measuring tube; and determining the fluctuation threshold and damping threshold based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube.
[0102] Viscosity is the force that opposes relative motion between fluid molecules or between the fluid and a contact surface (such as a measuring tube) when relative motion occurs. Viscosity is related to the medium within the fluid.
[0103] Single-phase flow is a fluid of a single medium with the same or similar properties as the fluid flowing through the measuring tube.
[0104] The flow velocity of fluid within a measuring tube is the distance the fluid travels per unit time as it passes through the tube. In some vibrating flow meters, the flow velocity can be detected directly. Alternatively, the flow rate collected by the vibrating flow meter can be divided by the cross-sectional area of the measuring tube to calculate the flow velocity.
[0105] In this step, the viscosity of the fluid medium inside the measuring tube can be determined as the viscosity of the single-phase flow corresponding to the measuring tube. The flow velocity of the fluid inside the measuring tube is obtained based on the state parameters detected by the vibratory flowmeter. Furthermore, based on the fluid velocity, a fluctuation threshold is determined; and based on the viscosity of the single-phase flow corresponding to the measuring tube, a damping threshold is determined.
[0106] For example, the higher the fluid velocity, the greater the noise tends to be, which leads to an increase in the fluctuation parameters caused by the noise, and the fluctuation threshold needs to be greater than the fluctuation parameters caused by the noise.
[0107] For example, when the viscosity of the single-phase flow corresponding to the measuring tube is higher, the damping threshold due to viscosity must be greater than that due to viscosity.
[0108] The fluctuation parameters caused by noise and the damping characteristics caused by viscosity can be determined experimentally.
[0109] Specifically, experiments were conducted on single-phase flows of different media. Single-phase flows of varying viscosities were passed through a measuring tube to determine the damping characteristics generated by the measuring tube, i.e., the damping characteristics caused by viscosity. Actual experiments showed that for single-phase flows with higher viscosity, the damping characteristic of the measuring tube was approximately 30 mA when it passed through. Experiments were also conducted on single-phase flows at different velocities, passing them through the measuring tube to determine the fluctuation parameters of the measuring tube, i.e., the fluctuation parameters caused by noise.
[0110] Figure 6 This is a schematic diagram illustrating the experimental results of single-phase flow at different flow velocities, provided as an embodiment of this application. Figure 6 As shown, the horizontal axis represents flow velocity, and the vertical axis represents fluctuation parameters. Based on the experimental results, the variation of fluctuation parameters with flow velocity can be obtained. Furthermore, based on this variation, the fluctuation threshold at different flow velocities can be determined; that is, the fluctuation threshold is greater than the fluctuation parameters obtained from the experimental results.
[0111] In some embodiments, to simplify the method and make it applicable to more scenarios, a fixed damping threshold can be determined based on the viscosity of the medium in various single-phase flows. For example, the damping threshold is greater than the damping characteristics required for high-viscosity single-phase flows. The damping characteristics required for high-viscosity single-phase flows can be determined experimentally.
[0112] In some embodiments, since the fluctuation parameters are relatively small when the fluid contains uniform microbubbles, damping characteristics can be used to compensate for this situation and avoid missed detections in order to improve detection accuracy. For example, the damping threshold can be made smaller than the damping characteristics under multiphase flow with uniform microbubbles. The damping characteristics under multiphase flow with uniform microbubbles can be determined experimentally.
[0113] By determining the fluctuation threshold and damping threshold, the abstract parameters are transformed into actionable decision-making criteria, providing clear judgment standards and action guidelines for this method and overcoming the limitations of subjective experience in determining thresholds.
[0114] Figures 7a-7bThis diagram illustrates the verification results of multiphase flow detection provided in this application embodiment. A Coriolis mass flow meter is used as a vibrating flow meter, and a gas controller is used to control the content of gas doped in the fluid. Multiphase flow detection is then performed according to the method provided in this application. In the experiment, a large amount of gas is initially doped into the fluid, and then the amount of gas doped into the fluid is gradually reduced, i.e., the flow changes from multiphase to single-phase. Figure 7a This shows how the fluctuation parameters change over time. Figure 7b This shows how the damping characteristics change over time.
[0115] In the experiment, the fluctuation threshold was set to 0.5 Hz and the damping threshold to 100 mA. (Continue referring to...) Figure 7a and 7b According to the status changes displayed on the right vertical axis ( Figure 7a and Figure 7b (The dashed line in the diagram) At approximately 6.5 minutes, the state value changes from 1 to 0. At this point, both the fluctuation parameter and damping characteristic are less than the corresponding threshold, meaning the multiphase flow detection result changes from multiphase flow to non-multiphase flow. Based on actual conditions, there are essentially no bubbles at this point. According to the verification results, this method can determine if the fluid is multiphase flow, and after returning to normal, determine if the fluid is single-phase flow.
[0116] Step S407: If it is determined that the fluid is a multiphase flow, then the degree of multiphase flow is determined based on the fluctuation parameters and damping characteristics.
[0117] Multiphase flow degree is used to characterize the doping state of the medium within a fluid. Doping state characterizes the doping uniformity of the fluid; that is, the doping state reflects the amount of doping in the fluid and whether the distribution of the multiphase medium is uniform.
[0118] In this embodiment, after determining that the fluid is a multiphase flow, the doping state is quantified by determining the degree of multiphase flow in order to better understand the actual situation of the fluid in the measuring tube.
[0119] In this step, the degree of multiphase flow is quantified by combining fluctuation parameters and damping characteristics.
[0120] For example, the degree of multiphase flow can be determined by comparing the fluctuation parameters and damping characteristics with ideal reference values of the fluctuation parameters and damping characteristics of single-phase flow.
[0121] For example, fluctuation parameters and damping characteristics can also be input into a pre-set mathematical model, which outputs the degree of multiphase flow.
[0122] The degree of multiphase flow can be determined in several ways, including various implementation methods. The following are two optional implementation methods:
[0123] An optional implementation includes a first parameter and a second parameter for determining the multiphase flow degree based on the fluctuation parameter and damping characteristics. This includes: calculating the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; calculating the ratio of the difference between the damping characteristics and the damping threshold to the damping threshold to obtain a second ratio; taking the maximum value between the first ratio and zero as the first parameter; and taking the maximum value between the second ratio and zero as the second parameter.
[0124] The first parameter is used to characterize the homogeneity of the medium within the fluid, and the second parameter is used to characterize the doping degree of the medium within the fluid.
[0125] In this step, the difference between the fluctuation parameter SF and the fluctuation threshold SF0 is calculated, and this difference is divided by the fluctuation threshold SF0 to obtain the first ratio S1. S1 can be expressed as:
[0126] S1 = (SF - SF0) / SF0
[0127] Similarly, calculate the difference between the damping characteristic D and the damping threshold D0, and set this difference at the damping threshold D0 to obtain the second proportion S2. S2 can be expressed as:
[0128] S2 = (D - D0) / D0
[0129] In some embodiments, the damping characteristic used can be a modified damping characteristic, then the second ratio S2 can be expressed as: S2 = (D - f1(μ) - f2(m) - D0) / D0.
[0130] After compensation, the second ratio S2 will more accurately reflect the information related to the two-phase flow.
[0131] By performing non-negative truncation on the first and second proportions, we obtain the first parameter and the second parameter, respectively.
[0132] Specifically, the first ratio is compared with 0, and the maximum value is taken as the first parameter. That is, if the first ratio is greater than 0, the first parameter is the first ratio; if the first ratio is less than 0, the first parameter is 0. The second ratio is compared with 0, and the maximum value is taken as the second parameter. That is, if the second ratio is greater than 0, the second parameter is the second ratio; if the second ratio is less than 0, the second parameter is 0.
[0133] Specifically, it can be expressed as:
[0134] f(S1, S2) = (max(S1, 0) , max(S2, 0))
[0135] Where f(S1, S2) represents the multiphase flow degree, which includes two parameters: the first parameter and the second parameter, which are max(S1, 0) and max(S2, 0), respectively.
[0136] The first parameter is derived from the fluctuation parameter. According to the working principle of the vibratory flowmeter, a larger value indicates a more non-uniform medium in the fluid; a smaller value indicates a more uniform medium. The second parameter is derived from the damping characteristics. A larger value indicates a stronger damping effect caused by the coexistence of multiple phases in the fluid, reflecting a more complex composition and higher degree of doping in the fluid. A smaller value indicates stable damping in the fluid and a simpler composition of the fluid medium.
[0137] In this embodiment, the degree of multiphase flow exists in several states: one is f(S1, S2) = (0, 0), which indicates that the fluid is a single-phase flow; another is f(S1, S2) = (0, max(S2, 0)), where max(S2, 0) > 0, which indicates that the fluid is a multiphase flow of a homogeneous medium; and the third is f(S1, S2) = (max(S1, 0), max(S2, 0)), which indicates that the fluid is a multiphase flow of a non-homogeneous medium.
[0138] By using the first and second parameters, the uniformity and doping level of the multiphase flow can be understood, thus quantifying the degree of multiphase flow. Moreover, this quantification method is logically simple and easy to implement.
[0139] Another optional implementation is that the multiphase flow degree includes a third parameter and a fourth parameter; the multiphase flow degree is determined based on the fluctuation parameter and damping characteristics, including: calculating the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; calculating the ratio of the difference between the damping characteristics and the damping threshold to the damping threshold to obtain a second ratio; substituting the first ratio and the second ratio into an exponential function to obtain the third parameter and the fourth parameter; the exponential function is expressed as:
[0140]
[0141] Where g(x) is the third or fourth parameter; x is the first or second proportion; and k is a preset constant.
[0142] The third parameter is used to characterize the homogeneity of the medium within the fluid, and the fourth parameter is used to characterize the doping degree of the medium within the fluid.
[0143] In this step, the calculation methods for the first and second proportions are the same as in the above embodiment, and will not be repeated here. Substitute the first proportion S1 and the second proportion S2 into the exponential function respectively, and replace x to obtain the third parameter g(S1) and the fourth parameter g(S2).
[0144] In the exponential function, k is a preset constant, k > 0, used to control the sensitivity to the first and second proportions, and can generally be set to 10.
[0145] In this embodiment, the third parameter g(S1) and the fourth parameter g(S2) are both values in the range of [0,1], which can be regarded as the degree of magnitude to a certain extent.
[0146] By using the third and fourth parameters, which have values between 0 and 1, more accurate and standardized quantization of multiphase flow programs is achieved, avoiding the problem of difficulty in horizontal comparison due to differences in dimensions.
[0147] It should be noted that, in addition to the two implementation methods mentioned above, there are other implementation methods for determining the degree of multiphase flow, which will not be listed here.
[0148] Step S408: If it is determined that the fluid is a multiphase flow, a multiphase flow notification is generated. The multiphase flow notification includes the degree of multiphase flow to instruct relevant personnel to perform multiphase flow treatment according to the degree of multiphase flow.
[0149] In this step, after determining that the fluid is a multiphase flow and the degree of multiphase flow is determined, a multiphase flow notification is generated and displayed, such as on the display panel of the vibrating flow meter, indicating that the fluid in the current measuring tube is a multiphase flow.
[0150] Multiphase flow notifications can include whether multiphase flow is occurring. If it is, the notification will also include the degree of multiphase flow. This notification allows relevant personnel to quickly understand the multiphase flow state of the fluid within the measuring pipe and then take appropriate multiphase flow control measures. For example, checking for leaks or abnormal pressure within the pipeline.
[0151] In some embodiments, a fluid handling strategy or maintenance recommendation can be generated based on the degree of multiphase flow, so that the fluid can be handled or maintained in accordance with the fluid handling strategy or maintenance recommendation.
[0152] In some embodiments, the vibratory flow meter may also include a communication module that can send multiphase flow notifications to relevant platforms, or send emails or text messages to relevant personnel.
[0153] In this embodiment, the determination of whether a flow is multiphase is made by comparing the fluctuation parameters and damping characteristics using thresholds. This method is logically simple and easy to implement. Furthermore, after determining that it is a multiphase flow, the degree of multiphase flow is determined, the multiphase flow is further quantified, and notifications are sent to facilitate better control of the fluid conditions within the measurement pipe, thereby enabling more accurate and timely maintenance.
[0154] In some embodiments, in addition to the fluctuation parameters and damping characteristics provided in the above embodiments, other parameters related to the parameter or intermediate parameters derived from the parameter can also be used to detect multiphase flow, such as the rate of change of excitation current, fluctuation of amplitude parameters, etc.
[0155] Figure 8 This is a schematic diagram of a multiphase flow detection device provided in an embodiment of this application. Figure 8 As shown, the multiphase flow detection device provided in this embodiment includes: a parameter acquisition module 801, a fluctuation parameter determination module 802, a damping characteristic determination module 803, and a multiphase flow judgment module 804.
[0156] The parameter acquisition module 801 is used to monitor the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flowmeter within a preset time period; fluid flows through the measuring tube. The fluctuation parameter determination module 802 is used to determine the fluctuation parameters of the measuring tube based on the vibration frequency; the fluctuation parameters reflect the dispersion of the vibration frequency of the measuring tube collected within the preset time period. The damping characteristic determination module 803 determines the damping characteristics of the measuring tube based on the excitation current and amplitude parameters; the damping characteristics reflect the ability of the resistance that hinders the vibration of the measuring tube to dissipate vibration energy. The multiphase flow judgment module 804 is used to determine that the fluid is a multiphase flow if the fluctuation parameters are greater than or equal to the fluctuation threshold, or if the damping characteristics are greater than or equal to the damping threshold. The fluctuation threshold and the damping threshold are determined based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube.
[0157] Optionally, the multiphase flow detection device further includes a threshold determination module for:
[0158] Obtain the viscosity of the single-phase flow corresponding to the measuring tube, as well as the flow velocity of the fluid inside the measuring tube; determine the fluctuation threshold and damping threshold based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube.
[0159] Optionally, the multiphase flow detection device also includes a fluctuation characteristic correction module, used for:
[0160] After determining the damping characteristics of the measuring tube based on the excitation current and amplitude parameters, the viscosity and flow rate of the fluid inside the measuring tube are obtained. Based on the fluid viscosity and flow rate, the determined damping characteristics are corrected. If the fluctuation parameter is greater than or equal to the fluctuation threshold, or if the corrected damping characteristics are greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
[0161] Optionally, the multiphase flow detection device further includes a multiphase flow degree determination module, used for:
[0162] If the fluid is determined to be a multiphase flow, the degree of multiphase flow is determined based on the fluctuation parameters and damping characteristics. The degree of multiphase flow is used to characterize the doping state of the medium within the fluid.
[0163] Optionally, the multiphase flow degree includes a first parameter and a second parameter. The first parameter characterizes the homogeneity of the medium within the fluid; the second parameter characterizes the doping degree of the medium within the fluid. This multiphase flow degree determination module is specifically used for:
[0164] If the fluid is determined to be a multiphase flow, the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold is calculated to obtain the first ratio; the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold is calculated to obtain the second ratio; the maximum value between the first ratio and zero is taken as the first parameter; the maximum value between the second ratio and zero is taken as the second parameter.
[0165] Optionally, the multiphase flow degree includes a third parameter and a fourth parameter. The third parameter characterizes the homogeneity of the medium within the fluid, and the fourth parameter characterizes the doping level of the medium within the fluid. This multiphase flow degree determination module is specifically used for:
[0166] Calculate the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain the first ratio; calculate the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold to obtain the second ratio; substitute the first and second ratios into the exponential function to obtain the third and fourth parameters; the exponential function is expressed as:
[0167]
[0168] Where g(x) is the third or fourth parameter; x is the first or second proportion; and k is a preset constant.
[0169] Optionally, the multiphase flow detection device also includes a notification module for:
[0170] If the fluid is determined to be a multiphase flow, a multiphase flow notification is generated, which includes the degree of multiphase flow to instruct relevant personnel to handle the multiphase flow according to the degree of multiphase flow.
[0171] The multiphase flow detection device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0172] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device 90 provided in this embodiment includes at least one processor 901 and a memory 902. Optionally, the device 90 further includes a communication component 903. The processor 901, memory 902, and communication component 903 are connected via a bus.
[0173] In a specific implementation, at least one processor 901 executes computer execution instructions stored in memory 902, causing at least one processor 901 to perform the above-described method.
[0174] The specific implementation process of processor 901 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0175] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0176] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0177] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0178] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0179] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0180] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0181] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0182] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0183] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0184] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0185] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0186] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0187] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for detecting multiphase flow, characterized in that, include: The vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flow meter within a preset time period are monitored. Fluid flows through the measuring tube; Based on the vibration frequency, the fluctuation parameters of the measuring tube are determined; the fluctuation parameters are used to reflect the dispersion of the vibration frequency of the measuring tube collected within the preset time period. The damping characteristics of the measuring tube are determined based on the excitation current and the amplitude parameter. The damping characteristics reflect the ability of the resistance that hinders the vibration of the measuring tube to dissipate vibration energy. The damping characteristics are calculated through the following steps: calculating the ratio of the amplitude parameter to the initial amplitude parameter to obtain the relative amplitude; calculating the ratio of the excitation current to the relative amplitude, and using the ratio as the damping characteristics. If the fluctuation parameter is greater than or equal to the fluctuation threshold, or the damping characteristic is greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow; wherein the fluctuation threshold and the damping threshold are determined based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube; After determining the damping characteristics of the measuring tube based on the excitation current and the amplitude parameters, the method further includes: The viscosity and flow rate of the fluid in the measuring tube are obtained; based on the viscosity and flow rate of the fluid, the determined damping characteristics are corrected, so that if the fluctuation parameter is greater than or equal to the fluctuation threshold, or if the corrected damping characteristics are greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
2. The method according to claim 1, characterized in that, The method further includes: Obtain the viscosity of the single-phase flow corresponding to the measuring tube, and the flow velocity of the fluid inside the measuring tube; The fluctuation threshold and the damping threshold are determined based on the viscosity of the single-phase flow corresponding to the measuring tube and the flow velocity.
3. The method according to claim 1 or 2, characterized in that, The method further includes: If the fluid is determined to be a multiphase flow, the degree of multiphase flow is determined based on the fluctuation parameters and the damping characteristics. The degree of multiphase flow is used to characterize the doping state of the medium within the fluid.
4. The method according to claim 3, characterized in that, The degree of multiphase flow includes a first parameter and a second parameter, wherein the first parameter is used to characterize the homogeneity of the medium within the fluid; The second parameter is used to characterize the doping degree of the medium within the fluid; Determining the degree of multiphase flow based on the fluctuation parameters and the damping characteristics includes: Calculate the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; Calculate the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold to obtain a second ratio; Take the maximum value between the first ratio and zero as the first parameter; Take the maximum value between the second ratio and zero as the second parameter.
5. The method according to claim 3, characterized in that, The degree of multiphase flow includes a third parameter and a fourth parameter, wherein the third parameter is used to characterize the homogeneity of the medium within the fluid, and the fourth parameter is used to characterize the doping degree of the medium within the fluid; Determining the degree of multiphase flow based on the fluctuation parameters and the damping characteristics includes: Calculate the ratio of the difference between the fluctuation parameter and the fluctuation threshold to the fluctuation threshold to obtain a first ratio; Calculate the ratio of the difference between the damping characteristic and the damping threshold to the damping threshold to obtain a second ratio; Substituting the first ratio and the second ratio into the exponential function respectively, we obtain the third parameter and the fourth parameter; the exponential function is expressed as: Where g(x) is the third or fourth parameter; x is the first or second proportion; and k is a preset constant.
6. The method according to claim 3, characterized in that, The method further includes: If the fluid is determined to be a multiphase flow, a multiphase flow notification is generated, which includes the degree of multiphase flow to instruct relevant personnel to perform multiphase flow processing according to the degree of multiphase flow.
7. A multiphase flow detection device, characterized in that, include: The parameter acquisition module is used to monitor the vibration frequency, excitation current, and amplitude parameters of the measuring tube collected by the vibratory flow meter within a preset time period. Fluid flows through the measuring tube; The fluctuation parameter determination module is used to determine the fluctuation parameters of the measuring tube based on the vibration frequency; the fluctuation parameters are used to reflect the dispersion of the vibration frequency of the measuring tube collected within the preset time period. A damping characteristic determination module is used to determine the damping characteristics of the measuring tube based on the excitation current and the amplitude parameter. The damping characteristics reflect the ability of the resistance that hinders the vibration of the measuring tube to dissipate vibration energy. The damping characteristics are calculated through the following steps: calculating the ratio of the amplitude parameter to the initial amplitude parameter to obtain the relative amplitude; calculating the ratio of the excitation current to the relative amplitude, and using the ratio as the damping characteristic. A multiphase flow determination module is used to determine that the fluid is a multiphase flow if the fluctuation parameter is greater than or equal to the fluctuation threshold, or the damping characteristic is greater than or equal to the damping threshold; wherein the fluctuation threshold and the damping threshold are determined based on the viscosity and flow velocity of the single-phase flow corresponding to the measuring tube; The multiphase flow detection device further includes a fluctuation characteristic correction module, used for: after determining the damping characteristics of the measuring tube based on the excitation current and the amplitude parameter, obtaining the viscosity and flow rate of the fluid in the measuring tube; and correcting the determined damping characteristics based on the viscosity and flow rate of the fluid, so that if the fluctuation parameter is greater than or equal to the fluctuation threshold, or if the corrected damping characteristics are greater than or equal to the damping threshold, then the fluid is determined to be a multiphase flow.
8. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-6.
9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-6.
Citation Information
Patent Citations
Process for operating a coriolis mass flow rate measurement device
US20080011101A1
Method for correcting at least one measured value of a coriolis measuring device and such a coriolis measuring device
US20210404850A1