JPS62187221A - Flow rate pulse output system - Google Patents

Flow rate pulse output system

Info

Publication number
JPS62187221A
JPS62187221A JP61029465A JP2946586A JPS62187221A JP S62187221 A JPS62187221 A JP S62187221A JP 61029465 A JP61029465 A JP 61029465A JP 2946586 A JP2946586 A JP 2946586A JP S62187221 A JPS62187221 A JP S62187221A
Authority
JP
Japan
Prior art keywords
pulse
pulses
phase
flow rate
output
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
JP61029465A
Other languages
Japanese (ja)
Inventor
Mitsumori Hayashida
光盛 林田
Katsuo Misumi
勝夫 三角
Koji Atsumi
浩司 渥美
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.)
Oval Engineering Co Ltd
Original Assignee
Oval Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oval Engineering Co Ltd filed Critical Oval Engineering Co Ltd
Priority to JP61029465A priority Critical patent/JPS62187221A/en
Publication of JPS62187221A publication Critical patent/JPS62187221A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extract flow rate pulses with high resolution, to remove an error due to the reversing of a rotator, and to output accurate flow rate pulses by performing the addition, subtraction, and integration of output backward rotation pulses and forward rotation pulses which are outputted later. CONSTITUTION:Pluse generating circuit parts (U1-U2 and D1-D2) extract pulses which synchronize with the leading and trailing of A-phase pulses and have a pulse repetitive frequency twice as high as the A-phase pulses. Then, forward rotation pulses are outputted from a gate as flow rate pulses and when backward rotation pulses are outputted, the gate is closed to stop the output of the flow rate pulses, so as to remove an error. Namely, reverse current error removing circuits (FF circuits 12 and 15), etc., stop the output of the number of backward rotation pulses and the output of forward rotation pulses as many as the backward rotation pulses to eliminate repetitive metering due to the reflow of fluid which flows backward and measure only the actual flow rate, so the accurate flow rate is measured.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、流量計測部から回転子の位置に対応して出力
される互いに位相の異なるA、B2相のパルスに基づい
て!Hパルスを形成し、出力する流’11パルス出力方
式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is based on pulses of two phases, A and B, which are different in phase from each other and are outputted from a flow rate measurement unit in accordance with the position of the rotor. The present invention relates to a '11 pulse output method for forming and outputting an H pulse.

[従来の技術] 容Jlifi、に計、タービンメータ等の流量計におい
て、流量信号を遠隔伝送する場合、オーバルギヤ、ター
ビン等の回転子の回転位置を検出し、流量パルス信号と
して送信することが一般的に行なわれている。この流量
パルスは、lパルスが流体の一定量に対応している。従
って、Iii、tパルス信号を受信して、このパルスを
計数し、計数値を積算することにより、流量を求めるこ
とができる。
[Prior Art] When transmitting a flow rate signal remotely in a flow meter such as a flow meter, a turbine meter, etc., it is possible to detect the rotational position of a rotor such as an oval gear or a turbine and transmit it as a flow rate pulse signal. This is commonly done. In this flow rate pulse, 1 pulse corresponds to a fixed amount of fluid. Therefore, the flow rate can be determined by receiving the Iiii, t pulse signal, counting the pulses, and integrating the counted values.

ところで、近年、精密な流量制御を行なう必要から、i
ll、 量を高分解能で正確に検出することが要求され
ている。
By the way, in recent years, due to the need for precise flow control, i
ll, it is required to accurately detect the amount with high resolution.

流量を高分解能で検出する方法として1回転子の1回転
に対して多数個の流量パルスを取り出す方法が考えられ
る。例えば、発光素子と受光素子とからなる一対の光電
センサを複数組用意し、これらを回転子と同期して回転
するエンコーダの回転面に沿って等間隔に配置して1回
転子1回転にセンサ個数分の流量パルスを得る方法があ
る。
As a method of detecting the flow rate with high resolution, a method of extracting a large number of flow rate pulses for one revolution of one rotor can be considered. For example, a plurality of pairs of photoelectric sensors consisting of a light emitting element and a light receiving element are prepared, and these are arranged at equal intervals along the rotational surface of an encoder that rotates in synchronization with the rotor. There is a method to obtain the same number of flow pulses.

また、この種の流量計においては、流量が一定して流れ
ている場合には、流量パルスが一定間隔で発信されるが
、脈動流の場合には1回転子が逆回転する機会が多くな
る。この場合に、流量パルスをそのまま計数すると、逆
流した流体の量を余分に加算して、大きな誤差を生じる
こととなる。
In addition, in this type of flowmeter, when the flow rate is constant, flow rate pulses are transmitted at regular intervals, but in the case of pulsating flow, there are many opportunities for the single rotor to rotate in the opposite direction. . In this case, if the flow rate pulses are counted as they are, the amount of fluid that has flowed back will be added, resulting in a large error.

そこで、流量を正確に検出するため、従来は1例えば、
2組の光電センサを配置して、位相の異なる2相のパル
スを取り出し、この2相のパルスにより正逆回転を弁別
し、各々の流量パルスを加減算カウンタに入力して、往
復して流れた流量分を差し引き、正味正回転の流量パル
スを積算する方法が採られている。
Therefore, in order to accurately detect the flow rate, conventionally, for example,
Two sets of photoelectric sensors are arranged to extract two-phase pulses with different phases, and these two-phase pulses are used to distinguish between forward and reverse rotation. Each flow rate pulse is input to an addition/subtraction counter to allow the flow to flow back and forth. A method is adopted in which the flow rate is subtracted and the net positive rotation flow rate pulses are integrated.

[発明が解決しようとする問題点] ところで、従来の高分解能で流量を計測する方法で情、
多数の光電センナを配置しなければ成らず、構造が複雑
になると共に、パルス間隔を光電センサの配置間隔によ
り調整するため、製作に手間がかかる欠点がある。また
、それらからの信号を処理する回路を各々必要として、
回路構成も複雑になる欠点がある。しかも、この方法は
、既に製作されている流量計については、新たに光電セ
ンサ等を配置しなければならないため、構造上適用する
ことが困難であり、従来品の改良には適用できない欠点
がある。
[Problems to be solved by the invention] By the way, the conventional method of measuring flow rate with high resolution has
This requires the arrangement of a large number of photoelectric sensors, making the structure complex, and the pulse interval is adjusted by the arrangement interval of the photoelectric sensors, which has the disadvantage of requiring time and effort to manufacture. Also, each requires a circuit to process the signals from them.
The disadvantage is that the circuit configuration is also complicated. Moreover, this method is structurally difficult to apply to flowmeters that have already been manufactured, as it requires the installation of a new photoelectric sensor, etc., and has the drawback that it cannot be applied to improve conventional products. .

また、上記従来の方法では、脈動率が大きくなって正逆
回転の頻度が増すと、方向弁別が不可能になるという問
題点があり、正確な計測が困難となる。これは、回転子
1回転につき多数個の流量パルスを取り出して1分解能
を高くした場合に、特にwJ″Aに表れる。そのため、
高分解能の達成と共に、脈動による誤差を除去すること
が必要である。
Further, in the conventional method described above, when the pulsation rate increases and the frequency of forward and reverse rotation increases, there is a problem that direction discrimination becomes impossible, making accurate measurement difficult. This appears especially in wJ''A when a large number of flow pulses are taken out per rotor rotation to increase the resolution.
Along with achieving high resolution, it is necessary to eliminate errors due to pulsation.

本発明は、かかる問題点を解決すべくなされたもので、
筒中な構成で高分解能の流量パルスを取り出すことがで
き、しかも、既に製作されているものに対しても適用が
可能であり、かつ、流体の脈動による回転子の逆回転に
よる誤差を除去して、正確な流星パルスを出力できる流
量パルス出力方式を提供することを目的とする。
The present invention was made to solve such problems,
It is possible to extract high-resolution flow pulses with the in-cylinder configuration, and it can also be applied to already manufactured products, and it eliminates errors caused by reverse rotation of the rotor due to fluid pulsation. The purpose of this invention is to provide a flow rate pulse output method that can output accurate meteor pulses.

[問題点を解決するためのf段] 本願第1、第2発明は、流量計測部から回転子の位置に
対応して出力される互いに位相の異なるA、B2相のパ
ルスに基づいて流量パルスを形成し、出力する流量パル
ス出力方式に適用される。
[F stage for solving the problem] The first and second inventions of the present application generate flow rate pulses based on two phase pulses, A and B, which have different phases from each other and are outputted from the flow rate measurement unit in accordance with the position of the rotor. It is applied to the flow rate pulse output method that forms and outputs.

