JPH06160137A - Flow measuring device - Google Patents

Flow measuring device

Info

Publication number
JPH06160137A
JPH06160137A JP33229692A JP33229692A JPH06160137A JP H06160137 A JPH06160137 A JP H06160137A JP 33229692 A JP33229692 A JP 33229692A JP 33229692 A JP33229692 A JP 33229692A JP H06160137 A JPH06160137 A JP H06160137A
Authority
JP
Japan
Prior art keywords
flow rate
signal
circuit
correction data
analog current
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.)
Pending
Application number
JP33229692A
Other languages
Japanese (ja)
Inventor
Osamu Matsumoto
修 松本
Takehiko Sudo
武彦 須藤
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.)
Tokico Ltd
Original Assignee
Tokico Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokico Ltd filed Critical Tokico Ltd
Priority to JP33229692A priority Critical patent/JPH06160137A/en
Publication of JPH06160137A publication Critical patent/JPH06160137A/en
Pending legal-status Critical Current

Links

Landscapes

  • Flow Control (AREA)

Abstract

PURPOSE:To provide a flow measuring device capable of precisely adjusting the analog current in a short time. CONSTITUTION:A flow measuring device is provided with the first correction data generating circuit 41 outputting the first correction data J when the digital signal Dmin corresponding to the analog current C (4mA) and the first specified value Q do not coincide at the flow of 0, a request signal generating circuit 42 outputting the request signal L when both of them coincide, a flow signal generating circuit 27 outputting the flow signal A corresponding to the maximum flow by the request signal L, and the second correction data generating circuit 43 comparing the digital signal Dmax corresponding to the analog current C outputted based on the request signal L and the second specified value R (equivalent to 20mA) and outputting the second correction data K when they do not coincide. The first and second width data Tb, Tc are re-written by the outputs of the first and second correction data J, K. The visual work is omitted, the adjusting time is shortened, and the adjusting precision can be improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、流体の流量計測に用い
られる装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device used for measuring a flow rate of a fluid.

【0002】[0002]

【従来の技術】従来の流量計測装置の一例として図4に
示すものがある。この流量計測装置は流量計測部1と、
信号線2を介してこの流量計測部1に信号授受可能に接
続する調整装置3とから大略構成されている。
2. Description of the Related Art An example of a conventional flow rate measuring device is shown in FIG. This flow measuring device includes a flow measuring unit 1,
The flow rate measuring unit 1 is connected to the flow rate measuring unit 1 via a signal line 2 so as to be able to send and receive signals.

【0003】流量計測部1は、流体の流量を検出するセ
ンサ部4と、センサ部4からの流量信号AをPWM信号
Bに変換する流量計測部用制御部5と、PWM信号Bを
アナログ電流Cに変換しこのアナログ電流Cを信号線2
を介して調整装置3に出力するアナログ電流変換回路6
と、アナログ電流変換回路6に接続した信号線2と流量
計測部用制御部5との間に介装された流量計測部用通信
回路7とから構成されている。
The flow rate measuring section 1 includes a sensor section 4 for detecting a flow rate of a fluid, a flow rate measuring section control section 5 for converting a flow rate signal A from the sensor section 4 into a PWM signal B, and a PWM signal B for an analog current. C is converted to C and this analog current C is converted to signal line 2
Current conversion circuit 6 for outputting to the adjusting device 3 via
And a flow rate measuring unit communication circuit 7 interposed between the signal line 2 connected to the analog current conversion circuit 6 and the flow rate measuring unit control unit 5.

【0004】流量計測部用制御部5は、PWM信号Bの
周期データを格納する周期設定レジスタ8と、PWM信
号Bの幅データを格納する幅設定レジスタ9と、センサ
部4からの流量信号Aを周期設定レジスタ8の周期デー
タ及びPWM信号Bの幅データに基づいてPWM信号B
に変換してこれを出力する演算回路10とから構成されて
いる。
The flow rate measuring section control section 5 includes a cycle setting register 8 for storing cycle data of the PWM signal B, a width setting register 9 for storing width data of the PWM signal B, and a flow rate signal A from the sensor section 4. Based on the period data of the period setting register 8 and the width data of the PWM signal B.
It is composed of an arithmetic circuit 10 which converts the data into a signal and outputs it.

【0005】調整装置3には、調整装置用制御部11と、
この調整装置用制御部11に増加命令信号Dを出力する増
加スイッチ12及び同調整装置用制御部11に減少命令信号
Eを出力する減少スイッチ13からなる操作部14と、調整
装置用制御部11と信号線2の一端部との間に介装された
調整装置用通信回路15とが設けられている。また、信号
線2に分岐して電流計16が設けられている。
The adjusting device 3 includes an adjusting device control section 11 and
An operating unit 14 including an increasing switch 12 for outputting an increasing command signal D to the adjusting device control unit 11 and a decreasing switch 13 for outputting a decreasing command signal E to the adjusting device control unit 11, and an adjusting device control unit 11 There is provided a communication circuit 15 for the adjusting device, which is interposed between the signal line 2 and one end of the signal line 2. An ammeter 16 is provided so as to branch to the signal line 2.

【0006】この流量計測装置では、センサ部4から流
量信号Aが演算回路10に入力すると、この流量信号Aを
演算回路10にてPWM信号Bに変換し、このPWM信号
Bをアナログ電流変換回路6にて使用電流範囲のアナロ
グ電流Cに変換し、このデータを信号線2に接続した図
示しないディスプレイに出力して表示させたりあるいは
プリンタに出力してプリントアウトさせたりしている。
In this flow rate measuring device, when the flow rate signal A is input from the sensor unit 4 to the arithmetic circuit 10, the flow rate signal A is converted into a PWM signal B by the arithmetic circuit 10, and the PWM signal B is converted into an analog current conversion circuit. At 6, the data is converted into an analog current C in the used current range, and this data is output to a display (not shown) connected to the signal line 2 for display, or output to a printer for printing.

