Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7184596B2 - Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter - Google Patents
[go: Go Back, main page]

JP7184596B2 - Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter - Google Patents

Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter Download PDF

Info

Publication number
JP7184596B2
JP7184596B2 JP2018203539A JP2018203539A JP7184596B2 JP 7184596 B2 JP7184596 B2 JP 7184596B2 JP 2018203539 A JP2018203539 A JP 2018203539A JP 2018203539 A JP2018203539 A JP 2018203539A JP 7184596 B2 JP7184596 B2 JP 7184596B2
Authority
JP
Japan
Prior art keywords
received waveform
amplitude
value
height information
peak height
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
JP2018203539A
Other languages
Japanese (ja)
Other versions
JP2020071079A (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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2018203539A priority Critical patent/JP7184596B2/en
Publication of JP2020071079A publication Critical patent/JP2020071079A/en
Application granted granted Critical
Publication of JP7184596B2 publication Critical patent/JP7184596B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)

Description

本発明は、超音波を用いて流体の流量を計測する超音波流量計およびその超音波流量計におけるピーク高さ情報取得方法に関する。 The present invention relates to an ultrasonic flowmeter that measures the flow rate of a fluid using ultrasonic waves and a peak height information acquisition method for the ultrasonic flowmeter.

従来より、流体の流量を計測する流量計として、超音波を用いて流体の流量を計測する超音波流量計が用いられている。 2. Description of the Related Art Conventionally, an ultrasonic flowmeter that measures the flow rate of a fluid using ultrasonic waves has been used as a flowmeter that measures the flow rate of the fluid.

この超音波流量計では、図12にその模式図を示すように、測定対象の流体が流れる配管1の上流側の外周面に第1の超音波送受信器(上流側トランスデューサ)2を配置し、下流側の外周面に第2の超音波送受信器(下流側トランスデューサ)3を配置し、第1の超音波送受信器2と第2の超音波送受信器3との間で流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた両方向における超音波信号の伝播時間差に基づいて流体の流速vを測定し、この測定した流速vと配管1の断面積Sとから流体の流量Qを求めるようにする(例えば、特許文献1参照)。 In this ultrasonic flowmeter, as shown in the schematic diagram of FIG. 12, a first ultrasonic transmitter/receiver (upstream transducer) 2 is arranged on the outer peripheral surface of the upstream side of the pipe 1 through which the fluid to be measured flows, A second ultrasonic transmitter/receiver (downstream transducer) 3 is arranged on the outer circumferential surface on the downstream side, and ultrasonic waves are transmitted between the first ultrasonic transmitter/receiver 2 and the second ultrasonic transmitter/receiver 3 via fluid. A measurement process for transmitting and receiving signals in both directions is performed multiple times, and the flow velocity v of the fluid is measured based on the propagation time difference of the ultrasonic signals in both directions obtained for each measurement process. The flow rate Q of the fluid is obtained from the cross-sectional area S (see Patent Document 1, for example).

図12において、θは配管1の軸と超音波信号の伝播方向とのなす角である。第1の超音波送受信器2から発射されて第2の超音波送受信器3で受信される超音波信号(上流側から下流側へと伝播する超音波信号(順方向に伝播する超音波信号))の伝播時間t1(順方向伝播時間)は、下記(1)式のように表される。
t1=L/(c+vcosθ) ・・・・(1)
ここで、Lは超音波信号の伝播距離〔m〕、cは流体中の音速〔m/s〕である。超音波は流体の流れに乗って伝播するため、流れが速いほど短い時間で伝播する。
In FIG. 12, θ is the angle between the axis of the pipe 1 and the propagation direction of the ultrasonic signal. Ultrasonic signals emitted from the first ultrasonic transmitter/receiver 2 and received by the second ultrasonic transmitter/receiver 3 (ultrasonic signals propagating from the upstream side to the downstream side (forward propagating ultrasonic signals) ) is represented by the following equation (1).
t1=L/(c+vcos θ) (1)
Here, L is the propagation distance [m] of the ultrasonic signal, and c is the speed of sound in the fluid [m/s]. Since ultrasonic waves propagate along with the flow of fluid, the faster the flow, the shorter the propagation time.

同様に、第2の超音波送受信器3から発射されて第1の超音波送受信器2で受信される超音波信号(下流側から上流側へと伝播する超音波信号(逆方向に伝播する超音波信号))の伝播時間t2(逆方向伝播時間)は、下記(2)式のように表される。
t2=L/(c-vcosθ) ・・・・(2)
超音波は流体の流れに逆らって伝播するため、流れが速いほど長い時間をかけて伝播する。
Similarly, ultrasonic signals emitted from the second ultrasonic transmitter/receiver 3 and received by the first ultrasonic transmitter/receiver 2 (ultrasonic signals propagating from the downstream side to the upstream side (ultrasonic signals propagating in the opposite direction) The propagation time t2 (reverse propagation time) of the sound wave signal)) is represented by the following equation (2).
t2=L/(c-vcosθ) (2)
Ultrasonic waves propagate against the flow of fluid, so the faster the flow, the longer it takes to propagate.

上記(1)式および(2)式より、
Δt=t2-t1=L/(c-vcosθ)-L/(c+vcosθ)=2vLcosθ/(c2-v2cos2θ)≒2vLcosθ/c2 ・・・・(3)
したがって、
v≒(c2/2Lcosθ)・(t2-t1)=(c2/2Lcosθ)・Δt ・・・・(4)
となる。
この流速vと配管1の断面積Sとから流体の流量Qを求めることができる。
From the above formulas (1) and (2),
Δt=t2−t1=L/(c−vcos θ)−L/(c+vcos θ)=2 vL cos θ/(c 2 −v 2 cos 2 θ)≈2 vL cos θ/c 2 (3)
therefore,
v≈(c 2 /2Lcos θ)·(t2−t1)=(c 2 /2Lcos θ)·Δt (4)
becomes.
The flow rate Q of the fluid can be obtained from the flow velocity v and the cross-sectional area S of the pipe 1 .

図13(a)に、第2の超音波送受信器3から出力される受信信号(順方向の受信信号)の波形図(模式図)を示し、図26(b)に、第1の超音波送受信器2から出力される受信信号(逆方向の受信信号)の波形図(模式図)を示す。 FIG. 13(a) shows a waveform diagram (schematic diagram) of the reception signal (forward reception signal) output from the second ultrasonic transmitter/receiver 3, and FIG. 26(b) shows the first ultrasonic wave. FIG. 2 shows a waveform diagram (schematic diagram) of a reception signal (reverse reception signal) output from the transmitter/receiver 2. FIG.

図12において、第1の超音波送受信器2と第2の超音波送受信器3は、交互に一定時間パルス駆動される。これにより、第1の超音波送受信器2から発射されたパルス状の超音波信号(順方向の送信信号)が流体を介して第2の超音波送受信器3で受信され、第2の超音波送受信器3から発射されたパルス状の超音波信号(逆方向の送信信号)が流体を介して第1の超音波送受信器2で受信される。 In FIG. 12, the first ultrasonic transmitter/receiver 2 and the second ultrasonic transmitter/receiver 3 are alternately pulse-driven for a certain period of time. As a result, the pulsed ultrasonic signal (forward transmission signal) emitted from the first ultrasonic transmitter/receiver 2 is received by the second ultrasonic transmitter/receiver 3 via the fluid, and the second ultrasonic wave A pulsed ultrasonic signal (reverse transmission signal) emitted from the transmitter/receiver 3 is received by the first ultrasonic transmitter/receiver 2 via the fluid.

図14(a)に、超音波送受信器2,3から出力される送信信号を示し、図14(b)に、超音波送受信器2,3から出力される受信信号を示す。なお、図14(a)において、横軸は縮小して示している。また、図14(a)において、tuは送信信号の周期を示している。 14(a) shows transmission signals output from the ultrasonic transmitter/receivers 2 and 3, and FIG. 14(b) shows reception signals output from the ultrasonic transmitter/receivers 2 and 3. FIG. In addition, in Fig.14 (a), the horizontal axis is reduced and shown. Also, in FIG. 14(a), tu indicates the period of the transmission signal.

パルス状の超音波信号を発射した後、最初のパルス状の超音波信号の受信タイミングtrでは、受信信号がまだ小さいため、ノイズなどの存在により現実には計測できない。そこで、受信タイミングtrから少し時間を経て、受信信号がある程度大きくなったところで、予め定められた閾値電圧(基準電圧)Vsを超えた後の次のゼロクロスするタイミングを目的とするゼロクロス時刻Zとし、このゼロクロス時刻Zを使って超音波信号の送信開始タイミングtsから受信タイミングtrまでの伝播時間t(=t1 or t2)を算出するということがよく行われている。 After the pulse-like ultrasonic signal is emitted, the received signal is still small at the reception timing tr of the first pulse-like ultrasonic signal. Therefore, after a short time from the reception timing tr, when the received signal becomes large to some extent, the timing of the next zero crossing after exceeding a predetermined threshold voltage (reference voltage) Vs is set as the target zero crossing time Z, This zero-cross time Z is often used to calculate the propagation time t (=t1 or t2) from the transmission start timing ts of the ultrasonic signal to the reception timing tr.

ゼロクロス時刻Zは、受信タイミングtrに対して所定の時間dly遅れて存在すると考えられる。したがって、ゼロクロス時刻Zから所定の時間dlyを差し引くことにより、伝播時間tが求められる。
t=Z-dly ・・・・(5)
The zero-crossing time Z is considered to exist after a predetermined time dly with respect to the reception timing tr. Therefore, by subtracting the predetermined time dly from the zero-crossing time Z, the propagation time t is obtained.
t=Z-dly (5)

なお、所定の時間dlyは、本来あるべき伝播時間(伝播経路長を音速で割って算出)と目的とするゼロクロス時刻Zとの差として、あらかじめ計算しておく。 The predetermined time dly is calculated in advance as the difference between the ideal propagation time (calculated by dividing the propagation path length by the speed of sound) and the target zero-crossing time Z. FIG.

また、図14に示した例では、受信信号の信号値の変化を示す波形(受信波形)における3番目の波S3の振幅値P3を目標ピークとし、この目標ピークと受信波形における2番目の波S2の振幅値(目標前ピーク)P2との間に伝播時間計測用の閾値電圧Vsを定めている。 Further, in the example shown in FIG. 14, the amplitude value P3 of the third wave S3 in the waveform (received waveform) indicating the change in the signal value of the received signal is set as the target peak, and the target peak and the second wave in the received waveform A threshold voltage Vs for propagation time measurement is defined between the amplitude value (pre-target peak) P2 of S2.

特許第5228462号公報Japanese Patent No. 5228462

しかしながら、このような超音波流量計では、強度に個体差がある目標ピークに対して、適切なレベルの閾値電圧Vsを設定することに手間がかかるという問題があった。 However, such an ultrasonic flowmeter has a problem that it takes time and effort to set the threshold voltage Vs at an appropriate level for target peaks having individual differences in intensity.

すなわち、実際の受信波形は、流体や素子の個体差等の影響を受け、信号強度に偏りが生じるために、モデル波形と完全には一致せず、それぞれ異なる。そのため、受信波形を実測しないと、目標ピークの位置が分からず、それに応じた正しい閾値電圧Vsを設定することができない。手作業で、目標ピークを把握し、閾値電圧Vsを設定するのは煩雑で手間がかかる。 That is, the actual received waveform is affected by the individual differences of fluids and elements, etc., and the signal intensity is biased. Therefore, unless the received waveform is actually measured, the position of the target peak cannot be determined, and the correct threshold voltage Vs cannot be set accordingly. Manually grasping the target peak and setting the threshold voltage Vs is complicated and time-consuming.

本発明は、このような課題を解決するためになされたもので、その目的とするところは、効率的に目標ピークを把握することが可能な超音波流量計および超音波流量計におけるピーク高さ情報取得方法を提供することにある。 The present invention has been made to solve such problems, and the object thereof is to provide an ultrasonic flowmeter capable of efficiently grasping a target peak and a peak height in the ultrasonic flowmeter. An object of the present invention is to provide an information acquisition method.

このような目的を達成するために本発明は、測定対象の流体が流れる配管(1)と、この配管の上流側に配置された第1の超音波送受信器(2)と、配管の下流側に配置された第2の超音波送受信器(3)とを備え、第1の超音波送受信器と第2の超音波送受信器との間で流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた両方向における超音波信号の伝播時間差に基づいて、流体の流量を計測するように構成された超音波流量計(100)において、超音波信号の受信波形を計測するように構成された受信波形計測部(41)と、受信波形の振幅方向に部分的に、その受信波形における所定番目の波(S)の予測される振幅値(P)を含む所定幅の探索範囲(W)を設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測部による受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波の振幅値の実値をピーク高さ情報として取得するように構成されたピーク高さ情報取得部(42)を備えることを特徴とする。 In order to achieve such an object, the present invention comprises a pipe (1) through which a fluid to be measured flows, a first ultrasonic transmitter/receiver (2) arranged upstream of this pipe, and a pipe downstream of the pipe. a second ultrasonic transmitter/receiver (3) positioned in the In an ultrasonic flow meter (100) configured to perform a plurality of steps and measure the flow rate of a fluid based on the propagation time difference of the ultrasonic signals in both directions obtained for each of these measurement steps, an ultrasonic signal and a predicted amplitude value (P) of a predetermined wave (S) in the received waveform, partially in the amplitude direction of the received waveform. Set a search range (W) of a predetermined width including A peak height information acquisition unit configured to obtain the timing at which the received waveform first crosses the threshold value, and to obtain the actual value of the amplitude value of the predetermined wave as peak height information based on the obtained timing. (42) is provided.