本願第1発明は、F記問題点解決・L段として、A相パ
ルス信号の立上りに対するB相パルス信号のレベルと、
A相パルス信号の立下りに対するB相パルス信号のレベ
ルとにおける、と配回転子の正逆回転時のA、B2相の
パルスの位相の進み遅れにより定まる組合せに応じて、
パルス繰返周波数が2倍の正転パルスまたは逆転パルス
を各々形成し、 かつ、上記形成されたパルスが正転パルスであれば、出
力ゲートを開放し、一方、上記形成されたパルスが逆転
パルスになった時、出力ゲートを閉じると共に、以後、
正転パルスと逆転パルスとを加減積算し、正転パルス数
が逆転パルス数を越えた時、出力ゲートを開放して、上
記正転パルスを流l+4パルスとして出力することを特
徴とする。
The first invention of the present application solves the problem described in F, and as the L stage, the level of the B-phase pulse signal with respect to the rising edge of the A-phase pulse signal,
Depending on the combination determined by the level of the B-phase pulse signal with respect to the falling edge of the A-phase pulse signal, and the phase lead/lag of the A and B two-phase pulses during forward and reverse rotation of the rotor,
A forward rotation pulse or a reverse rotation pulse with twice the pulse repetition frequency is formed respectively, and if the formed pulse is a forward rotation pulse, the output gate is opened, and on the other hand, the formed pulse is a reverse rotation pulse. When this happens, close the output gate, and from now on,
The present invention is characterized in that the forward rotation pulse and the reverse rotation pulse are added and subtracted, and when the number of forward rotation pulses exceeds the number of reverse rotation pulses, the output gate is opened and the normal rotation pulse is outputted as 1+4 pulses.

また、本願第2発明は、上記問題点解決手段として、上
記第1発明の解決f段の内、パルス繰返周波数が2倍の
正転パルスまたは逆転パルスを各々形成する部分を、 A相パルス信号の立とりに対するB相パルス信−J・の
レベルと、B相パルス信号の立とりに対するA相パルス
信号のレベルと、A相パルス信号の立下りに対するB相
パルス信号のレベルと、B相パルス信号の立下りに対す
るA相パルス信号のレベルとにおける、上記回転子の正
逆回転時のA、 B2相のパルスの位相の進み遅れによ
り定まる組合せに応じて、パルス繰返周波数が4倍の正
転パルスまたは逆転パルスを各々形成するようにしたこ
とを特徴とするものである。
In addition, the second invention of the present application, as a means for solving the above-mentioned problem, replaces the portions of the f-stage solution of the first invention, which each form a forward rotation pulse or a reverse rotation pulse with twice the pulse repetition frequency, with an A-phase pulse. The level of the B-phase pulse signal -J in response to the rising edge of the signal, the level of the A-phase pulse signal in response to the rising edge of the B-phase pulse signal, the level of the B-phase pulse signal in response to the falling edge of the A-phase pulse signal, and the level of the B-phase pulse signal in response to the falling edge of the A-phase pulse signal. The pulse repetition frequency is quadrupled according to the combination determined by the phase lead/lag of the A and B 2-phase pulses during forward and reverse rotation of the rotor with respect to the level of the A-phase pulse signal with respect to the falling edge of the pulse signal. This is characterized in that a forward rotation pulse or a reverse rotation pulse is formed respectively.

[作用] 本発明は、流量計測部から回転子の位置に対応して出力
される互いに位相の異なるA、B2相のパルスの一方の
立上りおよび立下りと、他方の信号レベルのハイロウと
の組合せで、第1発明では、パルス繰返周波数が2倍の
パルスを取り出し、また、第2発明では、パルス繰返周
波数が4倍のパルスを取り出す。
[Operation] The present invention combines the rise and fall of one of two phase pulses, A and B, which are different in phase from each other, and the high and low signal levels of the other signal, which are output from the flow rate measurement unit in accordance with the rotor position. In the first invention, a pulse with twice the pulse repetition frequency is extracted, and in the second invention, a pulse with four times the pulse repetition frequency is extracted.

即ち、第1発明では、A相パルスの立とりおよび立下り
と、B相パルスの信号レベルのハイロウとの論理的組み
合わせで、A相パルスの立上りおよび立下りに同期した
、パルス繰返周波数が該A相パルスの2倍のパルスを取
り出す、この場合、A相パルスのハイレベル幅とロウレ
ベル幅が笠しければ、等間隔に出力されるパルスを得ら
れる。
That is, in the first invention, the pulse repetition frequency synchronized with the rise and fall of the A-phase pulse is determined by a logical combination of the rise and fall of the A-phase pulse and the high-low signal level of the B-phase pulse. A pulse twice as large as the A-phase pulse is extracted. In this case, if the high-level width and low-level width of the A-phase pulse are large, pulses output at equal intervals can be obtained.

このためには1例えば、エンコーダの光反射部と非反射
部とが同じ角度幅で交互に配置されていることが前提と
なる。
For this purpose, for example, it is a prerequisite that the light reflecting portions and non-reflecting portions of the encoder are alternately arranged with the same angular width.

また、第2発明では、A相およびB相パルスの立とりお
よび”r’l−下りと、B相およびA相パルスの信号レ
ベルのハイロウとの論理的組み合わせで、A相およびB
相パルスの立上りおよび立トリに同期した。パルス繰返
周波数が該A相(B相)パルスの4倍のパルスを取り出
す。この場合、A相およびB相パルスのハイレベル幅と
ロウレベル幅が各々等しく、かつ4両者の位相差がπ/
2であれば、等間隔に出力されるパルスを得られる。こ
のためには、例えば、エンコーダの光反射部と非反射部
とが同じ角度幅で交互に配置されていること、および、
A相パルスとB相パルスを取り出す2組の光電センサの
エンコーダ上での反射点が、各々A相パルスとB相パル
スの174波長の間隔となるよう配置されていることが
前提となる。
In addition, in the second invention, the A-phase and B-phase
Synchronized with the rise and rise of the phase pulse. A pulse whose pulse repetition frequency is four times that of the A-phase (B-phase) pulse is extracted. In this case, the high-level width and low-level width of the A-phase and B-phase pulses are equal, and the phase difference between them is π/
If it is 2, pulses output at equal intervals can be obtained. For this purpose, for example, the light reflecting parts and non-reflecting parts of the encoder are arranged alternately with the same angular width, and
It is assumed that the reflection points on the encoders of the two sets of photoelectric sensors that take out the A-phase pulse and the B-phase pulse are arranged at an interval of 174 wavelengths of the A-phase pulse and the B-phase pulse, respectively.

