CN117367527B - Metering method capable of improving reliability of ultrasonic water meter - Google Patents

Metering method capable of improving reliability of ultrasonic water meter Download PDF

Info

Publication number
CN117367527B
CN117367527B CN202311674414.8A CN202311674414A CN117367527B CN 117367527 B CN117367527 B CN 117367527B CN 202311674414 A CN202311674414 A CN 202311674414A CN 117367527 B CN117367527 B CN 117367527B
Authority
CN
China
Prior art keywords
water meter
value
envelope
ultrasonic water
ultrasonic
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.)
Active
Application number
CN202311674414.8A
Other languages
Chinese (zh)
Other versions
CN117367527A (en
Inventor
杨金合
高鹏飞
许浩然
沈华刚
陈维广
赵磊
范建华
王建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Zhidian New Energy Technology Co.,Ltd.
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Dingxin Communication Power Engineering Co ltd
Qingdao Topscomm Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Dingxin Communication Power Engineering Co ltd, Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Dingxin Communication Power Engineering Co ltd
Priority to CN202311674414.8A priority Critical patent/CN117367527B/en
Publication of CN117367527A publication Critical patent/CN117367527A/en
Application granted granted Critical
Publication of CN117367527B publication Critical patent/CN117367527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/66Measuring 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/667Arrangements of transducers for ultrasonic flowmeters; Circuits for operating ultrasonic flowmeters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P5/00Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft
    • G01P5/24Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft by measuring the direct influence of the streaming fluid on the properties of a detecting acoustical wave
    • G01P5/245Measuring speed of fluids, e.g. of air stream; Measuring speed of bodies relative to fluids, e.g. of ship, of aircraft by measuring the direct influence of the streaming fluid on the properties of a detecting acoustical wave by measuring transit time of acoustical waves
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Algebra (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Databases & Information Systems (AREA)
  • Operations Research (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Electromagnetism (AREA)
  • Fluid Mechanics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Measuring Volume Flow (AREA)

Abstract

本发明涉及超声水表流量测量技术领域,公开了一种能提高超声水表可靠性的计量方法,步骤如下:出厂前确定最佳中心工作频率;采集换能器接收信号,计算包络特征参数并进行最小二乘拟合得拟合公式;正式运行后采集水表数据,计算特征值;若前后两次值相对偏差大于最大允许误差的一半则计算包络特征参数;否则直接算流速。对比包络特征参数拟合值与计算值,进而执行后续流程。计算上下游超声波信号传播时间差,进而计算流速。本发明定义水表特征值,由特征值变化触发检测模式提取包络特征参数并自适应调整中心工作频率,解决换能器老化造成中心工作频率偏移后精度下降问题,无需投入额外人力和经济,提高了水表可靠性,实现水表运行周期内免校准。

The invention relates to the technical field of ultrasonic water meter flow measurement, and discloses a measurement method that can improve the reliability of ultrasonic water meters. The steps are as follows: determine the optimal center operating frequency before leaving the factory; collect the received signal of the transducer, calculate the envelope characteristic parameters and conduct The fitting formula is obtained by least squares fitting; after the formal operation, the water meter data is collected and the characteristic value is calculated; if the relative deviation of the two values before and after is greater than half of the maximum allowable error, the envelope characteristic parameters are calculated; otherwise, the flow rate is calculated directly. Compare the fitting values and calculated values of the envelope characteristic parameters, and then perform the subsequent process. Calculate the difference in propagation time of the upstream and downstream ultrasonic signals, and then calculate the flow rate. The present invention defines the characteristic value of the water meter, and the detection mode is triggered by the change of the characteristic value to extract the envelope characteristic parameters and adaptively adjust the center operating frequency, thereby solving the problem of accuracy decline after the center operating frequency shifts due to the aging of the transducer, without the need to invest additional manpower and economy. It improves the reliability of the water meter and eliminates the need for calibration during the operation cycle of the water meter.

Description

一种能提高超声水表可靠性的计量方法A measurement method that can improve the reliability of ultrasonic water meters

技术领域Technical field

本发明涉及超声水表流量测量技术领域,尤其涉及一种能提高超声水表可靠性的计量方法。The present invention relates to the technical field of ultrasonic water meter flow measurement, and in particular to a measurement method that can improve the reliability of ultrasonic water meters.

背景技术Background technique

超声水表因计量精度高、量程比宽、压损小等优势,在民用、工业等领域得以广泛应用,其通过上下游换能器接收的超声信号的传播时间差计算流速。换能器作为信号收发两用的关键器件,其性能好坏会直接影响超声水表的计量精度。在超声水表的运行过程中,换能器会持续老化,使中心工作频率偏移,进而使超声水表产生计算误差,计量精度降低。对于换能器老化问题,传统方法为通过换能器的设计调整初始的中心工作频率,控制老化造成的频率偏移范围,以减缓频率偏移的影响;通过二次校准保证超声水表运行周期内的计量精度,这无疑都会增加大量的人力投入和生产成本,也无法从根本上解决超声水表对超长寿命换能器的需求。Ultrasonic water meters are widely used in civil, industrial and other fields due to their advantages of high measurement accuracy, wide range ratio, and small pressure loss. They calculate the flow rate through the propagation time difference of the ultrasonic signals received by the upstream and downstream transducers. As a key component for both transmitting and receiving signals, the transducer's performance will directly affect the measurement accuracy of the ultrasonic water meter. During the operation of the ultrasonic water meter, the transducer will continue to age, causing the central operating frequency to shift, causing calculation errors in the ultrasonic water meter and reducing measurement accuracy. For the problem of transducer aging, the traditional method is to adjust the initial central operating frequency through the design of the transducer and control the frequency offset range caused by aging to slow down the impact of frequency offset; ensure that the ultrasonic water meter operates within the operating cycle through secondary calibration. The measurement accuracy will undoubtedly increase a lot of manpower investment and production costs, and it cannot fundamentally solve the need for ultrasonic water meters for ultra-long life transducers.

发明内容Contents of the invention

本发明针对现有技术存在的不足和缺陷,提供了一种能提高超声水表可靠性的计量方法,根据包络特征参数自适应的调整中心工作频率,解决换能器老化时,中心工作频率偏移导致的计量精度下降问题,从而提高了超声水表的长期可靠性。In view of the shortcomings and defects of the existing technology, the present invention provides a measurement method that can improve the reliability of ultrasonic water meters. It adaptively adjusts the center operating frequency according to the envelope characteristic parameters to solve the problem of deviation of the center operating frequency when the transducer ages. The problem of reduced metering accuracy caused by migration is eliminated, thereby improving the long-term reliability of ultrasonic water meters.

本发明的目的可以通过以下技术方案来实现。The object of the present invention can be achieved through the following technical solutions.

一种能提高超声水表可靠性的计量方法,包括以下步骤。A measurement method that can improve the reliability of ultrasonic water meters includes the following steps.

S1,超声水表出厂前,在静水或稳定流速下,通过扫频确定最佳中心工作频率。S1, before the ultrasonic water meter leaves the factory, the optimal central operating frequency is determined by frequency sweep under still water or stable flow rate.

S2,设定最佳中心工作频率后,采集不同温度和流速下的超声水表的上下游换能器接收信号,计算包络特征参数,并对不同温度和流速下的包络特征参数进行最小二乘拟合,得拟合公式。S2, after setting the optimal center operating frequency, collect the received signals from the upstream and downstream transducers of the ultrasonic water meter at different temperatures and flow rates, calculate the envelope characteristic parameters, and perform a minimum quadratic test on the envelope characteristic parameters at different temperatures and flow rates. Multiply the fitting to get the fitting formula.

S3,超声水表正式上电运行后采集超声水表数据,每采集一次数据就计算一次超声水表特征值V。S3, after the ultrasonic water meter is officially powered on and running, the ultrasonic water meter data is collected, and the ultrasonic water meter characteristic value V is calculated every time the data is collected.

V=f(flow,SNR,RDTemp)。V=f(flow, SNR, RD Temp ).

其中flow为累积流量,SNR为接收信号信噪比,RDTemp为本次与前一次采集的计量温度的相对偏差。Among them, flow is the cumulative flow rate, SNR is the signal-to-noise ratio of the received signal, and RD Temp is the relative deviation of the measurement temperature collected this time and the previous time.

S4,比较本次与前一次计算的超声水表特征值。S4, compare the ultrasonic water meter characteristic values calculated this time and the previous time.

若前后两次计算的超声水表特征值的相对偏差大于最大允许误差的二分之一,则由采集到的超声水表数据,计算包络特征参数;否则跳转至步骤S6。If the relative deviation of the two calculated ultrasonic water meter characteristic values is greater than one-half of the maximum allowable error, calculate the envelope characteristic parameters from the collected ultrasonic water meter data; otherwise, jump to step S6.

S5,通过拟合公式,由当前温度和流速,得出包络特征参数的拟合值,与计算值对比。S5, through the fitting formula, the fitting values of the envelope characteristic parameters are obtained from the current temperature and flow rate, and compared with the calculated values.

A,若包络特征参数的拟合值与计算值的相对偏差大于最大允许误差的二分之一且为静水环境,则执行以下步骤。A. If the relative deviation between the fitted value and the calculated value of the envelope characteristic parameters is greater than one-half of the maximum allowable error and the environment is still water, perform the following steps.

A1,通过扫频重新设置最佳中心工作频率。A1, reset the optimal center operating frequency through frequency sweep.

A2,测量并计算一段时间的上下游超声波信号传播时间差。A2, measure and calculate the propagation time difference of upstream and downstream ultrasonic signals for a period of time.

A3,将A2计算结果与S3中采集的上下游超声波信号传播时间差作差。A3, compare the calculation result of A2 with the propagation time difference of the upstream and downstream ultrasonic signals collected in S3.

A4,将作差结果作为下一次上下游超声波信号传播时间差计算的补偿值。A4, use the difference result as the compensation value for the next calculation of the propagation time difference of the upstream and downstream ultrasonic signals.

B,若包络特征参数的拟合值与计算值的相对偏差大于最大允许误差的二分之一且非静水环境,则执行以下步骤。B. If the relative deviation between the fitted value and the calculated value of the envelope characteristic parameters is greater than half of the maximum allowable error and it is not a hydrostatic environment, perform the following steps.

B1,等待非静水环境变为静水环境。B1, wait for the non-still water environment to change to the still water environment.

B2,通过扫频重新设置最佳中心工作频率。B2, reset the optimal center operating frequency through frequency sweep.

B3,测量并计算一段时间的上下游超声波信号传播时间差。B3, measure and calculate the propagation time difference of upstream and downstream ultrasonic signals for a period of time.

B4,将B3计算结果与S3中采集的上下游超声波信号传播时间差作差。B4, compare the calculation result of B3 with the propagation time difference of the upstream and downstream ultrasonic signals collected in S3.

B5,将作差结果作为下一次上下游超声波信号传播时间差计算的补偿值。B5, use the difference result as the compensation value for the next calculation of the propagation time difference of the upstream and downstream ultrasonic signals.

C,否则跳转至步骤S6。C, otherwise jump to step S6.

S6,计算上下游超声波信号传播时间差,进而结合计量温度计算流速。S6: Calculate the propagation time difference of the upstream and downstream ultrasonic signals, and then calculate the flow rate based on the measurement temperature.

优选地,所述步骤S1中通过扫频确定最佳中心工作频率的方法如下。Preferably, the method for determining the optimal center operating frequency through frequency sweep in step S1 is as follows.

S1-1,定义激励频率范围和步长。S1-1, define the excitation frequency range and step size.

S1-2,在超声水表内设置激励频率后,通过采集器采集超声水表的上下游换能器接收信号,直至采集完成所有激励频率下的接收信号。S1-2, after setting the excitation frequency in the ultrasonic water meter, collect the received signals from the upstream and downstream transducers of the ultrasonic water meter through the collector until the received signals at all excitation frequencies are collected.

S1-3,绘制接收信号峰值随激励频率的变化关系图,接收信号峰值的最大值对应的激励频率即为最佳中心工作频率。S1-3, draw the relationship between the peak value of the received signal and the excitation frequency. The excitation frequency corresponding to the maximum value of the peak value of the received signal is the optimal central operating frequency.

优选地,所述步骤S2、S4中包络特征参数包括包络频率freqE和包络相位phi。Preferably, the envelope characteristic parameters in steps S2 and S4 include envelope frequency freq E and envelope phase phi.

包络频率envelope frequency .

包络相位envelope phase .

式中,用希尔伯特变换法或极大值法提取接收信号上包络,对接收信号上包络进行FFT运算,对运算结果取模,取模结果最大值对应的位置索引即为index;fs为采样率;N为信号上包络的数组长度;imag为FFT运算结果的虚部,real为FFT运算结果的实部。In the formula, use the Hilbert transform method or the maximum method to extract the upper envelope of the received signal, perform an FFT operation on the upper envelope of the received signal, and take the modulo of the operation result. The position index corresponding to the maximum value of the modulo result is index. ; f s is the sampling rate; N is the array length of the envelope on the signal; imag is the imaginary part of the FFT operation result, and real is the real part of the FFT operation result.

对不同温度和流速下的包络频率进行最小二乘拟合,得拟合公式freqE=f(v,Temp);对不同温度和流速下的包络相位进行最小二乘拟合,得拟合公式phi=f(v,Temp)。Perform least squares fitting on the envelope frequency at different temperatures and flow rates, and get the fitting formula freq E =f(v, Temp); perform least squares fitting on the envelope phase at different temperatures and flow rates, and get the fitting formula freq E =f(v, Temp); The combined formula phi=f(v, Temp).

式中v为计量流速,Temp为计量温度。In the formula, v is the metering flow rate, and Temp is the metering temperature.

优选地,所述步骤S3中采集的超声水表数据包括计量流速、累积流量、计量温度、上下游换能器接收信号、上下游超声波信号传播时间差。Preferably, the ultrasonic water meter data collected in step S3 includes metering flow rate, accumulated flow rate, metering temperature, upstream and downstream transducer reception signals, and upstream and downstream ultrasonic signal propagation time differences.

优选地,所述步骤S4中超声水表特征值的相对偏差Preferably, the relative deviation of the ultrasonic water meter characteristic value in step S4 .

式中Vi为本次计算的超声水表特征值,Vi-1为上一次计算的超声水表特征值。In the formula, Vi is the characteristic value of the ultrasonic water meter calculated this time, and Vi -1 is the characteristic value of the ultrasonic water meter calculated last time.

本发明的有益技术效果:定义超声水表特征值,由超声水表特征值变化触发检测模式,提取超声信号包络特征参数,并以此自适应的调整中心工作频率,解决了超声水表中换能器老化造成中心工作频率偏移后,计量精度下降问题,且无需投入额外的人力和经济,既提高了超声水表的长期可靠性,又能实现长寿命超声水表运行周期内的免校准。Beneficial technical effects of the present invention: define the characteristic value of the ultrasonic water meter, trigger the detection mode based on changes in the characteristic value of the ultrasonic water meter, extract the characteristic parameters of the ultrasonic signal envelope, and adaptively adjust the center operating frequency based on this, solving the problem of the transducer in the ultrasonic water meter After the central operating frequency shifts due to aging, the measurement accuracy decreases. Without the need to invest additional manpower and economy, it not only improves the long-term reliability of the ultrasonic water meter, but also realizes the need for calibration during the operation cycle of the long-life ultrasonic water meter.

附图说明Description of the drawings

图1为本发明的总体流程图。Figure 1 is an overall flow chart of the present invention.

图2为本发明实施例中上下游接收信号峰值随激励频率的变化关系图。Figure 2 is a diagram showing the relationship between the peak value of the upstream and downstream received signals as a function of the excitation frequency in the embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不限定本发明。In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention and do not limit the present invention.

实施例:如图1所示,一种提高超声水表可靠性的方法,包括以下步骤。Example: As shown in Figure 1, a method for improving the reliability of ultrasonic water meters includes the following steps.

S1,超声水表出厂前,在静水或稳定流速下,通过扫频确定最佳中心工作频率,方法如下。S1, before the ultrasonic water meter leaves the factory, the optimal central operating frequency is determined by frequency sweep under still water or stable flow rate. The method is as follows.

S1-1,定义激励频率范围和步长。S1-1, define the excitation frequency range and step size.

S1-2,在超声水表内设置激励频率后,通过采集器采集超声水表的上下游换能器接收信号,直至采集完成所有激励频率下的接收信号。S1-2, after setting the excitation frequency in the ultrasonic water meter, collect the received signals from the upstream and downstream transducers of the ultrasonic water meter through the collector until the received signals at all excitation frequencies are collected.

S1-3,绘制接收信号峰值随激励频率的变化关系图,接收信号峰值的最大值对应的激励频率即为最佳中心工作频率。S1-3, draw the relationship between the peak value of the received signal and the excitation frequency. The excitation frequency corresponding to the maximum value of the peak value of the received signal is the optimal central operating frequency.

以某型号超声水表为例,在室温静水环境下扫频,结果如图2所示,接收信号峰值的最大值对应的激励频率为2.014 MHz,即最佳中心工作频率为2.014 MHz。Taking a certain model of ultrasonic water meter as an example, the frequency is swept in a room-temperature static water environment. The results are shown in Figure 2. The maximum value of the received signal peak value corresponds to the excitation frequency of 2.014 MHz, that is, the optimal central operating frequency is 2.014 MHz.

S2,设定最佳中心工作频率后,采集不同温度和流速下的某型号超声水表的上下游换能器接收信号,计算包络特征参数,包括包络频率freqE和相位phi,计算前先提取信号上包络,提取包络方法包括希尔伯特变换法和极大值法。S2. After setting the optimal central operating frequency, collect the received signals from the upstream and downstream transducers of a certain type of ultrasonic water meter under different temperatures and flow rates, and calculate the envelope characteristic parameters, including the envelope frequency freq E and phase phi. Before calculation, Extract the upper envelope of the signal. The envelope extraction methods include Hilbert transform method and maximum value method.

包络频率freqE的计算方法为先对信号上包络进行FFT运算,取模后求最大值对应 的位置索引index,由位置索引index计算包络频率freqEThe calculation method of the envelope frequency freq E is to first perform an FFT operation on the envelope of the signal, take the modulus and find the position index index corresponding to the maximum value, and calculate the envelope frequency freq E from the position index index. .

式中,fs为采样率,N为信号上包络的数组长度。对不同温度和流速下的包络频率 进行最小二乘拟合,得拟合公式freqE=f(v,Temp),拟合公式与超声水表的设计有关,使用 本实施例中超声水表型号,得拟合公式In the formula, f s is the sampling rate, and N is the array length of the envelope on the signal. Perform least squares fitting on the envelope frequencies at different temperatures and flow rates, and obtain the fitting formula freq E =f (v, Temp). The fitting formula is related to the design of the ultrasonic water meter. Using the ultrasonic water meter model in this embodiment, Get the fitting formula .

包络相位envelope phase .

式中,imag为激励频率下,FFT运算结果的虚部,real为激励频率下,FFT运算结果 的实部。对不同温度和流速下的包络相位进行最小二乘拟合,得拟合公式phi=f(v,Temp), 拟合公式与超声水表的设计有关,使用本实施例中超声水表型号,得In the formula, imag is the imaginary part of the FFT operation result under the excitation frequency, and real is the real part of the FFT operation result under the excitation frequency. Perform least squares fitting on the envelope phase at different temperatures and flow rates, and get the fitting formula phi=f(v, Temp). The fitting formula is related to the design of the ultrasonic water meter. Using the ultrasonic water meter model in this embodiment, we get .

S3,超声水表正式上电运行后,采集超声水表数据,包括计算流速值、累积流量值、 计算温度值、上下游换能器接收信号、上下游超声波信号传播时间差。每采集一次数据就计 算一次超声水表特征值V=f(flow,SNR,RDTemp),使用本实施例中超声水表型号,计算公式为S3. After the ultrasonic water meter is officially powered on and running, the ultrasonic water meter data is collected, including calculated flow velocity value, cumulative flow value, calculated temperature value, upstream and downstream transducer received signals, and upstream and downstream ultrasonic signal propagation time difference. The ultrasonic water meter characteristic value V=f (flow, SNR, RD Temp ) is calculated every time data is collected. Using the ultrasonic water meter model in this embodiment, the calculation formula is: .

式中,λ为可调参数,与超声水表的设计有关,默认取值0.5,flow为当次测量,计算的累积流量值,flowmax为超声水表设计的最大累积流量值,SNR为根据上下游换能器接收信号计算的信噪比值,RDTemp为前后两次测量,计算温度值的相对偏差。In the formula, λ is an adjustable parameter, which is related to the design of the ultrasonic water meter. The default value is 0.5, flow is the calculated cumulative flow value of the current measurement, flow max is the maximum cumulative flow value of the ultrasonic water meter design, and SNR is based on the upstream and downstream The signal-to-noise ratio value calculated by the transducer receiving signal, RD Temp is the two measurements before and after, and the relative deviation of the temperature value is calculated.

S4,比较本次与前一次计算的超声水表特征值。S4, compare the ultrasonic water meter characteristic values calculated this time and the previous time.

若前后两次计算的超声水表特征值的相对偏差大于最大允许误差的二分之一,则由采集到的超声水表数据,计算包络特征参数;否则,则跳转至步骤S6。If the relative deviation of the two calculated ultrasonic water meter characteristic values is greater than one-half of the maximum allowable error, calculate the envelope characteristic parameters from the collected ultrasonic water meter data; otherwise, jump to step S6.

超声水表特征值的相对偏差Relative deviation of ultrasonic water meter characteristic values .

式中Vi为当次测量中,计算的超声水表特征值,Vi-1为上一次测量中,计算的超声水表特征值。In the formula, V i is the calculated characteristic value of the ultrasonic water meter in the current measurement, and V i-1 is the calculated characteristic value of the ultrasonic water meter in the previous measurement.

S5,通过拟合公式,由当前温度和流速,得出包络特征参数的拟合值,与计算值对比。S5, through the fitting formula, the fitting values of the envelope characteristic parameters are obtained from the current temperature and flow rate, and compared with the calculated values.

A,若包络特征参数的拟合值与计算值的偏差大于最大允许误差的二分之一,且为静水环境,则执行以下步骤。A. If the deviation between the fitted value and the calculated value of the envelope characteristic parameters is greater than one-half of the maximum allowable error, and it is a still water environment, perform the following steps.

A1,通过扫频重新设置最佳中心工作频率。A1, reset the optimal center operating frequency through frequency sweep.

A2,测量并计算一段时间的上下游超声波信号传播时间差。A2, measure and calculate the propagation time difference of upstream and downstream ultrasonic signals for a period of time.

A3,将A2计算结果与S3中采集的上下游超声波信号传播时间差作差。A3, compare the calculation result of A2 with the propagation time difference of the upstream and downstream ultrasonic signals collected in S3.

A4,将作差结果作为下一次上下游超声波信号传播时间差计算的补偿值。A4, use the difference result as the compensation value for the next calculation of the propagation time difference of the upstream and downstream ultrasonic signals.

B,若包络特征参数的拟合值与计算值的偏差大于最大允许误差的二分之一,且非静水环境,则执行以下步骤。B. If the deviation between the fitted value and the calculated value of the envelope characteristic parameters is greater than half of the maximum allowable error, and it is not a still water environment, perform the following steps.

B1,等待非静水环境变为静水环境。B1, wait for the non-still water environment to change to the still water environment.

B2,通过扫频重新设置最佳中心工作频率。B2, reset the optimal center operating frequency through frequency sweep.

B3,测量并计算一段时间的上下游超声波信号传播时间差。B3, measure and calculate the propagation time difference of upstream and downstream ultrasonic signals for a period of time.

B4,将B3计算结果与S3中采集的上下游超声波信号传播时间差作差。B4, compare the calculation result of B3 with the propagation time difference of the upstream and downstream ultrasonic signals collected in S3.

B5,将作差结果作为下一次上下游超声波信号传播时间差计算的补偿值。B5, use the difference result as the compensation value for the next calculation of the propagation time difference of the upstream and downstream ultrasonic signals.

C,否则跳转至步骤S6。C, otherwise jump to step S6.

S6,计算上下游超声波信号传播时间差,进而结合计量温度计算流速。S6: Calculate the propagation time difference of the upstream and downstream ultrasonic signals, and then calculate the flow rate based on the measurement temperature.

上述实施例是对本发明的具体实施方式的说明,而非对本发明的限制,有关技术领域的技术人员在不脱离本发明的精神和范围的情况下,还可做出各种变换和变化以得到相对应的等同的技术方案,因此所有等同的技术方案均应归入本发明的专利保护范围。The above embodiments are illustrative of specific implementations of the present invention, rather than limitations of the present invention. Those skilled in the relevant technical fields can also make various transformations and changes without departing from the spirit and scope of the present invention. Corresponding equivalent technical solutions, therefore all equivalent technical solutions should be included in the patent protection scope of the present invention.

Claims (4)

1. The metering method capable of improving the reliability of the ultrasonic water meter is characterized by comprising the following steps of:
s1, determining an optimal center working frequency through frequency sweep under the condition of still water or stable flow rate before leaving a factory of an ultrasonic water meter;
s2, after setting the optimal center working frequency, collecting signals received by an upstream transducer and a downstream transducer of the ultrasonic water meter at different temperatures and flow rates, calculating envelope characteristic parameters, and performing least square fitting on the envelope characteristic parameters at different temperatures and flow rates to obtain a fitting formula;
s3, collecting ultrasonic water meter data after the ultrasonic water meter is formally powered on and operated, and calculating an ultrasonic water meter characteristic value V once every time the data is collected;
wherein lambda is an adjustable parameter, the default value is 0.5, the flow is the current measurement, the calculated accumulated flow value and the flow are related to the design of the ultrasonic water meter max The maximum accumulated flow value designed for ultrasonic water meter, SNR is the signal-to-noise value (RD) calculated from the signals received by the upstream and downstream transducers Temp For two measurements, the relative deviation of the temperature values is calculated;
S4, comparing the characteristic values of the ultrasonic water meter calculated at this time with the characteristic values of the ultrasonic water meter calculated at the previous time:
if the relative deviation of the ultrasonic water meter characteristic values calculated in the front and the back is greater than one half of the maximum allowable error, calculating envelope characteristic parameters from the acquired ultrasonic water meter data; otherwise, jumping to the step S6;
the envelope characteristic parameters in the steps S2 and S4 comprise an envelope frequency freq E And envelope phase phi;
envelope frequency
Envelope phase
Extracting an upper envelope of a received signal by using a Hilbert transform method or a maximum value method, carrying out FFT operation on the upper envelope of the received signal, taking a module of an operation result, and obtaining a position index corresponding to the maximum value of the module taking result as index; f (f) s Is the sampling rate; n is the array length of the envelope on the signal; imag is the imaginary part of the FFT operation result, real is the real part of the FFT operation result;
least square fitting is carried out on envelope frequencies at different temperatures and flow rates to obtain a fitting formula freq E =f (v, temp); performing least square fitting on the envelope phases at different temperatures and flow rates to obtain a fitting formula phi=f (v, temp);
wherein v is the measured flow rate and Temp is the measured temperature;
s5, obtaining a fitting value of the envelope characteristic parameter from the current temperature and the current flow rate through a fitting formula, and comparing the fitting value with a calculated value:
and A, if the relative deviation between the fitting value and the calculated value of the envelope characteristic parameter is greater than one half of the maximum allowable error and is in a still water environment, executing the following steps:
a1, resetting the optimal center working frequency through frequency sweep;
a2, measuring and calculating the propagation time difference of the upstream and downstream ultrasonic signals for a period of time;
a3, the calculated result of the A2 is differenced with the propagation time difference of the upstream and downstream ultrasonic signals acquired in the step S3;
a4, taking the difference result as a compensation value for calculating the next propagation time difference of the upstream and downstream ultrasonic signals;
and B, if the relative deviation between the fitting value and the calculated value of the envelope characteristic parameter is greater than one half of the maximum allowable error and is not in a still water environment, executing the following steps:
b1, waiting for the non-hydrostatic environment to be changed into the hydrostatic environment;
b2, resetting the optimal center working frequency through frequency sweep;
b3, measuring and calculating the propagation time difference of the upstream and downstream ultrasonic signals for a period of time;
b4, making a difference between the calculated result of the B3 and the propagation time difference of the upstream and downstream ultrasonic signals acquired in the S3;
b5, taking the difference result as a compensation value for calculating the next propagation time difference of the upstream and downstream ultrasonic signals;
c, if not, jumping to the step S6;
s6, calculating the propagation time difference of the upstream ultrasonic signal and the downstream ultrasonic signal, and further calculating the flow velocity by combining the measured temperature.
2. The metering method capable of improving the reliability of an ultrasonic water meter according to claim 1, wherein the method for determining the optimal center working frequency by frequency sweep in the step S1 is as follows:
s1-1, defining an excitation frequency range and a step length;
s1-2, after excitation frequencies are set in an ultrasonic water meter, collecting signals received by an upstream transducer and a downstream transducer of the ultrasonic water meter through a collector until the collection of the signals received under all the excitation frequencies is completed;
s1-3, drawing a change relation graph of the peak value of the received signal along with the excitation frequency, wherein the excitation frequency corresponding to the maximum value of the peak value of the received signal is the optimal center working frequency.
3. The method according to claim 1, wherein the ultrasonic water meter data collected in the step S3 includes a measured flow rate, an accumulated flow rate, a measured temperature, an upstream and downstream transducer receiving signal, and an upstream and downstream ultrasonic signal propagation time difference.
4. The method according to claim 1, wherein the step S4 is characterized in that the relative deviation of the characteristic values of the ultrasonic water meter
V in i For the ultrasonic water meter characteristic value calculated at this time, V i-1 And the characteristic value of the ultrasonic water meter calculated last time is obtained.
CN202311674414.8A 2023-12-08 2023-12-08 Metering method capable of improving reliability of ultrasonic water meter Active CN117367527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311674414.8A CN117367527B (en) 2023-12-08 2023-12-08 Metering method capable of improving reliability of ultrasonic water meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311674414.8A CN117367527B (en) 2023-12-08 2023-12-08 Metering method capable of improving reliability of ultrasonic water meter

Publications (2)

Publication Number Publication Date
CN117367527A CN117367527A (en) 2024-01-09
CN117367527B true CN117367527B (en) 2024-03-19

Family

ID=89402653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311674414.8A Active CN117367527B (en) 2023-12-08 2023-12-08 Metering method capable of improving reliability of ultrasonic water meter

Country Status (1)

Country Link
CN (1) CN117367527B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118670486B (en) * 2024-08-08 2024-11-05 成都市三宇仪表科技发展有限公司 Ultrasonic-based liquid flow measurement and control method, device, equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0235837A2 (en) * 1986-02-04 1987-09-09 Laboratoires D'electronique Et De Physique Appliquee L.E.P. Apparatus for the examination of media by ultrasonic echography
JP2003279396A (en) * 2002-03-25 2003-10-02 Kaijo Corp Ultrasonic flowmeter
CN114184246A (en) * 2022-02-16 2022-03-15 青岛积成电子股份有限公司 Ultrasonic transducer grading method for gas metering
CN114235111A (en) * 2022-02-24 2022-03-25 青岛鼎信通讯股份有限公司 Ultrasonic water meter flow calibration method based on model optimization
CN114397475A (en) * 2022-03-25 2022-04-26 青岛鼎信通讯股份有限公司 Water flow velocity measuring method suitable for ultrasonic water meter
CN115727909A (en) * 2022-11-29 2023-03-03 青岛鼎信通讯科技有限公司 Method for reducing zero drift of ultrasonic water meter
CN115773793A (en) * 2022-11-29 2023-03-10 青岛鼎信通讯科技有限公司 Ultrasonic water meter signal amplitude dynamic adjustment method
CN116086556A (en) * 2022-12-14 2023-05-09 苏州清科思源科技发展有限公司 Self-adaptive ultrasonic flow measurement method and device
CN116754032A (en) * 2023-08-22 2023-09-15 青岛鼎信通讯科技有限公司 Ultrasonic water meter and self-calibration method thereof
CN117109709A (en) * 2023-10-20 2023-11-24 青岛鼎信通讯科技有限公司 Ultrasonic water meter calibration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10830619B2 (en) * 2015-05-12 2020-11-10 Texas Instruments Incorporated Envelope based sample correction for digital flow metrology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0235837A2 (en) * 1986-02-04 1987-09-09 Laboratoires D'electronique Et De Physique Appliquee L.E.P. Apparatus for the examination of media by ultrasonic echography
JP2003279396A (en) * 2002-03-25 2003-10-02 Kaijo Corp Ultrasonic flowmeter
CN114184246A (en) * 2022-02-16 2022-03-15 青岛积成电子股份有限公司 Ultrasonic transducer grading method for gas metering
CN114235111A (en) * 2022-02-24 2022-03-25 青岛鼎信通讯股份有限公司 Ultrasonic water meter flow calibration method based on model optimization
CN114397475A (en) * 2022-03-25 2022-04-26 青岛鼎信通讯股份有限公司 Water flow velocity measuring method suitable for ultrasonic water meter
CN115727909A (en) * 2022-11-29 2023-03-03 青岛鼎信通讯科技有限公司 Method for reducing zero drift of ultrasonic water meter
CN115773793A (en) * 2022-11-29 2023-03-10 青岛鼎信通讯科技有限公司 Ultrasonic water meter signal amplitude dynamic adjustment method
CN116086556A (en) * 2022-12-14 2023-05-09 苏州清科思源科技发展有限公司 Self-adaptive ultrasonic flow measurement method and device
CN116754032A (en) * 2023-08-22 2023-09-15 青岛鼎信通讯科技有限公司 Ultrasonic water meter and self-calibration method thereof
CN117109709A (en) * 2023-10-20 2023-11-24 青岛鼎信通讯科技有限公司 Ultrasonic water meter calibration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mu LB,et al.Echo signal envelope fitting based signal processing methods for ultrasonic gas flow-meter.《ISA TRANSACTIONS》.2019,第89卷第233-244页. *
超声压电换能器工作频率的温度自动补偿系统研究;郑锡斌;鲍敏;;浙江理工大学学报;20151110(11);第835-841页 *

Also Published As

Publication number Publication date
CN117367527A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
CN117367527B (en) Metering method capable of improving reliability of ultrasonic water meter
CN104198537B (en) A kind of soil moisture content and conductivity detection method and detection device
CN109029598B (en) Reference waveform choosing method based on primary and secondary envelope junction in a kind of cross-correlation method Ultrasonic Wave Flowmeter
CN104569480B (en) A kind of liquid impulse force Flow speed measurer and its measurement method
CN109579950B (en) An error-proof wave detection device for a gas ultrasonic flowmeter
CN115824331B (en) A low-power measurement method suitable for ultrasonic water meters
CN109506727A (en) A kind of ultrasonic flow measuring method and low-consumption ultrasonic flow measurement meter
CN102879041A (en) Impeller type wide range electronic water gauge and calibrating method thereof
CN102338776A (en) Method for measuring propagation time of stress wave in wood and nondestructive test system
CN103278220A (en) Method for rapidly verifying intrinsic errors of membrane type gas meter and device thereof
CN114001804A (en) Calibration method and system of ultrasonic metering device based on time difference method
CN106840230A (en) The signal processing apparatus and method of a kind of vibrating string type sensor
CN109490417A (en) A kind of metal material plane anisotropic supersonic detection method
CN111157065A (en) Acoustic time delay measuring method in ultrasonic signal transmission loop of gas ultrasonic flowmeter
CN104677921A (en) Temperature sensor assisted GNSS-R (Global Navigation Satellite System-Reflection) soil moisture detection device
CN110186521B (en) Vortex street moisture over-reading compensation and flow measurement method based on wavelet ridge feature extraction
CN103217385B (en) Method for assessing random error of ellipsometer measurement system
CN202836633U (en) Impeller type wide-range electronic water meter
CN116952318B (en) Flow Measurement Method of Ultrasonic Water Meter
CN103439276B (en) A kind of measuring method of soil water content and sensor
CN100561138C (en) A flow measurement method for a shunt flow measurement device
CN116046116A (en) Ultrasonic water meter flow calibration method based on Lobe algorithm
CN102707288B (en) Method for detecting ultrasonic echo time
TWI400434B (en) Method and system for silt consistency measurement
CN102889915A (en) Flowmeter and calorimeter asynchronous metering and detecting method and flowmeter and calorimeter asynchronous metering and detecting system based on communication

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 266000 12 / F, 4b building, Dingxin science and Technology Industrial Park, No. 858, Huaguan Road, high tech Zone, Qingdao, Shandong

Patentee after: Qingdao Zhidian New Energy Technology Co.,Ltd.

Country or region after: China

Patentee after: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Patentee after: Qingdao Dingxin Communication Power Engineering Co.,Ltd.

Address before: 12th Floor, Building 4B, Dingxin Technology Industrial Park, No. 858 Huaguan Road, High tech Zone, Qingdao City, Shandong Province

Patentee before: QINGDAO TOPSCOMM COMMUNICATION Co.,Ltd.

Country or region before: China

Patentee before: Qingdao Dingxin Communication Power Engineering Co.,Ltd.