また、本発明は、測定対象の流体が流れる配管(1)と、この配管の上流側に配置された第1の超音波送受信器(2)と、配管の下流側に配置された第2の超音波送受信器(3)とを備え、第1の超音波送受信器と第2の超音波送受信器との間で流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた両方向における超音波信号の伝播時間差に基づいて、流体の流量を計測するように構成された超音波流量計(100)におけるピーク高さ情報取得方法であって、超音波信号の受信波形を計測する受信波形計測ステップ(ステップS103)と、受信波形の振幅方向に部分的に、その受信波形における所定番目の波(S)の予測される振幅値(P)を含む所定幅の探索範囲(W)を設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測ステップによる受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波の振幅値の実値をピーク高さ情報として取得するピーク高さ情報取得ステップ(S101~S108)を備えることを特徴とする。 Further, the present invention comprises a pipe (1) through which a fluid to be measured flows, a first ultrasonic transmitter/receiver (2) arranged upstream of the pipe, and a second ultrasonic transmitter/receiver (2) arranged downstream of the pipe. an ultrasonic transmitter/receiver (3), performing a plurality of measurement steps of transmitting/receiving ultrasonic signals in both directions through a fluid between the first ultrasonic transmitter/receiver and the second ultrasonic transmitter/receiver; A method for obtaining peak height information in an ultrasonic flowmeter (100) configured to measure the flow rate of a fluid based on the propagation time difference of ultrasonic signals in both directions obtained for each of these measurement steps, comprising: A received waveform measurement step (step S103) of measuring a received waveform of a sound wave signal, and a predicted amplitude value (P) of a predetermined wave (S) in the received waveform partially in the amplitude direction of the received waveform. A search range (W) having a predetermined width is set, and the received waveform is repeatedly measured by the received waveform measurement step while changing the threshold value (Vth) within this search range. A peak height information acquisition step (S101 to S108) for obtaining the timing at which the waveform first crosses the threshold value and obtaining the actual value of the amplitude value of the predetermined wave as peak height information based on the obtained timing. It is characterized by

本発明では、受信波形の振幅方向に部分的に、その受信波形における所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波の振幅値の実値をピーク高さ情報として取得する。 In the present invention, a search range of a predetermined width including the predicted amplitude value of a predetermined wave in the received waveform is partially set in the amplitude direction of the received waveform, and the received waveform is detected while changing the threshold value within this search range. is repeatedly executed, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the actual value of the amplitude value of the predetermined wave is peaked. Acquired as height information.

すなわち、本発明では、受信波形の振幅方向の全範囲ではなく、受信波形の振幅方向に部分的に設定される所定幅の探索範囲内だけで、閾値を変えながら受信波形の計測を繰り返し実行させ、受信波形が計測される毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波の振幅値の実値をピーク高さ情報として取得する。 That is, in the present invention, the measurement of the received waveform is repeatedly executed while changing the threshold value only within a search range of a predetermined width partially set in the amplitude direction of the received waveform, instead of the entire range in the amplitude direction of the received waveform. Each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the actual value of the amplitude value of the predetermined wave is obtained as peak height information.

これにより、受信波形の振幅方向の全範囲を探索範囲とするような方法と比べ、閾値を変える範囲(閾値を設定する範囲)を狭くし、閾値を変える回数(設定する閾値の数)を少なくして、また受信波形の計測回数を少なくして、効率的に目標ピークを把握することが可能となる。 As a result, the range of changing the threshold (the range of setting the threshold) is narrowed and the number of times of changing the threshold (the number of thresholds to be set) is reduced compared to the method that uses the entire range of the amplitude direction of the received waveform as the search range. By doing so, it is possible to efficiently grasp the target peak by reducing the number of times the received waveform is measured.

本発明では、例えば、受信波形の振幅方向に部分的に、その受信波形におけるピーク高さ情報の取得の対象となる波のうち、最小の振幅の波(S1)の予測される振幅値(P1)を含む所定幅の探索範囲(W1)を設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測部による受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて最小の振幅の波(S1)の振幅値(P1)の実値をピーク高さ情報として取得し、この取得したピーク高さ情報から予測される次の波(S2)の振幅値(P2)を含む所定幅の探索範囲(W2)を受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測部による受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて次の波(S2)の振幅値(P1)の実値をピーク高さ情報として取得するようにする。 In the present invention, for example, the predicted amplitude value (P1 ) is set, and the received waveform is repeatedly measured by the received waveform measuring unit while changing the threshold value (Vth) within this search range. , the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the actual value of the amplitude value (P1) of the minimum amplitude wave (S1) is obtained as peak height information, and this obtaining A search range (W2) having a predetermined width including the amplitude value (P2) of the next wave (S2) predicted from the peak height information obtained is partially set in the amplitude direction of the received waveform. The received waveform is repeatedly measured by the received waveform measurement unit while changing (Vth), and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing. to obtain the actual value of the amplitude value (P1) of the next wave (S2) as peak height information.

これにより、同様にして、以降の波(S)についても振幅値(P)の実値をピーク高さ情報として取得するようにして、目標とする波(S3)の振幅値(目標ピーク)を把握し、この把握した目標ピークと目標とする波の前の波(S2)の振幅値(目標前ピーク)との間に、最適な伝播時間計測用の閾値電圧(Vs)を設定するようにすることが可能となる。 As a result, the actual value of the amplitude value (P) of the subsequent wave (S) is similarly obtained as peak height information, and the amplitude value (target peak) of the target wave (S3) is obtained. and set the optimum threshold voltage (Vs) for propagation time measurement between the grasped target peak and the amplitude value (pre-target peak) of the wave (S2) before the target wave. It becomes possible to

また、本発明では、例えば、受信波形計測部によって計測された受信波形の振幅の代表値(例えば、Pmax)を求め、この振幅の代表値から予測される受信波形における所定番目の波(S2)の振幅値(P2)を含む所定幅の探索範囲(W2)を受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測部による受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波(S2)の振幅値(P2)の実値をピーク高さ情報として取得し、この取得したピーク高さ情報から予測される次の波(S3)の振幅値(P3)を含む所定幅の探索範囲(W3)を受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値(Vth)を変えながら受信波形計測部による受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて次の波(S3)の振幅値(P3)の実値をピーク高さ情報として取得するようにする。 Further, in the present invention, for example, a representative value (for example, Pmax) of the amplitude of the received waveform measured by the received waveform measuring unit is obtained, and a predetermined wave (S2) in the received waveform predicted from the representative value of the amplitude is obtained. A search range (W2) having a predetermined width including the amplitude value (P2) of is partially set in the amplitude direction of the received waveform, and the received waveform is measured by the received waveform measurement unit while changing the threshold value (Vth) within this search range. is repeatedly executed, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the amplitude value (P2) of the predetermined wave (S2) is calculated. An actual value is acquired as peak height information, and a search range (W3) having a predetermined width including the amplitude value (P3) of the next wave (S3) predicted from the acquired peak height information is searched in the amplitude direction of the received waveform. , the received waveform is repeatedly measured by the received waveform measurement unit while changing the threshold (Vth) within the search range, and each time the received waveform is measured, the received waveform is set to the threshold and the first and the actual value of the amplitude value (P3) of the next wave (S3) is obtained as peak height information based on the obtained timing.

これにより、例えば、所定番目の波(S2)を目標とする波の前の波、次の波(S3)を目標とする波とするようにして、目標とする波(S3)の振幅値(目標ピーク)を把握し、目標ピークと目標とする波の前の波(S2)の振幅値(目標前ピーク)との間に、最適な伝播時間計測用の閾値電圧(Vs)を設定するようにすることが可能となる。 As a result, for example, the predetermined wave (S2) is set as the wave before the target wave, and the next wave (S3) is set as the target wave, and the amplitude value ( target peak), and set the optimum threshold voltage (Vs) for propagation time measurement between the target peak and the amplitude value (pre-target peak) of the wave before the target wave (S2). It becomes possible to

なお、上記説明では、一例として、発明の構成要素に対応する図面上の構成要素を、括弧を付した参照符号によって示している。 In the above description, as an example, constituent elements on the drawings corresponding to constituent elements of the invention are indicated by parenthesized reference numerals.

以上説明したように、本発明によれば、受信波形の振幅方向に部分的に、その受信波形における所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波の振幅値の実値をピーク高さ情報として取得するようにしたので、受信波形の振幅方向の全範囲を探索範囲とするような方法と比べ、閾値を設定する範囲を狭くし、設定する閾値の数を少なくして、また受信波形の計測回数を少なくして、効率的に目標ピークを把握することが可能となる。 As described above, according to the present invention, a search range having a predetermined width including the predicted amplitude value of a predetermined wave in the received waveform is partially set in the amplitude direction of the received waveform, and this search range The measurement of the received waveform is repeated while changing the threshold within the received waveform, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold is obtained, and based on the obtained timing, the predetermined wave is detected. Since the actual value of the amplitude value of is obtained as peak height information, the range for setting the threshold is narrower than the method that uses the entire range in the amplitude direction of the received waveform as the search range. , and the number of times the received waveform is measured, it is possible to efficiently grasp the target peak.

図1は、本発明の第1例の原理を説明する図である。FIG. 1 is a diagram explaining the principle of the first example of the present invention. 図2は、本発明の第2例の原理を説明する図である。FIG. 2 is a diagram explaining the principle of the second example of the present invention. 図3は、本発明の実施の形態に係る超音波流量計の要部を示す図である。FIG. 3 is a diagram showing a main part of an ultrasonic flowmeter according to an embodiment of the invention. 図4は、この超音波流量計における流量演算装置のハードウェア構成の概略を示す図である。FIG. 4 is a diagram showing an outline of the hardware configuration of the flow rate computing device in this ultrasonic flowmeter. 図5は、この超音波流量計における流量演算装置のCPUが実行する処理動作の第1例(実施の形態1)を説明するためのフローチャートである。FIG. 5 is a flow chart for explaining a first example (embodiment 1) of the processing operation executed by the CPU of the flow computing device in this ultrasonic flowmeter. 図6は、図5に続くフローチャートである。FIG. 6 is a flowchart following FIG. 図7は、この超音波流量計における流量演算装置のCPUが実行する処理動作の第2例(実施の形態2)を説明するためのフローチャートである。FIG. 7 is a flow chart for explaining a second example (embodiment 2) of the processing operation executed by the CPU of the flow rate computing device in this ultrasonic flowmeter. 図8は、図7に続くフローチャートである。FIG. 8 is a flowchart following FIG. 図9は、この超音波流量計における流量演算装置の要部の機能ブロック図である。FIG. 9 is a functional block diagram of the main part of the flow rate computing device in this ultrasonic flowmeter. 図10は、実施の形態1の超音波流量計の流量演算装置におけるピーク高さ情報取得部の要部の機能ブロック図である。FIG. 10 is a functional block diagram of a main part of a peak height information acquisition unit in the flow rate computing device of the ultrasonic flowmeter of Embodiment 1. FIG. 図11は、実施の形態2の超音波流量計の流量演算装置におけるピーク高さ情報取得部の要部の機能ブロック図である。FIG. 11 is a functional block diagram of a main part of a peak height information acquiring unit in the flow rate computing device of the ultrasonic flowmeter of Embodiment 2. FIG. 図12は、超音波流量計の概略を示す図である。FIG. 12 is a schematic diagram of an ultrasonic flowmeter. 図13は、超音波送受信器から出力される順方向および逆方向の受信信号の波形図(模式図)である。FIG. 13 is a waveform diagram (schematic diagram) of forward and backward received signals output from the ultrasonic transmitter/receiver. 図14は、超音波送受信器から出力される送信信号および受信信号を示す図である。FIG. 14 is a diagram showing transmission signals and reception signals output from an ultrasonic transmitter/receiver. 図15は、本発明の前段となる技術を説明する図である。FIG. 15 is a diagram for explaining the technology that is the first stage of the present invention.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。先ず、実施の形態の説明に入る前に、図15を用いて本発明の前段となる技術について説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, before starting the description of the embodiment, the technique that is the first stage of the present invention will be described using FIG. 15 .

〔本発明の前段となる技術〕
超音波流量計では、図12を用いて説明したように、第1の超音波送受信器2と第2の超音波送受信器3との間で流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた両方向における超音波信号の伝播時間差に基づいて流量Qを求める。この場合、複数回実施される計測工程毎に、順方向/逆方向ともに、図15に示すような受信波形が計測される。
[Technology that precedes the present invention]
In the ultrasonic flowmeter, as described with reference to FIG. 12, measurement is performed by transmitting/receiving ultrasonic signals in both directions through fluid between the first ultrasonic transmitter/receiver 2 and the second ultrasonic transmitter/receiver 3. The process is performed a plurality of times, and the flow rate Q is obtained based on the propagation time difference of the ultrasonic signals in both directions obtained for each of these measurement processes. In this case, the received waveforms as shown in FIG. 15 are measured in both the forward direction and the reverse direction for each measurement process that is performed multiple times.

本発明の前段となる技術では、この超音波流量計において、受信波形の振幅方向の全範囲(図15に示した例では、プラス側の振幅方向の全範囲)を探索範囲とし、受信波形の計測を閾値Vthを変えながら繰り返し、受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて受信波形における波Sの振幅値Pを求めるようにする。 In the technology that is the first stage of the present invention, in this ultrasonic flowmeter, the entire range in the amplitude direction of the received waveform (in the example shown in FIG. 15, the entire range in the amplitude direction on the positive side) is set as the search range. The measurement is repeated while changing the threshold value Vth to obtain the timing at which the received waveform first crosses the threshold value Vth, and based on the obtained timing, the amplitude value P of the wave S in the received waveform is obtained.

