CN112577558A - Ultrasonic flow metering system based on cloud edge adding calculation and edge equipment - Google Patents
Ultrasonic flow metering system based on cloud edge adding calculation and edge equipment Download PDFInfo
- Publication number
- CN112577558A CN112577558A CN201910944242.9A CN201910944242A CN112577558A CN 112577558 A CN112577558 A CN 112577558A CN 201910944242 A CN201910944242 A CN 201910944242A CN 112577558 A CN112577558 A CN 112577558A
- Authority
- CN
- China
- Prior art keywords
- flight time
- cloud
- flow
- edge
- compensation coefficient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 67
- 239000007789 gas Substances 0.000 claims description 53
- 230000005284 excitation Effects 0.000 claims description 23
- 238000011144 upstream manufacturing Methods 0.000 claims description 18
- 238000001914 filtration Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 description 33
- 238000004891 communication Methods 0.000 description 27
- 238000000034 method Methods 0.000 description 12
- 238000001514 detection method Methods 0.000 description 10
- 230000006872 improvement Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000005070 sampling Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000003345 natural gas Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000009530 blood pressure measurement Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
- G01F1/667—Arrangements of transducers for ultrasonic flowmeters; Circuits for operating ultrasonic flowmeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
- G01F15/02—Compensating or correcting for variations in pressure, density or temperature
- G01F15/04—Compensating or correcting for variations in pressure, density or temperature of gases to be measured
- G01F15/043—Compensating or correcting for variations in pressure, density or temperature of gases to be measured using electrical means
- G01F15/046—Compensating or correcting for variations in pressure, density or temperature of gases to be measured using electrical means involving digital counting
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01K—MEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
- G01K17/00—Measuring quantity of heat
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- Combustion & Propulsion (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Chemical & Material Sciences (AREA)
- Electromagnetism (AREA)
- Measuring Volume Flow (AREA)
Abstract
The invention relates to an ultrasonic flow metering system based on cloud edge adding calculation and an edge device, wherein the system comprises a tail end acquisition calculating device, the edge device and a cloud end, and the edge device stores data transmitted by the tail end acquisition calculating device; the data includes pressure and temperature in the flow channel, forward flow flight time and reverse flow flight time; calculating to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient according to the pressure and the temperature in the flow channel, and uploading the pressure compensation coefficient and the temperature compensation coefficient to a cloud end; and calculating to obtain a flight time difference according to the forward flow flight time and the reverse flow flight time, and uploading the flight time difference to the cloud. The large calculation amount of the system is completed in the cloud and the edge device, the tail end acquisition and calculation device only needs to complete light weight calculation, the working time of the tail end acquisition and calculation device is reduced, the low power consumption requirement of the tail end acquisition and calculation device is met, and the product performance is improved; meanwhile, the system can utilize the cloud to update the algorithms and the like stored in the terminal acquisition and calculation device and the edge device in the whole network, and is convenient and quick.
Description
Technical Field
The invention belongs to the technical field of ultrasonic computing, and particularly relates to an ultrasonic flow metering system based on cloud edge adding computing and edge equipment.
Background
The gas ultrasonic flow measurement utilizes the signal modulation effect of natural gas flow on ultrasonic pulses to obtain flow information by detecting the change of signals. With the improvement of the performance and the reduction of the price of the ultrasonic transducer, the development of computer technology and hydromechanics and the development and application of ultrasonic metering technology in the field of thermotechnical measurement (natural gas meters, water meters, heat meters and the like) are sufficient.
A conventional ultrasonic flow measurement method uses a time difference method, and for example, a schematic diagram of an ultrasonic flow meter using the time difference method is shown in fig. 1. Two ultrasonic transducers A, B are mounted on the tube wall at an angle θ to the tube wall, where V is the gas flow velocity and c is the sound velocity of the ultrasonic waves under stationary conditions; the ultrasonic pulse is transmitted from A to B in a forward flow mode, the transmission time is T1, the ultrasonic pulse is transmitted from B to A in a reverse flow mode, the transmission time is T2, the difference of the flight time of the reverse flow and the forward flow is delta T, and the simplified functional relation expression is as follows:wherein d is the diameter of the pipe or the height of the pipe. As can be seen from this equation, the ultrasonic flow rate V is related to the time-of-flight difference Δ t.
The existing realization of the ultrasonic flow calculation method is realized in a terminal acquisition and calculation device, the terminal acquisition and calculation device generally comprises a processing module, a communication module and a data acquisition module, the data acquisition module acquires data required by ultrasonic flow calculation according to requirements, the data is processed by the processing module to calculate the ultrasonic flow, and the calculated ultrasonic flow is sent out by the communication module. That is to say, the terminal acquisition computing device needs to not only acquire data, but also calculate data and transmit data, and this method undoubtedly makes the processing pressure of the terminal acquisition computing device extremely large, and has high requirements on the computing speed and capability of the processing module.
Disclosure of Invention
The invention provides an ultrasonic flow metering system based on cloud edge adding calculation and edge equipment, which are used for solving the problem of high processing pressure of a tail end acquisition and calculation device caused by the fact that all ultrasonic flow calculation is realized by the tail end acquisition and calculation device.
In order to solve the technical problems, the technical scheme and the beneficial effects of the invention are as follows:
the invention discloses an ultrasonic flow metering system based on cloud edge adding calculation, which comprises a tail end acquisition calculating device, edge equipment and a cloud end; the tail end collecting and calculating device collects pressure and temperature in the flow channel and transmits the pressure and temperature to the edge equipment; acquiring an excitation signal in a forward flow direction, a receiving signal in a forward flow direction, an excitation signal in a reverse flow direction and a receiving signal in a reverse flow direction, calculating according to the excitation signal in the forward flow direction and the receiving signal in the forward flow direction to obtain forward flow flight time, calculating according to the excitation signal in the reverse flow direction and the receiving signal in the reverse flow direction to obtain reverse flow flight time, and transmitting the forward flow flight time and the reverse flow flight time to the edge equipment; the edge equipment stores the data transmitted by the terminal acquisition and calculation device; calculating to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient according to the pressure and the temperature in the flow channel, and uploading the pressure compensation coefficient and the temperature compensation coefficient to a cloud end; calculating to obtain a flight time difference according to the forward flow flight time and the reverse flow flight time, and uploading the flight time difference to a cloud end; and the cloud end calculates the ultrasonic flow according to the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference as well as the calculation relation among the ultrasonic flow, the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference stored in the cloud end.
The beneficial effects are as follows: the system comprises a tail end acquisition and calculation device, edge equipment and a cloud end, wherein the edge equipment shares the work of the tail end acquisition and calculation device, various data acquired by the tail end acquisition and calculation device are preprocessed, the preprocessing work comprises calculating according to pressure and temperature in a flow channel to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient, calculating according to downstream flight time and upstream flight time to obtain a flight time difference, and sending the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference to the cloud end for the cloud end to perform ultrasonic flow calculation. The large calculation amount of the system is completed in the cloud and the edge device, the tail end acquisition and calculation device only needs to complete light weight calculation, the working time of the tail end acquisition and calculation device is reduced, the low power consumption requirement of the tail end acquisition and calculation device is met, and the product performance is improved; meanwhile, the system can utilize the cloud end to update the whole network of algorithms and the like stored in the terminal acquisition and calculation device and the edge device, is convenient and quick, and can obtain high-precision ultrasonic flow detection at very low calculation cost.
The invention relates to edge equipment for ultrasonic flow calculation, which stores data transmitted by a tail end acquisition and calculation device; the data includes in-channel pressure and temperature, forward flow flight time, and reverse flow flight time; calculating to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient according to the pressure and the temperature in the flow channel, and uploading the pressure compensation coefficient and the temperature compensation coefficient to a cloud end; and calculating to obtain a flight time difference according to the forward flow flight time and the reverse flow flight time, and uploading the flight time difference to the cloud.
The beneficial effects are as follows: the edge equipment shares the work of the tail end acquisition and calculation device, carries out preprocessing work on various data acquired by the tail end acquisition and calculation device, and comprises a pressure compensation coefficient and a temperature compensation coefficient which are calculated according to the pressure and the temperature in the flow channel to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient, a flight time difference is calculated according to the downstream flight time and the upstream flight time, and the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference are sent to the cloud end for the cloud end to carry out ultrasonic flow calculation, so that the low power consumption requirement of the tail end acquisition and calculation device is met, and the product performance is improved; meanwhile, the edge device is used as a middle transmission medium between the cloud end and the tail end acquisition and calculation device, and the cloud end can be used for carrying out whole-network updating on algorithms and the like stored in the tail end acquisition and calculation device and the edge device, so that the method is convenient and quick, and high-precision ultrasonic flow detection can be obtained at low calculation cost.
As further improvement of the edge device and the system, in order to slow down the processing pressure of the terminal acquisition and calculation device and the cloud, the edge device also adopts a filtering algorithm to filter the downstream flight time and the upstream flight time, and calculates the flight time difference according to the filtered downstream flight time and the filtered upstream flight time.
As a further improvement of the edge device and the system, the filter algorithm is a moving average filter algorithm.
As a further improvement of the system, the terminal acquisition and calculation device calculates the downstream flight time by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the downstream direction; and calculating the countercurrent flight time by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the countercurrent direction.
As a further improvement of the system, the edge device also analyzes the components and the content ratio of the gas and sends the gas to the cloud end; the cloud calculates and obtains the heat of the gas to be measured according to the components and the content ratio of the gas, the gas heat value stored in the cloud and the calculated ultrasonic flow; or the edge equipment also analyzes the components and the content ratio of the gas, and calculates the heat of the gas to be measured according to the components and the content ratio of the gas, the heat values of various gases transmitted by local storage or cloud end and the calculated ultrasonic flow; and the cloud end sends the calculated ultrasonic flow and the stored various gas heat values to the edge equipment.
As a further improvement of the edge device, the edge device also acquires the components and the content ratio of the gas and sends the gas to the cloud.
As a further improvement of the edge device, the edge device further analyzes the components and the content ratio of the gas, and calculates the heat of the gas to be measured according to the components and the content ratio of the gas, the heat values of various gases stored locally or transmitted by a cloud, and the calculated ultrasonic flow.
Drawings
FIG. 1 is a schematic diagram of a prior art ultrasonic flow calculation;
FIG. 2 is a block diagram of an ultrasonic flow metering system in an embodiment of the system of the present invention;
fig. 3 is a flow chart of a cross-correlation calculation method in an embodiment of the system of the present invention.
Detailed Description
The embodiment of the system is as follows:
the embodiment provides an ultrasonic flow metering system based on cloud-end and edge computing, and a block diagram of the system is shown in fig. 2. The system comprises a terminal acquisition computing device, edge equipment and a cloud.
Firstly, a terminal acquisition computing device: the ultrasonic pressure measurement device comprises a first processing module, a temperature detection module, a pressure detection module, an ultrasonic metering module and a first communication module.
1. The temperature detection module can be a temperature sensor, is arranged in the runner and is used for detecting a runner temperature value T (which is a value constantly changing along with time); the pressure detection module can be a temperature sensor, is arranged in the runner and is used for detecting a runner temperature value P (which is a value constantly changing along with time); the temperature detection module and the pressure detection module transmit the detected runner temperature value T and the runner temperature value P to the processing module for processing by the processing module. The ultrasonic metering module is used for collecting excitation signals and receiving signals in the downstream direction and excitation signals and receiving signals in the upstream direction, and transmitting the signals to the ultrasonic processing module for the processing module to calculate and process.
2. The first processing module can be an MCU, the downstream flight time T1 is calculated by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the downstream direction, the upstream flight time T2 is calculated by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the upstream direction, and the downstream flight time T1 and the upstream flight time T2 are transmitted to the first communication module. The first processing module does not process the collected P and T any more and directly transmits the P and T to the first communication module. The principle of the cross-correlation algorithm is to calculate the cross-correlation function of two signals, and calculate the flight time corresponding to the peak value to obtain the flight time difference Δ T, and the specific process is described below by taking the calculation of the downstream flight time T1 as an example, and the process is shown in fig. 3, and the calculation principle of the upstream flight time T2 is the same as that of the upstream flight time T2. Specifically, the method comprises the following steps:
1) the first processing module sends an excitation signal in the downstream direction, and records a sending time t1, wherein the excitation signal sample data: x (X0, X1.., Xn-1);
2) the transducer generates an ultrasonic signal under the action of an excitation signal and transmits the ultrasonic signal to the opposite transducer, the first processing module starts receiving and sampling, and the signals received by the transducer are captured, and data Y is sampled (Y0, Y1., Ym-1);
3) the sampling frequency is determined, the sampling time of each signal is also determined, and R is calculated by a cross-correlation algorithmxy(k) Y (n-k), determining the peak value of the signal, and thus determining the sampling instant tw of the peak signal; wherein M is n + M, k is 0,1,2xy(k) Is 2M-1; if the length of the sequence X is not equal to that of the sequence Y, the short sequence is complemented with 0;
4) calculating the forward flow flight time: T1-tw-T1.
3. The first communication module is responsible for data interaction with the edge device, and can send the channel temperature value T, the channel temperature value P, the forward flow flight time T1 and the reverse flow flight time T2 to the edge device, and can receive data/commands transmitted from the edge device.
In the terminal acquisition computing device, the cross-correlation algorithm is adopted to carry out localized processing on data, the data which is coupled with equipment tightly and the algorithm are localized and processed in a light weight mode, the data processing efficiency is improved, invalid data or error data are prevented from being generated, the error data and the invalid data are uploaded to a cloud end, and the influence on the measurement of other equipment due to the generation of garbage data is avoided; the light weight treatment reduces the working time of the equipment and reduces the power consumption of the product.
Secondly, edge equipment: the system comprises a second processing module, a second communication module, a third communication module, a local data storage module and a heat value detection/analysis module.
1. The second communication module is a local communication module and realizes data interaction with the terminal acquisition computing device. The communication module receives the flow channel temperature value T, the flow channel temperature value P, the downstream flight time T1 and the upstream flight time T2 transmitted by the terminal acquisition and calculation device, and transmits the flow channel temperature value T, the flow channel temperature value P, the downstream flight time T1 and the upstream flight time T2 to the second processing module for processing by the second processing module.
2. The second processing module can be an MCU and is responsible for processing and preprocessing the received data from the terminal acquisition and calculation device and transmitting the processed and preprocessed data to the third communication module. The specific processing pretreatment process comprises the following steps:
1) and (3) performing filtering processing on the downstream flight time T1 and the upstream flight time T2 by adopting a sliding average filtering algorithm to obtain filtered downstream flight time T1 and upstream flight time T2 so as to reduce the calculation work of a large amount of data of the terminal acquisition and calculation device and obtain an effective sampling value, and thus determining a flight time difference delta T to be T1 '-T2' according to the filtered downstream flight time T1 'and the filtered upstream flight time T2', and transmitting the obtained flight time difference delta T to a third communication module. The sliding average filtering algorithm is to calculate the average value of the received primary sampling value and the past N-1 values together, so as to realize the adoption of a ring-shaped queue structure.
2) Adopting a temperature-pressure compensation algorithm to calculate and obtain a corresponding temperature compensation coefficient k according to the runner temperature value T and the runner temperature value PTAnd a pressure compensation coefficient kPTo provide more accurate data for the cloud, the obtained temperature compensation coefficient kTAnd a pressure compensation coefficient kPAnd transmitting to the third communication module. The temperature and pressure compensation algorithm is a universal algorithm, and working condition and standard condition data under various temperature and pressure conditions can be processed through a prestored algorithm model to obtain a temperature compensation coefficient k corresponding to a flow channel temperature value T and a flow channel temperature value PTAnd a pressure compensation coefficient kP。
3. The heat value analysis/detection module is integrated in the edge device and can analyze the components of the gas to obtain the contained gas and the gas proportion.
4. The local data storage module stores data uploaded by the terminal acquisition computing device into a buffer area N, when the data are stored, the data stored for the longest time are replaced, and the N data are kept to be the latest data all the time in the buffer area.
5. The third communication module is a remote communication module and realizes data interaction with the cloud. The communication module compensates the temperature by a coefficient kTPressure compensation coefficient kPThe flying time difference delta t, the components of the gas and the content ratio of the components are sent to a cloud end for the cloud end to calculate and process so as to obtain the ultrasonic flow F. The edge device meets the low power consumption requirement of the terminal acquisition computing device, the terminal acquisition computing device can be reduced to directly communicate with the cloud platform, frequent data communication is reduced, and in addition, the metering precision of each terminal device is ensured when the cloud platform cannot be connected.
Thirdly, cloud side: the system comprises a third processing module, a fourth communication module and a network storage module.
1. And the fourth communication module realizes data interaction with the edge device. The communication module receives a temperature compensation coefficient k transmitted by the edge deviceTPressure compensation coefficient kPAnd the time difference delta t of flight is transmitted to the third processing module for analysis and calculation by the third processing module. Moreover, the cloud can also download the updated algorithm to the edge device through the communication module, so that the whole network update is realized, and the method is convenient and fast.
2. The third processing module can be MCU, and stores ultrasonic flow F and pressure compensation coefficient kPTemperature compensation coefficient kTAnd the calculated relationship between time of flight difference F, F ═ F (Δ t, k)T,kp) And further can compensate the coefficient k according to the temperatureTPressure compensation coefficient kPThe ultrasonic flow F can be obtained through calculation by the flight time difference delta t and the calculation relation F. Specifically, the ultrasonic flow, the pressure compensation coefficient and the temperature compensation system can be greatly adjusted according to the prestored algorithm modelCounting, time-of-flight difference and historical data of ultrasonic flow to obtain a calculated relationship f. The heat value of each gas is stored in the memory, and the heat value of the gas can be calculated according to the heat value, the calculated ultrasonic flow (which can be converted into the corresponding gas volume) and the content ratio of the gas sent by the edge equipment. And a foundation is laid for the subsequent heat charging.
3. And the network storage module stores the data from the edge device.
The operation of the system will be described in detail below.
Firstly, a terminal acquisition and calculation device acquires pressure P and temperature T in a flow channel, an excitation signal and a receiving signal in a downstream direction, and an excitation signal and a receiving signal in a reverse direction, a downstream flight time T1 is calculated by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the downstream direction, a reverse flight time T2 is calculated by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the reverse direction, and a flow channel temperature value T, a flow channel temperature value P, a downstream flight time T1 and a reverse flight time T2 are transmitted to edge equipment through a first communication module.
Then, the edge device receives the flow channel temperature value T, the flow channel temperature value P, the downstream flight time T1 and the upstream flight time T2 transmitted by the terminal acquisition and calculation device through the second communication module, and stores the data, if the storage space is insufficient, only the oldest data need to be covered; then, filtering the forward flow flight time T1 and the reverse flow flight time T2 by adopting a sliding average filtering algorithm to obtain filtered forward flow flight time T1 'and filtered reverse flow flight time T2', and calculating to obtain a flight time difference delta T which is T1 '-T2'; then, a temperature and pressure compensation algorithm is adopted to convert the flow channel temperature value T and the flow channel temperature value P into corresponding temperature compensation coefficients kTAnd a pressure compensation coefficient kP(ii) a The time difference of flight delta t and the temperature compensation coefficient kTAnd a pressure compensation coefficient kPAnd transmitting the data to the cloud terminal through the third communication module.
Finally, the cloud end receives the time difference of flight delta t and the temperature compensation coefficient k through the fourth communication moduleTAnd a pressure compensation coefficient kPAnd calculating to obtain the corresponding ultrasonic flow F ═ F (delta t, k) according to the calculation relation F stored in the cloudT,kp)。
In addition, the cloud end can update the algorithms stored in the edge equipment and the tail end acquisition and calculation device through the fourth communication module, so that the whole network updating is realized, convenience and rapidness are realized, and a large amount of manpower and material resources are saved.
It should be noted that the first processing module, the second processing module, and the third processing module in this embodiment may be single-core processors, multi-core processors, or even multiple processors. In addition, in this implementation, a moving average filtering algorithm is used to filter the forward flow flight time and the reverse flow flight time, and other existing filtering algorithms in the prior art may also be used to filter the forward flow flight time and the reverse flow flight time.
In the embodiment, the components and the content ratio of the gas are analyzed through the edge device, the components and the content ratio of the gas are sent to the cloud end, and the cloud end calculates the heat of the gas to be measured according to the components and the content ratio of the gas, the gas heat value stored in the cloud end and the calculated ultrasonic flow. As another embodiment, the specific gas heat calculation is also performed in the edge device, that is, the heat value table of each gas is stored in the edge device or the heat indication table stored in the cloud is updated to the edge device, and meanwhile, the cloud further needs to send the calculated first ultrasonic flow to the edge device, so that after the edge device analyzes the components and content ratio of the gas, the heat value of each gas transmitted by the local storage or the cloud, and the calculated ultrasonic flow are calculated according to the components and content ratio of the gas, and the heat of the gas to be measured.
Edge device embodiment:
this embodiment provides an edge device for ultrasonic flow calculation, which is the edge device in the above system embodiment, and the description of the edge device in the above embodiment is sufficiently clear, and is not described here again.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.
Claims (10)
1. An ultrasonic flow metering system based on cloud edge adding calculation is characterized by comprising a tail end acquisition calculation device, edge equipment and a cloud end;
the tail end collecting and calculating device collects pressure and temperature in the flow channel and transmits the pressure and temperature to the edge equipment; acquiring an excitation signal in a forward flow direction, a receiving signal in a forward flow direction, an excitation signal in a reverse flow direction and a receiving signal in a reverse flow direction, calculating according to the excitation signal in the forward flow direction and the receiving signal in the forward flow direction to obtain forward flow flight time, calculating according to the excitation signal in the reverse flow direction and the receiving signal in the reverse flow direction to obtain reverse flow flight time, and transmitting the forward flow flight time and the reverse flow flight time to the edge equipment;
the edge equipment stores the data transmitted by the terminal acquisition and calculation device; calculating to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient according to the pressure and the temperature in the flow channel, and uploading the pressure compensation coefficient and the temperature compensation coefficient to a cloud end; calculating to obtain a flight time difference according to the forward flow flight time and the reverse flow flight time, and uploading the flight time difference to a cloud end;
and the cloud end calculates the ultrasonic flow according to the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference as well as the calculation relation among the ultrasonic flow, the pressure compensation coefficient, the temperature compensation coefficient and the flight time difference stored in the cloud end.
2. The cloud-edge-computing-based ultrasonic flow metering system of claim 1, wherein the edge device further filters a downstream flight time and an upstream flight time using a filtering algorithm, and calculates a flight time difference according to the filtered downstream flight time and the filtered upstream flight time.
3. The cloud-edge-computing-based ultrasonic flow metering system of claim 2, wherein the filtering algorithm is a moving average filtering algorithm.
4. The cloud-edge-computing-based ultrasonic flow metering system of claim 1, wherein the terminal acquisition computing device calculates a downstream flight time by using a cross-correlation algorithm according to an excitation signal and a reception signal in a downstream direction; and calculating the countercurrent flight time by adopting a cross-correlation algorithm according to the excitation signal and the receiving signal in the countercurrent direction.
5. The cloud-edge-computing-based ultrasonic flow metering system of claim 1, wherein the edge device further analyzes the composition and content ratio of the gas and sends the gas to the cloud; the cloud calculates and obtains the heat of the gas to be measured according to the components and the content ratio of the gas, the gas heat value stored in the cloud and the calculated ultrasonic flow;
or the edge equipment also analyzes the components and the content ratio of the gas, and calculates the heat of the gas to be measured according to the components and the content ratio of the gas, the heat values of various gases transmitted by local storage or cloud end and the calculated ultrasonic flow; and the cloud end sends the calculated ultrasonic flow and the stored various gas heat values to the edge equipment.
6. The edge device for ultrasonic flow calculation is characterized in that the edge device stores data transmitted by a tail end acquisition and calculation device; the data includes in-channel pressure and temperature, forward flow flight time, and reverse flow flight time; calculating to obtain a corresponding pressure compensation coefficient and a corresponding temperature compensation coefficient according to the pressure and the temperature in the flow channel, and uploading the pressure compensation coefficient and the temperature compensation coefficient to a cloud end; and calculating to obtain a flight time difference according to the forward flow flight time and the reverse flow flight time, and uploading the flight time difference to the cloud.
7. The edge device for ultrasonic flow computation of claim 6, wherein the edge device further employs a filtering algorithm to filter the forward flow time-of-flight and the reverse flow time-of-flight, and the time-of-flight difference is computed from the filtered forward flow time-of-flight and the filtered reverse flow time-of-flight.
8. The edge device for ultrasonic flow computation of claim 7, wherein the filtering algorithm is a moving average filtering algorithm.
9. The edge device for ultrasonic flow rate calculation according to claim 6, wherein the edge device further obtains the composition and content ratio of the gas, and sends the gas to the cloud.
10. The edge device for ultrasonic flow calculation according to claim 6, wherein the edge device further analyzes the composition and content ratio of the gas, and calculates the heat of the gas to be measured according to the composition and content ratio of the gas, the heat values of various gases stored locally or transmitted from a cloud, and the calculated ultrasonic flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910944242.9A CN112577558B (en) | 2019-09-30 | 2019-09-30 | Ultrasonic flow metering system and edge equipment based on cloud edge computing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910944242.9A CN112577558B (en) | 2019-09-30 | 2019-09-30 | Ultrasonic flow metering system and edge equipment based on cloud edge computing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112577558A true CN112577558A (en) | 2021-03-30 |
CN112577558B CN112577558B (en) | 2024-05-10 |
Family
ID=75116666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910944242.9A Active CN112577558B (en) | 2019-09-30 | 2019-09-30 | Ultrasonic flow metering system and edge equipment based on cloud edge computing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112577558B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113834974A (en) * | 2021-09-01 | 2021-12-24 | 维沃移动通信有限公司 | Temperature compensation method, temperature compensation device, electronic equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19605652A1 (en) * | 1996-02-15 | 1997-08-21 | Siemens Ag | Ultrasound flowmeter calibration method |
CN105333910A (en) * | 2015-10-23 | 2016-02-17 | 浪潮(北京)电子信息产业有限公司 | Flow data acquiring method and terminal based on cloud computing |
US20170038224A1 (en) * | 2015-03-24 | 2017-02-09 | Symmons Industries, Inc. | Method and system for managing water usage |
CN106932040A (en) * | 2017-03-14 | 2017-07-07 | 浙江正泰仪器仪表有限责任公司 | A kind of metering method of gas flow |
US20170234709A1 (en) * | 2016-02-15 | 2017-08-17 | Olea Networks, Inc. | Retrofit Device And Method Of Retrofitting A Flow Meter |
US20170289824A1 (en) * | 2016-04-05 | 2017-10-05 | Wellaware Holdings, Inc. | Monitoring and controlling industrial equipment |
CN206974494U (en) * | 2017-07-25 | 2018-02-06 | 深圳中燃哈工大燃气技术研究院有限公司 | Civilian ultrasonic wave gas meter with accurate compensation temperature and pressure functional |
CN107727176A (en) * | 2017-10-19 | 2018-02-23 | 西安安森智能仪器股份有限公司 | A kind of ultrasonic gas flowmeter and its flow-measuring method |
CN207197605U (en) * | 2017-09-19 | 2018-04-06 | 山东省博兴县嘉冠自动化数控工程有限公司 | A kind of full intelligent telemetering water meter of integration |
CN108205442A (en) * | 2016-12-16 | 2018-06-26 | 埃森哲环球解决方案有限公司 | Edge calculations platform |
-
2019
- 2019-09-30 CN CN201910944242.9A patent/CN112577558B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19605652A1 (en) * | 1996-02-15 | 1997-08-21 | Siemens Ag | Ultrasound flowmeter calibration method |
US20170038224A1 (en) * | 2015-03-24 | 2017-02-09 | Symmons Industries, Inc. | Method and system for managing water usage |
CN105333910A (en) * | 2015-10-23 | 2016-02-17 | 浪潮(北京)电子信息产业有限公司 | Flow data acquiring method and terminal based on cloud computing |
US20170234709A1 (en) * | 2016-02-15 | 2017-08-17 | Olea Networks, Inc. | Retrofit Device And Method Of Retrofitting A Flow Meter |
US20170289824A1 (en) * | 2016-04-05 | 2017-10-05 | Wellaware Holdings, Inc. | Monitoring and controlling industrial equipment |
CN108205442A (en) * | 2016-12-16 | 2018-06-26 | 埃森哲环球解决方案有限公司 | Edge calculations platform |
CN106932040A (en) * | 2017-03-14 | 2017-07-07 | 浙江正泰仪器仪表有限责任公司 | A kind of metering method of gas flow |
CN206974494U (en) * | 2017-07-25 | 2018-02-06 | 深圳中燃哈工大燃气技术研究院有限公司 | Civilian ultrasonic wave gas meter with accurate compensation temperature and pressure functional |
CN207197605U (en) * | 2017-09-19 | 2018-04-06 | 山东省博兴县嘉冠自动化数控工程有限公司 | A kind of full intelligent telemetering water meter of integration |
CN107727176A (en) * | 2017-10-19 | 2018-02-23 | 西安安森智能仪器股份有限公司 | A kind of ultrasonic gas flowmeter and its flow-measuring method |
Non-Patent Citations (3)
Title |
---|
佘世刚: "基于MAX35104的超声波气体流量", 《计算机测量与控制》 * |
佘世刚: "基于MAX35104的超声波气体流量", 《计算机测量与控制》, vol. 26, no. 10, 23 October 2018 (2018-10-23) * |
刘田红: "超声波热能表及远程抄表系统研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, no. 01, 15 January 2016 (2016-01-15) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113834974A (en) * | 2021-09-01 | 2021-12-24 | 维沃移动通信有限公司 | Temperature compensation method, temperature compensation device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112577558B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1246672C (en) | Method and device for intelligent diagnosis and location of leakage fault of fluid delivery pipeline | |
CN102360088B (en) | Air data computer and realization method thereof | |
CN104198674B (en) | Pipeline gas gas hydrate synthesis on-line early warning device and method | |
CN206930321U (en) | Non-full pipe ultrasonic flowmeter | |
CN110646042A (en) | Cross-correlation interpolation method for calculating flight time difference of low-power-consumption ultrasonic flowmeter | |
CN114001804B (en) | Calibration method and system of ultrasonic metering device based on time difference method | |
CN104792364A (en) | Dynamic bridge parameter extracting system and dynamic bridge parameter extracting method based on laser Doppler | |
CN105738469A (en) | Liquid suspended matter concentration measuring method and device based on ultrasonic power spectrum estimation | |
CN112577558B (en) | Ultrasonic flow metering system and edge equipment based on cloud edge computing | |
CN202281840U (en) | Air data computer | |
CN105606170A (en) | Ultrasonic gas metering device with self-learning template and metering method of device | |
CN103364074A (en) | Infrasound monitoring system | |
CN101576618A (en) | Acoustic positioning measurement method based on wavelet transformation and measurement system thereof | |
CN109540257B (en) | Virtual ground hydrology monitoring station | |
CN108303357A (en) | Suspended load measuring system and signal processing method based on multifrequency underwater sound signal | |
CN112414483A (en) | Self-adaptive method for acquiring metering signals of ultrasonic water meter | |
CN219368806U (en) | Multichannel open channel flow velocity measurement device based on ultrasonic time difference method | |
CN107576964A (en) | The echo time measuring method of linear frequency variation signal | |
CN110440896B (en) | Ultrasonic measurement system and measurement method | |
CN101936953B (en) | Pipeline delay-based system and method for measuring concentrations of components of fruit juice sugar | |
CN116046116A (en) | Ultrasonic water meter flow calibration method based on Lobe algorithm | |
CN215066606U (en) | Open-air hydrodynamic force-topography-synchronous measurement integrated device of quality of water | |
CN106970357A (en) | High-precision real-time ultrasound ripple location tracking method and system | |
CN102707288A (en) | Method for detecting ultrasonic echo time | |
CN118010116B (en) | Anti-interference ultrasonic flow metering method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |