JPS5837519A - Electromagnetic flow meter - Google Patents

Electromagnetic flow meter

Info

Publication number
JPS5837519A
JPS5837519A JP13573681A JP13573681A JPS5837519A JP S5837519 A JPS5837519 A JP S5837519A JP 13573681 A JP13573681 A JP 13573681A JP 13573681 A JP13573681 A JP 13573681A JP S5837519 A JPS5837519 A JP S5837519A
Authority
JP
Japan
Prior art keywords
signal
flow rate
value
output
section
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
JP13573681A
Other languages
Japanese (ja)
Inventor
Genichi Watanabe
渡辺 元一
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.)
Shimadzu Corp
Shimazu Seisakusho KK
Original Assignee
Shimadzu Corp
Shimazu Seisakusho KK
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 Shimadzu Corp, Shimazu Seisakusho KK filed Critical Shimadzu Corp
Priority to JP13573681A priority Critical patent/JPS5837519A/en
Publication of JPS5837519A publication Critical patent/JPS5837519A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F1/00Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
    • G01F1/56Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects
    • G01F1/58Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by using electric or magnetic effects by electromagnetic flowmeters
    • G01F1/60Circuits therefor

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)

Abstract

PURPOSE:To reduce the number of hardwares and obtain reliable measured values by connecting an operation controlling part including a one-chip microcomputer to enable to execute a program for the measurement, operation, processing, etc. of flow rates. CONSTITUTION:A synchronous signal SYNC is supplied to an interrupting port INT of a one-chip microcomputer 141 incorporated in an operation controlling part 14 of a flow meter to start a measurement processing program for calculating the measured values of flow rates and writing these values in corresponding memories. In the operation processing program, the flow rate value and the pulse width conversion value of the flow rate, etc. are operated and written in the corresponding memory on the basis of the read measured value of flow rate and an output processing program is executed by an internal interruption to output the read operation value. During said period, a necessary calibration factor and the set value of constant can be written in a corresponding memory by a keyboard 151 through an additional I/O port 142, reducing the number of hardwares and finding reliable measured values.

Description

【発明の詳細な説明】 本発明は、電磁流量計に係り、特にはマイクロコンピュ
ータなどの制御耳段を利用し゛C流量を計測する電磁流
量計に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electromagnetic flowmeter, and more particularly to an electromagnetic flowmeter that measures a flow rate using a control stage such as a microcomputer.

先行技術の電磁流量計においCは、流量などに関する演
算処理、計測制御、およびその校正方法などのために、
複雑かつ膨大なI\−ドウエアを利用しCいるにも拘ら
ず、得られた流量計測値が必ずしも信頼性のあるもので
はなく、しかも原価の低減にも劣っていた。
In the electromagnetic flowmeter of the prior art, C is for calculation processing, measurement control, and calibration method related to flow rate, etc.
Despite the use of complicated and enormous amounts of I\-ware, the obtained flow rate measurement values are not always reliable, and furthermore, the cost reduction is also poor.

本発明の目的は、上述の技術的課題を解決し、たとえば
ワンチップマイクロコンピユータラ含ム演算制御部を介
して、流量などの計測、演算をソフトウェア的に処理す
ることによって、信頼性のある流量計測値を得ることの
できる、かつ、原価の低減にも優れた電磁流量計を提供
することである。
An object of the present invention is to solve the above-mentioned technical problems, and to achieve reliable flow rate by processing the measurement and calculation of flow rate etc. in software, for example, through a one-chip microcomputer-containing calculation control unit. It is an object of the present invention to provide an electromagnetic flowmeter that can obtain measured values and is excellent in reducing cost.