【0007】この流量計測装置では、流体が流れていな
い(流量=0)ときアナログ電流Cの使用電流範囲の下
限値を、設計上の余裕等の観点から0とせず、例えば4
mAとし、また流体の流量が最大値を示す場合にはアナロ
グ電流Cの使用電流範囲の上限値を例えば20mAとしてい
る。
In this flow rate measuring device, when the fluid is not flowing (flow rate = 0), the lower limit value of the working current range of the analog current C is not set to 0 from the viewpoint of design margin and the like.
mA, and when the flow rate of the fluid shows the maximum value, the upper limit value of the working current range of the analog current C is set to 20 mA, for example.

【0008】ところで、流量計測装置では、流量計測部
1の種類あるいはその経時変化等によっては、流量=0
のとき及び最大流量のときにあらかじめ規定した使用電
流範囲の下限値(例えば4mA)及び上限値(例えば20m
A)を示さないことがある。これに対処するために、こ
の流量計測装置では、次のような調整を行うようにして
いる。
By the way, in the flow rate measuring device, the flow rate = 0 depending on the type of the flow rate measuring unit 1 or its change over time.
At the time of and at the maximum flow rate, the lower limit value (eg 4mA) and upper limit value (eg 20m) of the working current range specified in advance
A) may not be indicated. In order to deal with this, the flow rate measuring device is configured to make the following adjustments.

【0009】即ち、電流計16を目視し、アナログ電流C
値<4mAであった場合、増加スイッチ12を操作すること
により増加命令信号Dを出力し、この増加命令信号Dに
応じて流量計測部用制御部5の演算回路10が幅設定レジ
スタ9に格納されている前記下限値に対応する第1調整
データを+1増加し、またアナログ電流C値>4mAであ
った場合、減少スイッチ13を操作することにより減少命
令信号Eを出力し、この減少命令信号Eに応じて流量計
測部用制御部5の演算回路10が幅設定レジスタ9に格納
されている前記下限値に対応する第1調整データを1減
少し、アナログ電流C値=4mAとなった段階で下限値
(4mA)に対する調整を終了する。また、上限値(20m
A)に対する調整は、上記下限値(4mA)に対する調整
と同様に電流計16を目視しつつ幅設定レジスタ9に格納
されている上限値に対応する第2調整データを書き換え
ることにより行なっていた。
That is, by visually observing the ammeter 16, the analog current C
When the value is <4 mA, an increase command signal D is output by operating the increase switch 12, and the arithmetic operation circuit 10 of the flow rate measuring unit control unit 5 stores it in the width setting register 9 according to the increase command signal D. If the first adjustment data corresponding to the lower limit value is increased by +1 and the analog current C value is> 4 mA, a decrease command signal E is output by operating the decrease switch 13, and the decrease command signal E is output. In accordance with E, the arithmetic circuit 10 of the flow rate measuring unit control unit 10 decrements the first adjustment data corresponding to the lower limit value stored in the width setting register 9 by 1 and the analog current C value becomes 4 mA. Ends the adjustment for the lower limit value (4 mA) with. In addition, the upper limit (20m
The adjustment for A) was performed by rewriting the second adjustment data corresponding to the upper limit value stored in the width setting register 9 while visually observing the ammeter 16 as in the adjustment for the lower limit value (4 mA).

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述し
た流量計測装置では、アナログ電流Cの調整を行う上
で、電流計16を見ながら調整装置3の操作部14を操作
し、この操作により補正データを流量計測部1に送信す
るようにしているため、多くの調整時間がかかる上に、
電流計16の目視を伴うことにより読取り誤差が生じて調
整の精度が低いものになっていた。
However, in the above-described flow rate measuring device, when adjusting the analog current C, the operation unit 14 of the adjusting device 3 is operated while watching the ammeter 16, and the correction data is obtained by this operation. Is transmitted to the flow rate measurement unit 1, so it takes a lot of adjustment time and
Due to the visual inspection of the ammeter 16, a reading error occurred and the adjustment accuracy was low.

【0011】本発明は、上記事情に鑑みてなされたもの
で、アナログ電流の調整を短時間でかつ精度高く達成で
きる流量計測装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a flow rate measuring device capable of achieving adjustment of an analog current in a short time and with high accuracy.

【0012】[0012]