この場合、受信波形が計測される毎に閾値Vthを少しずつ大きくして行き、受信波形が閾値Vthと最初に交叉するタイミングを求め、このタイミングを過ぎた後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出し、ゼロクロス時刻Zが大きくシフトした点の閾値Vthを受信波形における波Sの振幅値Pとして取得する。 In this case, the threshold Vth is gradually increased each time the received waveform is measured, the timing at which the received waveform first crosses the threshold Vth is obtained, and the next zero-crossing timing after this timing is the zero-crossing time. Z is detected, and the threshold value Vth at the point where the zero-crossing time Z is greatly shifted is obtained as the amplitude value P of the wave S in the received waveform.

図15に示した例では、最初にゼロクロス時刻Zが大きくシフトした点の閾値Vthが最初の波S1の振幅値P1として取得され、次にゼロクロス時刻Zが大きくシフトした点の閾値Vthが2番目の波S2の振幅値P2として取得される。同様にして、次にゼロクロス時刻Zが大きくシフトした点の閾値Vthが3番目の波S3の振幅値P3として取得され、次にゼロクロス時刻Zが大きくシフトした点の閾値Vthが4番目の波S4の振幅値P4として取得される。 In the example shown in FIG. 15, the threshold Vth at the point where the zero-crossing time Z is first significantly shifted is acquired as the amplitude value P1 of the first wave S1, and then the threshold Vth at the point where the zero-crossing time Z is significantly shifted is the second. is acquired as the amplitude value P2 of the wave S2 of . Similarly, the threshold Vth at the point where the next zero-crossing time Z is greatly shifted is obtained as the amplitude value P3 of the third wave S3, and the threshold Vth at the next point where the zero-crossing time Z is greatly shifted is obtained as the fourth wave S4. is obtained as the amplitude value P4 of .

このようにして、受信波形における波S1~S4の振幅値P1~P4を取得した後、この取得した波S1~S4の振幅値P1~P4から伝播時間計測用の閾値電圧Vsを定める。この例では、受信波形における3番目の波S3の振幅値P3を目標ピークとし、受信波形における2番目の波S2の振幅値P3を目標前ピークとし、目標ピークP3と目標前ピークP2との間に最適な伝播時間計測用の閾値電圧Vsを定める。 After obtaining the amplitude values P1 to P4 of the waves S1 to S4 in the received waveform in this manner, the threshold voltage Vs for measuring the propagation time is determined from the obtained amplitude values P1 to P4 of the waves S1 to S4. In this example, the amplitude value P3 of the third wave S3 in the received waveform is the target peak, the amplitude value P3 of the second wave S2 in the received waveform is the pre-target peak, and the interval between the target peak P3 and the pre-target peak P2 is determines the optimum threshold voltage Vs for propagation time measurement.

〔本発明の前段となる技術の問題〕
しかしながら、この技術では、受信波形の振幅方向の全範囲を探索範囲としているので、閾値Vthを設定する範囲が広く、設定する閾値Vthの数が多くなり、また受信波形の計測回数も多く必要とする。このため、目標ピークを把握するまでに時間がかかり、電力の消費量も増大する。
[Problems of the technology that precedes the present invention]
However, in this technique, since the entire range in the amplitude direction of the received waveform is used as the search range, the range in which the threshold Vth is set is wide, the number of thresholds Vth to be set is large, and the number of times the received waveform is measured is large. do. For this reason, it takes time to grasp the target peak, and power consumption also increases.

〔本発明の原理〕
次に、本発明の原理について説明する。本発明では、受信波形の振幅方向に部分的に、その受信波形における所定番目の波Sの予測される振幅値を含む所定幅の探索範囲Wを設定し、この探索範囲W内で閾値Vthを変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波Sの振幅値Pの実値をピーク高さ情報として取得するようにする。
[Principle of the present invention]
Next, the principle of the present invention will be explained. In the present invention, a search range W having a predetermined width including the predicted amplitude value of a predetermined wave S in the received waveform is partially set in the amplitude direction of the received waveform, and the threshold value Vth is set within this search range W. The measurement of the received waveform is repeated while changing the received waveform, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value Vth is obtained, and based on the obtained timing, the amplitude of the predetermined wave S is obtained. The actual value of the value P is acquired as peak height information.

すなわち、本発明では、受信波形の振幅方向の全範囲ではなく、受信波形の振幅方向に部分的に設定される探索範囲W内だけで閾値Vthを変えながら、受信波形の計測を繰り返し実行させ、受信波形が計測される毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて所定番目の波Sの振幅値Pの実値をピーク高さ情報として取得する。 That is, in the present invention, the measurement of the received waveform is repeatedly executed while changing the threshold value Vth only within the search range W partially set in the amplitude direction of the received waveform, not the entire range in the amplitude direction of the received waveform, Each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value Vth is obtained, and based on the obtained timing, the actual value of the amplitude value P of the predetermined wave S is obtained as peak height information. .

これにより、受信波形の振幅方向の全範囲を探索範囲とするような方法と比べ、閾値Vthを変える範囲(閾値を設定する範囲)を狭くし、閾値Vthを変える回数(設定する閾値Vthの数)を少なくして、また受信波形の計測回数を少なくして、効率的に目標ピークを把握することができるようになり、簡単かつ短時間に、しかも低消費電力で、伝播時間計測用の閾値電圧Vsを設定することが可能となる。また、受信信号の実際の形状を確認し、超音波流量計の個別の特性差に合わせた閾値電圧Vsを設定することで、正しい伝播時間の計測を行うことが可能となり、正確な流量が得られる超音波流量計を実現することができるようになる。 As a result, the range of changing the threshold Vth (the range of setting the threshold) is narrowed, and the number of times the threshold Vth is changed (the number of thresholds Vth to be set) is narrowed compared to the method of setting the entire range in the amplitude direction of the received waveform as the search range. ) and the number of times the received waveform is measured, it becomes possible to efficiently grasp the target peak. It becomes possible to set the voltage Vs. In addition, by checking the actual shape of the received signal and setting the threshold voltage Vs according to the individual characteristic difference of the ultrasonic flowmeter, it is possible to measure the correct propagation time and obtain an accurate flow rate. It becomes possible to realize an ultrasonic flowmeter that can be

〔本発明の第1例〕
本発明では、例えば第1例として、図1に示すように、受信波形の振幅方向に部分的に、その受信波形における最初の波(1番目の波:ピーク高さ情報の取得の対象となる波のうち、最小の振幅の波)S1の予測される振幅値P1含む所定幅の探索範囲W1を設定し、この探索範囲W1内で閾値Vthを変えながら受信波形の計測を繰り返し実行させ、受信波形が計測される毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて最初の波S1の振幅値P1の実値をピーク高さ情報として取得する。
[First example of the present invention]
In the present invention, for example, as a first example, as shown in FIG. 1, the first wave in the received waveform (first wave: peak height information is obtained) is partially in the amplitude direction of the received waveform. A search range W1 having a predetermined width including the predicted amplitude value P1 of the wave S1 having the smallest amplitude among the waves S1 is set, and measurement of the received waveform is repeatedly executed while changing the threshold value Vth within the search range W1. Each time the waveform is measured, the timing at which the received waveform first crosses the threshold value Vth is obtained, and based on the obtained timing, the actual value of the amplitude value P1 of the first wave S1 is obtained as peak height information.

そして、この取得したピーク高さ情報(振幅値P1の実値)から予測される次の波(2番目の波)S2の振幅値P2を含む所定幅の探索範囲W2を受信波形の振幅方向に部分的に設定し、この探索範囲W2内で閾値Vthを変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて次の波S2の振幅値P2の実値をピーク高さ情報として取得する。 Then, a search range W2 having a predetermined width including the amplitude value P2 of the next wave (second wave) S2 predicted from the acquired peak height information (actual value of the amplitude value P1) is set in the amplitude direction of the received waveform. By partially setting the threshold Vth within the search range W2, measurement of the received waveform is repeatedly executed while changing the threshold Vth, and the timing at which the received waveform first crosses the threshold Vth is obtained every time the measurement of the received waveform is performed. , the actual value of the amplitude value P2 of the next wave S2 is acquired as the peak height information based on the obtained timing.

これにより、同様にして、以降の波S(S3,S4)についても振幅値P(P3,P4)の実値をピーク高さ情報として取得するようにして、3番目の波S3の振幅値P3の実値を目標とする波の振幅値(目標ピーク)、2番目の波S2の振幅値P2の実値を目標とする波の前の波の振幅値(目標前ピーク)とし、目標ピーク(振幅値P3の実値)と目標前ピーク(振幅値P2の実値)との間に、最適な伝播時間計測用の閾値電圧Vsを設定することが可能となる。 As a result, the actual values of the amplitude values P (P3, P4) of the subsequent waves S (S3, S4) are similarly acquired as peak height information, and the amplitude value P3 of the third wave S3 The actual value is the amplitude value of the target wave (target peak), the actual value of the amplitude value P2 of the second wave S2 is the amplitude value of the wave before the target wave (pre-target peak), and the target peak ( It is possible to set the optimum threshold voltage Vs for propagation time measurement between the actual value of the amplitude value P3) and the pre-target peak (the actual value of the amplitude value P2).

〔本発明の第2例〕
本発明では、例えば第2例として、図2に示すように、受信波形の振幅の代表値として最大振幅Pmax(この例では、P4=Pmax)を求め、この最大振幅Pmaxから予測される受信波形における2番目の波S2の振幅値P2を含む所定幅の探索範囲W2を受信波形の振幅方向に部分的に設定し、この探索範囲W2内で閾値Vthを変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて2番目の波S2の振幅値P2の実値をピーク高さ情報として取得する。
[Second example of the present invention]
In the present invention, as a second example, for example, as shown in FIG. 2, the maximum amplitude Pmax (in this example, P4=Pmax) is obtained as a representative value of the amplitude of the received waveform, and the received waveform predicted from this maximum amplitude Pmax A search range W2 having a predetermined width that includes the amplitude value P2 of the second wave S2 in is partially set in the amplitude direction of the received waveform, and measurement of the received waveform is repeatedly executed while changing the threshold value Vth within this search range W2. , each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value Vth is obtained, and based on the obtained timing, the actual value of the amplitude value P2 of the second wave S2 is obtained as peak height information. to get as

そして、この取得したピーク高さ情報(振幅値P2の実値)から予測される次の波(3番目の波)S3の振幅値P3を含む所定幅の探索範囲W3を受信波形の振幅方向に部分的に設定し、この探索範囲W3内で閾値Vthを変えながら受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が閾値Vthと最初に交叉するタイミングを求め、この求めたタイミングに基づいて3番目の波S3の振幅値P3の実値をピーク高さ情報として取得する。 Then, a search range W3 having a predetermined width including the amplitude value P3 of the next wave (third wave) S3 predicted from the acquired peak height information (actual value of the amplitude value P2) is set in the amplitude direction of the received waveform. By partially setting the threshold Vth within the search range W3, measurement of the received waveform is repeatedly executed while changing the threshold Vth, and the timing at which the received waveform first crosses the threshold Vth is obtained each time the measurement of the received waveform is performed. , the actual value of the amplitude value P3 of the third wave S3 is obtained as the peak height information based on the obtained timing.

これにより、3番目の波S3の振幅値P3の実値を目標とする波の振幅値(目標ピーク)、2番目の波S2の振幅値P2の実値を目標とする波の前の波の振幅値(目標前ピーク)とするようにして、目標ピーク(振幅値P3の実値)と目標前ピーク(振幅値P2の実値)との間に、最適な伝播時間計測用の閾値電圧Vsを設定することが可能となる。 As a result, the amplitude value (target peak) of the target wave is the actual value of the amplitude value P3 of the third wave S3, and the actual value of the amplitude value P2 of the second wave S2 is the peak value of the wave before the target wave. Using the amplitude value (pre-target peak), between the target peak (actual value of the amplitude value P3) and the pre-target peak (actual value of the amplitude value P2), the optimal threshold voltage Vs can be set.

本発明では、受信波形が閾値Vthと最初に交叉するタイミングに基づいて、所定番目の波Sの振幅値Pの実値をピーク高さ情報として取得する。この場合、受信波形が閾値Vthと最初に交叉するタイミングを求め、このタイミングを過ぎた後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出し、このゼロクロス時刻Zが大きくシフトした点の閾値Vthを波Sの振幅値Pとして取得するようにしてもよいし、受信波形が閾値Vthと最初に交叉するタイミングを求め、このタイミングが大きくシフトした点の閾値Vthを波Sの振幅値Pとして取得するようにしてもよい。 In the present invention, based on the timing at which the received waveform first crosses the threshold value Vth, the actual value of the amplitude value P of the predetermined wave S is obtained as peak height information. In this case, the timing at which the received waveform first crosses the threshold Vth is obtained, the next zero-crossing timing after this timing is detected as the zero-crossing time Z, and the threshold Vth at the point where the zero-crossing time Z is greatly shifted is determined. The amplitude value P of the wave S may be obtained, or the timing at which the received waveform first crosses the threshold value Vth is obtained, and the threshold value Vth at the point where this timing is greatly shifted is obtained as the amplitude value P of the wave S. You may do so.

また、本発明において、探索範囲W内でのピーク高さ情報の探索法としては、極値、境界探索の一般的な手法である「2分探索法」や「三分探索法」や「黄金分割法」などを用いることが可能である。 In addition, in the present invention, as a method of searching for peak height information within the search range W, general methods for extremum and boundary search such as "binary search method", "three-way search method", and "golden search method" are used. It is possible to use a division method or the like.