第1図は、本発明の一実施例の全体のブロック回路図で
ある。伝送器1は、流量信号検出部11、励磁′【F流
量号検出部12、積分変換部13、演算制御部14、操
作表示部15、アナログ伝送部16、パルス幅出力部1
7、計数パルス出力部18、警報出力部19、■逆流に
信号出力部20、および6同明信号発生部1(10を含
む・動磁器2は、励磁電源整流部21、励磁電流信号整
流部22、励磁電流制御スイッチ部23、および励磁電
流信号切り替えスイッチ部24を含む。
FIG. 1 is an overall block circuit diagram of one embodiment of the present invention. The transmitter 1 includes a flow rate signal detection section 11, an excitation 'F flow rate signal detection section 12, an integral conversion section 13, an arithmetic control section 14, an operation display section 15, an analog transmission section 16, and a pulse width output section 1.
7, counting pulse output section 18, alarm output section 19, ■ reverse flow signal output section 20, and 6 Domei signal generation section 1 (including 10).The moving magnet 2 includes an excitation power supply rectification section 21, an excitation current signal rectification section 22, an excitation current control switch section 23, and an excitation current signal changeover switch section 24.

検出器3は、導管31、界磁発生巻線32および33、
ならびに信号検出電極34および35を含む。
The detector 3 includes a conduit 31, field generation windings 32 and 33,
and signal detection electrodes 34 and 35.

検出器3の信号検出電極34および35は、流量信号線
4を介して伝送器1における流量信号検出部11の前置
増幅器111に接続される。励磁器2の励磁゛IE流信
号切り替えスイッチ部24は、励磁電流信号線5を介し
゛C1伝送器1における励磁電流信号検出部12の前置
増幅器121に接続される。励磁器2の励磁’IK源整
流部21は、同期信号線6を介し゛C1伝送器lの同期
信号発生部100に接続される。
The signal detection electrodes 34 and 35 of the detector 3 are connected to the preamplifier 111 of the flow signal detection section 11 in the transmitter 1 via the flow signal line 4. The excitation IE flow signal switching section 24 of the exciter 2 is connected to the preamplifier 121 of the excitation current signal detection section 12 in the C1 transmitter 1 via the excitation current signal line 5. The excitation IK source rectifier 21 of the exciter 2 is connected to the synchronous signal generator 100 of the C1 transmitter 1 via the synchronous signal line 6.

励磁器2の励磁電流制御スイッチ部23および励磁電流
信号切り替えスイッチ部24は、それぞれ、励磁′、E
流制御線7および励磁電流信号切り替え制御線8を介し
て、伝送器1の励磁指令信号(l0NR)。
The excitation current control switch section 23 and the excitation current signal changeover switch section 24 of the exciter 2 are used for excitation' and E, respectively.
The excitation command signal (10NR) of the transmitter 1 is transmitted via the current control line 7 and the excitation current signal switching control line 8.

(IONF)の各出方端子および励磁電流信号切り替え
制御信号(CONF) 、 (CONR)の各出方端子
に接続される。このようにして、励磁器2は、励磁1F
流信号線5、同期信号線6、励磁電流制御線7、および
励磁電流信号切り替え制御線8を介して、伝送器1に接
続され、また検出器3は、流量信号線4を介し°C1伝
送器1に接続される。
It is connected to each output terminal of (IONF) and each output terminal of excitation current signal switching control signals (CONF) and (CONR). In this way, the exciter 2 has an excitation 1F
The detector 3 is connected to the transmitter 1 via the flow signal line 5, the synchronization signal line 6, the excitation current control line 7, and the excitation current signal switching control line 8, and the detector 3 is connected to the °C1 transmission via the flow signal line 4. connected to device 1.

伝送器1は、操作表示部15の設定器151の設定内容
に対応して連続動作する。設定器151は、テイジタル
スイッチまたはキーボードなどで構成される・励磁器2
の励磁電源整流部21は、商用電源210と、電源トラ
ンス211と、励磁電流検出用変流器212と、整流器
213とから成り、商用電源210の電源電圧は、電源
トランス211およヒ整流器213を介することによっ
′C整流されて励磁電流制御スイッチ部23に印加され
る。励磁器2の励磁電流制御スイッチ部28は、検出器
3の界磁発生巻線32および83に接続されているので
、界磁発生巻線32および33には1.励磁電流制御ス
イッチ部23を介する励磁電流■が流れる。
The transmitter 1 continuously operates according to the setting contents of the setting device 151 of the operation display section 15. The setting device 151 is composed of a digital switch or a keyboard, etc.・The exciter 2
The excitation power supply rectifier 21 consists of a commercial power supply 210, a power transformer 211, an exciting current detection current transformer 212, and a rectifier 213. The current is rectified by 'C and applied to the excitation current control switch section 23. Since the excitation current control switch section 28 of the exciter 2 is connected to the field generation windings 32 and 83 of the detector 3, the field generation windings 32 and 33 have 1. An excitation current (2) flows through the excitation current control switch section 23.

検出器3は、界磁発生巻線32および33の発生界磁の
もと\、導管31の内部を流れる流体の流量に対応する
信号を、対向電極34および35において発生させると
ともに、発生したその信号を流量信号線4を介して、伝
送器1の流量信号検出器11に送出する。このようにし
゛C1伝送器1は、励磁器2および検出器3から送出さ
れる流量信号、励磁電流信号に応答し゛C検出器3の導
管31の内部を流れる一流体の流量値などを以下のプロ
グラムにもとづい°C計測、演算処理する。第2図は、
第1図示の実施例の動作を説明するための波形図である
。以下、伝送器1の動作を、その内部の演算制御部14
に組込まれたプログラムにしたがつ′C説明する。
The detector 3 generates a signal corresponding to the flow rate of the fluid flowing inside the conduit 31 under the field generated by the field generating windings 32 and 33 at opposing electrodes 34 and 35, and also outputs the generated signal. The signal is sent to the flow rate signal detector 11 of the transmitter 1 via the flow rate signal line 4. In this way, the C1 transmitter 1 responds to the flow rate signals and excitation current signals sent from the exciter 2 and the detector 3, and transmits the flow rate value of the fluid flowing inside the conduit 31 of the C detector 3 as follows. Measures °C and performs arithmetic processing based on the program. Figure 2 shows
FIG. 3 is a waveform diagram for explaining the operation of the embodiment shown in the first figure. Hereinafter, the operation of the transmitter 1 will be explained by the calculation control section 14 inside it.
I will explain according to the program installed in 'C'.

(1)計測処理プログラム 励磁器2の励磁電源整流部21の電源トランス211か
ら、その同期用巻線および同期信号線6を介して、第2
図+1)に示すような交流信号(ACIN’)が、伝送
器lの同期信号発生器100に印加される。
(1) Measurement processing program From the power transformer 211 of the excitation power rectifier 21 of the exciter 2, the second
An alternating current signal (ACIN') as shown in Figure 1) is applied to the synchronization signal generator 100 of the transmitter l.

交流信号(ACIN)は、タイミングti(ただし、は
正の整数である〕毎に、半サイクルが正負方向に変化す
る信号である。このような交流信号(ACI N )が
最大値または零値(本件実施例では零値)などの所定の
値に到達する毎に、同期信号発生器100から、第2図
(2)に示すように、ハイレベルの短かいパルス幅を有
する同期信号F’5YNC)が発生させられる。この同
期信号は、演算制御部14内の“ノンチップマイクロコ
ンピュータ141の割り込みボートINTに、タイミン
グt、で入力される。1ノンチツプマイクロコンピユー
タ141に同期信号(5YNC)が入力されると、計測
処理プログラムが実行開始する。
The alternating current signal (ACIN) is a signal whose half cycle changes in the positive and negative directions at every timing ti (where ti is a positive integer).When such an alternating current signal (ACIN) reaches a maximum value or a zero value ( Each time the synchronization signal generator 100 reaches a predetermined value such as zero (in this embodiment), the synchronization signal F'5YNC having a high level and short pulse width is generated as shown in FIG. 2 (2). ) is generated. This synchronization signal is input to the interrupt port INT of the non-chip microcomputer 141 in the arithmetic control unit 14 at timing t.When the synchronization signal (5YNC) is input to the non-chip microcomputer 141, The processing program starts running.

タイミングt1でワンチップマイクロコンピュータ14
1の入出力ポートP+の端子2から、第2図(5)のよ
うなハイレベルの正方向励磁指令信号(IONF)が送
出される。この正方向励磁指令信号(IONF)は、伝
送器1の正方向励磁指令信号出力端子に接続された励磁
電流制御線7の一方の制御線71を介して、動磁器2の
励磁電流制御スイッチ部23内の第1および第2のスイ
ッチSSR1およびSSR2に印加される。そうすると
、これらのスイッチ5SRIおよび5SR2は導通し、
この導通によっC1検出器3の界磁発生巻線32および
33に、整流器218を介して正方向の励磁電流Iが流
れる。
One-chip microcomputer 14 at timing t1
A high-level positive direction excitation command signal (IONF) as shown in FIG. 2 (5) is sent from the terminal 2 of the input/output port P+. This positive direction excitation command signal (IONF) is transmitted to the excitation current control switch section of the magnetometer 2 via one control line 71 of the excitation current control line 7 connected to the positive direction excitation command signal output terminal of the transmitter 1. 23 to the first and second switches SSR1 and SSR2. Then, these switches 5SRI and 5SR2 become conductive,
Due to this conduction, a positive excitation current I flows through the field generating windings 32 and 33 of the C1 detector 3 via the rectifier 218.

正方向の動磁電流■によって、界磁発生巻線32および
33から発生する界磁のもと、導管81内に対向配置さ
れた電極34および35に接続された流量信号線4には
、導管31内の流量に対応した流量信号が現われる。こ
の流量信号は、伝送器1の流量信号検出部ll内の前置
増幅器111に入力されるととも憾、その増幅器111
において、第2図aカに示すような信号(e)に増幅さ
れ゛C出力される。
Under the field generated from the field generation windings 32 and 33 by the positive magnetodynamic current ■, the flow signal line 4 connected to the electrodes 34 and 35 oppositely arranged in the conduit 81 is connected to the conduit. A flow signal corresponding to the flow rate in 31 appears. This flow rate signal is input to the preamplifier 111 in the flow rate signal detection section ll of the transmitter 1, and the amplifier 111
At this point, the signal is amplified into a signal (e) as shown in FIG.

この流量信号(e)は、次段め比較器118におい′て
、その励磁方向に対応する正逆を比較検出されて、更に
次段のフォトカプラ114から、第2図(141に示す
ように、タイミング1.におい“Cハイレベルとなる流
量信号正逆判定用信号(POLI)として出力される。
This flow rate signal (e) is detected in the next-stage comparator 118 by comparing the forward and reverse directions corresponding to the excitation direction, and is further transmitted from the next-stage photocoupler 114 as shown in FIG. 2 (141). , at timing 1, the flow rate signal is output as a signal for determining whether the flow rate signal is normal or inverse (POLI), which becomes the "C" high level.

この信号〔POLI〕は、演算制御部14内の付加入出
力ポート142のポートP5の端子0に入力されて、同
じポートP5の端子8から、第2図(4)に示すように
、タイミングt2においてハイレベルとなる励磁電流信
号切り替え制御信号(CONR) として出力される。
This signal [POLI] is input to the terminal 0 of the port P5 of the additional input/output port 142 in the arithmetic control unit 14, and is transmitted from the terminal 8 of the same port P5 at the timing t2 as shown in FIG. 2 (4). It is output as an excitation current signal switching control signal (CONR) which becomes high level at .

このように、制御信号(CONR)は、先程、検出器1
1に入力さ、れた流量信号が正方向の励磁電流に対応す
るときに、付加入出力ポート142のポートP5の端子
3から出力される。制御信号CC0NR)はまた、伝送
器1の出力端子に接続され°Cいる励磁電流信号切り替
え制御線8の一方の制御線81を介し”C1励磁電流信
号切り替えスイッチ部24の第1および第2のスイッチ
ESIおよびES2に印加される。これによって、これ
らのスイッチESIおよびES2は導通する。
In this way, the control signal (CONR) is
When the flow rate signal input to the terminal 1 corresponds to a positive excitation current, it is output from the terminal 3 of the port P5 of the additional input/output port 142. The control signal CC0NR) is also connected to the first and second excitation current signal changeover switch sections 24 through one control line 81 of the excitation current signal changeover control line 8 connected to the output terminal of the transmitter 1. The voltage is applied to switches ESI and ES2, which cause these switches ESI and ES2 to conduct.

そうすると、励磁電流信号整流部22から、第1および
第2のスイッチESIおよびES2を介して、励磁電流
信号線5に、流量信号(e)に対して逆相となる励磁電
流信号が流れる。その結果、伝送器lの励磁電流信号検
出部12の前置増幅器121の出力部からは、第2図1
に示すよ、う1こ、流量信号に対して逆相関係となる励
磁電流信号(i)が送出される。。、− このようにして、流量信号線4および励磁電流信号線5
には、それぞれ、流量信号および励磁電流信号が、タイ
ミングh#’2において順次流れはしめる。界磁発生巻
線32および83に流れ°Cいる励磁電流が、飽和値に
向かって増加してゆくに°伴なつ′C1流量信号(el
および励磁電流信号(i)も、それぞれ、第2図01)
およびOQに示すように、レベルが大きくなる。このよ
うにし゛C1励磁電流が飽和値に到達するまでの期間、
同期信号〔5YNC〕が、同期信号発生器100から演
算制御部14の1フンチツプマイクロコンピユータ14
1の端子INTに入力奈れて必要回数計数される。
Then, an excitation current signal having a phase opposite to the flow rate signal (e) flows from the excitation current signal rectifier 22 to the excitation current signal line 5 via the first and second switches ESI and ES2. As a result, from the output section of the preamplifier 121 of the excitation current signal detection section 12 of the transmitter l, as shown in FIG.
As shown in FIG. 1, an excitation current signal (i) having a reverse phase relationship with the flow rate signal is sent out. . , - In this way, the flow rate signal line 4 and the excitation current signal line 5
, the flow rate signal and the excitation current signal start flowing sequentially at timing h#'2. As the excitation current flowing through the field generation windings 32 and 83 increases toward the saturation value, the C1 flow rate signal (el
and excitation current signal (i), respectively, Fig. 2 01)
As shown in and OQ, the level increases. In this way, the period until the C1 excitation current reaches the saturation value,
The synchronization signal [5YNC] is sent from the synchronization signal generator 100 to the one-chip microcomputer 14 of the arithmetic control section 14.
The required number of times the input signal is input to the terminal INT of No. 1 is counted.