本願第1 、 :rS2発明は、上記のようにしてパル
スを取出す際、A、B2相のパルスの位相が、例えば、
A相を基準として、B相が遅れている場合を1:、回転
、B相が進んでいる場合を逆回転とすると、A、B2相
のパルスの一方の立上りおよび立トリと、他方の信号レ
ベルのハイロウとの組合せが、1[回転の場合と逆回転
の場合とでは論理的にに異なることを利用して+E回転
と逆回転とを識別し、曲者では正転パルス、後者では逆
転パルスを各々出力する。
The first aspect of the present invention is that when taking out pulses as described above, the phases of the A and B two-phase pulses are, for example,
With the A phase as the reference, if the B phase is delayed, it is 1: rotation, and if the B phase is ahead, it is reverse rotation, then the rising and rising edges of one of the pulses of the A and B2 phases, and the signal of the other. +E rotation and reverse rotation are distinguished by utilizing the fact that the combination of level high and low is logically different between 1 [rotation and reverse rotation. Output each pulse.

ここで、正転パルスの場合には、通常、ケートから1該
パルスがそのまま1i呈パルスとして出力される。一方
、逆転パルスが出力された場合には。
Here, in the case of a normal rotation pulse, one pulse is normally output from the gate as it is as a 1i-presenting pulse. On the other hand, if a reverse pulse is output.

、!′#差を除去するため、ゲート閉じて、!i呈パル
スの出力を停止する。
,! ′#Close the gate to remove the difference! i Stop outputting the presentation pulse.

この逆転により生ずる誤差を除去するため、本願第1.
第2発明は、出力された逆転パルスと、この後に出力さ
れる正転パルスとを加減積算する。即ち、逆転パルスと
正転パルスとを正負の符号を異にして加算し、後に出力
された正転パルス数が、ゲート閉塞後それまでに出力さ
れた逆転パルス数を越えると、ゲートを開け、以後、逆
転パルスが出力されるまで、正転パルスを流量パルスと
して出力する。
In order to eliminate the error caused by this reversal, the first part of the present application.
The second invention adds and subtracts and integrates the output reverse rotation pulse and the forward rotation pulse output thereafter. That is, a reverse rotation pulse and a forward rotation pulse are added with different signs, and when the number of forward rotation pulses output later exceeds the number of reverse rotation pulses output until then after the gate is closed, the gate is opened. Thereafter, normal rotation pulses are output as flow rate pulses until reverse rotation pulses are output.

このように、逆転パルス数の出力と、それと同数の正転
パルスの出力とを停止することにより、逆流した流体が
再度流れることによる重複計量分を除くことができて、
実際に流れた流量のみを計測することができ、正確な計
測を行なえる。
In this way, by stopping the output of the number of reverse rotation pulses and the output of the same number of forward rotation pulses, it is possible to eliminate duplicate metering due to the reflow of the fluid that has flown backwards.
Only the actual flow rate can be measured, allowing for accurate measurements.

[実施例] 本発明の実施例について図面を参照して説明する。[Example] Embodiments of the present invention will be described with reference to the drawings.

く第1実施例の構成〉 第1図に本発明tN、:IXパルス出力方式の第1実施
例を適用して流量パルスを形成する回路の構成を示す。
Configuration of First Embodiment> FIG. 1 shows the configuration of a circuit that forms flow rate pulses by applying a first embodiment of the tN,:IX pulse output system of the present invention.

同図に示すように1本実施例の流量パルス出力方式は、
非測定流体が流れる波路管lに設けられた流量計2の流
量計測部から、回転fの位置に対応して出力される互い
に位相の異なるA、B2相のパルスに基づいて流量パル
スを形成する。その基本的構成として、A、B2相のパ
ルスから回転子の正転、逆転を弁別すると共に、パルス
繰返周波数が2倍の正転パルスまたは逆転パルスを各々
形成するパルス形成回路部と、回転子の逆転による流量
誤差を除去する逆流誤差除去回路部とを有している。
As shown in the figure, the flow rate pulse output method of this embodiment is as follows:
A flow rate pulse is formed based on pulses of two phases, A and B, which are different in phase from each other and are output from the flow rate measurement part of the flow meter 2 installed in the wave path pipe l through which the non-measured fluid flows, corresponding to the position of the rotation f. . Its basic configuration includes a pulse forming circuit that discriminates between forward rotation and reverse rotation of the rotor from the A and B phase pulses, and forms a forward rotation pulse or a reverse rotation pulse with twice the pulse repetition frequency, respectively, and a rotation It has a backflow error elimination circuit section that eliminates a flow rate error caused by reverse rotation of the child.

パルス形成回路部は、第1図に示すように、正転パルス
を取り出すパルス形成部UlおよびU2と、逆転パルス
を取り出すパルス形成部DIおよびD2と、これらのパ
ルスの論理和を求めるオアゲート回路9.10とを有し
て構成される。
As shown in FIG. 1, the pulse forming circuit section includes pulse forming sections Ul and U2 for taking out normal rotation pulses, pulse forming sections DI and D2 for taking out reverse rotation pulses, and an OR gate circuit 9 for calculating the logical sum of these pulses. .10.

また、逆流誤差除去回路部は、同図に示すように、逆転
パルスが出力された場合に、誤差の発生を防IFするた
めの回路として、上記正転パルスをアップカウントし、
逆転パルスをダウンカウントするリセンタブルアッ゛プ
ダウンヵウンタ(以下カウンタと略記する。)11と、
該カウンタ11のキャリー出力によりセットされ、ポロ
ー出力によりリセットされるフリップフロップ回路12
と、該フリップフロップ回路12のQ端子出力によりゲ
ートの開閉を制御され、L記オアゲート回路9から出力
される正転パルスを出力端子14からIff mパルス
として出力するアンドゲート回路13と、L記オアゲー
ト回路lOから出力される逆転パルスによりセットされ
ると共に、出力端子14から出力される流量パルスによ
りリセットされるフリップフロップ回路15と、該フリ
ップフロップ回路15のQ端子出力によりトリガされて
パルスをL記カウンタ11のクリア端子CLRに送るワ
ンショットマルチバイブレータ(以下ワンショットマル
チ略記する。) 18とを備えている。
In addition, as shown in the figure, the reverse flow error elimination circuit section up-counts the forward rotation pulse as a circuit for preventing the occurrence of an error when a reverse rotation pulse is output.
a recenterable up-down counter (hereinafter abbreviated as counter) 11 that counts down the reverse pulse;
A flip-flop circuit 12 that is set by the carry output of the counter 11 and reset by the pollo output.
, an AND gate circuit 13 whose gate opening/closing is controlled by the Q terminal output of the flip-flop circuit 12, and which outputs the normal rotation pulse outputted from the OR gate circuit 9 in L as an If m pulse from the output terminal 14; A flip-flop circuit 15 is set by a reversal pulse output from the OR gate circuit 1O and reset by a flow rate pulse output from the output terminal 14, and a flip-flop circuit 15 is triggered by the Q terminal output of the flip-flop circuit 15 and outputs a pulse to L. A one-shot multi-vibrator (hereinafter abbreviated as "one-shot multi") 18 is provided to send data to the clear terminal CLR of the counter 11.

上記パルス形成部U1およびDlは、流量計2の流量計
測部からのB相パルスを反転するインバータ 5を共通
に有している。
The pulse forming units U1 and Dl have in common an inverter 5 that inverts the B-phase pulse from the flow rate measuring unit of the flow meter 2.

パルス形成部U1は、A相パルスの立北りをトリガとし
てパルスを出力するワンショットマルチバイブレータ(
以下ワンショットマルチと略記する。)3と、該ワンシ
ョットマルチ3のパルスとL記インバータ 5からの位
相を反転されたB相パルスとの論理積をとるアンドゲー
ト回路7とを有している。
The pulse forming unit U1 is a one-shot multivibrator (
Hereinafter, it will be abbreviated as one-shot multi. ) 3, and an AND gate circuit 7 which performs the logical product of the pulse of the one-shot multi 3 and the phase-inverted B-phase pulse from the L inverter 5.

また、パルス形成部DIには、A相パルスの位相を反転
するインバータ 8と、このインバータ 8で立Eりに
反転されたA相パルスのケ下りをトリガとしてパルスを
出力するワンショットマルチバイブレータ(以下ワンシ
ョットマルチと略記する。) 4と、該ワンショットマ
ルチ4のパルスとと記インバータ 5にてハイレベルに
位相を反転されたB相パルスとの論理積をとるアンドゲ
ート回路8とを有している。
The pulse forming unit DI also includes an inverter 8 that inverts the phase of the A-phase pulse, and a one-shot multivibrator ( (hereinafter abbreviated as one-shot multi) 4, the pulse of the one-shot multi 4, and the B-phase pulse whose phase has been inverted to a high level by the inverter 5. are doing.

一方、パルス形成ID2は、A相パルスの立上りをトリ
カとしてパルスを出力するワンショットマルチ3と、該
ワンショットマルチ3のパルスとB相パルスとの論理積
をとるアンドゲート回路7とを有している。
On the other hand, the pulse forming ID 2 includes a one-shot multi 3 that outputs a pulse using the rising edge of the A-phase pulse as a trigger, and an AND gate circuit 7 that takes an AND of the pulse of the one-shot multi 3 and the B-phase pulse. ing.

また、パルス形I&部U2には、A相パルスの位相を反
転するインバータ 8と、該インバータ 6で立J−り
に反転されたA相パルスのケ下りをトリガとしてパルス
を出力するワンショットマルチ4と、該ワンショットマ
ルチ4のパルスとB相パルスとの論理積をとるアンドゲ
ート回路8とを有している。
In addition, the pulse type I& section U2 includes an inverter 8 that inverts the phase of the A-phase pulse, and a one-shot multi-channel pulse generator that outputs a pulse triggered by the falling of the A-phase pulse inverted by the inverter 6. 4, and an AND gate circuit 8 which takes the AND of the pulse of the one-shot multi 4 and the B-phase pulse.

流1.4計2の流量計測部は1図示しない回転子の回転
位置を検出して、L記A、B2相のパルスを出力する機
能を備えている。この機能は、例えば、第6図に示すよ
うなエンコーダ17と、A相パルス用光′准センサI8
と、B相パルス用光電センサ18と、A、B両相毎の増
幅器および波形整形回路(いずれも図示せず、)とを有
して構成される。
The flow rate measurement unit 1.4 has a function of detecting the rotational position of a rotor (not shown) and outputting pulses of two phases, A and B. This function is achieved by, for example, an encoder 17 as shown in FIG.
, a B-phase pulse photoelectric sensor 18, and amplifiers and waveform shaping circuits for each of the A and B phases (none of which are shown).

上記エンコーダ17は、同図に示すように、貫通孔から
なる非反射部1.77と、反射部17Rとが交互に等間
隔で配置されている。両者の円周方向の長さを等しくす
ると、両者の境界部17Uと17Dとが全て等間隔に配
置される。
As shown in the figure, the encoder 17 has non-reflective portions 1.77 consisting of through holes and reflective portions 17R arranged alternately at equal intervals. When the lengths in the circumferential direction of both are made equal, the boundary parts 17U and 17D of both are arranged at equal intervals.

A相パルス用光電センサ18と、B相パルス用光電セン
サ19とは、第6図に示すように、エンコーダ17が時
計方向に回転した場合(これを正回転とする。)、前者
が後者より位相が進むように配置されている。この場合
、位相が、0く0≦π/2の範囲で進むように設定する
As shown in FIG. 6, the A-phase pulse photoelectric sensor 18 and the B-phase pulse photoelectric sensor 19 are such that when the encoder 17 rotates clockwise (this is referred to as forward rotation), the former is more sensitive than the latter. They are arranged so that the phase advances. In this case, the phase is set to advance within the range of 0 and 0≦π/2.

即ち、第6図に示すように、A相パルス用光電センサ1
8を構成する発光素T−18Lと受光素子180とを、
また、B相パルス用光電センサ19を構成する発光素子
19Lと受光素子190とを、各々エンコーダ17の反
射部17Rにおける反射点RA、RBが、境界部17U
と170との間隔より狭く、かつ、重なり合わないよう
にして配2する。好ましくは、反射点RAとRBとの間
隔が、境界部17LIと170との間隔の1/2となる
ようにする。第6図の例は、このように設定しである。
That is, as shown in FIG. 6, the A-phase pulse photoelectric sensor 1
The light emitting element T-18L and the light receiving element 180 constituting 8,
Further, the reflection points RA and RB of the light emitting element 19L and the light receiving element 190 constituting the B-phase pulse photoelectric sensor 19 in the reflection part 17R of the encoder 17 are located at the boundary part 17U.
and 170, and are arranged so that they do not overlap. Preferably, the distance between reflection points RA and RB is set to be 1/2 of the distance between boundary portions 17LI and 170. The example shown in FIG. 6 is set like this.

従って、A相パルスとB相パルスとは、正回転時に、前
者が後者より1/4波長だけ位相が進んだ状態となる。
Therefore, the A-phase pulse and the B-phase pulse are in a state where the phase of the former is advanced by 1/4 wavelength from the latter during forward rotation.

また、逆Ur1転時には、この逆となる。Moreover, when reverse Ur1 is turned, this is reversed.

く第1実施例の作用〉 」二連した本発明第1実施例の作用について、L記各図
と、第4図および第5図とを参照して説明する。
Functions of the First Embodiment> The functions of the first embodiment of the present invention will be described with reference to the drawings in L and FIGS. 4 and 5.

先ず、本実施例において使用されるA相パルスと、B相
パルスとは、流量計2の計測部において回転する回転子
の回転を、第6図に示すようなエンコーダ17と、2組
の光電センサ18および19とにより検出し、これを波
形整形して形成する。そのアナログ波形と、波形整形後
のパルス波形とを第4図に示す、なお、これらのパルス
は1本実施例の場合、第6図に示すエンコーダ17を使
用しているので、回転子の1回転につき反射部17R(
非反射部17T )の数だけ出力される。
First, the A-phase pulse and the B-phase pulse used in this embodiment are used to control the rotation of a rotor rotating in the measurement section of the flowmeter 2 using an encoder 17 and two sets of photoelectric sensors as shown in FIG. It is detected by sensors 18 and 19, and is formed by shaping the waveform. The analog waveform and the pulse waveform after waveform shaping are shown in FIG. 4. In the case of this embodiment, since the encoder 17 shown in FIG. Reflection part 17R (
The number of outputs is equal to the number of non-reflective portions 17T).

このようにして出力されるA相パルスとB相パルスとは
、パルス形成部Ul、01.02およびU2に入力され
る。
The A-phase pulse and B-phase pulse output in this way are input to the pulse forming units Ul, 01.02, and U2.

パルス形成部U1では、A相パルスの立上りをトリガと
して、ワンショットマルチ3にてパルスが出力され、こ
のパルスと、インバータ 6にて反転されたB相パルス
レベルとの論理積をアンドゲート回路7にて求める。一
方、パルス形成部DIでは、インバータ 6にて立上り
に反転されたA相パルスの立下りをトリがとして、ワン
ショットマルチ4にてパルスが出力され、このパルスと
、インバータ 6にて反転されたB相パルスレベルとの
論理積をアンドゲート回路8にて求める。
In the pulse forming unit U1, a pulse is outputted by the one-shot multi 3 using the rising edge of the A-phase pulse as a trigger, and the AND gate circuit 7 calculates the logical product of this pulse and the B-phase pulse level inverted by the inverter 6. Find it at On the other hand, in the pulse forming section DI, the falling edge of the A-phase pulse whose rising edge is inverted by the inverter 6 is used as a trigger to output a pulse from the one-shot multi 4, and this pulse and the pulse which is inverted by the inverter 6 The AND gate circuit 8 calculates the AND with the B-phase pulse level.

ここで、回転子が正回転であれば、A相パルスとB相パ
ルスとは、第2図に示すように、前者が後者よりπ/2
位相が進んでいる。そのため、アンドゲート回路7では
、A相パルスの立Lす(第2図AU)をトリガとしてワ
ンショットマルチ3からパルスが出力された時、ロウレ
ベルであるB相パルス(第2図BL)がインバータ 5
にてハイレベルに反転されて、アンドゲートの両入力が
同時にハイレベルとなり、ワンショットマルチ3のパル
スと同じパルスが正転パルスとして出力される。
Here, if the rotor rotates forward, the A-phase pulse and the B-phase pulse are π/2 larger than the latter, as shown in FIG.
The phase is advanced. Therefore, in the AND gate circuit 7, when a pulse is output from the one-shot multi 3 using the rise of the A-phase pulse (AU in FIG. 2) as a trigger, the B-phase pulse (BL in FIG. 2) at a low level is output to the inverter. 5
It is inverted to high level at , both inputs of the AND gate become high level at the same time, and the same pulse as the one-shot multi 3 pulse is output as a normal rotation pulse.

この後、アンドゲート回路8では、A相パルスの化下り
(第2図AD)をトリガとしてワンショットマルチ4か
らパルスが出力された時、ハイレベルとなっているB相
パルス(第2図OH)がインバータ 5にてロウレベル
に反転されて、アンドゲート回路8の肉入力が同時には
/\イレベルとならず、逆転パルスは出力されない。
Thereafter, in the AND gate circuit 8, when a pulse is output from the one-shot multi 4 using the fall of the A-phase pulse (AD in FIG. 2) as a trigger, the B-phase pulse (OH in FIG. 2) is at a high level. ) is inverted to a low level by the inverter 5, and the input to the AND gate circuit 8 does not become /\I level at the same time, and no inversion pulse is output.

一方、回転子が逆回転であれば、A相パルスとB相パル
スとは、第3図に示すように、前者が後者よりπ/2位
相が遅れている。そのため、アンドゲート回路8では、
ワンショットマルチ4からパルスが出力された時、ロウ
レベルであるB相パルス(第3図BL)がインバータ 
5にて反転されて/\イレベルとなり、アンドゲートの
肉入力が同時にハイレベルとなって、ワンショットマル
チ4のパ、ルスと同じパルスが逆転パルスとして出力さ
れる。
On the other hand, if the rotor rotates in the opposite direction, the A-phase pulse and the B-phase pulse are delayed in phase by π/2 from the latter, as shown in FIG. Therefore, in the AND gate circuit 8,
When a pulse is output from the one-shot multi 4, the low level B-phase pulse (BL in Figure 3) is output to the inverter.
It is inverted at 5 and becomes the /\I level, and the meat input of the AND gate becomes high level at the same time, and the same pulse as the one-shot multi 4's pa and rus is output as a reverse pulse.

この後、アンドゲート回路7では、ワンショットマルチ
3からパルスが出力された時、ノ\イレベルとなってい
るB相パルス(第3図OH)がインバータ 5にて反転
されてロウレベルとなり、アンドゲート回路7の肉入力
が同時にはハイレベルとならず、正転パルスは出力され
ない。
After this, in the AND gate circuit 7, when a pulse is output from the one-shot multi 3, the B-phase pulse (OH in Fig. 3), which is at the noise level, is inverted by the inverter 5 and becomes a low level, and the AND gate The meat inputs of the circuit 7 do not become high level at the same time, and no forward rotation pulse is output.

ここまでの回路によれば、第4図に1倍出力モードとし
て示す従来の流量パルスが得られる。木実M(Mでは、
この2倍のパルス数のパルスを得るため、パルス形成部
D2およびU2を使用する。
According to the circuit thus far, the conventional flow pulse shown in FIG. 4 as the 1x output mode is obtained. Tree nuts M (In M,
In order to obtain twice the number of pulses, pulse forming sections D2 and U2 are used.

このパルス形成部D2およびU2では、B相パルスを反
転せずにそのままアンドゲート回路7および8に入力さ
せている。そして、パルス形成部D2は、L記パルス形
成部U1と同じ回路構成であり、また、パルス形成部U
2は、パルス形成部DI と同じ回路構成である。
In the pulse forming units D2 and U2, the B-phase pulse is input to the AND gate circuits 7 and 8 as it is without being inverted. The pulse forming section D2 has the same circuit configuration as the L pulse forming section U1, and the pulse forming section U
2 has the same circuit configuration as the pulse forming section DI.

従って、パルス形成部D2およびU2は、B相パルスの
ハイレベル(第3図OH)およびA相パルスのケ上り(
第3図へ〇)の組合せと、B相パルスのハイレベル(第
2図OH)およびA相パルスのケ下り(第2図AD)の
組合せとにより、前者は逆転パルスを、後者は正転パル
スを、上記したパルス形成部UlおよびDIにおける作
用と同様にして、各々出力する。この他の組み合わせで
は、パルスを出力しない。
Therefore, the pulse forming units D2 and U2 output the high level of the B-phase pulse (OH in FIG. 3) and the rising level of the A-phase pulse (OH) of the A-phase pulse.
By the combination of 〇) in Figure 3 and the combination of the high level of the B-phase pulse (OH in Figure 2) and the falling of the A-phase pulse (AD in Figure 2), the former generates a reverse rotation pulse and the latter generates a forward rotation. Pulses are output in the same manner as in the pulse forming units Ul and DI described above. In other combinations, no pulses are output.

J―記パルス形成部Ul、DI、D2およびU2から各
々出力される正転パルスおよび逆転パルスは、前者はオ
アゲート回路9により、また、後者はオアゲート回路1
0により、各々論理的に加算され、論理和として出力さ
れる。従って、オアゲート回路9からパルスが出力され
るか、オアゲート回路10からパルスが出力されるかに
より、回転子の回転の正逆を判別する。
The forward rotation pulse and the reverse rotation pulse outputted from the pulse forming units Ul, DI, D2, and U2 are respectively outputted by the OR gate circuit 9 and the OR gate circuit 1, respectively.
0, each is logically added and output as a logical sum. Therefore, depending on whether a pulse is output from the OR gate circuit 9 or from the OR gate circuit 10, it is determined whether the rotation of the rotor is normal or reverse.

この論理和は、A相パルスの立上りおよび立下りが等間
隔に表れることから、第4図に2倍出力モードとして示
すような波形となる。これによれば、従来の1倍出力モ
ードの2倍のパルス繰返周波数の流量パルスが得られる
Since the rising and falling edges of the A-phase pulse appear at equal intervals, this logical sum has a waveform as shown in FIG. 4 for the double output mode. According to this, a flow rate pulse having twice the pulse repetition frequency as in the conventional single output mode can be obtained.

次に、このようにして出力される正転パルスおよび逆転
パルスは、カウンタ11のアップ端子UPとダウン端子
ONとに対応して入力される。このカウンタ11は、ア
ップ端子UPに正転パルスが入力されると、該パルスを
アップカウントし、一方、ダウン端子ONに逆転パルス
が入力すると、該パルスをダウンカウントする。
Next, the forward rotation pulse and reverse rotation pulse outputted in this manner are inputted to the counter 11 in correspondence with the up terminal UP and the down terminal ON. This counter 11 counts up the pulse when a forward pulse is input to the up terminal UP, and counts down the pulse when a reverse pulse is input to the down terminal ON.

このカウンタ11およびその周辺回路の動作について、
第5図に示すタイムチャートを参照して説明する。同図
における工〜■の各領域は、工は正回転、■は逆回転、
■および■は正回転状IEを各々示す、なお1本実施例
では、カウンタ11は、アップ端子UPとダウン端子D
Nとに入力するパルスの立下りにより計数を行なうもの
とする。
Regarding the operation of this counter 11 and its peripheral circuits,
This will be explained with reference to the time chart shown in FIG. In each area from work to ■ in the same figure, work is forward rotation, ■ is reverse rotation,
(2) and (2) each indicate a forward rotation IE. In this embodiment, the counter 11 has an up terminal UP and a down terminal D.
Counting is performed based on the falling edge of the pulse input to N.

正回転工の際には、第5図(b)に示すように、正転パ
ルスがカウンタ11のアップ端子UPに人力して、計数
される。ここで、その計数f〆1が、第5図(a)に示
すように、nになったとする。この時、フリップフロッ
プ回路15は、後述の出力端子14からの正転パルスに
よってリセットされている。また、フリップフロップ回
路12も、カウンタ11のキャリー出力によりセットさ
れており、そのQ端子はハイレベルとなっている。従っ
て、アンドゲート回路13を経て、正転パルスが出力端
子14に表れている。
During forward rotation machining, as shown in FIG. 5(b), forward rotation pulses are manually input to the up terminal UP of the counter 11 and counted. Here, it is assumed that the count f〆1 becomes n as shown in FIG. 5(a). At this time, the flip-flop circuit 15 is reset by a normal rotation pulse from the output terminal 14, which will be described later. Further, the flip-flop circuit 12 is also set by the carry output of the counter 11, and its Q terminal is at a high level. Therefore, a normal rotation pulse appears at the output terminal 14 after passing through the AND gate circuit 13.

ここで、流路管1内での脈動等により、Ii量計2の回
転子が逆転すると、第5図における逆回転■の状y凪と
なる。この時、アンドゲート回路10から、第5図(c
)に示すように、逆転パルスが出力され、この逆転パル
スの立トリによりフリップフロップ回路15がセットさ
れ、そのQ端子出力がハイレベルとなる。これがトリガ
となって、ワンショットマルチ16からパルスが出力さ
れ、北記カウンタ目のクリヤ端子CLRに入力されて、
その計数値がクリヤされる。
Here, if the rotor of the Ii quantity meter 2 is reversed due to pulsation in the flow path pipe 1, etc., a y-calm occurs in the form of reverse rotation (■) in FIG. At this time, from the AND gate circuit 10, as shown in FIG.
), a reversal pulse is output, and the flip-flop circuit 15 is set by the rise of this reversal pulse, and its Q terminal output becomes high level. This acts as a trigger, and a pulse is output from the one-shot multi 16, which is input to the clear terminal CLR of the northern counter.
The counted value is cleared.

この後、L記カウンタ11は、ダウン端子DHに入力す
るE記逆転パルスの立下りにより、第5図(a)のよう
に、計数値が“−1”となり、第5図(e)に示すよう
に、ポロ一端子BLからポロー信号を出力すると共に、
これ以降、逆転パルスが入力すると、ダウンカウントを
行なう、このポロー信号によりフリップフロップ回路1
2がリセットされ、そのQ端子出力がロウレベルとなる
。その結果、アンドゲート回路13は、第5図(f)に
示すように、そのゲートを閉じる。
After this, the count value of the L counter 11 becomes "-1" as shown in FIG. 5(a) due to the fall of the E reverse pulse inputted to the down terminal DH, and the count value becomes "-1" as shown in FIG. 5(e). As shown, while outputting the pollo signal from the pollo terminal BL,
From now on, when a reverse pulse is input, the flip-flop circuit 1 starts counting down by this pollo signal.
2 is reset, and its Q terminal output becomes low level. As a result, the AND gate circuit 13 closes its gate, as shown in FIG. 5(f).

次に、第5図(a)に示すように、逆転パルスが3個出
力された後、正転パルスが出力され、正回転■の状態と
なると、この正転パルスは、カウンタ11にてアップカ
ウントされて、L記逆転時に計数された計数値に加算さ
れる。そして、計数値が“0”になった時、即ち、逆転
パルスと同数の正転パルスを計数した時、該カウンタ1
1はキャリ一端子CYからキャリー信号を出力する。
Next, as shown in FIG. 5(a), after three reverse rotation pulses are output, a forward rotation pulse is output, and when the state of forward rotation ■ is reached, this forward rotation pulse is incremented by the counter 11. It is counted and added to the count value counted at the time of the L rotation. Then, when the count value becomes "0", that is, when the same number of forward rotation pulses as reverse rotation pulses are counted, the counter 1
1 outputs a carry signal from the carry terminal CY.

このキャリー信号によりフリップフロップ回路12は占
びセット状態となり、そのQ端子出力がハイレベルとな
る。その結果、アンドゲート回路13が開かれる(第5
図(f)参照)。
This carry signal causes the flip-flop circuit 12 to enter the fortune set state, and its Q terminal output becomes high level. As a result, AND gate circuit 13 is opened (fifth
(See figure (f)).

その後は、土足正回転Iの場合と同様の正回転■の状態
となり、オアゲート回路9から出力される正転パルスが
出力端子14に流量パルスとして出力される。
Thereafter, a state of forward rotation (2) similar to the case of forward rotation I with shoes on is entered, and the forward rotation pulse outputted from the OR gate circuit 9 is outputted to the output terminal 14 as a flow rate pulse.

く第2実施例の構成〉 第7図に本発明流量パルス出力方式の第2実施例を適用
して流量パルスを形成する回路の構成を示す。
Configuration of Second Embodiment> FIG. 7 shows the configuration of a circuit that forms a flow rate pulse by applying the second embodiment of the flow rate pulse output system of the present invention.

同図に示すように、本実施例の流量パルス出力方式は、
パルス形成回路部について、パルス繰返周波数が4倍の
市松パルスまたは逆転パルスを各々形成する構成となっ
ている点を除き、L記第1実施例とほぼ同様に構成され
る。従って、第1実施例と同様の部分については説明を
繰返さず、相違する点を中心として説明する。
As shown in the figure, the flow rate pulse output method of this embodiment is as follows:
The pulse forming circuit section is constructed in substantially the same manner as in the first embodiment, except that the pulse forming circuit section is constructed to form checkered pulses or reverse pulses each having a pulse repetition frequency of 4 times. Therefore, the description of the same parts as in the first embodiment will not be repeated, and the explanation will focus on the differences.

パルス形成回路部は、第7図に示すように、正転パルス
を形成するパルス形成部U1〜U4と、逆転パルスを形
成するパルス形成部D1〜D4と、これらのパルスの論
理和を求めるオアゲート回路17.18とを有して構成
される。
As shown in FIG. 7, the pulse forming circuit section includes pulse forming sections U1 to U4 that form forward rotation pulses, pulse forming sections D1 to D4 that form reverse rotation pulses, and an OR gate that calculates the logical sum of these pulses. It is configured with circuits 17 and 18.

パルス形成部U1.U2.DIおよびD2は、上記第1
実施例の同一符号で示す回路と全く同一の構成であり、
同一に作用する。
Pulse forming section U1. U2. DI and D2 are the first
It has exactly the same configuration as the circuit indicated by the same reference numeral in the embodiment,
Acts the same.

パルス形成部U3およびD3は、ワンショットマルチ3
,4、インバータ 5,8およびアンドゲート回路7,
8を有し、i、、記パルス形成部UlおよびDlと同一
に構成される。また、パルス形成部U4お上びnil±
、ワン・ンー、リトマル羊34、インバータ 6および
アンドゲート回路7、8とを有し、上記パルス形成部U
2およびD2と同一に構成される。これらのパルス形成
部U3、D3.U4およびD4は、B相パルスの立上り
または立下りと、A相パルスレベルのハイロウとの゛論
理約1合せにより正転パルスまたは逆転パルスを形成す
る点において、上記パルス形成部Ul。
Pulse forming units U3 and D3 are one-shot multi-3
, 4, inverter 5, 8 and AND gate circuit 7,
8, and has the same configuration as the pulse forming units Ul and Dl. In addition, the pulse forming section U4 and nil±
, Wan N, a lithomal sheep 34, an inverter 6, and AND gate circuits 7, 8, and the pulse forming section U
2 and D2. These pulse forming units U3, D3. U4 and D4 form the normal rotation pulse or the reverse rotation pulse by a logical combination of the rising or falling edge of the B-phase pulse and the high/low level of the A-phase pulse.

U2.DIおよびD2と作用を異にする。U2. It has a different effect from DI and D2.

く第2実施例の作用〉 上述したように構成される本実施例の作用について説明
する。
Operation of Second Embodiment> The operation of this embodiment configured as described above will be explained.

本実施例を適用する流量計の計測部は、土足第1実施例
のものと同じ4R成でよいが、本実施例では、A、B両
相のパルスの立上りおよび立下りをトリがとして正転パ
ルスまたは逆転パルスを形成するため、各パルスを等間
隔とするには、A、 B両相のパルスのehりおよびケ
rりの間隔が各々等しいことの他、A相パルスとB相パ
ルスとの位相差が正確にπ/2となるように設定する0
本実施例では、これらの条件を満たしている。
The measuring section of the flowmeter to which this embodiment is applied may have the same 4R configuration as that of the first embodiment, but in this embodiment, the rising and falling pulses of both the A and B phases are used to In order to form a rotation pulse or a reversal pulse, in order to make each pulse equally spaced, in addition to making sure that the intervals between the eh and ker of both the A and B phase pulses are equal, the A phase pulse and the B phase pulse must be Set the phase difference to be exactly π/2.0
In this example, these conditions are satisfied.

パルス形X&、部U1.U2.DIおよびD2は、上記
第1実施例の回−符すて示す回路と全く同一に作用する
。また、パルス形成部U3.U4、D3およびD4は、
A相パルスとB相パルスとの関係が入れそ+わるだけで
、各部における作用は、上記パルス形成部Ul、U2.
D1およびD2の対応する回路形、態のものと同じであ
る。
Pulse shape X&, part U1. U2. DI and D2 operate exactly the same as the circuits shown in the first embodiment. Further, the pulse forming unit U3. U4, D3 and D4 are
The only difference is the relationship between the A-phase pulse and the B-phase pulse, and the actions in each part are the same as those in the pulse forming parts Ul, U2 .
It is the same as the corresponding circuit form and form of D1 and D2.

パルス形成i’il!Ul〜U4は、第2図に示す記号
を用いて表わせば、(AU* BL)、(BU* AH
)、(AD* BH)および(BD″* AL)の組み
合わせにより正転パルスを出力する。この場合、パルス
は、Ul、U4.U2およびU3の順に出力される。
Pulse formation i'il! If Ul to U4 are expressed using the symbols shown in Fig. 2, (AU*BL), (BU*AH
), (AD*BH), and (BD″*AL) are combined to output a normal rotation pulse. In this case, the pulses are output in the order of Ul, U4, U2, and U3.

また、パルス形J&部D1〜D4は、同じ〈第2図に示
す記号を用いて表わせば、  (AD*BL) 。
Moreover, the pulse type J& portions D1 to D4 are the same (represented using the symbols shown in FIG. 2, (AD*BL)).

(BU*AL) 、  (AU*BH) オヨび(BI
)*AH) (7)組み合わせにより逆転パルスを出力
する。この場合、パルスは、Dl、D3.D2およびD
4の順に出力される。
(BU*AL), (AU*BH) Oyobi (BI
)*AH) (7) Outputs a reverse pulse by combination. In this case, the pulses are Dl, D3 . D2 and D
They are output in the order of 4.