最もシンプルな「2分探索法」では、探索範囲Wの両端と、その中央の合計3つの値に閾値Vthを設定して、閾値Vthと受信波形が交叉するタイミングを比較し、分割された2つの領域のどちらにピークがあるか否かを判断し、ピークがある側の領域に対して同様の動作を充分な精度になるまで繰り返し行うことで、ピーク頂点の電圧を明らかにする。 In the simplest "binary search method", a threshold Vth is set to a total of three values at both ends of the search range W and its center, and the timing at which the threshold Vth and the received waveform intersect is compared. By determining in which of the two regions the peak exists, and repeating the same operation for the region with the peak until sufficient accuracy is obtained, the voltage at the peak apex is clarified.

また、本発明では、受信波形の振幅方向に部分的に探索範囲Wを設定するが、受信波形の振幅方向はプラス側であっても、マイナス側であってもよい。また、プラス側とマイナス側の両方の振幅方向であっても構わない。すなわち、ピーク高さ情報の取得は、プラス側の波の振幅値であってもよく、マイナス側の波の振幅値であってもよく、プラス側/マイナス側両方の波の振幅値であってもよい。 Further, in the present invention, the search range W is partially set in the amplitude direction of the received waveform, but the amplitude direction of the received waveform may be on the plus side or the minus side. Also, it may be in both the positive and negative amplitude directions. That is, the acquisition of peak height information may be the amplitude value of the wave on the positive side, the amplitude value of the wave on the negative side, or the amplitude value of the wave on both the positive and negative sides. good too.

また、本発明では、受信波形の振幅方向に部分的に探索範囲Wを設定して、所定番目の波Sの振幅値Pの実値をピーク高さ情報として取得するが、この取得したピーク高さ情報は必ずしも伝播時間計測用の閾値電圧Vsの設定に利用しなくてもよく、他のパラメータの設定などに利用してもよい。 Further, in the present invention, the search range W is partially set in the amplitude direction of the received waveform, and the actual value of the amplitude value P of the predetermined wave S is acquired as the peak height information. The information does not necessarily have to be used for setting the threshold voltage Vs for measuring the propagation time, and may be used for setting other parameters.

〔実施の形態〕
図3に、本発明の実施の形態に係る超音波流量計100の要部を示す。同図において、図12と同一符号は図12を参照して説明した構成要素と同一或いは同等の構成要素を示し、その説明は省略する。
[Embodiment]
FIG. 3 shows a main part of an ultrasonic flowmeter 100 according to an embodiment of the invention. In the figure, the same reference numerals as in FIG. 12 denote the same or equivalent components as those described with reference to FIG. 12, and the description thereof will be omitted.

この超音波流量計100において、第1の超音波送受信器(上流側トランスデューサ)2および第2の超音波送受信器(下流側トランスデューサ)3に対しては、「第1の超音波送受信器2と第2の超音波送受信器3との間で流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた両方向における超音波信号の伝播時間差に基づいて流体の流速vを測定し、この測定した流速vと配管1の断面積Sとから流体の流量Qを求める流量演算装置4」が設けられている。 In this ultrasonic flowmeter 100, for the first ultrasonic transmitter/receiver (upstream transducer) 2 and the second ultrasonic transmitter/receiver (downstream transducer) 3, "first ultrasonic transmitter/receiver 2 and A measurement step of transmitting and receiving ultrasonic signals in both directions through fluid between the second ultrasonic transmitter/receiver 3 is performed a plurality of times, and based on the propagation time difference of the ultrasonic signals in both directions obtained for each measurement step A flow rate calculation device 4 is provided which measures the flow velocity v of the fluid using the flow velocity v and obtains the flow rate Q of the fluid from the measured flow velocity v and the cross-sectional area S of the pipe 1 .

流量演算装置4は、図4に示すように、中央演算処理装置(CPU)4-1と、ランダムアクセスメモリ(RAM)4-2と、読み出し専用メモリ(ROM)4-3と、ハードディスクなどの記憶装置4-4と、入出力用のインタフェース4-5,4-6と、これらを接続する母線4-7とを備えている。 As shown in FIG. 4, the flow rate calculation device 4 includes a central processing unit (CPU) 4-1, a random access memory (RAM) 4-2, a read-only memory (ROM) 4-3, and a hard disk. It comprises a storage device 4-4, input/output interfaces 4-5 and 4-6, and a bus line 4-7 connecting them.

この流量演算装置4には、本実施の形態特有のプログラムとして、閾値電圧設定プログラムがインストールされている。この閾値電圧設定プログラムは、例えばCD-ROMなどの記録媒体に記録された状態で提供され、この記録媒体から読み出されて記憶装置4-4に記録され、使用可能な状態として流量演算装置4にインストールされている。 A threshold voltage setting program is installed in the flow rate calculation device 4 as a program unique to the present embodiment. This threshold voltage setting program is provided in a state recorded in a recording medium such as a CD-ROM. installed on.

この流量演算装置4において、CPU4-1は、インタフェース4-5を介する入力情報を処理することで、RAM4-2やROM4-3、記憶装置4-4にアクセスしながら、流量演算装置4にインストールされている閾値電圧設定プログラムに従って動作する。以下、この閾値電圧設定プログラムに従ってCPU4-1が実行する処理動作の第1例(実施の形態1)について、図5および図6に分割して示すフローチャートを参照しながら説明する。 In this flow rate calculation device 4, the CPU 4-1 processes the input information via the interface 4-5, and accesses the RAM 4-2, ROM 4-3, and storage device 4-4 while installing the It operates according to the threshold voltage setting program. A first example (embodiment 1) of the processing operation executed by the CPU 4-1 according to the threshold voltage setting program will be described below with reference to the flowcharts divided into FIGS. 5 and 6. FIG.

〔実施の形態1〕
CPU4-1は、先ず、受信波形(図1参照)の振幅方向に部分的に、その受信波形における最初の波(1番目の波)S1の予測される振幅値P1を含む所定幅の探索範囲W1を設定する(ステップS101)。
[Embodiment 1]
First, the CPU 4-1 searches a predetermined width search range including the predicted amplitude value P1 of the first wave (first wave) S1 in the received waveform (see FIG. 1) partially in the amplitude direction. W1 is set (step S101).

そして、CPU4-1は、この探索範囲W1内に振幅値P1の予測値よりも低い値として閾値Vthを設定し(ステップS102)、この設定した閾値Vthと比較しながら、受信波形の計測を行う(ステップS103,S104)。 Then, the CPU 4-1 sets a threshold value Vth as a value lower than the predicted value of the amplitude value P1 within the search range W1 (step S102), and measures the received waveform while comparing it with the set threshold value Vth. (Steps S103 and S104).

この受信波形の計測において、受信波形が閾値Vthを超えた場合、すなわち受信波形が閾値Vthと最初に交叉した場合(ステップS104のYES)、CPU4-1は、その後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する(ステップS105)。 In the measurement of the received waveform, if the received waveform exceeds the threshold value Vth, that is, if the received waveform first crosses the threshold value Vth (YES in step S104), the CPU 4-1 determines the timing of the next zero crossing after that. It is detected as time Z (step S105).

CPU4-1は、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化していなければ(ステップS106のNO)、閾値Vth=Vth+αとして(ステップS107)、ステップS102~S106の処理を繰り返す。探索範囲W1内での最初の閾値Vthとの比較に際しては、今回検出されたゼロクロス時刻Zと前回検出されたゼロクロス時刻Zとは同じとし(ステップS106のNO)、ステップS107を経て、ステップS102に戻る。 If the zero-crossing time Z detected this time has not greatly changed from the zero-crossing time Z detected last time (NO in step S106), the CPU 4-1 sets the threshold value Vth=Vth+α (step S107), and steps S102 to S106. repeat the process. When comparing with the first threshold value Vth within the search range W1, the zero-crossing time Z detected this time is assumed to be the same as the zero-crossing time Z detected last time (NO in step S106). return.

CPU4-1は、ステップS102~S106の処理の繰り返し中、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化したことを確認すると(ステップS106のYES)、その時の閾値Vthを最初の波S1の振幅値P1の実値とする(ステップS108)。 When the CPU 4-1 confirms that the zero-crossing time Z detected this time has greatly changed from the zero-crossing time Z detected last time (YES in step S106) during the repetition of the processing of steps S102 to S106, the threshold at that time Let Vth be the actual value of the amplitude value P1 of the first wave S1 (step S108).

そして、CPU4-1は、N=1とし(ステップS109)、ステップS108で得た最初の波S1の振幅値P1から予測される次の波(2番目の波)S2の振幅値P2を含む所定幅の探索範囲W2を、受信波形の振幅方向に部分的に設定する(ステップS110)。 Then, the CPU 4-1 sets N=1 (step S109) and sets a predetermined value including the amplitude value P2 of the next wave (second wave) S2 predicted from the amplitude value P1 of the first wave S1 obtained in step S108. A width search range W2 is partially set in the amplitude direction of the received waveform (step S110).

そして、CPU4-1は、この探索範囲W2内に閾値Vthを振幅値P2の予測値よりも低い値として設定し(ステップS111)、この設定した閾値Vthと比較しながら、受信波形の計測を行う(ステップS112,S113)。 Then, the CPU 4-1 sets the threshold value Vth within the search range W2 as a value lower than the predicted value of the amplitude value P2 (step S111), and measures the received waveform while comparing it with the set threshold value Vth. (Steps S112 and S113).

この受信波形の計測において、受信波形が閾値Vthを超えた場合、すなわち受信波形が閾値Vthと最初に交叉した場合(ステップS113のYES)、CPU4-1は、その後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する(ステップS114)。 In the measurement of the received waveform, if the received waveform exceeds the threshold value Vth, that is, if the received waveform first crosses the threshold value Vth (YES in step S113), the CPU 4-1 determines the timing of the next zero crossing after that. It is detected as time Z (step S114).

CPU4-1は、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化していなければ(ステップS115のNO)、閾値Vth=Vth+αとして(ステップS116)、ステップS111~S115の処理を繰り返す。探索範囲W2内での最初の閾値Vthとの比較に際しては、今回検出されたゼロクロス時刻Zと前回検出されたゼロクロス時刻Zとは同じとし(ステップS115のNO)、ステップS116を経て、ステップS111に戻る。 If the zero-crossing time Z detected this time has not greatly changed from the zero-crossing time Z detected last time (NO in step S115), the CPU 4-1 sets the threshold value Vth=Vth+α (step S116), and steps S111 to S115. repeat the process. When comparing with the first threshold value Vth within the search range W2, the zero-crossing time Z detected this time is assumed to be the same as the zero-crossing time Z detected last time (NO in step S115). return.

CPU4-1は、ステップS111~S115の処理の繰り返し中、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化したことを確認すると(ステップS115のYES)、その時の閾値Vthを2番目の波S2の振幅値P2の実値とする(ステップS117)。 When the CPU 4-1 confirms that the zero-crossing time Z detected this time has greatly changed from the zero-crossing time Z detected last time (YES in step S115) during the repetition of the processing of steps S111 to S115, the threshold at that time Let Vth be the actual value of the amplitude value P2 of the second wave S2 (step S117).

そして、CPU4-1は、N=N+1とし(ステップS118)、ステップS119でN=4となったことが確認されるまで、ステップS110~S118の処理を繰り返す。すなわち、次の波(3番目の波)S3、その次の波(4番目の波)S4に対し、振幅値P2,P3の実値から予測される振幅値P3,P4を含む所定幅の探索範囲W3,W4を設定し、この探索範囲W3,W4内で閾値Vthを変えながら、受信波形を計測する毎に、その受信波形が閾値Vthと最初に交叉するタイミングを求めてゼロクロス時刻Zを検出し、この検出したゼロクロス時刻Zに基づいて3番目の波S3の振幅値P3の実値、4番目の波S4の振幅値P4の実値を求める。 Then, the CPU 4-1 sets N=N+1 (step S118), and repeats the processing of steps S110 to S118 until it is confirmed in step S119 that N=4. That is, for the next wave (third wave) S3 and the next wave (fourth wave) S4, a predetermined width search including the amplitude values P3 and P4 predicted from the actual values of the amplitude values P2 and P3 is performed. Ranges W3 and W4 are set, and every time the received waveform is measured while changing the threshold Vth within the search ranges W3 and W4, the timing at which the received waveform first crosses the threshold Vth is obtained to detect the zero-crossing time Z. Then, based on the detected zero-cross time Z, the actual value of the amplitude value P3 of the third wave S3 and the actual value of the amplitude value P4 of the fourth wave S4 are obtained.

そして、CPU4-1は、N=4となったことを確認すると(ステップS119のYES)、振幅値P3の実値を目標ピークとし、振幅値P2の実値を目標前ピークとし(ステップS120)、目標ピーク(振幅値P3の実値)と目標前ピーク(振幅値P2の実値)との間に、最適な伝播時間計測用の閾値電圧Vsを設定する(ステップS121)。 When the CPU 4-1 confirms that N=4 (YES in step S119), the actual value of the amplitude value P3 is set as the target peak, and the actual value of the amplitude value P2 is set as the pre-target peak (step S120). , the optimum threshold voltage Vs for propagation time measurement is set between the target peak (actual value of amplitude value P3) and the pre-target peak (actual value of amplitude value P2) (step S121).