タイミングt5でワンチップマイクロコンピュータ14
1の入出力ポートP0の端子4から、第2図(7)に示
すように、ハイレベルの流量信号計測指令信号(: E
MF )が送出されるとともに、同時に、第2図(9)
に示すよう゛に、タイミングt5の直前までハイレベル
であった計測停止指令信号〔CNT〕カローレヘルレベ
る。このようにして、流量信号検出部11のフォトカプ
ラスイッチ112は、ハイレベルの流を信号計測指令信
号(EMF)によつ′C導通され、また、積分変換部1
3のフォトカプラスイッチ185および186は、計測
停止指令信号(CNT’)がローレベルになることによ
って、遮断される。このような状態において、流量信号
(e)は、導通状態下のフォトカプラスイッチ112を
介し′C積分変換部13の前置増幅器181に入力され
た後、積分抵抗188、積分コンデンサ187、および
積分器182によって、第2図(2)に示すように、積
分信号(ec)に変換される。゛積分信号(ec)がタ
イミングt、〜t8において下り勾配の積分カーブを描
い゛でレベル減少する。
One-chip microcomputer 14 at timing t5
As shown in FIG. 2 (7), a high-level flow rate signal measurement command signal (: E
MF) is sent out, and at the same time, Fig. 2 (9)
As shown in 2, the measurement stop command signal [CNT], which was at a high level until just before timing t5, goes down to a low level. In this way, the photocoupler switch 112 of the flow rate signal detection section 11 conducts the high level flow by the signal measurement command signal (EMF), and also the integral conversion section 1
The No. 3 photocoupler switches 185 and 186 are cut off when the measurement stop command signal (CNT') becomes low level. In such a state, the flow rate signal (e) is input to the preamplifier 181 of the 'C integral converter 13 via the photocoupler switch 112 in a conductive state, and is then input to the preamplifier 181 of the C integral converter 13, and is then input to the preamplifier 181 of the C integral converter 13. The signal is converted into an integral signal (ec) by the converter 182 as shown in FIG. 2(2). ``The integral signal (ec) draws an integral curve with a downward slope at timings t to t8,'' and the level decreases.

同期信号(S YNC)は、このタイミングt5〜t8
の期間、’7ンチツプマイクロコンピユータ141で必
要回数計数されるとともにこのコンピュータ内ニおいて
高速積算が行われる。゛高速積算の結果値Ne+は、1
ノンチツプマイクロコンピユータ141のメモリMeな
どにストアされる。次に、タイ、ミンクt、で、ワンチ
ップマイクロコンピュータ141の入出力ポートP1の
端子4からの流量信号計測指令信号(EMF)i、t、
ローレベルになる。これによって、フ第1・カブラスイ
ッチ112は、遮断される。これと同時に、端子5から
ハイレベルの励磁電流信号計測指令信号CCURR〕が
、励磁電流信号検出部12のフォトカブラスイッチ12
2に印加される。これによって、フォトカブラスイッチ
122は導通する。
The synchronization signal (SYNC) is at this timing t5 to t8.
During this period, the '7-chip microcomputer 141 counts the required number of times, and high-speed integration is performed within this computer.゛The result value Ne+ of high-speed integration is 1
It is stored in the memory Me of the non-chip microcomputer 141, etc. Next, in Thailand, mink t, flow rate signal measurement command signals (EMF) i, t,
becomes low level. As a result, the first cover switch 112 is cut off. At the same time, a high-level excitation current signal measurement command signal CCURR] is transmitted from the terminal 5 to the photocoupler switch 12 of the excitation current signal detection section 12.
2. This makes the photocoupler switch 122 conductive.

このように、フォトカブラスイッチ112およヒ122
の導通、遮断状態が変わることによって、積分変換部1
3には、流喰信号の代わりに励磁電流信号が送出される
In this way, the photocoupler switch 112 and the
By changing the conduction/cutoff state of the integral converter 1
3, an excitation current signal is sent instead of the flow-eating signal.

励磁電流信号は、上述と同様にして、積分変換部13の
前置増幅器131に入力された後、積分抵抗138、積
分コンデンサ137、および積分器132によって、積
分される。この積分によって、励磁電流信号〔i〕は、
第2図αつのタイミング側9以降に示すような積分信号
(ec)に変換される。積分信号Cec:1は、タイミ
ング【5〜t8までは、レベルIR少する一方、タイミ
ング側9以降はレベル増加する。
The excitation current signal is input to the preamplifier 131 of the integral converter 13 in the same manner as described above, and then integrated by the integrating resistor 138, the integrating capacitor 137, and the integrator 132. By this integration, the excitation current signal [i] becomes
It is converted into an integral signal (ec) as shown on the α timing side 9 onwards in FIG. 2. The integral signal Cec:1 decreases in level IR from timing 5 to t8, but increases in level from timing 9 onwards.

積分信号(ec)はまた、積分変、換部13の比較器1
33に入力された後、フォトカプラ134を介し°C1
第2図03に示すような比較出力信号(CMP)に変換
される。この信号(CMP)は、ワンチップマイクロコ
ンピュータ141の入出力ポートPlの端子Oに入力さ
れる。
The integral signal (ec) is also sent to the comparator 1 of the integral conversion unit 13.
After being input to 33, °C1 is input via photocoupler 134.
It is converted into a comparison output signal (CMP) as shown in FIG. 203. This signal (CMP) is input to the terminal O of the input/output port Pl of the one-chip microcomputer 141.

積分信号(ec)が、タイミングt12 の中途で、零
値に到達した時に、比較出力信号1:l:CMP)は、
ローレベルからハイレベルに変化する。この変化は、1
2ンチツプマイクロコンピユータ141において検出さ
れる。ワンチップマイクロコンピュータ141において
、タイミングt、〜t1□の中途までの期間、同期信号
〔5YNC〕が必要回数計数されるとともに、その間、
マイクロコンピュータ141内におい゛C高速積算が行
われる。その積算の結果値Ni+は、そのコンピュータ
141のメモリMittどにストアされる。
When the integral signal (ec) reaches a zero value in the middle of timing t12, the comparison output signal 1:l:CMP) is
Changes from low level to high level. This change is 1
It is detected in the two-chip microcomputer 141. In the one-chip microcomputer 141, the synchronization signal [5YNC] is counted the necessary number of times during the period from timing t to the middle of t1□, and during that period,
C high-speed integration is performed within the microcomputer 141. The result value Ni+ of the integration is stored in the memory Mitt of the computer 141.

励磁電流計測指令信号(CURR)は、信号「cMP)
がローレベルからハイレベルになるタイミングに同期シ
テ、ハイレベルからローレベルになる。これによって、
フォトカプラスイッチ122は、遮断される〔第2図(
8)およびα罎参照〕。ワンチップマイクロコンピュー
タ141は、タイミング【13において、入出力ポート
P1の端子1から、ハイレベルの計測停止指令信号(C
NT)を送出する。この結果、タイミング【13におい
てフォトカプラスイッチ112>3 J: 0’ 12
2が遮断され、フォトカプラスイッチ135および13
6が導通される。このような各スイッチの導通、遮断状
態において、ワンチップマイクロコンピュータ141の
メモリMkf(どに予めストアさし’r I Nる既設
定校正係数値にと、更に上述のようにし°CメモリMe
 、 MiなどにストアされCいる積算値Ne+とN1
+とを用いC次式(1)で与えられる流量計測値V+が
、そのコンピュータ141で算出され、その算出結果は
、メモリMVにストアされる、V+ = K −N i
 +、/Ne+         −fl)このように