上記パルス形成部U1〜U4からのパルスは、正転パル
スとして、オアゲート回路17により、各々論理的に加
算され、論理和として出力される。また、パルス形成部
DI−D4からのパルスは、逆転パルスとして、オアゲ
ート回路1Bにより、各々論理的に加算され、論理和と
して出力される。従って、オアゲート回路17からパル
スが出力されるか、オアゲート回路18からパルスが出
力されるかにより、回転子の回転の正逆を判別する。
The pulses from the pulse forming units U1 to U4 are logically added as normal pulses by the OR gate circuit 17 and output as a logical sum. Further, the pulses from the pulse forming section DI-D4 are logically added together as reverse pulses by the OR gate circuit 1B, and output as a logical sum. Therefore, depending on whether a pulse is output from the OR gate circuit 17 or from the OR gate circuit 18, it is determined whether the rotation of the rotor is normal or reverse.

この論理和は、第4図に示すように、A相およびB相の
各パルスの立上りおよび立下りが等間隔に表れること、
および、A相パルスとB相パルスとについて、位相がπ
/2異なるように設定されていることから、第4図に4
倍出力モードとして示すような波形となる。これによれ
ば、従来の1倍出力モードの4倍のパルス繰返周波数の
流量パルスが得られる。
This logical sum indicates that, as shown in FIG. 4, the rising and falling edges of the A-phase and B-phase pulses appear at equal intervals;
And, for the A-phase pulse and the B-phase pulse, the phase is π
/2 Since the settings are different, 4 is shown in Figure 4.
The waveform will be as shown in double output mode. According to this, a flow rate pulse with a pulse repetition frequency four times that of the conventional single output mode can be obtained.