〔実施の形態2〕
次に、閾値電圧設定プログラムに従ってCPU4-1が実行する処理動作の第2例(実施の形態2)について、図7および図8に分割して示すフローチャートを参照しながら説明する。
[Embodiment 2]
Next, a second example (embodiment 2) of the processing operation executed by the CPU 4-1 according to the threshold voltage setting program will be described with reference to the flow charts divided into FIGS. 7 and 8. FIG.

CPU4-1は、先ず、受信波形(図2参照)を計測し(ステップS201)、この計測した受信波形の最大振幅Pmaxを求める(ステップS202)。そして、この最大振幅Pmaxから予測される受信波形における2番目の波S2の振幅値P2を含む所定幅の探索範囲W2を受信波形の振幅方向に部分的に設定する(ステップS203)。 The CPU 4-1 first measures the received waveform (see FIG. 2) (step S201) and obtains the maximum amplitude Pmax of the measured received waveform (step S202). Then, a search range W2 having a predetermined width including the amplitude value P2 of the second wave S2 in the received waveform predicted from the maximum amplitude Pmax is partially set in the amplitude direction of the received waveform (step S203).

そして、CPU4-1は、この探索範囲W2内に閾値Vthを振幅値P2の予測値よりも低い値として設定し(ステップS204)、この設定した閾値Vthと比較しながら、受信波形の計測を行う(ステップS205,S206)。 Then, the CPU 4-1 sets a threshold value Vth within the search range W2 as a value lower than the predicted value of the amplitude value P2 (step S204), and measures the received waveform while comparing it with the set threshold value Vth. (Steps S205 and S206).

この受信波形の計測において、受信波形が閾値Vthを超えた場合、すなわち受信波形が閾値Vthと最初に交叉した場合(ステップS206のYES)、CPU4-1は、その後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する(ステップS207)。 In the measurement of the received waveform, if the received waveform exceeds the threshold value Vth, that is, if the received waveform first crosses the threshold value Vth (YES in step S206), the CPU 4-1 determines the timing of the next zero crossing after that. It is detected as time Z (step S207).

CPU4-1は、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化していなければ(ステップS208のNO)、閾値Vth=Vth+αとして(ステップS209)、ステップS204~S208の処理を繰り返す。探索範囲W2内での最初の閾値Vthとの比較に際しては、今回検出されたゼロクロス時刻Zと前回検出されたゼロクロス時刻Zとは同じとし(ステップS208のNO)、ステップS209を経て、ステップS204に戻る。 If the zero-crossing time Z detected this time has not greatly changed from the zero-crossing time Z detected last time (NO in step S208), the CPU 4-1 sets the threshold value Vth=Vth+α (step S209), and steps S204 to S208. repeat the process. When comparing with the first threshold value Vth within the search range W2, the zero-crossing time Z detected this time is assumed to be the same as the zero-crossing time Z detected last time (NO in step S208). return.

CPU4-1は、ステップS204~S208の処理の繰り返し中、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化したことを確認すると(ステップS208のYES)、その時の閾値Vthを2番目の波S2の振幅値P2の実値とする(ステップS210)。 When the CPU 4-1 confirms that the zero-crossing time Z detected this time has greatly changed from the zero-crossing time Z detected last time (YES in step S208) during the repetition of the processing of steps S204 to S208, the threshold at that time Let Vth be the actual value of the amplitude value P2 of the second wave S2 (step S210).

そして、CPU4-1は、ステップS210で得た2番目の波S2の振幅値P2から予測される次の波(3番目の波)S3の振幅値P3を含む所定幅の探索範囲W3を、受信波形の振幅方向に部分的に設定する(ステップS211)。 Then, the CPU 4-1 receives a search range W3 of a predetermined width including the amplitude value P3 of the next wave (third wave) S3 predicted from the amplitude value P2 of the second wave S2 obtained in step S210. It is partially set in the amplitude direction of the waveform (step S211).

そして、CPU4-1は、この探索範囲W3内に閾値Vthを振幅値P3の予測値よりも低い値として設定し(ステップS212)、この設定した閾値Vthと比較しながら、受信波形の計測を行う(ステップS213,S214)。 Then, the CPU 4-1 sets the threshold value Vth within the search range W3 as a value lower than the predicted value of the amplitude value P3 (step S212), and measures the received waveform while comparing it with the set threshold value Vth. (Steps S213 and S214).

この受信波形の計測において、受信波形が閾値Vthを超えた場合、すなわち受信波形が閾値Vthと最初に交叉した場合(ステップS214のYES)、CPU4-1は、その後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する(ステップS215)。 In the measurement of the received waveform, if the received waveform exceeds the threshold value Vth, that is, if the received waveform first crosses the threshold value Vth (YES in step S214), the CPU 4-1 determines the timing of the next zero crossing after that. It is detected as time Z (step S215).

CPU4-1は、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化していなければ(ステップS216のNO)、閾値Vth=Vth+αとして(ステップS217)、ステップS212~S216の処理を繰り返す。探索範囲W3内での最初の閾値Vthとの比較に際しては、今回検出されたゼロクロス時刻Zと前回検出されたゼロクロス時刻Zとは同じとし(ステップS216のNO)、ステップS217を経て、ステップS212に戻る。 If the zero-crossing time Z detected this time has not greatly changed from the zero-crossing time Z detected last time (NO in step S216), the CPU 4-1 sets the threshold value Vth=Vth+α (step S217), and steps S212 to S216. repeat the process. When comparing with the first threshold value Vth within the search range W3, the zero-crossing time Z detected this time is assumed to be the same as the zero-crossing time Z detected last time (NO in step S216). return.

CPU4-1は、ステップS212~S216の処理の繰り返し中、今回検出されたゼロクロス時刻Zが前回検出されたゼロクロス時刻Zに対して大きく変化したことを確認すると(ステップS216のYES)、その時の閾値Vthを3番目の波S3の振幅値P3の実値とする(ステップS218)。 When the CPU 4-1 confirms that the zero-crossing time Z detected this time has greatly changed from the zero-crossing time Z detected last time (YES in step S216) during the repetition of the processing of steps S212 to S216, the threshold at that time Let Vth be the actual value of the amplitude value P3 of the third wave S3 (step S218).

そして、CPU4-1は、振幅値P3の実値を目標ピークとし、振幅値P2の実値を目標前ピークとし(ステップS219)、目標ピーク(振幅値P3の実値)と目標前ピーク(振幅値P2の実値)との間に、最適な伝播時間計測用の閾値電圧Vsを設定する(ステップS220)。 Then, the CPU 4-1 sets the actual value of the amplitude value P3 as a target peak and the actual value of the amplitude value P2 as a pre-target peak (step S219). An optimum threshold voltage Vs for propagation time measurement is set between the actual value of the value P2 (step S220).

図9に、超音波流量計100における流量演算装置4の要部の機能ブロック図を示す。この流量演算装置4は、CPU4-1の処理機能として、受信波形計測部41と、ピーク高さ情報取得部42と、伝播時間計測用閾値電圧決定部43とを備えている。なお、この受信波形計測部41、ピーク高さ情報取得部42、伝播時間計測用閾値電圧決定部43は、順方向/逆方向の受信信号のそれぞれに対して設けられている。 FIG. 9 shows a functional block diagram of the main part of the flow rate computing device 4 in the ultrasonic flowmeter 100. As shown in FIG. The flow rate calculation device 4 includes a received waveform measurement section 41, a peak height information acquisition section 42, and a propagation time measurement threshold voltage determination section 43 as processing functions of the CPU 4-1. The received waveform measuring unit 41, the peak height information acquiring unit 42, and the propagation time measuring threshold voltage determining unit 43 are provided for each of the forward/reverse direction received signals.

この流量演算装置4において、受信波形計測部41は、超音波信号の受信波形を計測し、ピーク高さ情報取得部42は、受信波形計測部41によって計測された受信波形における少なくとも2番目の波S2の振幅値P2の実値と3番目の波S3の振幅値P3の実値をピーク高さ情報として検出し、伝播時間計測用閾値電圧決定部43は、ピーク高さ情報取得部42によって取得されたピーク高さ情報に基づいて最適な伝播時間計測用の閾値電圧Vsを決定する。 In the flow calculation device 4, the received waveform measurement unit 41 measures the received waveform of the ultrasonic signal, and the peak height information acquisition unit 42 measures at least the second wave in the received waveform measured by the received waveform measurement unit 41. The actual value of the amplitude value P2 of S2 and the actual value of the amplitude value P3 of the third wave S3 are detected as peak height information, and the propagation time measurement threshold voltage determination unit 43 acquires the peak height information acquisition unit 42. Based on the obtained peak height information, the optimum threshold voltage Vs for propagation time measurement is determined.

図10に、実施の形態1におけるピーク高さ情報取得部42(42A)の要部の機能ブロック図を示す。このピーク高さ情報取得部42Aは、探索範囲設定部42A_1と、閾値設定部42A_2と、閾値比較部42A_3と、ゼロクロス時刻検出部42A_4と、前回のゼロクロス時刻記憶部42A_5と、ゼロクロス時刻比較部42A_6と、振幅値実値決定部42A_7とを備えている。 FIG. 10 shows a functional block diagram of the main part of the peak height information acquiring section 42 (42A) in the first embodiment. The peak height information acquisition unit 42A includes a search range setting unit 42A_1, a threshold setting unit 42A_2, a threshold comparison unit 42A_3, a zero cross time detection unit 42A_4, a previous zero cross time storage unit 42A_5, and a zero cross time comparison unit 42A_6. and an actual amplitude value determination unit 42A_7.

このピーク高さ情報取得部42Aにおいて、探索範囲設定部42A_1は、受信波形の振幅方向に部分的に、その受信波形における最初の波(1番目の波)S1の予測される振幅値P1を含む所定幅の探索範囲W1を設定し、その設定した探索範囲W1を閾値設定部42A_2に送る。 In the peak height information acquisition unit 42A, the search range setting unit 42A_1 partially includes the predicted amplitude value P1 of the first wave (first wave) S1 in the received waveform in the amplitude direction of the received waveform. A search range W1 having a predetermined width is set, and the set search range W1 is sent to the threshold value setting section 42A_2.

閾値設定部42A_2は、探索範囲設定部42A_1からの探索範囲W1内に振幅値P1の予測値よりも低い値として閾値Vthを定め、閾値比較部42A_3へ設定する。閾値比較部42A_3は、閾値Vthが設定されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と閾値Vthとの比較を行う。 The threshold setting unit 42A_2 determines the threshold Vth as a value lower than the predicted value of the amplitude value P1 within the search range W1 from the search range setting unit 42A_1, and sets it to the threshold comparison unit 42A_3. When the threshold value Vth is set, the threshold comparison unit 42A_3 causes the reception waveform measurement unit 41 to start measuring the reception waveform, and compares the measured reception waveform (the reception waveform that changes every moment) with the threshold value Vth. .

閾値比較部42A_3は、受信波形が閾値Vthを超えると、すなわち受信波形が閾値Vthと最初に交叉すると、その旨をゼロクロス時刻検出部42A_4へ知らせる。ゼロクロス時刻検出部42A_4は、閾値比較部42A_3からの知らせを受けて、この知らせを受けた後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する。 When the received waveform exceeds the threshold Vth, that is, when the received waveform crosses the threshold Vth for the first time, the threshold comparator 42A_3 notifies the zero-crossing time detector 42A_4. The zero-crossing time detection unit 42A_4 receives the notification from the threshold value comparison unit 42A_3 and detects the next zero-crossing timing after receiving the notification as the zero-crossing time Z.

このゼロクロス時刻検出部42A_4で検出されたゼロクロス時刻Zは、今回のゼロクロス時刻Zとしてゼロクロス時刻比較部42A_6へ送られ、前回のゼロクロス時刻記憶部42A_5に記憶されている前回のゼロクロス時刻Zと比較される。 The zero-crossing time Z detected by the zero-crossing time detecting section 42A_4 is sent as the current zero-crossing time Z to the zero-crossing time comparing section 42A_6 and compared with the previous zero-crossing time Z stored in the previous zero-crossing time storage section 42A_5. be.

なお、ゼロクロス時刻記憶部42A_5には、探索範囲設定部42A_1における探索範囲の設定が行われた時に限り、ゼロクロス時刻検出部42A_4で検出された今回のゼロクロス時刻Zが前回のゼロクロス時刻Zとして記憶される。その後は、ゼロクロス時刻検出部42A_4で検出された1回前のゼロクロス時刻Zが前回のゼロクロス時刻Zとして記憶される。 The zero-crossing time storage unit 42A_5 stores the current zero-crossing time Z detected by the zero-crossing time detecting unit 42A_4 as the previous zero-crossing time Z only when the search range is set by the search range setting unit 42A_1. be. After that, the previous zero-crossing time Z detected by the zero-crossing time detecting section 42A_4 is stored as the previous zero-crossing time Z. FIG.

ゼロクロス時刻比較部42A_6は、ゼロクロス時刻検出部42A_4で検出された今回のゼロクロス時刻Zとゼロクロス時刻記憶部42A_5に記憶されている前回のゼロクロス時刻Zとを比較し、今回のゼロクロス時刻Zが前回のゼロクロス時刻Zに対して大きく変化していない場合(変化小)、閾値設定部42A_2からの閾値比較部42A_3への閾値VthをVth=Vth+αに変更する。 The zero-crossing time comparing section 42A_6 compares the current zero-crossing time Z detected by the zero-crossing time detecting section 42A_4 with the previous zero-crossing time Z stored in the zero-crossing time storage section 42A_5. If there is no significant change with respect to the zero-crossing time Z (small change), the threshold Vth from the threshold setting section 42A_2 to the threshold comparison section 42A_3 is changed to Vth=Vth+α.