し′C1正方向励磁時の計測処理サイクルが終了する。
The excitation current measurement command signal (CURR) is the signal “cMP”
Synchronizes with the timing when the signal changes from low level to high level, and changes from high level to low level. by this,
The photocoupler switch 122 is cut off [Fig. 2 (
8) and α]. At timing [13], the one-chip microcomputer 141 receives a high-level measurement stop command signal (C
NT) is sent. As a result, at timing [13] photocoupler switch 112 > 3 J: 0' 12
2 is cut off, photocoupler switches 135 and 13
6 is made conductive. In such a conduction/cutoff state of each switch, the memory Mkf (stored in advance) of the one-chip microcomputer 141 is stored in the preset calibration coefficient value, and the memory Mkf is stored as described above.
, the integrated values Ne+ and N1 stored in Mi etc.
The computer 141 calculates the flow rate measurement value V+ given by the following formula (1) using + and the calculation result is stored in the memory MV.
+, /Ne+ -fl) In this way, the measurement processing cycle during positive direction excitation of 'C1 is completed.

次に、負方向励磁時の計測処理サイクルについて説1明
する。
Next, a measurement processing cycle during negative direction excitation will be explained.

タイミング[13で同期信号(SYNCIが、ワンチッ
プマイクロコンピュータ141に入力される。そう−、
j−71と、その入出力ポートP+の端子2および付加
入出力ポート142のポート5の端子8からの正方向励
磁指令信号(IONF)および励磁′IE流信号切換制
御信号(CONR:)がハイレベルからローレベルにな
る。その結果、励磁器2の励磁′CF流制御スイッチ部
23の第1および第2のスイッチ5SRIおよび5SR
2が遮断され、同時に励磁電流信号切り替えスイッチ部
24の第1および第2のスイッチESIおよびES2も
遮断される。タイミングt14  で同期信号r’5Y
NC)が、ワンチップマイクロコンピュータ141の入
出力ポートP、の端子INTに入力される。そ゛うする
と、今度は、その端子3から、)第2図(6)に示すよ
うに、ハイレベルの負方向励磁指令信号〔l0NR)が
送出される。この指令信号(I ONR)は、伝送器1
の出力端子および励磁電流制御線7の他方の制御線72
を介して、励磁電流制御ス、イツチ部23の第3および
第4のスイッチ5SR8および5SR4に印加される。
At timing [13, a synchronization signal (SYNCI) is input to the one-chip microcomputer 141.
j-71, the positive direction excitation command signal (IONF) and the excitation 'IE flow signal switching control signal (CONR:) from terminal 2 of its input/output port P+ and terminal 8 of port 5 of the additional input/output port 142 are high. level to low level. As a result, the first and second switches 5SRI and 5SR of the excitation CF flow control switch section 23 of the exciter 2
2 is cut off, and at the same time, the first and second switches ESI and ES2 of the excitation current signal changeover switch section 24 are also cut off. Synchronization signal r'5Y at timing t14
NC) is input to the terminal INT of the input/output port P of the one-chip microcomputer 141. Then, a high level negative direction excitation command signal [10NR] is sent from the terminal 3, as shown in FIG. 2 (6). This command signal (I ONR) is transmitted to transmitter 1.
output terminal and the other control line 72 of the excitation current control line 7
The excitation current is applied to the third and fourth switches 5SR8 and 5SR4 of the switch section 23 through the excitation current control switch.

これによつ“C1これらのスイッチ5SR3および5S
R4は導通される。こうすることによつ゛C1界磁発生
巻線32および33には、逆方向の励磁電流が流れるよ
うになる。こうして、検出器3の導管31内の対向電極
84および35に接続された流量信号線4を介して、伝
送器1の流量信号検出部11には、逆方向励磁′「E流
に対応した流量信号が印加される。
This will cause these switches 5SR3 and 5S
R4 is made conductive. By doing so, excitation currents in opposite directions flow through the C1 field generating windings 32 and 33. In this way, through the flow rate signal line 4 connected to the counter electrodes 84 and 35 in the conduit 31 of the detector 3, the flow rate signal detecting section 11 of the transmitter 1 is supplied with reverse excitation ``a flow rate corresponding to the flow E''. A signal is applied.