【課題を解決するための手段】本発明は、上記目的を達
成するために、流体の流量を検出するセンサ部、及び該
センサ部からの流量信号を調整データ用記憶回路に格納
される第1、第2の調整データにて下限値及び上限値が
規定される使用電流範囲のアナログ電流に変換して出力
する電流変換部を有する流量計測部と、該流量計測部に
第1、第2の補正データを送信することにより調整デー
タ用記憶回路に格納される前記第1、第2調整データを
該第1、第2の補正データの内容に応じて書き換える調
整装置とからなる流量計測装置において、前記使用電流
範囲の下限値、上限値に対応する第1、第2の規定値を
格納する規定値用記憶回路と、流体の流量が0のときに
おける流量計測部からのアナログ電流値を前記第1の規
定値と比較し一致しているときは一致信号を発生し、一
致していないときは不一致信号を発生する比較回路と、
比較回路が不一致信号を発生したとき第1の規定値に相
当する内容の第1の補正データを発生する第1の補正デ
ータ発生回路と、比較回路が一致信号を発生したとき流
量計測部に要求信号を出力する要求信号発生回路とを前
記調整装置に設け、前記要求信号を受け前記センサ部か
らの流量信号に代えて前記流体の最大流量に対応する流
量信号を前記電流変換部に出力する流量信号発生回路を
前記流量計測部に設け、前記流量信号発生回路からの信
号入力により電流変換部から出力されるアナログ電流を
受け該アナログ電流値を第2の規定値と比較し一致して
いないとき第2の規定値に相当する内容の第2の補正デ
ータを発生する第2の補正データ発生回路を前記調整装
置に設けたことを特徴とする。
In order to achieve the above object, the present invention is directed to a sensor unit for detecting a flow rate of a fluid, and a flow rate signal from the sensor unit stored in an adjustment data storage circuit. , A flow rate measuring section having a current converting section for converting and outputting to an analog current in a working current range in which a lower limit value and an upper limit value are defined by the second adjustment data, and the first and second flow rate measuring sections. In a flow rate measuring device comprising an adjusting device that rewrites the first and second adjusting data stored in the adjusting data storage circuit by transmitting the correcting data according to the contents of the first and second correcting data, The specified value storage circuit for storing the first and second specified values corresponding to the lower limit value and the upper limit value of the operating current range, and the analog current value from the flow rate measuring unit when the flow rate of the fluid is 0 Comparing with the specified value of 1 And it generates a coincidence signal when being a comparator circuit for generating a mismatch signal when they do not coincide,
Request to the first correction data generation circuit that generates the first correction data having the content corresponding to the first specified value when the comparison circuit generates the non-coincidence signal, and the flow rate measurement unit when the comparison circuit generates the coincidence signal. A flow rate signal generating circuit for outputting a signal is provided in the adjusting device, and a flow rate signal corresponding to the maximum flow rate of the fluid is output to the current conversion section instead of the flow rate signal from the sensor section that receives the request signal. When a signal generation circuit is provided in the flow rate measurement unit and receives an analog current output from the current conversion unit in response to a signal input from the flow rate signal generation circuit, the analog current value is compared with a second specified value and they do not match. A second correction data generation circuit for generating the second correction data having the content corresponding to the second specified value is provided in the adjustment device.

【0013】[0013]

【作用】このような構成とすれば、電源をオンして流体
の流量が0のときにおける流量計測部からのアナログ電
流が調整装置に入力すると、比較回路がこのアナログ電
流値と第1の規定値とを比較し、一致していないとき第
1の補正データ発生回路が第1の補正データを流量計測
部に出力して調整データ用記憶回路の第1調整データが
書き換えられ、使用電流範囲の下限値に対する調整が行
なわれる一方、この調整によりアナログ電流と第1の規
定値とが一致することとなると要求信号発生回路が要求
信号を出力して流量信号発生回路が流体の最大流量に対
応する流量信号を電流変換部に出力し、電流変換部が、
前記流量信号に対応したアナログ電流を調整装置に出力
し、第2の補正データ発生回路が同アナログ電流値と第
2の規定値との比較を行ない一致していない際に第2の
規定値に相当する内容の第2の補正データを流量計測部
に出力し、調整データ用記憶回路の第2調整データが書
き換えられ、使用電流範囲の上限値に対する調整が行な
われて調整を完了する。
With this structure, when the analog current from the flow rate measuring unit when the flow rate of the fluid is 0 is input to the adjusting device when the power supply is turned on, the comparison circuit causes the analog current value and the first regulation value. When the values do not match, the first correction data generation circuit outputs the first correction data to the flow rate measurement unit and the first adjustment data in the adjustment data storage circuit is rewritten to change the operating current range. While the adjustment for the lower limit value is performed, if the analog current and the first specified value match due to this adjustment, the request signal generation circuit outputs the request signal and the flow rate signal generation circuit corresponds to the maximum flow rate of the fluid. The flow rate signal is output to the current conversion unit, and the current conversion unit
An analog current corresponding to the flow rate signal is output to the adjusting device, and the second correction data generation circuit compares the analog current value with the second specified value and when they do not match, the second specified value is set. The second correction data having the corresponding content is output to the flow rate measuring unit, the second adjustment data in the adjustment data storage circuit is rewritten, and the adjustment is completed with respect to the upper limit value of the operating current range.

【0014】[0014]

【実施例】以下、本発明の一実施例の流量計測装置を図
1ないし図3に基づいて説明する。この流量計測装置
は、流体の流量信号Aを、下限値を4mA、上限値を20mA
とする使用電流範囲のアナログ電流Cに変換して出力す
る流量計測部20と、信号線2を介してこの流量計測部20
に信号授受可能に接続する調整装置21とから構成されて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A flow rate measuring device according to an embodiment of the present invention will be described below with reference to FIGS. This flow rate measuring device uses a flow rate signal A of fluid with a lower limit value of 4 mA and an upper limit value of 20 mA.
Flow rate measuring section 20 for converting into an analog current C in the working current range to be output, and this flow rate measuring section 20 via the signal line 2.
And an adjusting device 21 which is connected to and capable of transmitting and receiving a signal to and from.

【0015】流量計測部20は、流体の流量を検出するセ
ンサ部4と、センサ部4からの流量信号AをPWM信号
Bに変換する流量計測部用制御部22と、PWM信号Bを
アナログ電流Cに変換しこのアナログ電流Cを信号線2
を介して調整装置21に出力するアナログ電流変換回路6
と、アナログ電流変換回路6に接続した信号線2と流量
計測部用制御部22との間に介装された流量計測部用通信
回路7とから大略構成されている。
The flow rate measuring section 20 includes a sensor section 4 for detecting the flow rate of the fluid, a flow rate measuring section control section 22 for converting the flow rate signal A from the sensor section 4 into a PWM signal B, and an analog current for the PWM signal B. C is converted to C and this analog current C is converted to signal line 2
Analog current conversion circuit 6 that outputs to the adjusting device 21 via the
And a flow rate measuring section communication circuit 7 interposed between the signal line 2 connected to the analog current conversion circuit 6 and the flow rate measuring section control section 22.