閾値比較部42A_3は、閾値Vthが変更されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と変更後の閾値Vthとの比較を行う。そして、受信波形が閾値Vthを超えると、その旨をゼロクロス時刻検出部42A_4へ知らせる。これにより、ゼロクロス時刻検出部42A_4でのゼロクロス時刻Zの検出、ゼロクロス時刻比較部42A_6でのゼロクロス時刻Zの比較、閾値設定部42A_2での閾値Vthの変更が繰り返される。 When the threshold value Vth is changed, the threshold comparison unit 42A_3 causes the received waveform measurement unit 41 to start measuring the received waveform, and compares the measured received waveform (the received waveform that changes every moment) with the changed threshold value Vth. make a comparison. Then, when the received waveform exceeds the threshold value Vth, the zero-crossing time detecting section 42A_4 is notified of this fact. As a result, the detection of the zero-crossing time Z by the zero-crossing time detecting section 42A_4, the comparison of the zero-crossing time Z by the zero-crossing time comparing section 42A_6, and the change of the threshold Vth by the threshold setting section 42A_2 are repeated.

ゼロクロス時刻比較部42A_6は、今回のゼロクロス時刻Zが前回のゼロクロス時刻Zに対して大きく変化(変化大)すると、その旨を振幅値実値決定部42A_7へ知らせる。振幅値実値決定部42A_7は、ゼロクロス時刻比較部42A_6からの「変化大」の知らせを受けて、その時の閾値設定部42A_2における閾値Vthを最初の波S1の振幅値P1の実値として決定する。 When the current zero-crossing time Z greatly changes (changes greatly) from the previous zero-crossing time Z, the zero-crossing time comparing section 42A_6 notifies the actual amplitude value determining section 42A_7 of that effect. Upon receiving the "large change" notification from the zero-crossing time comparison unit 42A_6, the actual amplitude value determination unit 42A_7 determines the threshold value Vth in the threshold value setting unit 42A_2 at that time as the actual value of the amplitude value P1 of the first wave S1. .

この振幅値実値決定部42A_7で決定された最初の波S1の振幅値P1の実値は探索範囲設定部42A_1へ送られる。探索範囲設定部42A_1は、受信波形の振幅方向に部分的に、最初の波S1の振幅値P1の実値から予測される次の波(2番目の波)S2の振幅値P2を含む所定幅の探索範囲W2を設定し、その設定した探索範囲W2を閾値設定部42A_2に送る。 The actual value of the amplitude value P1 of the first wave S1 determined by the actual amplitude value determining section 42A_7 is sent to the search range setting section 42A_1. The search range setting unit 42A_1 partially sets a predetermined width including the amplitude value P2 of the next wave (second wave) S2 predicted from the actual value of the amplitude value P1 of the first wave S1 in the amplitude direction of the received waveform. is set, and the set search range W2 is sent to the threshold value setting unit 42A_2.

閾値設定部42A_2は、探索範囲設定部42A_1からの探索範囲W2内に振幅値P2の予測値よりも低い値として閾値Vthを定め、閾値比較部42A_3へ設定する。閾値比較部42A_3は、閾値Vthが設定されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と閾値Vthとの比較を行う。 The threshold setting unit 42A_2 determines a threshold Vth as a value lower than the predicted value of the amplitude value P2 within the search range W2 from the search range setting unit 42A_1, and sets it to the threshold comparison unit 42A_3. When the threshold value Vth is set, the threshold comparison unit 42A_3 causes the reception waveform measurement unit 41 to start measuring the reception waveform, and compares the measured reception waveform (the reception waveform that changes every moment) with the threshold value Vth. .

その後、探索範囲W1と同様にして、ゼロクロス時刻検出部42A_4でのゼロクロス時刻Zの検出、ゼロクロス時刻比較部42A_6でのゼロクロス時刻Zの比較、閾値設定部42A_2での閾値Vthの変更が繰り返され、振幅値実値決定部42A_7において2番目の波S2の振幅値P2の実値が決定される。 After that, similarly to the search range W1, the detection of the zero-cross time Z by the zero-cross time detection unit 42A_4, the comparison of the zero-cross time Z by the zero-cross time comparison unit 42A_6, and the change of the threshold Vth by the threshold setting unit 42A_2 are repeated. The actual value of the amplitude value P2 of the second wave S2 is determined in the actual amplitude value determining section 42A_7.

以下、同様にして、探索範囲設定部42A_1での探索範囲W3,W4の設定が行われ、その探索範囲W3,W4内で閾値Vthを変えながら、ゼロクロス時刻Zの検出が繰り返され、振幅値実値決定部42A_7での3番目の波S3の振幅値P3の実値、4番目の波S4の振幅値P4の実値が決定される。 Subsequently, search ranges W3 and W4 are similarly set by the search range setting unit 42A_1, and the detection of the zero-cross time Z is repeated while changing the threshold value Vth within the search ranges W3 and W4. The actual value of the amplitude value P3 of the third wave S3 and the actual value of the amplitude value P4 of the fourth wave S4 are determined by the value determining section 42A_7.

図11に、実施の形態2におけるピーク高さ情報取得部42(42B)の要部の機能ブロック図を示す。このピーク高さ情報取得部42Bは、探索範囲設定部42B_1と、閾値設定部42B_2と、閾値比較部42B_3と、ゼロクロス時刻検出部42B_4と、前回のゼロクロス時刻記憶部42B_5と、ゼロクロス時刻比較部42B_6と、振幅値実値決定部42B_7と、最大振幅取得部42B_8とを備えている。 FIG. 11 shows a functional block diagram of the main part of the peak height information acquiring section 42 (42B) in the second embodiment. The peak height information acquisition unit 42B includes a search range setting unit 42B_1, a threshold setting unit 42B_2, a threshold comparison unit 42B_3, a zero cross time detection unit 42B_4, a previous zero cross time storage unit 42B_5, and a zero cross time comparison unit 42B_6. , an actual amplitude value determination unit 42B_7, and a maximum amplitude acquisition unit 42B_8.

このピーク高さ情報取得部42Bにおいて、最大振幅取得部42B_8は、受信波形計測部41に受信波形の計測を行わせ、これによって計測された受信波形の最大振幅Pmaxを求める。この最大振幅取得部42B_8によって求められた受信波形の最大振幅Pmaxは探索範囲設定部42B_1へ送られる。 In the peak height information acquiring section 42B, the maximum amplitude acquiring section 42B_8 causes the received waveform measuring section 41 to measure the received waveform, and obtains the maximum amplitude Pmax of the measured received waveform. The maximum amplitude Pmax of the received waveform obtained by the maximum amplitude acquisition section 42B_8 is sent to the search range setting section 42B_1.

探索範囲設定部42B_1は、最大振幅取得部42B_8からの最大振幅Pmaxから受信波形における2番目の波S2の振幅値P2を予測し、この予測される受信波形における2番目の波S2の振幅値P2を含む所定幅の探索範囲W2を受信波形の振幅方向に部分的に設定し、その設定した探索範囲W2を閾値設定部42B_2に送る。 The search range setting unit 42B_1 predicts the amplitude value P2 of the second wave S2 in the received waveform from the maximum amplitude Pmax from the maximum amplitude acquisition unit 42B_8, and calculates the amplitude value P2 of the second wave S2 in the predicted received waveform. is partially set in the amplitude direction of the received waveform, and the set search range W2 is sent to the threshold value setting unit 42B_2.

閾値設定部42B_2は、探索範囲設定部42B_1からの探索範囲W2内に振幅値P2の予測値よりも低い値として閾値Vthを定め、閾値比較部42B_3へ設定する。閾値比較部42B_3は、閾値Vthが設定されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と閾値Vthとの比較を行う。 The threshold setting unit 42B_2 determines the threshold Vth as a value lower than the predicted value of the amplitude value P2 within the search range W2 from the search range setting unit 42B_1, and sets the threshold Vth to the threshold comparison unit 42B_3. When the threshold value Vth is set, the threshold comparison unit 42B_3 causes the received waveform measurement unit 41 to start measuring the received waveform, and compares the measured received waveform (the received waveform that changes every moment) with the threshold value Vth. .

閾値比較部42B_3は、受信波形が閾値Vthを超えると、すなわち受信波形が閾値Vthと最初に交叉すると、その旨をゼロクロス時刻検出部42B_4へ知らせる。ゼロクロス時刻検出部42B_4は、閾値比較部42B_3からの知らせを受けて、この知らせを受けた後の次にゼロクロスするタイミングをゼロクロス時刻Zとして検出する。 When the received waveform exceeds the threshold Vth, that is, when the received waveform crosses the threshold Vth for the first time, the threshold comparator 42B_3 notifies the zero-crossing time detector 42B_4. The zero-cross time detection unit 42B_4 receives the information from the threshold value comparison unit 42B_3 and detects the next zero-cross timing after receiving this information as the zero-cross time Z. FIG.

このゼロクロス時刻検出部42B_4で検出されたゼロクロス時刻Zは、今回のゼロクロス時刻Zとしてゼロクロス時刻比較部42B_6へ送られ、前回のゼロクロス時刻記憶部42B_5に記憶されている前回のゼロクロス時刻Zと比較される。 The zero-crossing time Z detected by the zero-crossing time detecting section 42B_4 is sent as the current zero-crossing time Z to the zero-crossing time comparing section 42B_6 and compared with the previous zero-crossing time Z stored in the previous zero-crossing time storage section 42B_5. be.

なお、ゼロクロス時刻記憶部42B_5には、探索範囲設定部42B_1における探索範囲の設定が行われた時に限り、ゼロクロス時刻検出部42B_4で検出された今回のゼロクロス時刻Zが前回のゼロクロス時刻Zとして記憶される。その後は、ゼロクロス時刻検出部42B_4で検出された1回前のゼロクロス時刻Zが前回のゼロクロス時刻Zとして記憶される。 The zero-crossing time storage unit 42B_5 stores the current zero-crossing time Z detected by the zero-crossing time detecting unit 42B_4 as the previous zero-crossing time Z only when the search range is set by the search range setting unit 42B_1. be. After that, the previous zero-crossing time Z detected by the zero-crossing time detecting section 42B_4 is stored as the previous zero-crossing time Z. FIG.

ゼロクロス時刻比較部42B_6は、ゼロクロス時刻検出部42B_4で検出された今回のゼロクロス時刻Zとゼロクロス時刻記憶部42B_5に記憶されている前回のゼロクロス時刻Zとを比較し、今回のゼロクロス時刻Zが前回のゼロクロス時刻Zに対して大きく変化していない場合(変化小)、閾値設定部42B_2からの閾値比較部42B_3への閾値VthをVth=Vth+αに変更する。 The zero-cross time comparator 42B_6 compares the current zero-cross time Z detected by the zero-cross time detector 42B_4 with the previous zero-cross time Z stored in the zero-cross time storage 42B_5, and compares the current zero-cross time Z with the previous zero-cross time Z. If there is no significant change with respect to the zero-crossing time Z (small change), the threshold Vth from the threshold setting unit 42B_2 to the threshold comparison unit 42B_3 is changed to Vth=Vth+α.

閾値比較部42B_3は、閾値Vthが変更されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と変更後の閾値Vthとの比較を行う。そして、受信波形が閾値Vthを超えると、その旨をゼロクロス時刻検出部42B_4へ知らせる。これにより、ゼロクロス時刻検出部42B_4でのゼロクロス時刻Zの検出、ゼロクロス時刻比較部42B_6でのゼロクロス時刻Zの比較、閾値設定部42B_2での閾値Vthの変更が繰り返される。 When the threshold value Vth is changed, the threshold comparison unit 42B_3 causes the received waveform measurement unit 41 to start measuring the received waveform, and compares the measured received waveform (the received waveform that changes every moment) with the changed threshold value Vth. make a comparison. Then, when the received waveform exceeds the threshold value Vth, the zero-crossing time detecting section 42B_4 is notified of this fact. As a result, the detection of the zero-cross time Z by the zero-cross time detection unit 42B_4, the comparison of the zero-cross time Z by the zero-cross time comparison unit 42B_6, and the change of the threshold Vth by the threshold setting unit 42B_2 are repeated.

ゼロクロス時刻比較部42B_6は、今回のゼロクロス時刻Zが前回のゼロクロス時刻Zに対して大きく変化(変化大)すると、その旨を振幅値実値決定部42B_7へ送る。振幅値実値決定部42B_7は、ゼロクロス時刻比較部42B_6からの「変化大」の知らせを受けて、その時の閾値設定部42B_2における閾値Vthを2番目の波S2の振幅値P2の実値として決定する。 When the current zero-crossing time Z greatly changes (changes greatly) from the previous zero-crossing time Z, the zero-crossing time comparing section 42B_6 notifies the actual amplitude value determining section 42B_7. Upon receiving the "large change" notification from the zero-crossing time comparison unit 42B_6, the actual amplitude value determination unit 42B_7 determines the threshold value Vth in the threshold setting unit 42B_2 at that time as the actual value of the amplitude value P2 of the second wave S2. do.

この振幅値実値決定部42B_7で決定された2番目の波S2の振幅値P2の実値は探索範囲設定部42B_1へ送られる。探索範囲設定部42B_1は、受信波形の振幅方向に部分的に、2番目の波S2の振幅値P2の実値から予測される次の波(3番目の波)S3の振幅値P3を含む所定幅の探索範囲W3を設定し、その設定した探索範囲W3を閾値設定部42B_2に送る。 The actual value of the amplitude value P2 of the second wave S2 determined by the actual amplitude value determining section 42B_7 is sent to the search range setting section 42B_1. The search range setting unit 42B_1 partially includes a predetermined amplitude value P3 of the next wave (third wave) S3 predicted from the actual value of the amplitude value P2 of the second wave S2 in the amplitude direction of the received waveform. A width search range W3 is set, and the set search range W3 is sent to the threshold setting unit 42B_2.

