Flow determination method, apparatus, device and medium based on ultrasonic flowmeter
By acquiring the time-of-flight information of the ultrasonic flow meter, determining the flow field state, and calculating and adjusting parameters, the accuracy problem of flow rate under non-ideal flow field conditions is solved, and efficient and accurate flow rate determination is achieved.
Patent Information
- Application Number
- CN202310115907.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-02
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2043-02-02
AI Technical Summary
Ultrasonic flow meters lack accuracy in determining flow rates under non-ideal flow field conditions, and existing correction methods increase costs and are computationally complex.
By acquiring the flight time information of the ultrasonic signal in the acoustic channel, the flow field information is determined, and based on the flow field information, it is determined whether the flow rate adjustment conditions are met. The adjustment parameters are then calculated to determine the actual flow rate value.
It improves the accuracy of flow rate determination, reduces errors caused by factors such as pipe bending and wall roughness, and lowers the operating costs of devices such as rectifiers.
Smart Images

Figure CN116202582B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to ultrasonic technology, and particularly to a flow determination method and device based on an ultrasonic flowmeter, equipment and medium. BACKGROUND
[0002] The ultrasonic flowmeter is very sensitive to the state of the flow field. Under the condition of a stable ideal flow field, the ultrasonic flowmeter can obtain a relatively accurate measurement value.
[0003] However, the flow field itself is easily affected by many factors, such as upstream and downstream pipeline conditions, working pressure, pipeline wall roughness, etc. These factors will cause the flow value measured by the ultrasonic flowmeter to be inconsistent with the actual flow value, affecting the determination accuracy of the flow value. SUMMARY
[0004] The present application provides a flow determination method and device based on an ultrasonic flowmeter, equipment and medium to improve the determination accuracy of the flow.
[0005] In a first aspect, the present application provides a flow determination method based on an ultrasonic flowmeter, comprising:
[0006] Obtaining the time-of-flight information of the ultrasonic signal in the acoustic channel of the ultrasonic flowmeter; wherein the time-of-flight information includes an uplink time-of-flight and a downlink time-of-flight, the uplink time-of-flight is used to represent the time of the ultrasonic signal propagating from the upstream of the acoustic channel to the downstream of the acoustic channel, and the downlink time-of-flight is used to represent the time of the ultrasonic signal propagating from the downstream of the acoustic channel to the upstream of the acoustic channel;
[0007] According to the time-of-flight information, determining the flow field information of the ultrasonic flowmeter; wherein the flow field information is used to represent the motion state of the fluid in the flow field of the ultrasonic flowmeter;
[0008] If the flow field information meets the preset flow value adjustment condition, then according to the flow field information, determining the adjustment parameter of the flow; wherein the adjustment parameter is used to represent the deviation degree between the predicted flow value and the actual flow value;
[0009] According to the adjustment parameter and the predicted flow value, determining the actual flow value in the flow field.
[0010] In a second aspect, the present application provides a flow determination device based on an ultrasonic flowmeter, comprising:
[0011] The time acquisition module is configured to acquire time-of-flight information of the ultrasonic signal in the acoustic channel of the ultrasonic flowmeter, wherein the time-of-flight information includes an uplink time-of-flight and a downlink time-of-flight, the uplink time-of-flight is used to represent a time for the ultrasonic signal to propagate from an upstream of the acoustic channel to a downstream of the acoustic channel, and the downlink time-of-flight is used to represent a time for the ultrasonic signal to propagate from the downstream of the acoustic channel to the upstream of the acoustic channel.
[0012] The information determination module is configured to determine flow field information of the ultrasonic flowmeter according to the time-of-flight information, wherein the flow field information is used to represent a motion state of the fluid in the flow field of the ultrasonic flowmeter.
[0013] The parameter determination module is configured to determine an adjustment parameter of the flow according to the flow field information if the flow field information satisfies a preset flow value adjustment condition, wherein the adjustment parameter is used to represent a degree of deviation between a predicted flow value and an actual flow value.
[0014] The flow determination module is configured to determine the actual flow value in the flow field according to the adjustment parameter and the predicted flow value.
[0015] In a third aspect, the present application provides an electronic device, comprising a processor and a memory connected with the processor in communication;
[0016] The memory stores computer execution instructions.
[0017] The processor executes the computer execution instructions stored in the memory to implement the flow determination method based on the ultrasonic flowmeter according to the first aspect of the present application.
[0018] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by a processor to implement the flow determination method based on the ultrasonic flowmeter according to the first aspect of the present application.
[0019] In a fifth aspect, the present application provides an ultrasonic flowmeter, wherein the ultrasonic flowmeter implements the flow determination method based on the ultrasonic flowmeter according to the first aspect of the present application.
[0020] The application provides a flow determination method, device, equipment and medium based on an ultrasonic flowmeter. The flight time information of an ultrasonic signal in an acoustic channel between transducers is acquired to determine flow field information of the ultrasonic flowmeter. The flow field information can be used to represent the movement state of a fluid in the flow field of the ultrasonic flowmeter, that is, the flow direction and speed of the fluid in the flow field can be determined through the flow field information. It is determined whether the flow field information meets a preset flow value adjustment condition. If yes, an adjustment parameter of the flow is determined according to the flow field information, and then an actual flow value in the flow field is determined according to the adjustment parameter and a predicted flow value. The actual flow value is determined to avoid the determination error of the flow value caused by factors such as pipe bending and rough pipe wall. The problems such as high cost caused by the correction of the flow value through a rectifier and the like in the prior art are solved, the change to the flow field is reduced, and the determination accuracy of the flow value is effectively improved. BRIEF DESCRIPTION OF DRAWINGS
[0021] The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the present application.
[0022] Figure 1 A flow determination method based on an ultrasonic flowmeter provided by an embodiment of the application;
[0023] Figure 2 A propagation diagram of an ultrasonic signal in an acoustic channel provided by an embodiment of the application;
[0024] Figure 3 A structural diagram of an ultrasonic flowmeter provided by an embodiment of the application;
[0025] Figure 4 A flow determination method based on an ultrasonic flowmeter provided by an embodiment of the application;
[0026] Figure 5 A measurement plane diagram provided by an embodiment of the application;
[0027] Figure 6 A structural block diagram of a flow determination device based on an ultrasonic flowmeter provided by an embodiment of the application;
[0028] Figure 7 A structural block diagram of a flow determination device based on an ultrasonic flowmeter provided by an embodiment of the application;
[0029] Figure 8 A structural block diagram of an electronic device provided by an embodiment of the application;
[0030] Figure 9 A structural block diagram of an electronic device provided by an embodiment of the application.
[0031] The specific embodiments of the application will be described in further detail below with reference to the drawings. These drawings and the associated description are not intended to limit the scope of the application in any way, but merely to illustrate specific embodiments of the application. DETAILED DESCRIPTION
[0032] In order to make the purposes, technical solutions and advantages of the application clearer, the following will further describe the embodiments of the application in detail with reference to the drawings.
[0033] It should be clear that the described embodiments are only some of the embodiments of the application, not all. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the application.
[0034] The following description refers to the accompanying drawings. Unless otherwise indicated, same numbers in different drawings indicate same or similar elements. The implementations described in the following example embodiments are not meant to represent all implementations consistent with the application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the application as detailed in the appended claims.
[0035] In the description of the application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and do not necessarily mean a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meaning of the above terms in the application can be understood according to the specific circumstances. In addition, in the description of the application, "a plurality of" means two or more, unless otherwise specified. "And / or", which describes the relationship between the associated objects, means that there can be three relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. The character " / " generally represents an "or" relationship between the associated objects before and after it.
[0036] It should be noted that due to the limitation of the length of the specification, all optional embodiments cannot be enumerated in the specification. Those skilled in the art should be able to think of any combination of technical features as long as the technical features do not contradict each other, which can constitute an optional embodiment. The following will describe each embodiment in detail.
[0037] The ultrasonic flowmeter is very sensitive to the state of the flow field, so the ultrasonic flowmeter is designed according to the condition that the flow field at the inlet is close to the ideal state and is stable. Under the condition of stable ideal flow field, the single-channel ultrasonic flowmeter can also obtain very good measurement accuracy. However, the flow field itself is affected by many factors, such as upstream and downstream pipeline conditions, working pressure, pipeline wall roughness, etc.
[0038] The typical upstream pipeline conditions of the ultrasonic flowmeter, such as elbow, manifold, T-shaped pipe, flow straightener, filter, pipe diameter change and valve, will cause non-ideal flow field such as vortex, eddy current, asymmetric flow profile, etc. These non-ideal flow fields will cause the measured results of the sound channel flow velocity to be larger or smaller, thereby causing measurement errors. At present, the main improvement methods for the measurement of unstable non-ideal flow field are as follows: using a flow straightener to improve the flow field; increasing the number of sound channels of the ultrasonic flowmeter; using Reynolds number correction. However, the current correction method needs to increase the additional cost, and the calculation process is complex, which affects the determination accuracy and efficiency of the flow value.
[0039] The application provides a flow determination method, device, equipment and medium based on an ultrasonic flowmeter, which aims to solve the above technical problems of the prior art.
[0040] The technical solutions of the application and how the technical solutions of the application solve the above technical problems will be described in detail below with specific embodiments. The following 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 the application will be described below with reference to the drawings.
[0041] Figure 1 is a flow diagram of a flow determination method based on an ultrasonic flowmeter according to an embodiment of the application. The method is applied to an ultrasonic flowmeter and is executed by a flow determination device based on an ultrasonic flowmeter. As shown in Figure 1 the method comprises the following steps:
[0042] S101, obtaining time-of-flight information of an ultrasonic signal in a sound channel of an ultrasonic flowmeter; wherein the time-of-flight information includes uplink time-of-flight and downlink time-of-flight, the uplink time-of-flight is used to indicate the time of the ultrasonic signal propagating from the upstream of the sound channel to the downstream of the sound channel, and the downlink time-of-flight is used to indicate the time of the ultrasonic signal propagating from the downstream of the sound channel to the upstream of the sound channel.
[0043] Exemplarily, with the wide application of gas fuels such as liquefied petroleum gas, coal gas and natural gas, ultrasonic flow meters for measuring the use amount of gas have been popularized in people's life. The ultrasonic flow meter can be used as a meter to display the gas flow value of the user. A plurality of transducers are arranged in the ultrasonic flow meter, and each two transducers form a sound channel, and an ultrasonic signal can be transmitted along the sound channel from one transducer to another transducer of the sound channel. The time information of the ultrasonic signal propagating in the sound channel can be used as time-of-flight information. The time-of-flight information can include uplink time-of-flight and downlink time-of-flight, the uplink time-of-flight is used to represent the time of the ultrasonic signal propagating from the upstream of the sound channel to the downstream of the sound channel, and the downlink time-of-flight is used to represent the time of the ultrasonic signal propagating from the downstream of the sound channel to the upstream of the sound channel.
[0044] Figure 2 A schematic diagram for the propagation of the ultrasonic signal in the sound channel. Figure 2 The ultrasonic flow meter includes two transducers, and a pair of transducers at an angle is arranged on the meter body of the ultrasonic flow meter, the angle between the line connecting the two transducers and the horizontal line is θ, and the two transducers can both transmit and receive ultrasonic signals. Since the transmission speed of the ultrasonic signal in the fluid will be affected by the forward flow and reverse flow of the fluid, the propagation time of the pair of transducers in the flowing fluid is inconsistent, a time difference is generated, and the time-of-flight information is obtained. The time of the ultrasonic signal propagating from the upper transducer to the lower transducer is the uplink time-of-flight, and the time of the ultrasonic signal propagating from the lower transducer to the upper transducer is the downlink time-of-flight.
[0045] Figure 3 A schematic diagram of the structure of the ultrasonic flow meter, which can include a meter head 301 and a meter body 302, and the transducers 303 are installed on the meter body 302. Figure 3 The transducers 303 in the ultrasonic flow meter have eight transducers, wherein, Figure 3 As can be seen from the front four transducers 303 of the ultrasonic flow meter, there are also four transducers 303 on the back of the ultrasonic flow meter.
[0046] The ultrasonic flow meter can obtain the time-of-flight information in real time or at a fixed time, that is, the time-of-flight information at the current time can be obtained, and the uplink time-of-flight and the downlink time-of-flight at the current time can be obtained.
[0047] S102, determining flow field information of the ultrasonic flow meter according to the time-of-flight information; wherein, the flow field information is used to represent the motion state of the fluid in the flow field of the ultrasonic flow meter.
[0048] Exemplarily, after obtaining the time-of-flight information, the flow field information of the ultrasonic flowmeter can be calculated according to the uplink time-of-flight and the downlink time-of-flight. The flow field information can be used to represent the motion state of the fluid in the flow field of the ultrasonic flowmeter. For example, the fluid can be a gas such as natural gas. The flow field of the ultrasonic flowmeter can be a channel where the fluid moves in the ultrasonic flowmeter, and the motion state of the fluid can be the direction and speed of the fluid moving in the flow field, and the like. For example, the motion state of the fluid can represent that the fluid moves in a vortex shape within a certain range at a certain speed in the flow field, that is, the flow field information can include information such as the shape of the fluid motion and the size range of the formed vortex.
[0049] A preset calculation formula of the flow field information can be provided, and the time-of-flight information can be substituted into the preset calculation formula of the flow field information to calculate the flow field information. For example, the flow field information is the motion speed of the fluid, that is, the fluid speed, and the fluid speed can be calculated according to the uplink time-of-flight and the downlink time-of-flight.
[0050] In S103, if the flow field information meets a preset flow value adjustment condition, an adjustment parameter of the flow is determined according to the flow field information, wherein the adjustment parameter is used to represent the deviation degree between the predicted flow value and the actual flow value.
[0051] Exemplarily, the flow value adjustment condition can be preset, and the flow value adjustment condition can be represented as a condition of whether the predicted flow value needs to be adjusted. The predicted flow value is the fluid flow measured under the actual flow field condition. However, in actual use, due to the bending and pressure of the flow field pipeline, the flow field is not an ideal flow field condition, and the actual flow value is easy to deviate from the predicted flow value, so the predicted flow value needs to be adjusted to obtain a more actual actual flow value. For example, the elbow, the manifold, the T-shaped pipe, the flow straightener, the filter, the pipe diameter change and the like can cause the vortex, the eddy current, the asymmetric flow and the like of the fluid in the non-ideal flow field. These non-ideal flow fields can cause the measured result of the flow rate to be too large or too small, thereby causing the generation of the flow value measurement error.
[0052] The preset flow value adjustment condition can be a preset flow field information threshold. After obtaining the flow field information, the flow field information can be compared with the preset flow field information threshold to determine whether the flow field information meets the preset flow value adjustment condition. For example, if the flow field information is greater than the preset flow field information threshold, it is determined that the flow field information meets the preset flow value adjustment condition, and the predicted flow value needs to be adjusted and corrected. If the flow field information does not meet the preset flow value adjustment condition, it is determined that the predicted flow value does not need to be corrected, and the predicted flow value can be determined as the actual flow value.
[0053] If the flow field information meets the preset flow rate adjustment conditions, the flow rate adjustment parameters are calculated based on the flow field information. A preset calculation formula for the adjustment parameters can be used; the flow field information is substituted into this formula to obtain the adjustment parameters. The adjustment parameters can be used to represent the degree of deviation between the predicted and actual flow rates, that is, the extent to which the actual flow rate is more or less than the predicted flow rate. For example, if the adjustment parameter is calculated to be 20%, then the actual flow rate can be considered to be 20% of the predicted flow rate.
[0054] S104. Determine the actual flow rate in the flow field based on the adjusted parameters and the predicted flow rate.
[0055] For example, a predicted flow rate value in an ideal flow field is preset. After obtaining the adjustment parameters, the actual flow rate value can be calculated based on the adjustment parameters and the predicted flow rate value. Each pair of transducers forms a channel, and the ultrasonic flow meter can include multiple pairs of transducers, i.e., multiple channels exist, each with its own flight time information. The predicted flow rate value can be determined based on the upward and downward flight times. First, the fluid velocity corresponding to each channel is calculated based on the upward and downward flight times of each channel. Then, the predicted flow rate value is calculated based on the fluid velocity of each channel. In an ideal flow field, there are no vortices or eddies, but parameters such as pipe diameter and flow velocity are highly random. Therefore, the predicted flow rate value can differ under different ideal flow fields. The fluid velocity can be determined using the following formula:
[0056]
[0057] Where v represents the fluid velocity, α is a preset first calculation parameter, and t dn For the downlink flight time, t up This refers to the uplink flight time.
[0058]
[0059] Where L is the channel length and θ is the angle between the transducer and the axial direction of the ultrasonic flow meter body, that is, the angle between the line connecting a pair of transducers and the horizontal line.
[0060] A weighting coefficient w is preset for each channel. Based on the weighting coefficients of each channel and the fluid velocity, the average fluid velocity is determined. The average fluid velocity can be determined using the following formula:
[0061]
[0062] in, The average fluid velocity is represented by i = 1, 2, ..., n, where i represents the vocal tract, i.e., there are n vocal tracts.
[0063] The predicted flow rate can be determined using the following formula:
[0064]
[0065] Where Q represents the predicted flow rate and D represents the inner diameter of the ultrasonic flow meter.
[0066] In this embodiment, determining the actual flow rate in the flow field based on the adjustment parameters and the predicted flow rate includes multiplying the adjustment parameters and the predicted flow rate to obtain the actual flow rate in the flow field.
[0067] Specifically, after obtaining the adjustment parameters and predicted flow rate, the actual flow rate is calculated from these values. Alternatively, the actual flow rate can be obtained by multiplying the adjustment parameters and predicted flow rate. That is, the actual flow rate can be determined using the following formula:
[0068] Q' = F hy ×Q;
[0069] Where Q' is the actual flow rate, F hy To adjust the parameters.
[0070] The advantage of this setup is that it allows for the rapid determination of actual flow rates through simple calculations, reducing calculation errors and improving the efficiency and accuracy of flow rate correction.
[0071] This application provides a flow rate determination method based on an ultrasonic flow meter. By acquiring the time-of-flight information of the ultrasonic signal in the acoustic channel between transducers, the flow field information of the ultrasonic flow meter is determined. The flow field information can represent the fluid motion state within the flow field of the ultrasonic flow meter; that is, the flow direction and velocity of the fluid in the flow field can be determined through the flow field information. It is determined whether the flow field information meets preset flow rate adjustment conditions. If so, the flow adjustment parameters are determined based on the flow field information, and then the actual flow rate value in the flow field is determined based on the adjustment parameters and the predicted flow rate value. This method achieves accurate determination of the actual flow rate value, avoiding errors in flow rate determination caused by factors such as pipe bends or rough pipe walls. It solves the problem of high costs caused by correcting flow rates using devices such as rectifiers in existing technologies, reduces changes to the flow field, and effectively improves the accuracy of flow rate determination.
[0072] Figure 4 This is a flowchart illustrating a flow determination method based on an ultrasonic flow meter, which is an optional embodiment based on the above embodiments.
[0073] In this embodiment, the flow field information of the ultrasonic flow meter is determined based on the time-of-flight information, which can be further refined as follows: the fluid velocity in the corresponding acoustic channel is determined based on the time-of-flight information; and the flow field information of the fluid in the ultrasonic flow meter is determined based on the fluid velocity.
[0074] like Figure 4 As shown, the method includes the following steps:
[0075] S401. Obtain the flight time information of the ultrasonic signal in the channel of the ultrasonic flow meter; wherein, the flight time information includes the up-flight time and the down-flight time, the up-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the upstream of the channel to the downstream of the channel, and the down-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the downstream of the channel to the upstream of the channel.
[0076] For example, this step can refer to step S101 above, and will not be repeated here.
[0077] S402. Determine the fluid velocity in the corresponding sound channel based on the flight time information.
[0078] For example, a formula for determining fluid velocity is pre-constructed and used to calculate the fluid velocity corresponding to one channel. For multiple channels, the fluid velocity in each channel can be determined based on the time-of-flight information corresponding to that channel. The time-of-flight information is different for each channel, and the corresponding fluid velocity is also different. For example, the shorter the time of flight, the greater the fluid velocity.
[0079] In this embodiment, determining the fluid velocity in the corresponding acoustic channel based on the time-of-flight information includes: determining the fluid velocity according to the following formula:
[0080]
[0081] Where v represents the fluid velocity, α is a preset first calculation parameter, and t dn For the downlink flight time, t up This refers to the uplink flight time.
[0082] Specifically, the fluid velocity is calculated based on the uplink and downlink flight times corresponding to the sound channel. The first calculation parameter is set as α.
[0083] Where L is the channel length and θ is the angle between the transducer and the axial direction of the ultrasonic flow meter body, i.e., the angle between the line connecting the transducers and the horizontal line. The L and θ corresponding to each channel are parameters set at the factory for the ultrasonic flow meter; that is, α is a pre-set parameter. Substituting the upward and downward flight times into the formula for determining the fluid velocity yields the fluid velocity for each channel. The L and θ corresponding to different channels can be different; that is, the first calculation parameters for different channels can be different.
[0084] The advantage of this setup is that it allows for the rapid calculation of the fluid velocity corresponding to each channel, enabling accurate calculation of the fluid velocity and facilitating subsequent calculation of flow field information, thereby improving the accuracy and efficiency of determining the actual flow rate.
[0085] S403. Determine the flow field information of the fluid in the ultrasonic flow meter based on the fluid velocity.
[0086] For example, an ultrasonic flow meter may include multiple channels. In this embodiment, the ultrasonic flow meter includes at least four channels, and each channel consists of a pair of transducers. Two channels may form a plane as a measurement plane; that is, in this embodiment, at least two measurement planes may be included. Figure 5 This is a schematic diagram of the measurement plane. Figure 5 The device includes four transducers: transducer 1 (501), transducer 2 (502), transducer 3 (503), and transducer 4 (504). Transducers 1 (501) and 2 (502) form one pair, and transducers 3 (503) and 4 (504) form another pair. The sound channel between transducers 1 (501) and 2 (502), and the sound channel between transducers 3 (503) and 4 (504), together form a measurement plane. Figure 5 The plane containing the "X" shape. Four transducers on a measurement plane, located on the same horizontal plane. Determining one fluid velocity corresponding to each channel yields two fluid velocities corresponding to each measurement plane. Figure 5 The plane shown is a Figure 3 The plane seen when the body 302 of the ultrasonic flow meter is viewed from above.
[0087] Flow field information can include vortex values, eddy current values, and asymmetry. Vortex values represent the size of vortices generated by the fluid during motion, eddy current values represent the size of eddies generated by the fluid during motion, and asymmetry represents the degree of asymmetry in fluid velocity when the fluid moves across two measurement planes. Different flow field information can be pre-defined with corresponding calculation formulas. Based on the fluid velocity at each measurement plane, various flow field parameters can be calculated, resulting in vortex values, eddy current values, and asymmetry.
[0088] In this embodiment, the ultrasonic flow meter includes at least four channels, with two channels forming a measurement plane. The measurement plane includes a first plane and a second plane. The flow field information includes vortex values, which represent the size of vortices generated by the fluid during movement. The flow field information of the fluid in the ultrasonic flow meter is determined based on the fluid velocity, including determining the vortex value according to the following formula:
[0089]
[0090] Where swirl represents the vortex value, D represents the inner diameter of the ultrasonic flow meter, β represents the preset second calculation parameter, v1 and v2 represent the fluid velocities corresponding to the two channels on the first plane, and v3 and v4 represent the fluid velocities corresponding to the two channels on the second plane.
[0091] Specifically, the vortex value can represent the range of vortices formed when fluids such as natural gas move in a pipeline. The larger the vortex value, the larger the vortex formed, which will hinder the normal transportation of the fluid.
[0092] Determine the velocities of two fluids located on the same measurement plane, and calculate the vortex value according to the preset formula for determining the vortex value. β represents the preset second calculation parameter, β=h×tanθ.
[0093] Where h represents the vertical distance between the measurement plane of the flow field and the axis of the ultrasonic flow meter, and the axis of the ultrasonic flow meter refers to the center of the meter body. The axis can be located between the two measurement planes. Figure 5 In the diagram, the plane containing the "X" shape is a measurement plane, designated as the first plane. A second plane exists on the back side of the first plane. The fluid velocity along the path between transducer 1 (501) and transducer 2 (502) is v1, and the fluid velocity along the path between transducer 3 (503) and transducer 4 (504) is v2. That is, v1 and v2 are relative to the first plane. The second plane has the same shape as the first plane, but is located on the back side of the first plane and is obscured by it. The transducer at the same position on the back side of transducer 1 (501) is designated as transducer 5, and the transducer at the same position on the back side of transducer 2 (502) is designated as transducer 6. The fluid velocity along the path between transducer 5 and transducer 6 is v3. The transducer at the same position on the back side of transducer 3 (503) is designated as transducer 7, and the transducer at the same position on the back side of transducer 4 (504) is designated as transducer 8. The fluid velocity along the path between transducer 7 and transducer 8 is v4. It is worth noting that the path between a pair of transducers has no direction, but the sign of the difference between the fluid velocities corresponding to the paths can be used to determine the direction of vortex rotation.
[0094] The advantage of this setting is that the vortex value can be quickly calculated using a preset formula, the motion state of the fluid in the flow field can be determined, and thus it can be determined whether the predicted flow rate value needs to be corrected, so that the corrected flow rate value is closer to the actual value and the accuracy of the flow rate value determination is improved.
[0095] In this embodiment, the flow field information includes eddy current values, which represent the size of eddies generated by the fluid during motion. The flow field information of the fluid in the ultrasonic flowmeter is determined based on the fluid velocity, including: determining the eddy current values according to the following formula:
[0096]
[0097] Here, vortex represents the vortex value.
[0098] Specifically, a formula for determining the eddy current value is preset, and the β in the eddy current value determination formula is the same as the β in the vortex value determination formula. v1 and v2 are two fluid velocities on the same measuring plane, v3 and v4 are two fluid velocities on another measuring plane, and D represents the inner diameter of the ultrasonic flow meter.
[0099] The advantage of this setting is that the eddy current value can be quickly calculated using a preset formula, the motion state of the fluid in the flow field can be determined, and thus it can be determined whether the predicted flow rate value needs to be corrected, so that the corrected flow rate value is closer to the actual value and the accuracy of the flow rate value determination is improved.
[0100] In this embodiment, the flow field information includes asymmetry, which represents the degree of asymmetry in the fluid velocity when the fluid moves on two measurement planes. Based on the fluid velocity, the flow field information of the fluid in the ultrasonic flowmeter is determined, including: determining the asymmetry according to the following formula:
[0101]
[0102] Where asymmetry represents the degree of asymmetry, and w represents the preset weighting coefficient corresponding to the audio channel.
[0103] Specifically, a weighting coefficient is pre-set for each channel, and the asymmetry is determined based on the weighting coefficient and the corresponding fluid velocity. Asymmetry represents the difference in fluid velocity between the upper and lower measurement planes. If the fluid velocities on the two measurement planes are the same, then the asymmetry between the two measurement planes is 0.
[0104] The advantage of this setup is that different preset formulas can be used to calculate different flow field information, enabling targeted determination of flow field information, improving the calculation accuracy of flow field information, and thus improving the accuracy of flow rate determination.
[0105] S404. If the flow field information meets the preset flow rate adjustment conditions, then the flow rate adjustment parameters are determined based on the flow field information; wherein, the adjustment parameters are used to represent the degree of deviation between the predicted flow rate value and the actual flow rate value.
[0106] For example, after obtaining three types of flow field information, the process begins with one type to determine whether it meets the preset flow rate adjustment conditions. If any one of the three flow field information types meets the preset flow rate adjustment conditions, the adjustment parameters need to be determined, and it is not necessary to further determine whether the remaining flow field information meets the corresponding flow rate adjustment conditions. For example, first determine whether the vortex value meets the flow rate adjustment conditions; if so, it is not necessary to further determine whether the eddy current value and asymmetry meet the corresponding flow rate adjustment conditions. If none of the three flow field information types meet the flow rate adjustment conditions, the predicted flow rate value is directly determined as the actual flow rate value.
[0107] In this embodiment, if the flow field information meets the preset flow rate adjustment conditions, the flow rate adjustment parameters are determined based on the flow field information, including: if the vortex value is greater than the preset first vortex threshold, the flow field information is determined to meet the preset flow rate adjustment conditions; and the flow rate adjustment parameters are determined based on the vortex value.
[0108] Specifically, a first vortex threshold is preset. After obtaining the flow field information, the vortex values in the flow field information are compared with the preset vortex threshold. For example, the vortex threshold is set to 0.2. If the vortex value is greater than the preset first vortex threshold, it is determined that the flow field information meets the preset flow rate adjustment conditions; if the vortex value is less than the preset first vortex threshold, it is further determined whether the eddy current value and asymmetry meet the preset flow rate adjustment conditions.
[0109] If the vortex value is determined to be greater than a preset first vortex threshold, then the flow adjustment parameters are calculated based on the vortex value. The predicted flow value is then corrected based on these adjustment parameters to obtain the actual flow value. A formula for determining the adjustment parameters can be preset; the vortex value can be substituted into this formula to obtain the adjustment parameters.
[0110] The calculation formula for determining the adjustment parameters based on the vortex value is as follows:
[0111] F hy =1 + swirl × linear sw +offset sw ;
[0112] Among them, F hy To adjust the parameters, swirl is the vortex value, and linear is... sw and offset sw All are preset parameters, linear swIt is the preset linear correction coefficient for the vortex profile compensation algorithm, offset sw It is the preset offset correction coefficient of the vortex profile compensation algorithm.
[0113] The advantage of this setting is that when the vortex value meets the preset flow rate adjustment conditions, the adjustment parameters can be directly calculated according to the preset formula without the need for other judgments, thereby improving the efficiency of determining the adjustment parameters and thus improving the efficiency of determining the flow rate.
[0114] In this embodiment, if the flow field information meets the preset flow rate adjustment conditions, the flow rate adjustment parameters are determined based on the flow field information, including: if the vortex value is less than the preset second vortex threshold, the vortex value is compared with the preset vortex threshold; if the vortex value is equal to or greater than the preset vortex threshold, the flow field information is determined to meet the preset flow rate adjustment conditions; and the flow rate adjustment parameters are determined based on the vortex value.
[0115] Specifically, a second vortex threshold and an eddy current threshold are preset, for example, the eddy current threshold is set to 0.1. The first vortex threshold is greater than the second vortex threshold. After determining that the vortex value is less than the first vortex threshold, the vortex value is compared with the second vortex threshold. If the vortex value is determined to be less than the preset second vortex threshold, the eddy current value in the flow field information is compared with the preset eddy current threshold. If the vortex value is determined to be less than or equal to the preset first vortex threshold and greater than or equal to the preset second vortex threshold (i.e., the vortex value is between the first and second vortex thresholds), then no flow rate correction is required. After determining that the vortex value is less than the preset second vortex threshold, if the eddy current value is equal to or greater than the preset eddy current threshold, then the eddy current value in the flow field information is determined to meet the preset flow rate adjustment conditions, and no further asymmetry judgment is needed; the flow rate adjustment parameters are directly determined based on the eddy current value. If the eddy current value is less than the preset eddy current threshold, then it is also necessary to determine whether the asymmetry meets the flow rate adjustment conditions.
[0116] There is a preset calculation formula for determining the adjustment parameters based on the eddy current value. After determining that the eddy current value is equal to or greater than the preset eddy current threshold, the adjustment parameters are calculated according to the preset calculation formula.
[0117] The calculation formula for determining the adjustment parameters based on the eddy current value is as follows:
[0118] F hy =1 + vortex × linear vo +offset vo ;
[0119] Among them, F hy To adjust the parameters, vortex is the vortex value, and linear... vo and offset voAll are preset parameters, linear vo It is the preset linear correction coefficient for the eddy profile compensation algorithm, offset vo It is the preset offset correction coefficient of the eddy profile compensation algorithm.
[0120] The advantage of this setting is that after determining that the eddy current value meets the preset flow rate adjustment conditions, the adjustment parameters can be directly calculated according to the preset formula without the need for other judgments, thereby improving the efficiency of determining the adjustment parameters and thus improving the efficiency of determining the flow rate.
[0121] In this embodiment, if the flow field information meets the preset flow rate adjustment conditions, the flow rate adjustment parameters are determined based on the flow field information, including: if the vortex value is less than the preset second vortex threshold, the asymmetry is compared with the preset asymmetry threshold; if the asymmetry is equal to or greater than the preset asymmetry threshold, the flow field information is determined to meet the preset flow rate adjustment conditions; and the flow rate adjustment parameters are determined based on the asymmetry.
[0122] Specifically, an asymmetry threshold is preset, for example, set to 0.05. After determining that the vortex value is less than the preset second vortex threshold, the asymmetry in the flow field information can be compared with the preset asymmetry threshold. In this embodiment, after determining that the vortex value is less than the preset second vortex threshold, the eddy current value can be judged first. If the eddy current value does not meet the size requirement of the preset eddy current threshold, then the asymmetry is judged. If the asymmetry is equal to or greater than the preset asymmetry threshold, it is determined that the asymmetry in the flow field information meets the preset flow rate adjustment condition, and the flow rate adjustment parameter is determined based on the asymmetry; if the asymmetry is less than the preset asymmetry threshold, the predicted flow rate value is determined to be the actual flow rate value. This achieves targeted judgment of three types of flow field information sequentially, improving judgment accuracy and efficiency. Different calculation formulas are used to determine the adjustment parameters for different flow field information to achieve better correction effects.
[0123] There is a preset calculation formula for determining the adjustment parameters based on the asymmetry. After determining that the asymmetry is equal to or greater than the preset asymmetry threshold, the adjustment parameters are calculated according to the preset calculation formula.
[0124] The calculation formula for determining the adjustment parameters based on the asymmetry is as follows:
[0125] F hy =1 + asymmetry × linear as +offset as ;
[0126] Among them, F hy To adjust the parameters, asymmetry is the degree of asymmetry, and linearity is...as and offset as All are preset parameters, linear as These are the preset linear correction coefficients for the asymmetric profile compensation algorithm, offset. as It is the preset offset correction coefficient for the asymmetric profile compensation algorithm.
[0127] The advantage of this setting is that, after determining that the asymmetry meets the preset flow rate adjustment conditions, the adjustment parameters can be directly calculated according to the preset formula, which improves the efficiency and pertinence of determining the adjustment parameters, thereby improving the efficiency and accuracy of flow rate determination.
[0128] S405. Determine the actual flow rate in the flow field based on the adjusted parameters and the predicted flow rate.
[0129] For example, this step can refer to step S104 above, and will not be repeated here.
[0130] This application provides a flow rate determination method based on an ultrasonic flow meter. By acquiring the time-of-flight information of the ultrasonic signal in the acoustic channel between transducers, the flow field information of the ultrasonic flow meter is determined. The flow field information can represent the fluid motion state within the flow field of the ultrasonic flow meter; that is, the flow direction and velocity of the fluid in the flow field can be determined through the flow field information. It is determined whether the flow field information meets preset flow rate adjustment conditions. If so, the flow adjustment parameters are determined based on the flow field information, and then the actual flow rate value in the flow field is determined based on the adjustment parameters and the predicted flow rate value. This method achieves accurate determination of the actual flow rate value, avoiding errors in flow rate determination caused by factors such as pipe bends or rough pipe walls. It solves the problem of high costs caused by correcting flow rates using devices such as rectifiers in existing technologies, reduces changes to the flow field, and effectively improves the accuracy of flow rate determination.
[0131] Figure 6 This is a structural block diagram of a flow determination device based on an ultrasonic flow meter, provided as an embodiment of this application. The device is applied to an ultrasonic flow meter. For ease of explanation, only the parts relevant to the embodiments of this disclosure are shown. (Refer to...) Figure 6 The device includes: a time acquisition module 601, an information determination module 602, a parameter determination module 603, and a flow rate determination module 604.
[0132] The time acquisition module 601 is used to acquire the flight time information of the ultrasonic signal in the channel of the ultrasonic flow meter; wherein, the flight time information includes the up-flight time and the down-flight time, the up-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the upstream of the channel to the downstream of the channel, and the down-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the downstream of the channel to the upstream of the channel.
[0133] The information determination module 602 is used to determine the flow field information of the ultrasonic flow meter based on the flight time information; wherein the flow field information is used to represent the motion state of the fluid in the flow field of the ultrasonic flow meter;
[0134] The parameter determination module 603 is used to determine the flow adjustment parameters based on the flow field information if the flow field information meets the preset flow value adjustment conditions; wherein the adjustment parameters are used to represent the degree of deviation between the predicted flow value and the actual flow value.
[0135] The flow determination module 604 is used to determine the actual flow value in the flow field based on the adjustment parameters and the predicted flow value.
[0136] Figure 7 This application provides a structural block diagram of a flow determination device based on an ultrasonic flow meter, which is part of an embodiment of the present application. Figure 6 Based on the illustrated embodiments, as Figure 7 As shown, the information determination module 602 includes a velocity determination unit 6021 and a flow field information determination unit 6022.
[0137] The velocity determination unit 6021 is used to determine the fluid velocity in the corresponding sound channel based on the flight time information;
[0138] The flow field information determination unit 6022 is used to determine the flow field information of the fluid in the ultrasonic flow meter based on the fluid velocity.
[0139] In one example, the velocity determination unit 6021 is specifically used for:
[0140] The fluid velocity is determined according to the following formula:
[0141]
[0142] Where v represents the fluid velocity, α is a preset first calculation parameter, and t dn For the downlink flight time, t up This refers to the uplink flight time.
[0143] In one example, the ultrasonic flow meter includes at least four channels, two channels forming a measurement plane, the measurement plane including a first plane and a second plane; the flow field information includes vortex values, which are used to represent the size of vortices generated by the fluid during movement;
[0144] The flow field information determination unit 6022 is specifically used for:
[0145] The vortex value is determined using the following formula:
[0146]
[0147] Where swirl represents the vortex value, D represents the inner diameter of the ultrasonic flow meter, β represents the preset second calculation parameter, v1 and v2 represent the fluid velocities corresponding to the two channels on the first plane, and v3 and v4 represent the fluid velocities corresponding to the two channels on the second plane.
[0148] In one example, the flow field information includes eddy values, which represent the size of the eddies generated by the fluid as it moves.
[0149] The flow field information determination unit 6022 is specifically used for:
[0150] The eddy current value is determined using the following formula:
[0151]
[0152] Here, vortex represents the vortex value.
[0153] In one example, the flow field information includes asymmetry, which represents the degree of asymmetry in the fluid velocity as the fluid moves across two measurement planes;
[0154] The flow field information determination unit 6022 is specifically used for:
[0155] The degree of asymmetry is determined using the following formula:
[0156]
[0157] Where asymmetry represents the degree of asymmetry, and w represents the preset weighting coefficient corresponding to the audio channel.
[0158] In one example, parameter determination module 603 is specifically used for:
[0159] If the vortex value is greater than the preset first vortex threshold, then the flow field information is determined to meet the preset flow rate adjustment condition.
[0160] Based on the vortex value, the flow rate adjustment parameters are determined.
[0161] In one example, parameter determination module 603 is specifically used for:
[0162] If the vortex value is less than a preset second vortex threshold, then the vortex value is compared with the preset vortex threshold.
[0163] If the eddy current value is equal to or greater than the preset eddy current threshold, then the flow field information is determined to meet the preset flow rate adjustment condition.
[0164] Based on the eddy current value, determine the flow rate adjustment parameters.
[0165] In one example, parameter determination module 603 is specifically used for:
[0166] If the vortex value is less than a preset second vortex threshold, then the asymmetry is compared with a preset asymmetry threshold.
[0167] If the asymmetry is equal to or greater than the preset asymmetry threshold, then the flow field information is determined to meet the preset flow rate adjustment condition.
[0168] Based on the asymmetry, the flow rate adjustment parameters are determined.
[0169] In one example, the flow determination module 604 is specifically used for:
[0170] The actual flow rate in the flow field is obtained by multiplying the adjustment parameter and the predicted flow rate value.
[0171] Figure 8 A structural block diagram of an electronic device provided in an embodiment of this application, such as... Figure 8 As shown, the electronic device includes: a memory 81 and a processor 82; the memory 81 is a memory for storing executable instructions of the processor 82.
[0172] The processor 82 is configured to perform the methods provided in the above embodiments.
[0173] The electronic device also includes a receiver 83 and a transmitter 84. The receiver 83 is used to receive instructions and data sent by other devices, and the transmitter 84 is used to send instructions and data to external devices.
[0174] Figure 9 This is a structural block diagram of an electronic device according to an exemplary embodiment. The device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0175] Device 900 may include one or more of the following components: processing component 902, memory 904, power supply component 906, multimedia component 908, audio component 910, input / output (I / O) interface 912, sensor component 914, and communication component 916.
[0176] Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0177] Memory 904 is configured to store various types of data to support the operation of device 900. Examples of this data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 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.
[0178] Power supply component 906 provides power to various components of device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 900.
[0179] Multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0180] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0181] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0182] Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of device 900. For example, sensor assembly 914 may detect the on / off state of device 900, the relative positioning of components such as the display and keypad of device 900, changes in the position of device 900 or a component of device 900, the presence or absence of user contact with device 900, the orientation or acceleration / deceleration of device 900, and temperature changes of device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0183] Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices. Device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0184] In an exemplary embodiment, device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0185] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0186] A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal device, enable the terminal device to perform the aforementioned flow determination method based on an ultrasonic flow meter.
[0187] This application also discloses an ultrasonic flow meter that implements the flow determination method based on the ultrasonic flow meter provided in the embodiments of this application.
[0188] Various embodiments of the systems and technologies described above in this application can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0189] The program code used to implement the methods of this application may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or electronic device.
[0190] In the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0191] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0192] The systems and technologies described herein can be implemented in computing systems that include back-end components (e.g., as data electronic devices), or computing systems that include middleware components (e.g., application electronic devices), or computing systems that include front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and technologies described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0193] Computer systems can include client and electronic devices. Clients and electronic devices are generally geographically separated and typically interact via communication networks. The client-electronic device relationship is created by computer programs running on the respective computers and having a client-electronic device relationship with each other. The electronic device can be a cloud electronic device, also known as a cloud computing electronic device or cloud host, a host product within the cloud computing service system, addressing the shortcomings of traditional physical hosts and VPS services ("Virtual Private Server," or simply "VPS") in terms of management difficulty and weak business scalability. The electronic device can also be an electronic device in a distributed system or an electronic device incorporating blockchain technology. It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this application is achieved, and this is not limited herein.
[0194] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0195] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for determining flow rate based on an ultrasonic flow meter, characterized in that, include: The flight time information of the ultrasonic signal in the channel of the ultrasonic flow meter is obtained; wherein, the flight time information includes the up-flight time and the down-flight time, the up-flight time is used to represent the time for the ultrasonic signal to propagate from the upstream of the channel to the downstream of the channel, and the down-flight time is used to represent the time for the ultrasonic signal to propagate from the downstream of the channel to the upstream of the channel; Based on the time-of-flight information, the flow field information of the ultrasonic flow meter is determined; wherein, the flow field information is used to represent the motion state of the fluid in the flow field of the ultrasonic flow meter, and the flow field information includes vortex value, eddy current value and asymmetry. If the flow field information meets the preset flow rate adjustment conditions, then the flow rate adjustment parameters are determined based on the flow field information; wherein, the adjustment parameters are used to represent the degree of deviation between the predicted flow rate value and the actual flow rate value. Based on the adjustment parameters and the predicted flow rate, the actual flow rate in the flow field is determined; The preset flow rate adjustment conditions and corresponding adjustment parameter determination methods include: If the vortex value is greater than the preset first vortex threshold, the flow rate adjustment parameter is determined based on the vortex value; If the vortex value is less than a preset second vortex threshold, and the eddy current value is equal to or greater than a preset eddy current threshold, then the flow rate adjustment parameter is determined based on the eddy current value; the second vortex threshold is less than the first vortex threshold. If the vortex value is less than the second vortex threshold, the eddy current value is less than the eddy current threshold, and the asymmetry is equal to or greater than a preset asymmetry threshold, then the flow rate adjustment parameter is determined based on the asymmetry.
2. The method according to claim 1, characterized in that, Based on the time-of-flight information, the flow field information of the ultrasonic flowmeter is determined, including: Based on the flight time information, the fluid velocity in the corresponding acoustic channel is determined; Based on the fluid velocity, the flow field information of the fluid in the ultrasonic flow meter is determined.
3. The method according to claim 2, characterized in that, Based on the time-of-flight information, the fluid velocity in the corresponding acoustic channel is determined, including: The fluid velocity is determined according to the following formula: ; Where v represents the fluid velocity, The first preset calculation parameter, For downlink flight time, This refers to the uplink flight time.
4. The method according to claim 2, characterized in that, The ultrasonic flow meter includes at least four channels, with two channels forming a measuring plane, which includes a first plane and a second plane. The vortex value of the fluid in the ultrasonic flow meter is determined based on the fluid velocity, including by determining the vortex value according to the following formula: ; in, This indicates the vortex value, and D represents the inner diameter of the ultrasonic flow meter. This represents the preset second calculation parameter. and This represents the fluid velocity corresponding to the two sound channels on the first plane. and The fluid velocity corresponding to the two channels on the second plane is represented; the vortex value is used to represent the size of the vortex generated by the fluid during motion.
5. The method according to claim 4, characterized in that, Determining the eddy current value of the fluid in the ultrasonic flowmeter based on the fluid velocity includes: The eddy current value is determined using the following formula: ; in, The eddy current value represents the size of the eddy current generated by the fluid during motion.
6. The method according to claim 4, characterized in that, Determining the fluid asymmetry in the ultrasonic flow meter based on the fluid velocity includes: The degree of asymmetry is determined using the following formula: ; Wherein, asymmetry represents the degree of asymmetry, and w represents the preset weighting coefficient corresponding to the audio channel; the degree of asymmetry is used to represent the degree of asymmetry in the fluid velocity when the fluid moves on two measurement planes.
7. The method according to any one of claims 1-6, characterized in that, Based on the adjusted parameters and the predicted flow rate, the actual flow rate in the flow field is determined, including: The actual flow rate in the flow field is obtained by multiplying the adjustment parameter and the predicted flow rate value.
8. A flow determination device based on an ultrasonic flow meter, characterized in that, include: The time acquisition module is used to acquire the flight time information of the ultrasonic signal in the channel of the ultrasonic flow meter; wherein, the flight time information includes the up-flight time and the down-flight time, the up-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the upstream to the downstream of the channel, and the down-flight time is used to represent the time it takes for the ultrasonic signal to propagate from the downstream to the upstream of the channel. An information determination module is used to determine the flow field information of the ultrasonic flow meter based on the time-of-flight information; wherein the flow field information is used to represent the motion state of the fluid in the flow field of the ultrasonic flow meter, and the flow field information includes vortex value, eddy current value and asymmetry. The parameter determination module is used to determine the flow adjustment parameters based on the flow field information if the flow field information meets the preset flow value adjustment conditions; wherein the adjustment parameters are used to represent the degree of deviation between the predicted flow value and the actual flow value. The flow determination module is used to determine the actual flow value in the flow field based on the adjustment parameters and the predicted flow value; The preset flow rate adjustment conditions and corresponding adjustment parameter determination methods include: If the vortex value is greater than the preset first vortex threshold, the flow rate adjustment parameter is determined based on the vortex value; If the vortex value is less than a preset second vortex threshold, and the eddy current value is equal to or greater than a preset eddy current threshold, then the flow rate adjustment parameter is determined based on the eddy current value; the second vortex threshold is less than the first vortex threshold. If the vortex value is less than the second vortex threshold, the eddy current value is less than the eddy current threshold, and the asymmetry is equal to or greater than a preset asymmetry threshold, then the flow rate adjustment parameter is determined based on the asymmetry.
9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes the computer execution instructions stored in the memory to implement the flow determination method based on an ultrasonic flow meter as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the flow determination method based on an ultrasonic flow meter as described in any one of claims 1-7.
11. An ultrasonic flow meter, characterized in that, The ultrasonic flow meter implements the flow determination method based on the ultrasonic flow meter as described in any one of claims 1-7.