このようにして形成されるパルスの内、正転パルスは、
逆転パルスが出力されない限り、そのまま流量パルスと
してアンドゲート回路13を経て出力端子14から出力
される。また、逆転パルスが出力されると、と2第1実
施例の場合と同様に、逆流誤差除去回路部において処理
される。
Among the pulses formed in this way, the forward rotation pulse is
As long as the reverse pulse is not output, the flow rate pulse is directly output from the output terminal 14 via the AND gate circuit 13. Furthermore, when the reverse pulse is output, it is processed in the reverse flow error elimination circuit section as in the case of the first embodiment.

逆流誤差除去回路部は、扱うパルス数が多くなるだけで
、作用は上記第1実施例のものと同じである0本実施例
では、カウンタ11において、正転パルスおよび逆転パ
ルスを直接計数するため、パルス繰返周波数が大きくな
っても、上方対応できる。
The reverse flow error elimination circuit section operates in the same manner as in the first embodiment, except that the number of pulses it handles is increased. In this embodiment, the counter 11 directly counts forward rotation pulses and reverse rotation pulses. , even if the pulse repetition frequency increases, it can cope with the increase.

なお1本実施例(J:、2第1実施例も同様)において
、フリップフロップ回路15のリセットを、オアゲート
回路3から出力されるパルスにより行なう構成とするこ
とも考えられる。しかし、この方式では、流量パルスが
頻繁に正逆転を繰り返す場合、クリアパルスもこれに応
じて発生するため。
In this embodiment (J:, the same applies to the first embodiment), it is also conceivable that the flip-flop circuit 15 is reset by a pulse output from the OR gate circuit 3. However, with this method, if the flow rate pulse frequently repeats forward and reverse rotation, a clear pulse will also be generated accordingly.