閾値設定部42B_2は、探索範囲設定部42B_1からの探索範囲W3内に振幅値P3の予測値よりも低い値として閾値Vthを定め、閾値比較部42B_3へ設定する。閾値比較部42B_3は、閾値Vthが設定されると、受信波形計測部41に受信波形の計測を開始させるとともに、計測される受信波形(刻々と変化する受信波形)と閾値Vthとの比較を行う。 The threshold setting unit 42B_2 determines the threshold Vth as a value lower than the predicted value of the amplitude value P3 within the search range W3 from the search range setting unit 42B_1, and sets it to the threshold comparison unit 42B_3. When the threshold value Vth is set, the threshold comparison unit 42B_3 causes the received waveform measurement unit 41 to start measuring the received waveform, and compares the measured received waveform (the received waveform that changes every moment) with the threshold value Vth. .

その後、探索範囲W2と同様にして、ゼロクロス時刻検出部42B_4でのゼロクロス時刻Zの検出、ゼロクロス時刻比較部42B_6でのゼロクロス時刻Zの比較、閾値設定部42B_2での閾値Vthの変更が繰り返され、振幅値実値決定部42B_7において3番目の波S3の振幅値P3の実値が決定される。 After that, similarly to the search range W2, the detection of the zero-cross time Z by the zero-cross time detection unit 42B_4, the comparison of the zero-cross time Z by the zero-cross time comparison unit 42B_6, and the change of the threshold Vth by the threshold setting unit 42B_2 are repeated. The actual value of the amplitude value P3 of the third wave S3 is determined in the actual amplitude value determining section 42B_7.

なお、図1や図2に示した例では、探索範囲W1,W2,W3,W4の幅を同じとしているが、必ずしも同じ幅である必要はなく、受信波形の振幅方向にその幅を徐々に狭めて行くようにしたりしてもよい。また、探索範囲W1,W2,W3,W4は出荷検査時などの受信波形の形状に合わせて事前に記憶した値を使用してもよい。また、受信波形の振幅の代表値を計測し、これに受信波形の形状を変化させる要因である、温度計測情報や音速の影響を加味して、探索範囲を決定するようにしてもよい。 In the examples shown in FIGS. 1 and 2, the widths of the search ranges W1, W2, W3, and W4 are the same, but the widths do not necessarily have to be the same. You may make it narrow and go. For the search ranges W1, W2, W3, and W4, values stored in advance may be used according to the shape of the received waveform at the time of shipping inspection. Alternatively, the search range may be determined by measuring the representative value of the amplitude of the received waveform and taking into consideration the effects of temperature measurement information and sound speed, which are factors that change the shape of the received waveform.

また、上述したピーク高さ情報を取得しての伝播時間計測用の閾値電圧Vsの設定は、超音波流量計100の工場出荷時に行わせるようにしてもよく、現場への設置後の通常の流量計測の間の空き時間に行わせるようにしてもよい。 In addition, the above-described setting of the threshold voltage Vs for propagation time measurement by acquiring the peak height information may be performed when the ultrasonic flowmeter 100 is shipped from the factory, or may be performed normally after installation at the site. You may make it perform in the idle time between flow measurement.

また、通常の流量計測中に、受信波の中の伝播時間計測の基準となるピークを追従対象ピークとして認識し、追従対象ピークの高さを流量計測中に把握できる超音波流量計の場合、追従対象ピークの高さに基づき、追従対象ピークに隣接するピーク(追従対象ピークの直前のピークと直後のピーク)に対して探索範囲を設定し、追従対象ピークに隣接するピークの高さを把握するようにしてもよい。これにより、通常の流量計測中などに、短時間で受信波形の形状を把握でき、実際の隣接ピーク高さに合わせて閾値の値などを調整することで、メンテナンスの手間を低減し、作業の手間を削減することが可能となる。 In addition, in the case of an ultrasonic flowmeter that can recognize the reference peak for propagation time measurement in the received wave as a tracking target peak during normal flow measurement, and can grasp the height of the tracking target peak during flow measurement, Based on the height of the tracking target peak, set the search range for the peaks adjacent to the tracking target peak (the peak immediately before and after the tracking target peak), and grasp the heights of the peaks adjacent to the tracking target peak. You may make it As a result, the shape of the received waveform can be grasped in a short period of time during normal flow measurement, etc., and by adjusting the threshold value etc. according to the actual adjacent peak height, maintenance work can be reduced and work can be simplified. Labor can be reduced.

また、±閾値との組み合わせで計測する場合に、通常の流量計測で、プラス側のピークの高さが把握できていたら、それに応じて隣接するマイナス側のピーク探索範囲を設定し、隣接するマイナス側ピークの高さを把握するようにしてもよい。 Also, when measuring in combination with the ±threshold, if the height of the peak on the positive side can be grasped in normal flow measurement, set the peak search range on the adjacent negative side accordingly, The height of the side peak may be grasped.

また、通常の流量計測の間の空き時間に、現在追従しているピーク(追従対象ピーク)の高さを基に隣接するピークの探索範囲を設定し、ピーク探索動作によるピーク高さを確認することで、追従対象ピークとそれに隣接するピークの高さを把握するようにしてもよい。この探索動作中に、流量や温度や伝播時間の急激な変化がない場合、正しいピーク把握ができたと判定し、以降の伝播時間計測用の閾値電圧の設定などに情報を利用する(定期的な自動キャリブレーション)。 Also, set the search range of adjacent peaks based on the height of the peak currently being tracked (peak to be tracked) during the idle time between normal flow rate measurements, and check the peak height by peak search operation. By doing so, the heights of the tracking target peak and the peaks adjacent thereto may be grasped. If there is no sudden change in the flow rate, temperature, or propagation time during this search operation, it is determined that the correct peak has been grasped, and the information is used to set the threshold voltage for subsequent propagation time measurement (periodic automatic calibration).

また、流量の計測中に、追従対象ピークの高さが、直前までの計測で分かっていて、位置を見失ったような場合、ピーク高さと受信波形の最大振幅から、追従対象ピークの探索範囲を設定し、追従対象ピークを探索するようにしてもよい。 Also, if the height of the peak to be tracked is known from the previous measurement during flow rate measurement and the position is lost, the search range for the peak to be tracked can be determined from the peak height and the maximum amplitude of the received waveform. It may be set to search for a peak to be tracked.

また、受信波形の強度にバラツキがある場合、閾値Vth超えの発生頻度を用いて、ある閾値でのスコアを、受信波形が閾値Vthを超えたか超えていないかという2値ではなく、例えば同じ閾値Vthで10回計測し、そのうち何回閾値交叉タイミングがシフトしたかという連続値としてのスコアを求め、山登り法などを用いて探索するようにしてもよい。 In addition, when there is variation in the intensity of the received waveform, the frequency of occurrence of exceeding the threshold Vth is used to determine the score at a certain threshold, instead of the binary value of whether the received waveform exceeds the threshold Vth or not, for example, the same threshold Vth may be measured 10 times, a score as a continuous value indicating how many times the threshold crossing timing has shifted may be obtained, and a search may be performed using a hill-climbing method or the like.

〔実施の形態の拡張〕
以上、実施の形態を参照して本発明を説明したが、本発明は上記の実施の形態に限定されるものではない。本発明の構成や詳細には、本発明の技術思想の範囲内で当業者が理解し得る様々な変更をすることができる。
[Expansion of Embodiment]
Although the present invention has been described with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the technical idea of the present invention.

1…配管、2…第1の超音波送受信器(上流側トランスデューサ)、3…第2の超音波送受信器(下流側トランスデューサ)、4…流量演算装置、4-1…中央演算処理装置(CPU)、4-2…ランダムアクセスメモリ(RAM)、4-3…専用メモリ(ROM)、4-4…記憶装置、4-5,4-6…インタフェース、4-7…母線、41…受信波形計測部、42(42A,42B)…ピーク高さ情報取得部、42A…ピーク高さ情報取得部、42A_1,42B_1…探索範囲設定部、42A_2,42B_2…閾値設定部、42A_3,42B_3…閾値比較部、42A_4,42B_4…ゼロクロス時刻検出部、42A_5,42B_5…ゼロクロス時刻記憶部、42A_6,42B_6…ゼロクロス時刻比較部、42A_7,42B_7…振幅値実値決定部、42B_8…最大振幅取得部、43…伝播時間計測用閾値電圧決定部、100…超音波流量計。 1... Piping, 2... First ultrasonic transmitter/receiver (upstream transducer), 3... Second ultrasonic transmitter/receiver (downstream transducer), 4... Flow calculation device, 4-1... Central processing unit (CPU ), 4-2... Random access memory (RAM), 4-3... Dedicated memory (ROM), 4-4... Storage device, 4-5, 4-6... Interface, 4-7... Bus line, 41... Received waveform Measurement unit 42 (42A, 42B) ... peak height information acquisition unit 42A ... peak height information acquisition unit 42A_1, 42B_1 ... search range setting unit 42A_2, 42B_2 ... threshold setting unit 42A_3, 42B_3 ... threshold comparison unit , 42A_4, 42B_4 ... zero-cross time detection unit, 42A_5, 42B_5 ... zero-cross time storage unit, 42A_6, 42B_6 ... zero-cross time comparison unit, 42A_7, 42B_7 ... actual amplitude value determination unit, 42B_8 ... maximum amplitude acquisition unit, 43 ... propagation time Measurement threshold voltage determination unit 100... Ultrasonic flow meter.

Claims (6)