このようにしC1流星信号が印加されると、流量信号検
出部11のフォトカプラ114から、演算制御部14の
付加入出力ポート142におけるポートP5の端子0に
対して、第2図alに示すようなローレベルの判定用信
+3jpotDが入力される。流量信号の正負の判定は
、その判定用信号の入力によつ°Cその付加入出力ポー
ト142内において行われる2、このようにして、付加
入出力ボート142のボートP5の端子2から、流量信
号が負である旨の励磁電流信号切り替え制御信号(CO
NF’:]が送出される。
When the C1 meteor signal is applied in this way, the photocoupler 114 of the flow rate signal detection section 11 sends a signal to the terminal 0 of the port P5 in the additional input/output port 142 of the arithmetic control section 14 as shown in FIG. 2 al. A low level determination signal +3jpotD is input. The determination of whether the flow rate signal is positive or negative is performed within the additional input/output port 142 by inputting the determination signal 2. In this way, the flow rate is Excitation current signal switching control signal (CO
NF':] is sent.

この制御信号〔C0NF〕は、励磁“【E流信号切り替
え制御線8の他方の制御線82を介して、スイッチ部2
4の第3および第4スイツチES8およびES4に印加
される。このようにして、これらのスイッチES8およ
びES4が導通される。その結果、励磁電流信号の、流
量信号に対する逆相性が選択される。
This control signal [C0NF] is transmitted to the switch section 2 via the other control line 82 of the excitation "[E flow signal switching control line 8".
4 to the third and fourth switches ES8 and ES4. In this way, these switches ES8 and ES4 are rendered conductive. As a result, the reverse phase of the excitation current signal with respect to the flow rate signal is selected.

したかっ・c1タイミングtx4以降においては、流量
信号[′e〕のレベルは第2図0ηに示すように減少し
てゆくのに反し、励磁電流信号のレベルは、第2図01
に示すように増加し°Cゆく。このような流量信号と励
磁電流信号のレベル変化に対しC1L述したと同様にし
て、タイミングt18〜[21におL”r積分値Ne−
が、また、タイミングt22〜t26の中途までにおい
て積分値Ni−が得られ、それぞれの積分値は、メモリ
Me、Miなどにストアされる。
After c1 timing tx4, the level of the flow rate signal ['e] decreases as shown in Figure 2 0η, while the level of the excitation current signal decreases as shown in Figure 2 01.
The temperature increases as shown in °C. With respect to such level changes of the flow rate signal and the excitation current signal, in the same manner as described above, the L"r integral value Ne-
However, an integral value Ni- is obtained in the middle of timings t22 to t26, and each integral value is stored in memories Me, Mi, etc.

その結果、前記式(1)におけると同様な方法で、次式
(2)で与えられる流量計測値V−を得るための演算が
行われる。
As a result, the calculation for obtaining the flow rate measurement value V- given by the following equation (2) is performed in the same manner as in the above equation (1).

V−−K −Ni −/Ne −−(2)このようにし
て、流量計測値V−が、演算制御部14において演算さ
れ、流量の正逆符号と共にそのメモリMvrtどにスト
アされ、負方向励磁時におiする計測処理サイクルが終
了する。
V--K -Ni-/Ne--(2) In this way, the flow rate measurement value V- is calculated in the calculation control unit 14, and stored in the memory Mvrt along with the positive and negative signs of the flow rate. The measurement processing cycle performed during excitation ends.

前述の各計測処理サイクルにおいて、流量信号検出部1
1の前置増幅器111からの流量信号出力、励磁電流信
号検出部12の前置増幅器121からの励磁電流信号出
力、ならびに、そのフォトカプラ134の信号出力は、
第2図01)、al、@、およびC1に、それぞれ示す
ように変化する。
In each measurement processing cycle described above, the flow rate signal detection unit 1
The flow rate signal output from the preamplifier 111 of No. 1, the excitation current signal output from the preamplifier 121 of the excitation current signal detection section 12, and the signal output of the photocoupler 134 are as follows.
01), al, @, and C1 as shown in FIG. 2, respectively.

流量計測停止指令信号(CNT)は、励磁電流計測指令
信号(CURR)や、流量信号計測指令信号(EMF 
)がローレベルのときに、校正指令信号として、フォト
カプラスイッチ185および186を導通させ′C零電
圧の積分を行わせ、積分変換部18における前置増幅器
181、積分器182、比較器188のオフセットおよ
びドリフトをコンデンサ189に誤差電圧として保持さ
せるための信号である。この信号によって、積分器13
2の積分出力信号(ec)が零電圧に保持されることが
でき、したがって、積分変換部18において高精度な積
分が行われる。
The flow rate measurement stop command signal (CNT) is an excitation current measurement command signal (CURR) or a flow rate signal measurement command signal (EMF).
) is at a low level, photocoupler switches 185 and 186 are made conductive as a calibration command signal to integrate zero voltage 'C, and the preamplifier 181, integrator 182, and comparator 188 in the integral converter 18 are This is a signal for causing the capacitor 189 to hold the offset and drift as an error voltage. This signal causes the integrator 13
The integral output signal (ec) of 2 can be held at zero voltage, so that highly accurate integration is performed in the integral converter 18.

また、外部磁界の影響および流量計測のための回路など
を含む検出電極84および85の極性効果を除去し゛C
1流量計測の精度を高める必要があるときは、流量計測
の速度は半減するけれども、流量計測値■を次式(3)
で求めるようにし、その結果をメモリMV1.にどにス
トアさせると良い。
In addition, the effects of external magnetic fields and the polarity effects of the detection electrodes 84 and 85, which include circuits for flow rate measurement, etc., are removed.
1. When it is necessary to improve the accuracy of flow rate measurement, the flow rate measurement value ■ can be calculated using the following formula (3), although the speed of flow rate measurement is halved.
and store the result in memory MV1. It is best to store it in the throat.

■−−(v+ + ■二)         ・・・(
3)なお、上述した各積算値Ni+、Ne+、Ni−1
Ne−のいずれかが、オーバーフローしたときには、オ
ーバーフロー信号が送出されるようにし、このオーバー
フロー信号が受信されたときには、警報信号を発し°C
異常を知らせる。
■−−(v+ + ■2) ・・・(
3) Note that each integrated value Ni+, Ne+, Ni-1 mentioned above
When either Ne- overflows, an overflow signal is sent out, and when this overflow signal is received, an alarm signal is issued.
Notify of abnormality.

(11)演算処理プログラム このプログラムは、前述の計測処理プログラムが終了し
て、流量計測値Vが計算されて演算制御部のメモリMv
などにストアされた直後に実行される。
(11) Arithmetic processing program This program is used to calculate the flow rate measurement value V after the above-mentioned measurement processing program is completed, and to
Executed immediately after being stored in, etc.

予めに、ワンチップマイクロコンピュータ141のメモ
リにストアされている前記式(3)の流量計測値Vと、
各対応するメモリにストアされ°Cいる既設定係数Cと
既設定定数Fとが取り出されて、次式(4)または(5
)で与えられる流量値Qが算出されろ。
The flow rate measurement value V of the formula (3) stored in advance in the memory of the one-chip microcomputer 141,
The preset coefficient C and the preset constant F stored in each corresponding memory are retrieved and the following equation (4) or (5
) Calculate the flow rate value Q given by

Q=C−V−F            ・・・(4)
Q=C(V−F)            ・・・(5
)ここでCは流速係数、Fは混合流体長時間静止時の偽
流量値である。
Q=C-V-F...(4)
Q=C(V-F)...(5
) Here, C is the flow velocity coefficient, and F is the false flow rate value when the mixed fluid is stationary for a long time.

次に、前記式(4)または(5)に基づい゛C算出され
た流星値Qを用いて、次式(6)で与えられる流量のパ
ルス幅変換値PQが算出され、その算出値はメモリM(
才にストアされる。
Next, the pulse width conversion value PQ of the flow rate given by the following equation (6) is calculated using the meteor value Q calculated based on the above equation (4) or (5), and the calculated value is stored in the memory. M(
It will be stored in detail.

■)(々= Kp−Q               
・・・(6)ここで、Kpは流量のパルス幅変換係数で
ある、更に、前記式〈4)または(5)に基づいて算出
された流量値Qを用いて、次式(7)で与えられる流量
の単位時間当りのパルス数変換値HQが算出され、その
算出値はメモリM■にストアされる。
■) (each = Kp-Q
...(6) Here, Kp is the pulse width conversion coefficient of the flow rate.Furthermore, using the flow rate value Q calculated based on the above formula (4) or (5), the following formula (7) is calculated. The converted value HQ of the number of pulses per unit time for the given flow rate is calculated, and the calculated value is stored in the memory M■.

−tIQ=Ko/Q  (たtごし、Q=OのときHt
)=O)・・・(7)ここで、Kllは、流量の単位時
間当りのパルス数変換係数である。
-tIQ=Ko/Q (tago, when Q=O, Ht
)=O)...(7) Here, Kll is a conversion coefficient of the number of pulses per unit time of the flow rate.

更にまた、前記式(4)または(5)に基づいて算出さ
れた流星値Qを用い′C1次式(8)で与えられる流量
のアナログ変換値AQが算出され、その算用値はメモリ
MAにストアされる。
Furthermore, the analog conversion value AQ of the flow rate given by the linear equation (8) is calculated using the meteor value Q calculated based on the above equation (4) or (5), and the calculated value is stored in the memory MA. Stored in

AQ=KA−Q              ・・・(
8)ここで、KAは、流量のアナログ変換係数である。
AQ=KA-Q...(
8) Here, KA is the analog conversion coefficient of flow rate.

このようにして、演算処理プログラムにおい′Cは、流
駄値Q、流量のパルス幅変換値PQ、流量の単位時間当
りのパルス数変換値HQ、および流量のアナログ変換値
AQが算出され、各対応するメモリにストアされる。こ
の演算処理プログラムの実行中であっても、上述した計
測処理プログラムおよび後述する出力処理プログラムは
、演算処理プログラムに対してプライオリティ処理され
る。
In this way, in the arithmetic processing program, the flow rate value Q, the pulse width conversion value PQ of the flow rate, the converted value HQ of the number of pulses per unit time of the flow rate, and the analog conversion value AQ of the flow rate are calculated. Stored in the corresponding memory. Even while this arithmetic processing program is being executed, the above-mentioned measurement processing program and the later-described output processing program are given priority over the arithmetic processing program.

このようにして得られた計測値は、固定小数点のバイナ
リイ値として得られるけれども、演算時間の短縮および
処理の容易性などの点を考慮する場合には、浮動小数点
(フローティングポイント)方式による演算とすること
の方がよい。このフローティングポイント方式は、ソフ
トウェア的処理が容易であるという利点がある。ところ
が、ワンチップマイクロコンピュータなどをCPU(中
央処理装置の略称)に使用する場合には、(1)現技術
レベルでのLSI(大規模集積回路の略称)の回路集積
度が低く最大4にバイト程度の制御ROM (リードオ
ンリメモリの略称)しか得ることができないので、外部
入出力制御のためのROM領域が不足すること、ならび
に(2)演算処理がオーバーヘッドとrJ″つ′C1伝
送器としての能率が低下すること、などの問題点が生し
る。この問題点の解消のためには、例えば演算専用のワ
ンチップマイクロコンピュータを使用してフローティン
グポイントプロセッサICなどを作動させ゛C処理する
ようにするとよく、これによつ゛C1演算と処理をは5
”同時に処理することが可能となり、前述υC−)およ
び(2)の問題点を解消する。
Although the measured values obtained in this way are obtained as fixed-point binary values, when considering points such as shortening calculation time and ease of processing, it is necessary to calculate using floating point method. It's better to do. This floating point method has the advantage of easy software processing. However, when using a one-chip microcomputer or the like as a CPU (abbreviation for central processing unit), (1) the circuit density of LSI (abbreviation for large-scale integrated circuit) at the current technology level is low; (2) There is a lack of ROM area for external input/output control, and (2) arithmetic processing overhead and rJ'' are required as a C1 transmitter. Problems such as a decrease in efficiency arise.In order to solve this problem, for example, a one-chip microcomputer dedicated to calculations can be used to operate a floating point processor IC, etc. to perform C processing. It is best to use ``C1 calculation and processing as 5
``Simultaneous processing is now possible, which solves the problems of υC-) and (2) above.