加減演算が正常に行なわれず、その結果、正確な出力パ
ルスが得られないという問題がある。従って、上述した
ように、アンドゲート回路13の出力端子14から出力
される正常な流量パルスを使用してフリップフロップ回
路15のリセットを行なうのであれば、頻繁に正逆転を
繰り返す場合であっても、加減演算を正常に行ない得る
There is a problem in that the addition/subtraction calculations are not performed properly, and as a result, accurate output pulses cannot be obtained. Therefore, as described above, if the normal flow rate pulse output from the output terminal 14 of the AND gate circuit 13 is used to reset the flip-flop circuit 15, even if forward and reverse rotations are frequently repeated, , addition and subtraction operations can be performed normally.

く他の実施例〉 上記各実施例は、各々本願第1、第2発明の典型的な例
を示すもので1本願第1、第2発明は、これらに限定さ
れるものではない0例えば、論理回路は、同−I! 俺
を実現できるものであれば、他の回路を使用してもよい
Other Examples> The above-mentioned examples each show typical examples of the first and second inventions of the present application, and the first and second inventions of the present application are not limited to these.For example, The logic circuit is same-I! You can use other circuits as long as they can realize me.

[発明の効果] 以上説明したように本発明は、A、B各々1組のセンサ
から出力されるA、B2相のパルスに基づいて、論理回
路による簡単な構成で高分解能の流量パルスを取り出す
ことができ、しかも、A、B2相のパルスを形成する部
分を特に改良しなくとも実施できるので、既に製作され
ているものに対しても適用が可能である。また、本発明
は、流体の脈動による回転子の逆回転による誤差を除去
して、正確な流量パルスを出力できる。
[Effects of the Invention] As explained above, the present invention extracts high-resolution flow rate pulses with a simple configuration using logic circuits based on the A and B two-phase pulses output from one set of sensors A and B respectively. Moreover, since it can be carried out without particularly improving the part that forms the two-phase A and B pulses, it can be applied to already manufactured products. Further, the present invention can output accurate flow pulses by eliminating errors caused by reverse rotation of the rotor due to fluid pulsation.

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