測定対象の流体が流れる配管と、この配管の上流側に配置された第1の超音波送受信器と、前記配管の下流側に配置された第2の超音波送受信器とを備え、前記第1の超音波送受信器と前記第2の超音波送受信器との間で前記流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた前記両方向における前記超音波信号の伝播時間差に基づいて、前記流体の流量を計測するように構成された超音波流量計において、
前記超音波信号の受信波形を計測するように構成された受信波形計測部と、
前記受信波形の振幅方向に部分的に、その受信波形の所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得するように構成されたピーク高さ情報取得部と、を備え、
前記ピーク高さ情報取得部は、
前記受信波形の振幅方向に部分的に、その受信波形における前記ピーク高さ情報の取得の対象となる波のうち、最小の振幅の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記最小の振幅の波の振幅値の実値をピーク高さ情報として取得し、
この取得したピーク高さ情報から予測される次の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記次の波の振幅値の実値をピーク高さ情報として取得する
ことを特徴とする超音波流量計。
a pipe through which a fluid to be measured flows; a first ultrasonic transmitter/receiver arranged upstream of the pipe; and a second ultrasonic transmitter/receiver arranged downstream of the pipe; The measurement step of transmitting and receiving ultrasonic signals in both directions through the fluid between the ultrasonic transmitter and receiver of and the second ultrasonic transmitter and receiver is performed a plurality of times, and in the two directions obtained for each of these measurement steps In an ultrasonic flowmeter configured to measure the flow rate of the fluid based on the propagation time difference of the ultrasonic signal,
a received waveform measurement unit configured to measure a received waveform of the ultrasonic signal;
A search range of a predetermined width including a predicted amplitude value of a predetermined wave of the received waveform is partially set in the amplitude direction of the received waveform, and the received waveform measuring unit changes a threshold value within the search range. to repeatedly measure the received waveform by, each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the amplitude of the predetermined wave a peak height information acquisition unit configured to acquire the actual value of the value as peak height information,
The peak height information acquisition unit is
A search range of a predetermined width is set partially in the amplitude direction of the received waveform, including the predicted amplitude value of the wave with the smallest amplitude among the waves from which the peak height information is obtained in the received waveform. Then, the received waveform is repeatedly measured by the received waveform measuring unit while changing the threshold within the search range, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold is determined. obtaining, based on the obtained timing, obtaining the actual value of the amplitude value of the minimum amplitude wave as peak height information,
A search range of a predetermined width including the amplitude value of the next wave predicted from the acquired peak height information is partially set in the amplitude direction of the received waveform, and the received waveform is changed while changing the threshold within this search range. Measurement of the received waveform by the measuring unit is repeatedly performed, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the next wave is detected. An ultrasonic flowmeter characterized by acquiring an actual amplitude value as peak height information.
測定対象の流体が流れる配管と、この配管の上流側に配置された第1の超音波送受信器と、前記配管の下流側に配置された第2の超音波送受信器とを備え、前記第1の超音波送受信器と前記第2の超音波送受信器との間で前記流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた前記両方向における前記超音波信号の伝播時間差に基づいて、前記流体の流量を計測するように構成された超音波流量計において、
前記超音波信号の受信波形を計測するように構成された受信波形計測部と、
前記受信波形の振幅方向に部分的に、その受信波形の所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得するように構成されたピーク高さ情報取得部と、を備え、
前記ピーク高さ情報取得部は、
前記受信波形計測部によって計測された前記受信波形の振幅の代表値を求め、この振幅の代表値から予測される前記受信波形における所定番目の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得し、
この取得したピーク高さ情報から予測される次の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測部による前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記次の波の振幅値の実値をピーク高さ情報として取得する
ことを特徴とする超音波流量計。
a pipe through which a fluid to be measured flows; a first ultrasonic transmitter/receiver arranged upstream of the pipe; and a second ultrasonic transmitter/receiver arranged downstream of the pipe; The measurement step of transmitting and receiving ultrasonic signals in both directions through the fluid between the ultrasonic transmitter and receiver of and the second ultrasonic transmitter and receiver is performed a plurality of times, and in the two directions obtained for each of these measurement steps In an ultrasonic flowmeter configured to measure the flow rate of the fluid based on the propagation time difference of the ultrasonic signal,
a received waveform measurement unit configured to measure a received waveform of the ultrasonic signal;
A search range of a predetermined width including a predicted amplitude value of a predetermined wave of the received waveform is partially set in the amplitude direction of the received waveform, and the received waveform measuring unit changes a threshold value within the search range. to repeatedly measure the received waveform by, each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the amplitude of the predetermined wave a peak height information acquisition unit configured to acquire the actual value of the value as peak height information,
The peak height information acquisition unit is
A representative value of the amplitude of the received waveform measured by the received waveform measuring unit is obtained, and a search range of a predetermined width including an amplitude value of a predetermined wave in the received waveform predicted from the representative value of the amplitude is defined as the reception range. The received waveform is partially set in the amplitude direction of the waveform, and the received waveform is repeatedly measured by the received waveform measurement unit while changing the threshold value within the search range. Obtaining the timing of first crossing the threshold value, obtaining the actual value of the amplitude value of the predetermined wave based on the obtained timing as peak height information,
A search range of a predetermined width including the amplitude value of the next wave predicted from the acquired peak height information is partially set in the amplitude direction of the received waveform, and the received waveform is changed while changing the threshold within this search range. Measurement of the received waveform by the measuring unit is repeatedly performed, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the next wave is detected. An ultrasonic flowmeter characterized by acquiring an actual amplitude value as peak height information.
請求項1又は2に記載された超音波流量計において、
前記ピーク高さ情報取得部は、
前記受信波形が前記閾値と最初に交叉するタイミングを求め、このタイミングを過ぎた
後の次にゼロクロスするタイミングをゼロクロス時刻として検出し、この検出したゼロクロス時刻に基づいて前記ピーク高さ情報を取得する
ことを特徴とする超音波流量計。
In the ultrasonic flowmeter according to claim 1 or 2 ,
The peak height information acquisition unit is
The timing at which the received waveform first crosses the threshold value is obtained, the next zero-crossing timing after this timing is detected as a zero-crossing time, and the peak height information is obtained based on the detected zero-crossing time. An ultrasonic flowmeter characterized by:
測定対象の流体が流れる配管と、この配管の上流側に配置された第1の超音波送受信器と、前記配管の下流側に配置された第2の超音波送受信器とを備え、前記第1の超音波送受信器と前記第2の超音波送受信器との間で前記流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた前記両方向における前記超音波信号の伝播時間差に基づいて、前記流体の流量を計測する超音波流量計におけるピーク高さ情報取得方法であって、
前記超音波信号の受信波形を計測する受信波形計測ステップと、
前記受信波形の振幅方向に部分的に、その受信波形における所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得するピーク高さ情報取得ステップと、を備え、
前記ピーク高さ情報取得ステップは、
前記受信波形の振幅方向に部分的に、その受信波形における前記ピーク高さ情報の取得の対象となる波のうち、最小の振幅の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記最小の振幅の波の振幅値の実値をピーク高さ情報として取得し、
この取得したピーク高さ情報から予測される次の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記次の波の振幅値の実値をピーク高さ情報として取得する
ことを特徴とする超音波流量計におけるピーク高さ情報取得方法。
a pipe through which a fluid to be measured flows; a first ultrasonic transmitter/receiver arranged upstream of the pipe; and a second ultrasonic transmitter/receiver arranged downstream of the pipe; The measurement step of transmitting and receiving ultrasonic signals in both directions through the fluid between the ultrasonic transmitter and receiver of and the second ultrasonic transmitter and receiver is performed a plurality of times, and in the two directions obtained for each of these measurement steps A method for obtaining peak height information in an ultrasonic flowmeter that measures the flow rate of the fluid based on the propagation time difference of the ultrasonic signal,
a received waveform measuring step of measuring a received waveform of the ultrasonic signal;
A search range of a predetermined width including a predicted amplitude value of a predetermined wave in the received waveform is set partially in the amplitude direction of the received waveform, and the received waveform measurement step while changing the threshold value within the search range. to repeatedly measure the received waveform by, each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the amplitude of the predetermined wave a peak height information acquisition step of acquiring the actual value of the value as peak height information,
The peak height information acquisition step includes:
A search range of a predetermined width is set partially in the amplitude direction of the received waveform, including the predicted amplitude value of the wave with the smallest amplitude among the waves from which the peak height information is obtained in the received waveform. Then, while changing the threshold value within the search range, the received waveform measurement step is repeatedly performed, and each time the received waveform measurement is performed, the timing at which the received waveform first crosses the threshold value is determined. obtaining, based on the obtained timing, obtaining the actual value of the amplitude value of the minimum amplitude wave as peak height information,
A search range of a predetermined width including the amplitude value of the next wave predicted from the acquired peak height information is partially set in the amplitude direction of the received waveform, and the received waveform is changed while changing the threshold within this search range. The measurement of the received waveform is repeatedly performed by the measurement step, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and the next wave is determined based on the obtained timing. A method for acquiring peak height information in an ultrasonic flowmeter, comprising acquiring an actual amplitude value as peak height information.
測定対象の流体が流れる配管と、この配管の上流側に配置された第1の超音波送受信器と、前記配管の下流側に配置された第2の超音波送受信器とを備え、前記第1の超音波送受信器と前記第2の超音波送受信器との間で前記流体を介して超音波信号を両方向で送受信する計測工程を複数回実施し、これら計測工程毎に得られた前記両方向における前記超音波信号の伝播時間差に基づいて、前記流体の流量を計測する超音波流量計におけるピーク高さ情報取得方法であって、
前記超音波信号の受信波形を計測する受信波形計測ステップと、
前記受信波形の振幅方向に部分的に、その受信波形における所定番目の波の予測される振幅値を含む所定幅の探索範囲を設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得するピーク高さ情報取得ステップと、を備え、
前記ピーク高さ情報取得ステップは、
前記受信波形計測ステップによって計測された前記受信波形の振幅の代表値を求め、この振幅の代表値から予測される前記受信波形における所定番目の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記所定番目の波の振幅値の実値をピーク高さ情報として取得し、
この取得したピーク高さ情報から予測される次の波の振幅値を含む所定幅の探索範囲を前記受信波形の振幅方向に部分的に設定し、この探索範囲内で閾値を変えながら前記受信波形計測ステップによる前記受信波形の計測を繰り返し実行させ、この受信波形の計測が行われる毎にその受信波形が前記閾値と最初に交叉するタイミングを求め、この求めたタイミングに基づいて前記次の波の振幅値の実値をピーク高さ情報として取得する
ことを特徴とする超音波流量計におけるピーク高さ情報取得方法。
a pipe through which a fluid to be measured flows; a first ultrasonic transmitter/receiver arranged upstream of the pipe; and a second ultrasonic transmitter/receiver arranged downstream of the pipe; The measurement step of transmitting and receiving ultrasonic signals in both directions through the fluid between the ultrasonic transmitter and receiver of and the second ultrasonic transmitter and receiver is performed a plurality of times, and in the two directions obtained for each of these measurement steps A method for obtaining peak height information in an ultrasonic flowmeter that measures the flow rate of the fluid based on the propagation time difference of the ultrasonic signal,
a received waveform measuring step of measuring a received waveform of the ultrasonic signal;
A search range of a predetermined width including a predicted amplitude value of a predetermined wave in the received waveform is set partially in the amplitude direction of the received waveform, and the received waveform measurement step while changing the threshold value within the search range. to repeatedly measure the received waveform by, each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and based on the obtained timing, the amplitude of the predetermined wave a peak height information acquisition step of acquiring the actual value of the value as peak height information,
The peak height information acquisition step includes:
A representative value of the amplitude of the received waveform measured by the received waveform measuring step is obtained, and a search range having a predetermined width including an amplitude value of a predetermined wave in the received waveform predicted from the representative value of the amplitude is defined as the reception range. The received waveform is partially set in the amplitude direction of the waveform, and the received waveform is repeatedly measured by the received waveform measurement step while changing the threshold value within the search range. Obtaining the timing of first crossing the threshold value, obtaining the actual value of the amplitude value of the predetermined wave based on the obtained timing as peak height information,
A search range of a predetermined width including the amplitude value of the next wave predicted from the acquired peak height information is partially set in the amplitude direction of the received waveform, and the received waveform is changed while changing the threshold within this search range. The measurement of the received waveform is repeatedly performed by the measurement step, and each time the received waveform is measured, the timing at which the received waveform first crosses the threshold value is obtained, and the next wave is determined based on the obtained timing. A method for acquiring peak height information in an ultrasonic flowmeter, comprising acquiring an actual amplitude value as peak height information.
請求項4又は5に記載された超音波流量計におけるピーク高さ情報取得方法において、
前記ピーク高さ情報取得ステップは、前記受信波形が前記閾値と最初に交叉するタイミングを求め、このタイミングを過ぎた後の次にゼロクロスするタイミングをゼロクロス時刻として検出し、この検出したゼロクロス時刻に基づいて前記ピーク高さ情報を取得する
ことを特徴とする超音波流量計におけるピーク高さ情報取得方法。
In the method for acquiring peak height information in the ultrasonic flowmeter according to claim 4 or 5 ,
The peak height information obtaining step obtains the timing at which the received waveform first crosses the threshold value, detects the next zero-crossing timing after passing this timing as a zero-crossing time, and based on the detected zero-crossing time A method for acquiring peak height information in an ultrasonic flowmeter, characterized in that the peak height information is acquired by using an ultrasonic flowmeter.
JP2018203539A 2018-10-30 2018-10-30 Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter Active JP7184596B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018203539A JP7184596B2 (en) 2018-10-30 2018-10-30 Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018203539A JP7184596B2 (en) 2018-10-30 2018-10-30 Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter

Publications (2)

Publication Number Publication Date
JP2020071079A JP2020071079A (en) 2020-05-07
JP7184596B2 true JP7184596B2 (en) 2022-12-06

Family

ID=70547528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018203539A Active JP7184596B2 (en) 2018-10-30 2018-10-30 Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter

Country Status (1)

Country Link
JP (1) JP7184596B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114739469B (en) * 2020-12-23 2025-07-11 金卡水务科技有限公司 A method for preventing wrong waves for ultrasonic flowmeter and ultrasonic flowmeter
CN116558587B (en) * 2023-05-23 2025-08-08 重庆大学 Ultrasonic fluid flow measurement method and system based on flow prediction
CN118089869B (en) * 2024-04-28 2024-06-28 杭州山科智能科技股份有限公司 Ultrasonic water meter echo characteristic peak searching method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055171A1 (en) 2003-09-08 2005-03-10 Daniel Industries, Inc. Self-tuning ultrasonic meter
JP2007187506A (en) 2006-01-12 2007-07-26 Aichi Tokei Denki Co Ltd Ultrasonic flow meter
JP2014006170A (en) 2012-06-26 2014-01-16 Panasonic Corp Flow measuring device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055171A1 (en) 2003-09-08 2005-03-10 Daniel Industries, Inc. Self-tuning ultrasonic meter
JP2007187506A (en) 2006-01-12 2007-07-26 Aichi Tokei Denki Co Ltd Ultrasonic flow meter
JP2014006170A (en) 2012-06-26 2014-01-16 Panasonic Corp Flow measuring device

Also Published As

Publication number Publication date
JP2020071079A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
JP7184596B2 (en) Ultrasonic Flowmeter and Acquisition Method of Peak Height Information in Ultrasonic Flowmeter
JP4135056B2 (en) Ultrasonic flow meter
US5821427A (en) Liquid velocity measurement using curve fitting for peak velocity detection
WO2014205884A1 (en) Time difference type ultrasonic flowmeter measurement method based on zero point analysis
US20070167792A1 (en) Ultrasonic flowmeter capable of applying both pulse doppler method and transit time method, method and program for automatically selecting measurement method in flowmeter, and electronic device for flowmeter
JP2014092467A (en) Flow rate measurement device
US11346694B2 (en) Method for measuring the velocity of a fluid using ultrasound
JP2021067569A (en) Ultrasonic flowmeter and method for measuring flow rate
CN104237749A (en) Ultra-high-frequency partial discharge signal initial moment distinguishing method
CN110383076B (en) Method for measuring fluid velocity
JP7134830B2 (en) Ultrasonic flow meter, flow measurement method, and flow calculation device
CN111220816B (en) Time Difference Ultrasonic Velocity Measurement Method Using Frequency Hopping Signal
EP3438621B1 (en) Flow rate measurement device and method using the device
JP7174574B2 (en) Ultrasonic flowmeter and determination method of zero-crossing time in ultrasonic flowmeter
JP3350501B2 (en) Flow measurement device
JP7219582B2 (en) Ultrasonic flow meter, flow measurement method, and flow calculation device
JP2012058186A (en) Ultrasonic flowmeter
JP7605595B2 (en) Ultrasonic flowmeter and method for determining reliability of reception strength
JP2018128264A (en) Ultrasonic flowmeter and flow measurement method
JP2023010247A (en) Ultrasonic flowmeter and flow rate computation method
JP3979139B2 (en) Optical fiber evaluation method
JP2003222548A (en) Flow measurement device
GB2595224A (en) Ultrasonic flow measurement
JPH053527B2 (en)
TWI879420B (en) Ultrasonic flowmeter and flow measurement method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221101

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221124

R150 Certificate of patent or registration of utility model

Ref document number: 7184596

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250