【0016】流量計測部用制御部22は、流量信号A及び
調整完了信号Hを入力する流量計測部用演算回路23と、
PWM信号Bの周期データTa を書き換え可能に格納す
る周期設定レジスタ・コンパレータ24と、PWM信号B
の幅データを書換え可能に格納する幅設定レジスタ・コ
ンパレータ25と、第1、第2の補正データJ,Kを入力
する補正回路26と、要求信号Lを入力する流量信号発生
回路27と、クロック28と、タイマカウンタ29と、タイマ
起動回路30と、PWM信号Bを出力する信号出力回路31
とから構成されている。この場合、幅設定レジスタ・コ
ンパレータ25に格納されるPWM信号Bの幅データは、
第1、第2の幅データ(第1、第2調整データ)Tb
c 等から構成されている。
The control unit 22 for the flow rate measuring unit has an arithmetic circuit 23 for the flow rate measuring unit for inputting the flow rate signal A and the adjustment completion signal H,
A period setting register / comparator 24 for rewritably storing the period data T a of the PWM signal B, and the PWM signal B
Width setting register / comparator 25 for rewritably storing the width data, a correction circuit 26 for inputting the first and second correction data J and K, a flow rate signal generating circuit 27 for inputting the request signal L, and a clock. 28, a timer counter 29, a timer starting circuit 30, and a signal output circuit 31 for outputting the PWM signal B
It consists of and. In this case, the width data of the PWM signal B stored in the width setting register / comparator 25 is
First and second width data (first and second adjustment data) T b ,
It is composed of T c and the like.

【0017】流量計測部用演算回路23は、周期設定、幅
設定レジスタ・コンパレータ24,25及びタイマカウンタ
29と協働して、周期設定、幅設定レジスタ・コンパレー
タ24,25に格納されたPWM信号Bの周期データTa
び第1、第2の幅データTb,Tc に基づいて流量信号
AをPWM信号Bに変換して信号出力回路31を介してア
ナログ電流変換回路6に出力するようになっている。本
実施例では、流量計測部用制御部22及び信号出力回路31
が電流変換部を構成している。
The arithmetic circuit 23 for the flow rate measuring section is composed of a cycle setting, width setting register / comparators 24 and 25, and a timer counter.
In cooperation with 29, the flow rate signal A based on the cycle data Ta and the first and second width data Tb and Tc of the PWM signal B stored in the cycle setting / width setting register / comparators 24 and 25. Is converted into a PWM signal B and output to the analog current conversion circuit 6 via the signal output circuit 31. In the present embodiment, the flow rate measuring unit control unit 22 and the signal output circuit 31
Constitute a current conversion section.

【0018】流量信号発生回路27は、要求信号Lを受
け、前記流体の最大流量に対応する流量信号Aを、前記
センサ部4からの流量信号Aに代えて流量計測部用演算
回路23に出力するようになっている。
The flow rate signal generating circuit 27 receives the request signal L and outputs the flow rate signal A corresponding to the maximum flow rate of the fluid to the flow rate measuring section arithmetic circuit 23 in place of the flow rate signal A from the sensor section 4. It is supposed to do.

【0019】タイマカウンタ29は、クロック28が発生す
るクロック信号を入力し、このクロック信号のパルス数
のカウントをタイマ起動回路30が発する起動信号の入力
時点から開始する。なお、タイマカウンタ29は、タイマ
カウンタ29のカウント数と周期設定レジスタ・コンパレ
ータ24に設定されている周期データTa とが一致したと
きその値をクリアし、再び0からカウントを開始する。
The timer counter 29 inputs the clock signal generated by the clock 28, and starts counting the number of pulses of this clock signal from the time when the start signal issued by the timer start circuit 30 is input. The timer counter 29 clears the value when the count number of the timer counter 29 and the cycle data T a set in the cycle setting register / comparator 24 match, and restarts counting from 0.

【0020】周期設定レジスタ・コンパレータ24は、タ
イマカウンタ29のカウント数がこの周期設定レジスタ・
コンパレータ24に設定されている周期データTa と一致
するとそのことを示す信号を信号出力回路31に出力す
る。
In the cycle setting register / comparator 24, the count number of the timer counter 29 is
When it coincides with the cycle data T a set in the comparator 24, a signal indicating this is output to the signal output circuit 31.

【0021】幅設定レジスタ・コンパレータ25は、タイ
マカウンタ29のカウント数がこの幅設定レジスタ・コン
パレータ25に設定されている第1、第2の幅データT
b ,Tc に一致するとそのことを示す信号を信号出力回
路31に出力する。
The width setting register / comparator 25 is provided with the first and second width data T in which the count number of the timer counter 29 is set in the width setting register / comparator 25.
When b and T c match, a signal indicating that is output to the signal output circuit 31.

【0022】信号出力回路31は、周期設定レジスタ・コ
ンパレータ24からの信号を受けてPWM信号Bのレベル
をローレベル(L)からハイレベル(H)に変えるよう
に制御し、かつ幅設定レジスタ・コンパレータ25からの
信号を受けてPWM信号Bのレベルをハイレベル(H)
からローレベル(L)に変えるように制御すると共に、
その振幅も決めてPWM信号Bを出力する。
The signal output circuit 31 receives the signal from the period setting register / comparator 24 and controls the level of the PWM signal B so as to change it from a low level (L) to a high level (H). Receiving the signal from the comparator 25, the level of the PWM signal B is set to high level (H)
Control to change from low level (L),
The amplitude is also determined and the PWM signal B is output.