(iii)出力処理プログラム このプログラムは、ワンチップマイクロコンピュータ1
41の内蔵タイマーによる内部割込みによ−) °C実
行が開始される。(a)ワンチップマイクロコンピュー
タの基本クロックまたは外部基準クロックが、直接また
はそのマイクロコンピュータ内のカウンタで、分局され
てタイマー割り込み入力とされる。(b)タイマー割り
込み毎またはタイマー割1)込みの整数倍毎にワンチッ
プマイクロコンピュータ141のメモIJ ktQから
流量値Qが取り出される。
(iii) Output processing program This program is a one-chip microcomputer 1
-) °C execution is started by an internal interrupt by the built-in timer of 41. (a) The basic clock or external reference clock of a one-chip microcomputer is divided directly or by a counter within the microcomputer and is used as a timer interrupt input. (b) The flow rate value Q is taken out from the memo IJktQ of the one-chip microcomputer 141 every timer interrupt or every integer multiple of timer interrupt 1).

付加入出力ボート142の出力ポートから操作表示部1
5内の例えばLED (発光タイオード)から成る表示
器152に、その流量値Qが表示される。(C)タイマ
ー割り込み毎またはタイマー割り込みの整数倍毎に、演
算処理完rフラグが確認されて、ワンチップマイクロコ
ンピュータ141のメモリMAから流量のアナログ変換
値AQが取り出される。Aq−〇のときは、演算処理完
rフラグがリセットされてそれ以降の出力処理が中止さ
れる。AQ≠0のときは、ワンチップマイクロコンピュ
ータ141の入出力ポートP、の端子6から、第2図α
ηのタイミングt13 で示すように、ハイレベルの、
流量のアナログ変換指令信号(PWDA〕が送出される
。これによって、アナログ伝送出力部16のフォトカプ
ラスイッチ165が導通される。一方、付加入出力ポー
ト142のポートP4の端子3から、第2図Mのタイミ
ング【13で示すように、信号(INTDIS)がハイ
レベルからローレベルになる。これによつ゛C1アナロ
グ伝送出力部16のフォトカプラスイッチ166カ遮断
される。このような状態においで1タイマー割り込み毎
に、流量のアナログ変換値AQから1が順次引かれる。
From the output port of the additional input/output boat 142 to the operation display section 1
The flow rate value Q is displayed on a display 152 made of, for example, an LED (light emitting diode) inside the flow rate. (C) Every timer interrupt or every integer multiple of the timer interrupt, the arithmetic processing completion flag is checked, and the analog converted value AQ of the flow rate is retrieved from the memory MA of the one-chip microcomputer 141. When Aq-0, the arithmetic processing completion flag is reset and subsequent output processing is stopped. When AQ≠0, from the terminal 6 of the input/output port P of the one-chip microcomputer 141,
As shown at timing t13 of η, the high level
A flow rate analog conversion command signal (PWDA) is sent out.This makes the photocoupler switch 165 of the analog transmission output section 16 conductive.On the other hand, from the terminal 3 of the port P4 of the additional input/output port 142, the signal shown in FIG. As shown in timing [13] of M, the signal (INTDIS) changes from high level to low level.This causes the photocoupler switch 166 of the C1 analog transmission output section 16 to be cut off. Each time the timer interrupts, 1 is sequentially subtracted from the analog conversion value AQ of the flow rate.

こうして、アナログ変換値AQが零の値になったとき、
前記変換指令信号(PWDA)がハイレベルからローレ
ベルになって送出が停止される〔第2図αηのタイミン
グt16の途中〕この信号(PWI)A’:lの送出停
止によって、前記フォトカプラスイツf 165が遮断
される。この信号−PWDA :)の送出停止のタイミ
ングから若干ずれたタイミングにおいて、付加入出力ポ
ート142のポートP4の端子2からハイレベルの、サ
ンプリングホールド信号(SHPLS)が、第2図O呻
に示すように、一定期間(タイミングt16の途中から
t17の途中まで)送出される−6このハイレベルの信
号(SHPLS:)によっで、アナログ伝送部16のフ
ォトカプラスイッチ167が導通させられる。その導通
の期間を利用して積分器162の積分出力がフォトカプ
ラスイッチ167を介してコンデンサー72にアナログ
伝送電圧V。
In this way, when the analog conversion value AQ reaches the value of zero,
The conversion command signal (PWDA) changes from high level to low level and transmission is stopped [in the middle of timing t16 in Figure 2 αη] By stopping the transmission of this signal (PWI) A':l, the photocoupler switch f 165 is blocked. At a timing slightly shifted from the timing at which the transmission of this signal -PWDA:) is stopped, a high level sampling hold signal (SHPLS) is output from terminal 2 of port P4 of the additional input/output port 142 as shown in FIG. The photocoupler switch 167 of the analog transmission section 16 is made conductive by this high level signal (SHPLS:) of -6 which is sent for a certain period of time (from the middle of timing t16 to the middle of t17). Utilizing the period of conduction, the integrated output of the integrator 162 is applied to the capacitor 72 via the photocoupler switch 167 to provide an analog transmission voltage V.

〔第2図Q0参照〕とし゛Cサンプルホールドされる。[See Q0 in FIG. 2] and the C sample is held.

そして、このハイレベルの信号(SHPLS)がタイミ
ングt17の途中でローレベルになるときに、ノ1イレ
ベルの信号〔INTDNS〕が第2図(至)に示すよう
にζ 付加入出力ポート5142のポートP4の端子から送出
される。このハイレベルの、信号(INTDIS:)に
よって、アナログ伝送出力部16のフォトカプラスイッ
チ166が導通されて、アナログ伝送出力サイクルが終
了する。
Then, when this high level signal (SHPLS) becomes low level in the middle of timing t17, the no 1 level signal [INTDNS] is connected to the ζ port of the additional input/output port 5142 as shown in FIG. It is sent from the P4 terminal. This high-level signal (INTDIS:) turns on the photocoupler switch 166 of the analog transmission output section 16, and the analog transmission output cycle ends.

アナログ伝送出力部16のコンデンサ1612にサンプ
ルホールドされている上述のアナログ伝送電圧vOは、
出力増幅器168において電圧−電流(V−I)変換さ
れて第2図盤に示すように、標準伝送電流I。
The analog transmission voltage vO sampled and held in the capacitor 1612 of the analog transmission output section 16 is
The standard transmission current I is converted to voltage-to-current (V-I) in output amplifier 168 as shown in FIG.

としてその出力増幅器168から出力される。なお、流
量値Qの符号に対応して、演算制御部14における付加
入出力ポート142のポートP5の端子1から、第2図
(2)に示すような信号(POLO)が送出される。
It is output from the output amplifier 168 as . Note that, corresponding to the sign of the flow rate value Q, a signal (POLO) as shown in FIG.