第1図は本発明流量パルス出力方式の:51実施例を適
用して流量パルスを形成する回路の構成を示す回路図、
第2図および第3図はA、B2相のパルスの正逆回転と
位相の関係を示す波形図、第4図は各実施例におけるA
、B2相のパルスと流量パルスとの関係を示す波形図、
第5図は逆1i、1誤差除去回路部の作用を示すタイム
チャート、第6図はA、B2相のパルスを形成する部分
の一例を示す説明図、第7図は本発明流量パルス出力方
式の第2実施例を適用して流量パルスを形成する回路の
構成を示す回路図である。 l・・・流路管 2・・・流量計 3.4.16・・・ワンショットマルチバイブレータ5
、6・・・インバータ 7、8.13・・・アンドゲート回路 9.10.17.18・・・オアゲート回路11・・・
リセンタブルアップダウンカウンタ12、15・・・7
リツプ70ツブ回路U1〜U4 、DI−D4・・・パ
ルス形成部出願人 オーバル機器工業株式会社 代理人 弁理士 三 品 岩 男 第2図     第3図 第4図 第5図 第6図
FIG. 1 is a circuit diagram showing the configuration of a circuit that forms a flow rate pulse by applying the 51st embodiment of the flow rate pulse output method of the present invention;
Figures 2 and 3 are waveform diagrams showing the relationship between the forward and reverse rotation of pulses in the A and B phases and the phase, and Figure 4 is a waveform diagram showing the relationship between the A and B phase pulses and the phase.
, a waveform diagram showing the relationship between the B2 phase pulse and the flow rate pulse,
Fig. 5 is a time chart showing the operation of the inverse 1i and 1 error removal circuit section, Fig. 6 is an explanatory diagram showing an example of the part that forms the A and B two-phase pulses, and Fig. 7 is the flow rate pulse output method of the present invention. FIG. 2 is a circuit diagram showing the configuration of a circuit that forms a flow rate pulse by applying the second embodiment of the present invention. l...Flow path pipe 2...Flow meter 3.4.16...One-shot multivibrator 5
, 6... Inverter 7, 8.13... AND gate circuit 9.10.17.18... OR gate circuit 11...
Recenterable up/down counters 12, 15...7
Lip 70 tube circuits U1 to U4, DI-D4...Pulse forming unit Applicant: Oval Equipment Industry Co., Ltd. Agent: Patent attorney Iwao Mishina Figure 2 Figure 3 Figure 4 Figure 5 Figure 6

Claims (4)