【0023】調整装置21は、調整装置用制御部32と、こ
の調整装置用制御部32にスタート信号M、リセット信号
Nをそれぞれ出力するスタートスイッチ33及びリセット
スイッチ34を有する操作部35と、調整装置用制御部32と
信号線2の一端部との間に介装された調整装置用通信回
路15と、信号線2の引込部に接続されてアナログ電流C
をアナログ電圧に変換するための抵抗36と、この抵抗36
と調整装置用制御部32との間に介装されてアナログ信号
をデジタル信号に変換するA/D変換回路37と、前記使
用電流範囲の下限値(4mA)、上限値(20mA)に対応す
る第1、第2の規定値Q,Rをデジタル信号で格納する
規定値用記憶回路38と、調整完了等の表示を行なう表示
部39とから構成されている。
The adjusting device 21 includes an adjusting device control unit 32, an operating unit 35 having a start switch 33 and a reset switch 34 for outputting a start signal M and a reset signal N to the adjusting device control unit 32, and an adjusting unit 35. The adjustment device communication circuit 15 interposed between the device controller 32 and one end of the signal line 2 and the analog current C connected to the lead-in part of the signal line 2 are connected.
Resistor 36 for converting the
Corresponding to the lower limit value (4 mA) and the upper limit value (20 mA) of the working current range, which is interposed between the control unit 32 and the controller 32 for adjusting device and converts an analog signal into a digital signal. It is composed of a prescribed value storage circuit 38 for storing the first and second prescribed values Q and R as digital signals, and a display section 39 for displaying the completion of adjustment and the like.

【0024】調整装置用制御部32は、流体の流量が0の
ときにおける流量計測部20からのアナログ電流C値を第
1の規定値(4mA)と比較し、一致しているとき一致信
号を、一致していないとき不一致信号を発生する比較回
路40と、比較回路40が不一致信号を発生したとき第1の
規定値(4mA)に相当する内容の第1の補正データJを
発生する第1の補正データ発生回路41と、比較回路40が
一致信号を発生したとき流量計測部20に要求信号Lを出
力する要求信号発生回路42と、前記流量信号発生回路27
からの信号入力により信号出力回路31から出力されるア
ナログ電流Cを受け、該アナログ電流C値を第2の規定
値R(20mA)と比較し、一致していないとき第2の規定
値R(20mA)に相当する内容の第2の補正データKを発
生する第2の補正データ発生回路43とから大略構成され
ている。
The adjusting device control section 32 compares the analog current C value from the flow rate measuring section 20 when the flow rate of the fluid is 0 with the first specified value (4 mA), and when they are in agreement, outputs a coincidence signal. , A comparison circuit 40 which generates a mismatch signal when they do not match, and a first correction data J which has a content corresponding to a first specified value (4 mA) when the comparison circuit 40 generates a mismatch signal Of the correction data generating circuit 41, the request signal generating circuit 42 that outputs the request signal L to the flow rate measuring unit 20 when the comparison circuit 40 generates the coincidence signal, and the flow rate signal generating circuit 27.
The analog current C output from the signal output circuit 31 is received by the signal input from, and the analog current C value is compared with the second specified value R (20 mA). If they do not match, the second specified value R ( 20 mA) and a second correction data generation circuit 43 for generating the second correction data K having a content corresponding to 20 mA).

【0025】図2は、前記流量計測部用制御部22及び調
整装置用制御部32の演算処理及び制御内容を示すフロー
チャートであり、このフローチャートに沿って以下に本
流量計測装置の作用を説明する。
FIG. 2 is a flow chart showing the arithmetic processing and control contents of the flow rate measuring unit control section 22 and the adjusting apparatus control section 32, and the operation of the flow rate measuring apparatus will be described below along this flow chart. .