この信号(POLO)は、正逆流量信号出力部20に楠
けるフォトカプラ201.出力増幅器202を介してリ
レー208を駆動させて、リレー接点MC4から正逆流
量信号POLを送出させる。(d)信号(4prnxs
)がハイレベルで付加入出力ポート142のポートP4
の端子8から送出されてい邊期間中は、アナログ伝送出
力部16のフォトカプラスイッチ166は導通され、他
のフォトカプラスイッチ165オよび167は遮断され
Cいる。このような各スイッチ1(i6 、165およ
び167の導通遮断状態において、アナログ伝送出力サ
イクルの前置増幅器161、積分器162のオフセット
およびドリフトに起因する積分器162の積分出力(e
W)’(第2図(1)参照〕の変動は抑制され、したが
って比較器164に対する設定器168の比較量設定値
は所定値に保持されることができる。
This signal (POLO) is sent to the photocoupler 201. The relay 208 is driven via the output amplifier 202, and the forward/reverse flow rate signal POL is sent out from the relay contact MC4. (d) Signal (4prnxs
) is high level and the port P4 of the additional input/output port 142
During the period when the signal is being sent from the terminal 8, the photocoupler switch 166 of the analog transmission output section 16 is turned on, and the other photocoupler switches 165 and 167 are cut off. In the conduction cut-off state of each switch 1 (i6, 165 and 167), the integral output (e
W)' (see FIG. 2 (1)) is suppressed, and therefore the comparison amount set value of the setter 168 for the comparator 164 can be maintained at a predetermined value.

(e)タイマー割り込みによって、ワンチップマイクロ
コンピュータ141のメモリMaから流量の単位時間当
りのパルス数変換値HQが取り出される。HQ=0’で
はそれ以降の出力処理は中止される。)IQ≠0では、
演算制御部14における付加入出力ポート142のポー
トP4の端子1から、第2図01、こ示すようなハイレ
ベルの信号〔PPH)が送出される。そして、タイマー
割り込み毎にパルス数変換値HQから1が引かれてゆき
、その値HQが半減したときに、信号(PPH)の送出
が停止される。この信号(PPH)の送出停止に伴なっ
て、計数パルス出力部18のフォトカプラ181、出力
増幅器182を介して、リレー188、カウンタ184
が駆動されて、リレー接点MCIにおいて、単位時間当
りの信号〔PPH:]のパルス数、即ち、流量の積算値
表示が連続して行われる。なお、値HQは零になるまで
、タイマ割り込みが行われ、流量Qの単位時間当りのパ
ルス数出力とする。
(e) The converted value HQ of the number of pulses per unit time of the flow rate is retrieved from the memory Ma of the one-chip microcomputer 141 by the timer interrupt. When HQ=0', subsequent output processing is stopped. ) If IQ≠0,
From the terminal 1 of the port P4 of the additional input/output port 142 in the arithmetic control section 14, a high level signal [PPH] as shown in FIG. 2 01 is sent out. Then, 1 is subtracted from the pulse number conversion value HQ every time the timer interrupt occurs, and when the value HQ is halved, the transmission of the signal (PPH) is stopped. As the transmission of this signal (PPH) is stopped, the relay 188 and the counter 184 are
is driven, and the number of pulses of the signal [PPH:] per unit time, that is, the integrated value of the flow rate is displayed continuously at the relay contact MCI. Note that a timer interrupt is performed until the value HQ becomes zero, and the number of pulses of the flow rate Q per unit time is output.

(f) タイマー割込みによって、ワンチップマイクロ
コンピュータ141のメモリMpから流量のパルス幅変
換値PQが取り出される。PQ=Oでは、それ以降の出
力処理は中止される。PQ¥0では、その入出力ポート
P1の端子7から、第2図αQに示すハイレベルのパル
ス幅指令信号(PWDC)が送出される。
(f) The pulse width conversion value PQ of the flow rate is retrieved from the memory Mp of the one-chip microcomputer 141 by the timer interrupt. When PQ=O, subsequent output processing is stopped. At PQ¥0, a high-level pulse width command signal (PWDC) shown in FIG. 2 αQ is sent from the terminal 7 of the input/output port P1.

この信号(PWDC)が送出されたと−きに、タイマー
割り込み毎にパルス幅変換値PQ bhら1が引力傳で
ゆき、これによってその変換値PQが零になった≧とき
に、その信号(PWDC)は送出を停止されてローレベ
ルになる。信号(PWDC)が送出を停止されたときに
、パルス幅出力部17のフォトカプラ171、出力増幅
器172を介して、リレー178が駆動されてリレー接
点MC2を介して信号(PWD )が連続して出力され
る。
When this signal (PWDC) is sent out, the pulse width conversion value PQ bh et al. ) is stopped from being transmitted and becomes low level. When the transmission of the signal (PWDC) is stopped, the relay 178 is driven via the photocoupler 171 of the pulse width output section 17 and the output amplifier 172, and the signal (PWD) is continuously transmitted via the relay contact MC2. Output.

このとき、規定パルス幅p Q Mからタイマー割り込
み毎に1を引く動作が並行し0行われ、パルス幅変換サ
イクルが規定される。更に、演算処理中に、結果が異常
またはオーバーフローしたときは、付加゛入出力ボート
142のポートP4の端子Oからその旨の信号(OVF
)が送出される。また、ワンチップマイクロコンピュー
タ141が動作不能になって信号CALE)が伴出した
ときには、警報出力部19における警報論理部1911
フォトカプラ192、および出力増幅器193によつ゛
Cリレー194が駆動されC1警報出力(ALARM)
が送出される。
At this time, an operation of subtracting 1 from the specified pulse width p Q M for each timer interrupt is performed in parallel to define a pulse width conversion cycle. Furthermore, if the result is abnormal or overflows during arithmetic processing, a signal to that effect (OVF
) is sent. Further, when the one-chip microcomputer 141 becomes inoperable and the signal CALE) is generated, the alarm logic section 1911 in the alarm output section 19
A C relay 194 is driven by a photocoupler 192 and an output amplifier 193, and a C1 alarm output (ALARM) is generated.
is sent.

θ■)設定値処理プログラム このプログラムは、操作表示部15におけるキーボード
151のキー操作に基づいてなされるキーボード割り込
みによって実行が開始される。即ち、キーホードのキー
操作に基づく発生信号を割り込み入力とし、計測処理プ
ログラム等の実行に必要とされる校正係数値におよび演
算処理プログラム等の実行に必要とされる流速係数C1
混合流体長時間静比時の偽流量値F1パルス幅変換係数
Kp。
θ■) Setting value processing program This program is started to be executed by a keyboard interrupt performed based on a key operation on the keyboard 151 on the operation display section 15. That is, the generated signal based on the key operation of the keyboard is input as an interrupt input, and the calibration coefficient value required for execution of the measurement processing program etc. and the flow velocity coefficient C1 required for execution of the calculation processing program etc.
False flow rate value F1 during long-term static ratio of mixed fluid Pulse width conversion coefficient Kp.

流量の単位時間当りのパルス数変換値HQが付加入出力
ポート142の入力ポートを介してワンチップマイクロ
コンピュータ等の各対応メモリにストアされる。
The converted value HQ of the number of pulses per unit time of the flow rate is stored in each corresponding memory such as a one-chip microcomputer through the input port of the additional output port 142.

このような各対応メモリにストアされた内容は、演算制
御部14における付加入出力ポート142の出力ポート
を介して、操作表示部15の表示器152に出力表示さ
れる。また、計測中の流量値も、必要なときに、ワンチ
ップマイクロコンピュータ141等のメモリにストアさ
れる。このようにしc1 ワンチップマイクロコンピュ
ータ等の各対応メモリにストアされた流量値に対する修
正流量値の入力が行われるとともに、前記校正係数値に
および各定数等のストア内容値の修正も自動的に行われ
て導管81の直管径補正も行われる。こうして、各メモ
リにストアされた内容は、LED等の表示器152を介
して出力表示される。
The contents stored in each corresponding memory are output and displayed on the display 152 of the operation display section 15 via the output port of the additional input/output port 142 in the calculation control section 14. Further, the flow rate value being measured is also stored in the memory of the one-chip microcomputer 141 or the like when necessary. In this way, the corrected flow rate value is inputted to the flow rate value stored in each corresponding memory of the one-chip microcomputer, etc., and the stored content values such as the calibration coefficient value and each constant are also automatically corrected. Accordingly, the straight pipe diameter of the conduit 81 is also corrected. In this way, the contents stored in each memory are output and displayed via a display 152 such as an LED.

操作表示部15におけるリセットスイッチ153テ、演
算制御部14におけるリセットパルス発生W 146を
介してリセット信号(R5ET)を発生させて、ワンチ
ップマイクロコンピュータ141のリセット端子RES
ETにそのリセット信号(R5ET)を入力させる。そ
うすると、上述の各プログラムのリセットが行われる。
A reset signal (R5ET) is generated via the reset switch 153 in the operation display section 15 and the reset pulse generation W 146 in the arithmetic control section 14, and the reset terminal RES of the one-chip microcomputer 141 is generated.
Input the reset signal (R5ET) to ET. Then, each of the programs described above will be reset.

また、このリセット信号(R5ET)は、警報出力部1
gにおける警報論理部191にも入力され゛C1警報出
力状態がリセットされる。
In addition, this reset signal (R5ET) is transmitted to the alarm output section 1.
It is also input to the alarm logic section 191 at g, and the C1 alarm output state is reset.

以上説明したように、本発明によれば、ワンチップマイ
クロコンピュータ等を使用して、流量計測のための演算
処理および制御を行うので、次のような特有の効果を奏
する。
As described above, according to the present invention, a one-chip microcomputer or the like is used to perform arithmetic processing and control for flow rate measurement, so that the following unique effects are achieved.

(1)制御をソフトウェア処理によって行うので、特別
な制御回路が必要でなくなり、したがって、原価の低減
と信頼性の向上を図ることができる。
(1) Since control is performed by software processing, a special control circuit is not required, and therefore cost can be reduced and reliability improved.