【特許請求の範囲】[Claims] (1)流量計測部から回転子の位置に対応して出力され
る互いに位相の異なるA、B2相のパルスに基づいて流
量パルスを形成し、出力する流量パルス出力方式であっ
て、 A相パルス信号の立上りに対するB相パルス信号のレベ
ルと、A相パルス信号の立下りに対するB相パルス信号
のレベルとにおける、上記回転子の正逆回転時のA、B
2相のパルスの位相の進み遅れにより定まる組合せに応
じて、パルス繰返周波数が2倍の正転パルスまたは逆転
パルスを各々形成し、 かつ、上記形成されたパルスが正転パルスであれば、出
力ゲートを開放し、一方、上記形成されたパルスが逆転
パルスになった時、出力ゲートを閉じると共に、以後、
正転パルスと逆転パルスとを加減積算し、正転パルス数
が逆転パルス数を越えた時、出力ゲートを開放して、上
記正転パルスを流量パルスとして出力することを特徴と
する流量パルス出力方式。
(1) A flow rate pulse output method that forms and outputs a flow rate pulse based on two phase pulses, A and B, which are different in phase from each other and is output from a flow rate measurement unit in accordance with the position of the rotor, and the A-phase pulse. A and B during forward and reverse rotation of the rotor at the level of the B-phase pulse signal with respect to the rising edge of the signal and the level of the B-phase pulse signal with respect to the falling edge of the A-phase pulse signal.
A forward rotation pulse or a reverse rotation pulse with twice the pulse repetition frequency is formed respectively according to the combination determined by the phase lead/lag of the two-phase pulses, and if the formed pulse is a forward rotation pulse, The output gate is opened, and on the other hand, when the pulse formed above becomes a reverse pulse, the output gate is closed, and from now on,
A flow rate pulse output characterized by adding and subtracting forward rotation pulses and reverse rotation pulses, and when the number of forward rotation pulses exceeds the number of reverse rotation pulses, an output gate is opened and the above-mentioned forward rotation pulses are output as flow rate pulses. method.
(2)正転パルスと逆転パルスとを、リセット機能を付
加した加減算カウンタにて加減積算し、この加減算カウ
ンタに対するリセット指令を上記流量パルスとして出力
されるパルスの印加によることを特徴とする特許請求の
範囲第1項記載の流量パルス出力方式。
(2) A patent claim characterized in that the forward rotation pulse and the reverse rotation pulse are added/subtracted by an addition/subtraction counter with a reset function, and the reset command for the addition/subtraction counter is applied by applying the pulse output as the flow rate pulse. The flow rate pulse output method described in item 1.
(3)流量計測部から回転子の位置に対応して出力され
る互いに位相の異なるA、B2相のパルスに基づいて流
量パルスを形成し、出力する流量パルス出力方式であっ
て、 A相パルス信号の立上りに対するB相パルス信号のレベ
ルと、B相パルス信号の立上りに対するA相パルス信号
のレベルと、A相パルス信号の立下りに対するB相パル
ス信号のレベルと、B相パルス信号の立下りに対するA
相パルス信号のレベルとにおける、上記回転子の正逆回
転時のA、B2相のパルスの位相の進み遅れにより定ま
る組合せに応じて、パルス繰返周波数が4倍の正転パル
スまたは逆転パルスを各々形成し、 かつ、上記形成されたパルスが正転パルスであれば、出
力ゲートを開放し、一方、上記形成されたパルスが逆転
パルスになった時、出力ゲートを閉じると共に、以後、
正転パルスと逆転パルスとを加減積算し、正転パルス数
が逆転パルス数を越えた時、出力ゲートを開放して、上
記正転パルスを流量パルスとして出力することを特徴と
する流量パルス出力方式。
(3) A flow rate pulse output method in which a flow rate pulse is formed and outputted based on two phase pulses, A and B, which are different in phase from each other and are outputted from a flow rate measurement unit in accordance with the position of the rotor, and the A-phase pulse The level of the B-phase pulse signal with respect to the rising edge of the signal, the level of the A-phase pulse signal with respect to the rising edge of the B-phase pulse signal, the level of the B-phase pulse signal with respect to the falling edge of the A-phase pulse signal, and the falling edge of the B-phase pulse signal. A for
A forward rotation pulse or a reverse rotation pulse with a pulse repetition frequency of 4 times is generated according to the combination determined by the phase lead/lag of the A and B two-phase pulses during forward and reverse rotation of the rotor with respect to the level of the phase pulse signal. and if the formed pulse is a forward rotation pulse, the output gate is opened, while when the formed pulse is a reverse rotation pulse, the output gate is closed, and thereafter,
A flow rate pulse output characterized by adding and subtracting forward rotation pulses and reverse rotation pulses, and when the number of forward rotation pulses exceeds the number of reverse rotation pulses, an output gate is opened and the above-mentioned forward rotation pulses are output as flow rate pulses. method.
(4)正転パルスと逆転パルスとを、リセット機能を付
加した加減算カウンタにて加減積算し、この加減算カウ
ンタに対するリセット指令を上記流量パルスとして出力
されるパルスの印加によることを特徴とする特許請求の
範囲第3項記載の流量パルス出力方式。
(4) A patent claim characterized in that forward rotation pulses and reverse rotation pulses are added/subtracted by an addition/subtraction counter that is equipped with a reset function, and a reset command for the addition/subtraction counter is applied by applying a pulse outputted as the flow rate pulse. Flow rate pulse output method described in item 3.
JP61029465A 1986-02-13 1986-02-13 Flow rate pulse output system Pending JPS62187221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61029465A JPS62187221A (en) 1986-02-13 1986-02-13 Flow rate pulse output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61029465A JPS62187221A (en) 1986-02-13 1986-02-13 Flow rate pulse output system

Publications (1)

Publication Number Publication Date
JPS62187221A true JPS62187221A (en) 1987-08-15

Family

ID=12276849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61029465A Pending JPS62187221A (en) 1986-02-13 1986-02-13 Flow rate pulse output system

Country Status (1)

Country Link
JP (1) JPS62187221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453753B1 (en) 1999-02-05 2002-09-24 Ole Koudal Volume or mass flowmeter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53119077A (en) * 1977-03-26 1978-10-18 Sony Corp Revolution indicator
JPS5643827A (en) * 1979-09-17 1981-04-22 Matsushita Electric Ind Co Ltd Pulse detecting circuit
JPS5681460A (en) * 1979-12-06 1981-07-03 Matsushita Electric Ind Co Ltd Pulse-detecting circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53119077A (en) * 1977-03-26 1978-10-18 Sony Corp Revolution indicator
JPS5643827A (en) * 1979-09-17 1981-04-22 Matsushita Electric Ind Co Ltd Pulse detecting circuit
JPS5681460A (en) * 1979-12-06 1981-07-03 Matsushita Electric Ind Co Ltd Pulse-detecting circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6453753B1 (en) 1999-02-05 2002-09-24 Ole Koudal Volume or mass flowmeter

Similar Documents

Publication Publication Date Title
US4050747A (en) Digital wheel speed circuit arranged to compensate for dimensional irregularities of sensor rotor member
RU2558714C2 (en) Method for determining torque moment and/or angular speed of rotating shaft, and device for implementation of method
CN108181482A (en) Real-time low-speed detection device based on virtual sine wave
JPS6357727B2 (en)
JPS5913957A (en) Speed detecting circuit
CN101424695A (en) Rotate speed and differential measurement method without velocity metre
JPS62187221A (en) Flow rate pulse output system
JPH08128855A (en) Speed detecting device
JPH02129522A (en) Method and device for measuring amount of suction air
JPH0645210Y2 (en) Flowmeter
JPS63229320A (en) Rotation detector
RU1790801C (en) Device for measurement of movements
US9079261B2 (en) Detecting a relative shaft position on geared shafts
JP6452210B1 (en) Speed detection device
KR960007196Y1 (en) Apparatus for measuring speed in incremental encoder
SU1585664A1 (en) Apparatus for measuring kinematic error of gearings
JP2002531834A (en) Mixed speed estimation
JPH05332788A (en) Data processing device for rotary encoder
RU2055366C1 (en) Meter of movement parameters
SU1310731A1 (en) Device for measuring rotation acceleration
SU993307A1 (en) Device for determining error of shaft angular position-to-code converter
JPS59102166A (en) Speed detection circuit
SU1003321A1 (en) Device for delaying square-wave pulses
SU953593A2 (en) Digital phase meter
JP2891472B2 (en) Speed signal detection circuit