【0026】まず、流量計測部20及び調整装置21の電源
がオンされる(ステップS61 )と、流体の流れがない状
態(流量=0)で、図示しない流量0における流量信号
発生部から流量計測部用制御部22に流量=0に相当する
流量信号Aが入力し、流量計測部用制御部22を介してア
ナログ電流変換回路6から所定値のアナログ電流C(4
mA相当)が調整装置21に送られることになり(ステップ
S62 )、この状態で、スタートスイッチ33がオンされる
(ステップS63 )と、A/D変換回路37を介してアナロ
グ電流変換回路6から入力される所定のアナログ電流C
(4mA相当)に相当するデジタル信号Dmin を調整装置
用制御部32が読み取る(ステップS64 )。
First, when the power supply of the flow rate measuring unit 20 and the adjusting device 21 is turned on (step S61), the flow rate is measured from the flow rate signal generating unit at a flow rate of 0 (not shown) with no fluid flow (flow rate = 0). A flow rate signal A corresponding to a flow rate of 0 is input to the control section 22 for the section, and the analog current conversion circuit 6 via the flow rate measuring section control section 22 outputs an analog current C (4
(mA equivalent) will be sent to the adjusting device 21 (step
S62), in this state, when the start switch 33 is turned on (step S63), a predetermined analog current C input from the analog current conversion circuit 6 via the A / D conversion circuit 37.
The adjusting device controller 32 reads the digital signal D min corresponding to (corresponding to 4 mA) (step S64).

【0027】続いて比較回路40がデジタル信号Dmin
第1の規定値Qとを比較し(ステップS65 )、一致して
いるとき一致信号を、一致していないとき不一致信号を
発生し、一致信号を発生すると、処理をステップS66 に
進める一方、不一致信号を発生するとステップS69 に進
んで処理を実行する。
Then, the comparison circuit 40 compares the digital signal D min with the first specified value Q (step S65). If they match, a match signal is generated, and if they do not match, a mismatch signal is generated and a match is generated. When a signal is generated, the process proceeds to step S66, while when a mismatch signal is generated, the process proceeds to step S69 to execute the process.

【0028】ステップS69 では第1の補正データ発生回
路41が、第1の規定値Qを第1の補正データJとして調
整装置用通信回路15、信号線2及び流量計測部用通信回
路7を介して流量計測部用制御部22に送信する。
In step S69, the first correction data generation circuit 41 sets the first specified value Q as the first correction data J via the adjustment device communication circuit 15, the signal line 2 and the flow rate measurement unit communication circuit 7. And sends it to the flow rate measuring unit control unit 22.

【0029】流量計測部用制御部22は、前記第1の補正
データJを入力して幅設定レジスタ・コンパレータ25に
格納された第1の幅データTb を第1の規定値Qに対応
した値(4mAに相当する。)に書き換えさせ(ステップ
S70 )、この処理の後、ステップS64 に戻って処理を実
行する。
The control unit 22 for the flow rate measuring unit inputs the first correction data J and sets the first width data T b stored in the width setting register / comparator 25 to correspond to the first specified value Q. Rewrite to the value (corresponding to 4mA) (step
S70), after this process, the process returns to step S64 to execute the process.

【0030】ステップS70 からステップS64 に戻って処
理を実行すると、前記ステップS70で、第1の幅データ
b を第1の規定値Qに対応した値(4mA)に書き換え
させる処理を行なったことにより、ステップS64 に続く
ステップS65 でYES と判定してステップS64 に進むこと
となり、ステップS66 で要求信号発生回路42は要求信号
Lを出力する。すると、流量信号発生回路27は、要求信
号Lを受けて、前記流体の最大流量に対応する流量信号
Aを、前記センサ部4からの流量信号Aに代えて流量計
測部用演算回路23に出力し、これにより流量計測部20が
この流量信号Aに対応したアナログ電流C(20mA相当)
を出力する(ステップS67 )。
When the process returns from step S70 to step S64 and the process is executed, the process of rewriting the first width data T b to the value (4 mA) corresponding to the first specified value Q was performed in step S70. As a result, YES is determined in step S65 following step S64, and the process proceeds to step S64, and the request signal generation circuit 42 outputs the request signal L in step S66. Then, the flow rate signal generating circuit 27 receives the request signal L and outputs the flow rate signal A corresponding to the maximum flow rate of the fluid to the flow rate measuring section arithmetic circuit 23 in place of the flow rate signal A from the sensor section 4. As a result, the flow rate measuring unit 20 causes the analog current C (corresponding to 20 mA) corresponding to the flow rate signal A.
Is output (step S67).

【0031】すると、このアナログ電流C(20mA相当)
は抵抗36を介して電圧信号としてA/D変換回路37に入
力され、A/D変換回路37が入力信号に応じたデジタル
信号Dmax (20mA相当)を調整装置用制御部32に出力
し、この調整装置用制御部32がデジタル信号Dmax (20
mA相当)を読み取る(ステップS68 )。
Then, this analog current C (equivalent to 20 mA)
Is input to the A / D conversion circuit 37 as a voltage signal via the resistor 36, and the A / D conversion circuit 37 outputs a digital signal D max (corresponding to 20 mA) corresponding to the input signal to the adjustment device control unit 32, The controller 32 for the adjusting device controls the digital signal D max (20
(equivalent to mA) is read (step S68).

【0032】ステップS68 に続いて第2の補正データ発
生回路43はデジタル信号Dmax と第2の規定値Rとの比
較を行ない(ステップS71 )、一致していると、ステッ
プS72 に進み、また一致していないときにはステップS7
4 に進んで処理を行なうことになる。
Subsequent to step S68, the second correction data generation circuit 43 compares the digital signal D max with the second specified value R (step S71). If they match, the process proceeds to step S72, and again. If they do not match, step S7
Proceed to step 4 to perform processing.

【0033】ステップS74 では、第2の補正データ発生
回路43が第2の規定値Rを第2の補正データKとして流
量計測部20に送信する。すると、流量計測部用演算回路
23は、幅設定レジスタ・コンパレータ25に格納した第2
の幅データTc を第2の規定値Rの内容に応じて書き換
え(ステップS75 )、このステップS75 の処理の後ステ
ップS68 に戻って処理を行なうことになる。
In step S74, the second correction data generation circuit 43 transmits the second specified value R as the second correction data K to the flow rate measuring section 20. Then, the arithmetic circuit for the flow rate measurement unit
23 is the second value stored in the width setting register / comparator 25
The width data T c of the second prescribed value R is rewritten according to the contents of the second prescribed value R (step S75), and after the processing of this step S75, the processing returns to step S68 and is performed.

【0034】ステップS75 からステップS68 に戻って処
理を実行すると、前記ステップS75で、第2の幅データ
c を第2の規定値Rの内容(20mA)に応じて書き換え
させる処理を行なったことにより、ステップS68 に続く
ステップS71 でYES と判定してステップS72 に進んで処
理を行なうこととなる。このステップS72 ではリセット
スイッチ34がオンされ、これにより調整装置用制御部32
から調整完了信号Hが流量計測部20に送信されると共
に、完了したことを示す内容の表示が表示部39に行なわ
れ、使用電流範囲の下限値(4mA)及び上限値(20mA)
に対する調整処理が完了する。
When the process returns from step S75 to step S68 and the process is executed, the process of rewriting the second width data T c in accordance with the content (20 mA) of the second specified value R is performed in step S75. As a result, YES is determined in step S71 subsequent to step S68, and the process proceeds to step S72 to perform the process. In this step S72, the reset switch 34 is turned on, which causes the adjustment device control unit 32 to operate.
From the adjustment completion signal H is transmitted from the flow rate measuring section 20 to the flow rate measuring section 20, the display indicating the completion is displayed on the display section 39, and the lower limit value (4 mA) and the upper limit value (20 mA) of the working current range are displayed.
The adjustment process for is completed.

【0035】上述したように、電源をオンして流体の流
量が0のときにおける流量計測部20からのアナログ電流
C(4mA相当)が調整装置21に入力すると、このアナロ
グ電流C(4mA相当)を変換したデジタル信号Dmin
第1の規定値Qと比較回路40がを比較し、一致していな
いとき第1の補正データ発生回路41が第1の補正データ
Jを流量計測部20に出力して幅設定レジスタ・コンパレ
ータ25の第1の幅データTb が書き換えられ、使用電流
範囲の下限値に対する調整が行なわれる一方、この調整
によりアナログ電流Cと第1の規定値Qとが一致すると
要求信号発生回路42が要求信号Lを出力して流量信号発
生回路27が流体の最大流量に対応する流量信号Aを電流
変換部(流量計測部用制御部22)に出力し、電流変換部
(信号出力回路31)が、前記流量信号Aに対応したアナ
ログ電流C(20mA相当)を調整装置21に出力し、同アナ
ログ電流C(20mA相当)を変換したデジタル信号Dmax
値と第2の規定値Rとの比較を第2の補正データ発生回
路43が行ない一致していない際に幅設定レジスタ・コン
パレータ25の第2の幅データTc が書き換えられ、使用
電流範囲の上限値に対する調整が行なわれて調整を完了
する。このため、使用電流範囲の下限値(4mA)及び上
限値(20mA)に対する調整を行う上で、目視作業を伴う
従来の流量計測装置に比して目視作業が省略されること
となるので、調整時間の短縮化及び調整精度の向上を図
ることができる。
As described above, when the analog current C (corresponding to 4 mA) from the flow rate measuring unit 20 when the power is turned on and the flow rate of the fluid is 0 is input to the adjusting device 21, this analog current C (corresponding to 4 mA). The comparison circuit 40 compares the digital signal D min converted with the first specified value Q with each other, and when they do not match, the first correction data generation circuit 41 outputs the first correction data J to the flow rate measurement unit 20. Then, the first width data T b of the width setting register / comparator 25 is rewritten to adjust the lower limit value of the operating current range, and when the analog current C and the first specified value Q coincide with each other by this adjustment. The request signal generation circuit 42 outputs the request signal L, and the flow rate signal generation circuit 27 outputs the flow rate signal A corresponding to the maximum flow rate of the fluid to the current conversion unit (flow rate measurement unit control unit 22), and the current conversion unit ( The signal output circuit 31) is The amount signal A analog current corresponding to the C (20 mA or equivalent) is output to the adjusting device 21, the digital signal D max obtained by converting the same analog current C (20 mA equivalent)
The second correction data generation circuit 43 compares the value with the second specified value R, and when the values do not match, the second width data T c of the width setting register / comparator 25 is rewritten to change the operating current range. The upper limit is adjusted and the adjustment is completed. Therefore, when adjusting the lower limit value (4 mA) and the upper limit value (20 mA) of the operating current range, the visual work is omitted as compared with the conventional flow rate measuring device that requires visual work. It is possible to shorten the time and improve the adjustment accuracy.

【0036】[0036]

【発明の効果】本発明は、以上説明したように構成され
た流量計測装置であるから、流体の流量が0のときにお
ける流量計測部からのアナログ電流が調整装置に入力
し、比較回路がこのアナログ電流値と第1の規定値とを
比較し、一致していないとき第1の補正データ発生回路
が第1の補正データを出力して調整データ用記憶回路の
第1調整データを書き換えられて使用電流範囲の下限値
の調整を終了し、この下限値に対する調整が終了する
と、要求信号発生回路が出力する要求信号を受けて流量
信号発生回路が流体の最大流量に対応する流量信号を電
流変換部に出力し、電流変換部が、前記流量信号に対応
したアナログ電流を調整装置に出力し、第2の補正デー
タ発生回路が同アナログ電流値と第2の規定値との比較
を行ない一致していない際に第2の規定値に相当する内
容の第2の補正データを流量計測部に出力して、調整デ
ータ用記憶回路の第2調整データを書き換えて使用電流
範囲の上限値に対する調整を終了するので、使用電流範
囲の下限値及び上限値に対する調整を行う上で、目視作
業を伴う従来の流量計測装置に比して目視作業が省略さ
れることとなって、調整時間の短縮化及び調整精度の向
上を図ることができる。
Since the present invention is the flow rate measuring device configured as described above, the analog current from the flow rate measuring portion when the flow rate of the fluid is 0 is input to the adjusting device, and the comparison circuit The analog current value and the first specified value are compared, and when they do not match, the first correction data generation circuit outputs the first correction data to rewrite the first adjustment data in the adjustment data storage circuit. When the adjustment of the lower limit value of the operating current range is completed and the adjustment to this lower limit value is completed, the flow rate signal generation circuit receives the request signal output from the request signal generation circuit and converts the flow rate signal corresponding to the maximum flow rate of the fluid into current. And the current converter outputs an analog current corresponding to the flow rate signal to the adjusting device, and the second correction data generation circuit compares the analog current value with the second specified value to determine that they match. Tena At this time, the second correction data having the content corresponding to the second specified value is output to the flow rate measurement unit, the second adjustment data in the adjustment data storage circuit is rewritten, and the adjustment for the upper limit value of the used current range is completed. Therefore, when adjusting the lower and upper limits of the operating current range, visual work is omitted as compared with the conventional flow rate measuring device that involves visual work, which shortens the adjustment time and improves the adjustment accuracy. Can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の流量計測装置を模式的に示
すブロック図である。
FIG. 1 is a block diagram schematically showing a flow rate measuring device according to an embodiment of the present invention.

【図2】同流量計測装置の演算処理及び制御内容を示す
フローチャートである。
FIG. 2 is a flowchart showing arithmetic processing and control contents of the same flow rate measuring device.

【図3】同流量計測装置に用いる信号のタイミングチャ
ートである。
FIG. 3 is a timing chart of signals used in the flow rate measuring device.

【図4】従来の流量計測装置の一例を模式的に示すブロ
ック図である。
FIG. 4 is a block diagram schematically showing an example of a conventional flow rate measuring device.

【符号の説明】[Explanation of symbols]

2 信号線 4 センサ部 6 アナログ電流変換回路 20 流量計測部 21 調整装置 22 流量計測部用制御部 25 幅設定レジスタ・コンパレータ 27 流量信号発生回路 31 信号出力回路 32 調整装置用制御部 38 規定値用記憶回路 40 比較回路 41 第1の補正データ発生回路 42 要求信号発生回路 43 第2の補正データ発生回路 2 Signal line 4 Sensor section 6 Analog current conversion circuit 20 Flow rate measuring section 21 Adjusting device 22 Flow rate measuring section control section 25 Width setting register / comparator 27 Flow rate signal generating circuit 31 Signal output circuit 32 Adjusting apparatus control section 38 Specified value Storage circuit 40 Comparison circuit 41 First correction data generation circuit 42 Request signal generation circuit 43 Second correction data generation circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 流体の流量を検出するセンサ部、及び該
センサ部からの流量信号を調整データ用記憶回路に格納
される第1、第2の調整データにて下限値及び上限値が
規定される使用電流範囲のアナログ電流に変換して出力
する電流変換部を有する流量計測部と、該流量計測部に
第1、第2の補正データを送信することにより調整デー
タ用記憶回路に格納される前記第1、第2調整データを
該第1、第2の補正データの内容に応じて書き換える調
整装置とからなる流量計測装置において、前記使用電流
範囲の下限値、上限値に対応する第1、第2の規定値を
格納する規定値用記憶回路と、流体の流量が0のときに
おける流量計測部からのアナログ電流値を前記第1の規
定値と比較し一致しているときは一致信号を発生し、一
致していないときは不一致信号を発生する比較回路と、
比較回路が不一致信号を発生したとき第1の規定値に相
当する内容の第1の補正データを発生する第1の補正デ
ータ発生回路と、比較回路が一致信号を発生したとき流
量計測部に要求信号を出力する要求信号発生回路とを前
記調整装置に設け、前記要求信号を受け前記センサ部か
らの流量信号に代えて前記流体の最大流量に対応する流
量信号を前記電流変換部に出力する流量信号発生回路を
前記流量計測部に設け、前記流量信号発生回路からの信
号入力により電流変換部から出力されるアナログ電流を
受け該アナログ電流値を第2の規定値と比較し一致して
いないとき第2の規定値に相当する内容の第2の補正デ
ータを発生する第2の補正データ発生回路を前記調整装
置に設けたことを特徴とする流量計測装置。
1. A lower limit value and an upper limit value are defined by a sensor section for detecting a flow rate of a fluid, and first and second adjustment data stored in an adjustment data storage circuit for a flow rate signal from the sensor section. Flow rate measuring section having a current converting section for converting into an analog current in a used current range and outputting the analog current, and the first and second correction data are transmitted to the flow rate measuring section to be stored in the adjustment data storage circuit. A flow rate measuring device comprising an adjusting device that rewrites the first and second adjustment data in accordance with the contents of the first and second correction data, in which a first value corresponding to a lower limit value and an upper limit value of the working current range, A specified value storage circuit that stores a second specified value and an analog current value from the flow rate measuring unit when the flow rate of the fluid is 0 are compared with the first specified value. If they occur and do not match, A comparison circuit that generates a mismatch signal,
Request to the first correction data generation circuit that generates the first correction data having the content corresponding to the first specified value when the comparison circuit generates the non-coincidence signal, and the flow rate measurement unit when the comparison circuit generates the coincidence signal. A flow rate signal generating circuit for outputting a signal is provided in the adjusting device, and a flow rate signal corresponding to the maximum flow rate of the fluid is output to the current conversion section instead of the flow rate signal from the sensor section that receives the request signal. When a signal generation circuit is provided in the flow rate measurement unit and receives an analog current output from the current conversion unit in response to a signal input from the flow rate signal generation circuit, the analog current value is compared with a second specified value and they do not match. A flow rate measuring device characterized in that a second correction data generating circuit for generating second correction data having a content corresponding to a second specified value is provided in the adjusting device.
JP33229692A 1992-11-18 1992-11-18 Flow measuring device Pending JPH06160137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33229692A JPH06160137A (en) 1992-11-18 1992-11-18 Flow measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33229692A JPH06160137A (en) 1992-11-18 1992-11-18 Flow measuring device

Publications (1)

Publication Number Publication Date
JPH06160137A true JPH06160137A (en) 1994-06-07

Family

ID=18253382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33229692A Pending JPH06160137A (en) 1992-11-18 1992-11-18 Flow measuring device

Country Status (1)

Country Link
JP (1) JPH06160137A (en)

Similar Documents

Publication Publication Date Title
JP4074823B2 (en) A / D conversion output data non-linearity correction method and non-linearity correction apparatus
JP3538145B2 (en) Position detection device
JPS58129321A (en) Digital type straight moving-quantity or turning-quantity measuring device
US4435697A (en) Analog-digital converter
US5103413A (en) Travel detecting apparatus
JP2002337705A (en) Power steering system
JPH06160137A (en) Flow measuring device
JPS6255735B2 (en)
JP3705019B2 (en) Measuring device
JP2006165737A (en) Analog signal processing apparatus
JP2005091206A (en) Instrument and method for measuring pulse width
JPH0633427Y2 (en) Jitter measuring device
JP2598585Y2 (en) Frequency converter
JPH0643521U (en) Calibrator for electromagnetic flowmeter
JP2607113B2 (en) A / D conversion method
JP3347987B2 (en) Serial communication controller
JPH06249922A (en) Duty-cycle control apparatus
JPH10268939A (en) Dc motor position control circuit and its method
JP2924166B2 (en) Signal transmitter
JPH08162952A (en) Ad conversion value correction device for ad converter
JP2658208B2 (en) Laser output monitor
JPH05302940A (en) Frequency measuring apparatus
JP2569071Y2 (en) Frequency voltage converter
CN117990170A (en) Vibration sensor drive control method, system and equipment for mass flowmeter
JP2002054957A (en) Flow meter