(2)流量値は演算によって得ることができるので、励
磁電流に定電流特性を持たせることが特に必要としなく
なり、したがって前記(1)と同様の効果を奏する。
(2) Since the flow rate value can be obtained by calculation, it is not particularly necessary to give constant current characteristics to the excitation current, and therefore the same effect as in (1) above is achieved.

(3)演算処理に必要な上述の定数および係数はキーホ
ード割り込みによって容易に入力、変更させることがで
きるので、各種の検出器に対応して実施することができ
るとともに、出力の多様性に応じることができるので、
使用上非常に便利である。
(3) The above-mentioned constants and coefficients necessary for arithmetic processing can be easily input and changed by keypad interrupt, so it can be carried out to correspond to various types of detectors, and it can be carried out in response to a variety of outputs. Because it is possible to
Very convenient to use.

(4)キーボード操作等によっ°C1流量の瞬時値較正
等を容易に行うことができる。
(4) Calibration of the instantaneous value of the °C1 flow rate can be easily performed by operating the keyboard or the like.

(5)キーボード操作等によって、較正および各回路の
点検プログラムを実行させて、性能確認を行うことがで
きるので一1保守点検作業が非常に容易になる。
(5) Calibration and inspection programs for each circuit can be executed and performance can be confirmed by keyboard operations, which greatly facilitates maintenance and inspection work.

(6)その他に、流量値判定、流量制御等の処理能力を
付加させることもできる。
(6) In addition, processing capabilities such as flow rate value determination and flow rate control may be added.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の一実施例の全体のブロック回路図、
第2図は、第1図示の実施例の動作を説明するための波
形図である。 1・・・伝送器、2・・・励磁器、3・・・検出器、4
・・−流量信号線、5・・・励磁電流信号線、6・・・
同期信号線、7・・・励磁電流制御線、8・・・励磁電
流信号切り替え制御線、11・・・流量信号検出部、1
2・・・励磁電流信弓検出部、13・・・積分変換部、
14・・・演算制御部、15・・・操作表示部、16・
・・アナログ伝送出力部、17・・・7X6 、レス幅
出力部、18・・・計数パルス出力部、19・・・警報
出力部、20・・・正逆流量出力部、21・・・励磁電
源整流部、22・・・励磁電流信号整流部、23・・・
励磁電流制御スイッチ部、24・・・励磁−E原信号切
り替えスイッチ部・31・・・導管、32,33・・・
界磁発生巻線、84 、85・・・流量信号検出電極、
100・・・同期信号発生器代理人 弁理士  岡 1
)和 秀
FIG. 1 is an overall block circuit diagram of an embodiment of the present invention;
FIG. 2 is a waveform diagram for explaining the operation of the embodiment shown in the first diagram. 1... Transmitter, 2... Exciter, 3... Detector, 4
...-Flow rate signal line, 5... Exciting current signal line, 6...
Synchronous signal line, 7... Exciting current control line, 8... Exciting current signal switching control line, 11... Flow rate signal detection section, 1
2... Excitation current beam detection section, 13... Integral conversion section,
14... Arithmetic control section, 15... Operation display section, 16.
...Analog transmission output section, 17...7X6, Res width output section, 18...Counting pulse output section, 19...Alarm output section, 20...Forward/reverse flow rate output section, 21...Excitation Power supply rectifier, 22... Exciting current signal rectifier, 23...
Excitation current control switch section, 24... Excitation-E original signal changeover switch section, 31... Conduit, 32, 33...
Field generation winding, 84, 85...Flow rate signal detection electrode,
100...Synchronization signal generator agent Patent attorney Oka 1
) Kazuhide

Claims (1)

【特許請求の範囲】 外部割り込み信号によって起動され、流量計測値を算出
し、算出した流量計測値を第1のメモリにストアする計
測処理プログラムと、 外部割り込み信号によつ″C起動され、第1のメモリに
ストアされ′Cいる流量計測値を取り出し、取り出した
流量計測値に基づき流量値、流量のパルス幅変換値、な
どを演算し、この演算値を第2のメモリにストアする演
算処理プログラムと、タイマー割り込みによって起動さ
れ、第2のメモリにストアされている演算値を取り出し
、取り出した演算値を出力処理する出力処理プログラム
と、キーボードなどからの割り込み信号によって起動さ
れ、前記プログラムにおいて必要とする校正係数、など
の係数および定数を第8のメモリにストアする設定値処
理プログラムとを、マイクロコンピュータなどの計測制
御手段によって実行するようにしたことを特徴とする、
電磁流量計。
[Claims] A measurement processing program that is started by an external interrupt signal, calculates a flow rate measurement value, and stores the calculated flow rate measurement value in a first memory; A calculation process in which the measured flow rate value stored in the first memory is retrieved, the flow rate value, the pulse width conversion value of the flow rate, etc. are calculated based on the retrieved flow rate measured value, and this calculated value is stored in the second memory. A program, an output processing program that is started by a timer interrupt, retrieves the calculated value stored in the second memory, and outputs the retrieved calculated value, and an output processing program that is started by an interrupt signal from a keyboard, etc. and is necessary for the program. A setting value processing program for storing coefficients and constants such as calibration coefficients in an eighth memory is executed by a measurement control means such as a microcomputer.
Electromagnetic flowmeter.
JP13573681A 1981-08-28 1981-08-28 Electromagnetic flow meter Pending JPS5837519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13573681A JPS5837519A (en) 1981-08-28 1981-08-28 Electromagnetic flow meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13573681A JPS5837519A (en) 1981-08-28 1981-08-28 Electromagnetic flow meter

Publications (1)

Publication Number Publication Date
JPS5837519A true JPS5837519A (en) 1983-03-04

Family

ID=15158662

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13573681A Pending JPS5837519A (en) 1981-08-28 1981-08-28 Electromagnetic flow meter

Country Status (1)

Country Link
JP (1) JPS5837519A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163762A (en) * 1984-02-06 1985-08-26 神鋼電機株式会社 Device for stopping and positioning unmanned cart for machining line
JPS60197461A (en) * 1984-03-19 1985-10-05 神鋼電機株式会社 Unmanned cart for machining line
JPS61102377A (en) * 1984-10-23 1986-05-21 財団法人鉄道総合技術研究所 Truck for container cargo-handling and stop device at fixed point of truck and cargo gear
JP5877262B1 (en) * 2015-04-24 2016-03-02 東京計装株式会社 Calibrator for electromagnetic flowmeter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60163762A (en) * 1984-02-06 1985-08-26 神鋼電機株式会社 Device for stopping and positioning unmanned cart for machining line
JPS60197461A (en) * 1984-03-19 1985-10-05 神鋼電機株式会社 Unmanned cart for machining line
JPS61102377A (en) * 1984-10-23 1986-05-21 財団法人鉄道総合技術研究所 Truck for container cargo-handling and stop device at fixed point of truck and cargo gear
JP5877262B1 (en) * 2015-04-24 2016-03-02 東京計装株式会社 Calibrator for electromagnetic flowmeter

Similar Documents

Publication Publication Date Title
US3550446A (en) Electromagnetic flowmeters
JPS5837519A (en) Electromagnetic flow meter
US3783686A (en) Magnetic flowmeter arrangement
US4089219A (en) Bi-directional output electromagnetic flowmeter
JPH0379667B2 (en)
JPH03144314A (en) Electromagnetic flowmeter
CN209182731U (en) A kind of level gauging Circuits and Systems
JP3082124B2 (en) Electromagnetic flow meter
Liu et al. A Metering Device for DC Energy Meters
CN109186692A (en) The DSP processing method of the Electromagnetic Flow signal of electromagnetic flowmeter
CN203278683U (en) Thyristor rectification microcomputer intelligent control circuit
JP3057410B2 (en) Electromagnetic flow meter
CN110632515B (en) Real-time power angle determination method and system
JPH0814971A (en) Electromagnetic flowmeter
JPS5815122A (en) Electromagnetic flowmeter
JPS6346648B2 (en)
JPS6225695Y2 (en)
JPS5837518A (en) Electromagnetic flow meter
JPH057549Y2 (en)
JPS5983016A (en) Converter for low frequency exciting type electromagnetic flowmeter
JPH05264308A (en) Electromagnetic flowmeter
RU2010165C1 (en) Device for correcting indications of integrating flowmeter
SU1721541A1 (en) Liquid electrical conductance digital transducer
SU958859A2 (en) Electromagnetic flow meter with frequency output
JPH05273242A (en) Composite meter