JPH10267951A - Method and circuit for detection of abnormality in forward sensor and reverse sensor - Google Patents

Method and circuit for detection of abnormality in forward sensor and reverse sensor

Info

Publication number
JPH10267951A
JPH10267951A JP9072121A JP7212197A JPH10267951A JP H10267951 A JPH10267951 A JP H10267951A JP 9072121 A JP9072121 A JP 9072121A JP 7212197 A JP7212197 A JP 7212197A JP H10267951 A JPH10267951 A JP H10267951A
Authority
JP
Japan
Prior art keywords
pulse
sensor
flip
flop
reverse
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
JP9072121A
Other languages
Japanese (ja)
Inventor
Takashi Hirose
孝 広瀬
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 Corp
Original Assignee
Oval Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oval Corp filed Critical Oval Corp
Priority to JP9072121A priority Critical patent/JPH10267951A/en
Publication of JPH10267951A publication Critical patent/JPH10267951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain a method and a circuit in which the reliability of an apparatus is increased by a method wherein a forward sensor and a reverse sensor which transmit pulses with a phase difference can detect not only a disconnection but also an operating defect due to a circuit short circuit, an output drop or the like. SOLUTION: Pulses A (or pulses B) which are output from one sensor out of a forward sensor and a reverse sensor are used as a reference, and the state of the signal level of the pulses is compared with the state of the signal level of pulses B (or pulses A) which are output from the other sensor. That is to say, when the signal levels of the pulses A (or the pulses B) in the rise and the fall of the pulses A (or the pulses B) are different so as to be at 'L' and 'H' (or at 'H' or 'L'), the pulses are detected as a normal state. When the levels are identical so as to be both at 'L' or 'H', the pulses are detected as an abnormal state.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、正逆センサの異常
検出方法及び回路に関し、より詳細には、回転体の正逆
回転を検出するセンサの出力波形のレベル低下や、セン
サ内での断線やショート等の異常を検出する正逆センサ
の異常検出方法及び回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and a circuit for detecting an abnormality of a forward / reverse sensor, and more particularly to a reduction in the level of an output waveform of a sensor for detecting forward / reverse rotation of a rotating body, and a disconnection in the sensor. The present invention relates to a method and circuit for detecting an abnormality of a forward / reverse sensor for detecting an abnormality such as a short circuit or short circuit.

【0002】[0002]

【従来の技術】周知のように、回転体の正逆回転を検出
するには、回転体の回転を連続パルス信号として検出す
る一対のセンサを、連続パルス信号が位相差を有するよ
うに取り付け、一方の連続パルスを基準としたときの、
他方の連続パルスの位相差から正逆を検出することによ
り行われる。すなわち、回転体の正逆回転は一対の正逆
センサが正常な連続パルス信号を出力するときに正逆回
転の正しい検出が可能であり、何れかのセンサが異常と
なるときには回転方向の検出は不可能となる。このた
め、従来、正逆センサの異常を検出する多くの提案がな
されている。
2. Description of the Related Art As is well known, in order to detect the forward and reverse rotation of a rotating body, a pair of sensors for detecting the rotation of the rotating body as a continuous pulse signal are attached so that the continuous pulse signals have a phase difference. Based on one continuous pulse,
This is performed by detecting the forward / reverse from the phase difference of the other continuous pulse. That is, the forward / reverse rotation of the rotating body can correctly detect the forward / reverse rotation when a pair of forward / reverse sensors output a normal continuous pulse signal, and when any of the sensors becomes abnormal, the rotation direction is detected. Impossible. For this reason, conventionally, many proposals for detecting an abnormality of the forward / reverse sensor have been made.

【0003】図5は、従来の正逆センサの異常検出回路
を説明するためのブロック図で、L,L′は磁気センサ
コイル、7はコンパレータ、8,9,10,11は演算
増幅器(以後、AMPと記す)、12は異常信号出力端
子である。
FIG. 5 is a block diagram for explaining an abnormality detection circuit of a conventional forward / reverse sensor. L and L 'are magnetic sensor coils, 7 is a comparator, and 8, 9, 10, and 11 are operational amplifiers (hereinafter referred to as operational amplifiers). , AMP) and 12 are abnormal signal output terminals.

【0004】磁気センサコイルL,L′は、回転体に埋
設された磁石(図示せず)の磁束に対応して微分パルス
を出力する。磁気センサコイルL,L′には1/2・V
Eの電圧が印加され、電圧は各々VA,VBに保たれてい
る。
[0004] The magnetic sensor coils L and L 'output a differential pulse corresponding to the magnetic flux of a magnet (not shown) embedded in the rotating body. 1 / 2.V is applied to the magnetic sensor coils L and L '.
Voltage E is applied, the voltage is respectively V A, is kept at V B.

【0005】正逆センサの異常検出は、電圧VA及びVB
が基準電圧VEを抵抗R1,R2,R3で等分に分圧して得
られた比較電圧V1,V2と比較することにより行われ
る。コンパレータ7はVA(VB)と比較電圧V1,V2
を比較する。比較電圧V1はAMP8,10の非反転入
力に、比較電圧V2はAMP9,11の反転入力に接続
されている。電圧VAはAMP8の反転入力およびAM
P9の非反転入力に接続され、電圧VBはAMP10の
反転入力およびAMP11の非反転入力に接続されてい
る。AMP8,9,10,11の出力端は共に異常信号
出力端子12に接続されている。
[0005] Anomaly Detection forward and reverse sensors, voltage V A and V B
Is compared with comparison voltages V 1 and V 2 obtained by equally dividing the reference voltage VE by the resistors R 1 , R 2 and R 3 . The comparator 7 compares V A (V B ) with the comparison voltages V 1 and V 2 . The comparison voltage V 1 is connected to non-inverting inputs of AMPs 8 and 10, and the comparison voltage V 2 is connected to inverting inputs of AMPs 9 and 11. The voltage VA is equal to the inverting input of AMP8 and AM.
The voltage V B is connected to the non-inverting input of P9 and the non-inverting input of AMP10. The output terminals of the AMPs 8, 9, 10, and 11 are all connected to the abnormal signal output terminal 12.

【0006】異常信号出力端子12は、電圧VA,V
Bが、 V1>VA>V2 (1) V1>VB>V2 (2) のとき信号レベルが“H”となり正常であることを示し
ているが、磁気センサコイルL又はL′が断線すると電
圧VA又はVBは1/2・VEが印加されなくなるため比
較電圧V2以下又はV1以上となり、上記(1),(2)
の条件を充たさず信号レベルが“L”となり異常である
ことを検出する。
[0006] The abnormal signal output terminal 12 outputs the voltages V A , V
When B is V 1 > V A > V 2 (1) When V 1 > V B > V 2 (2), the signal level becomes “H”, indicating that the signal is normal, but the magnetic sensor coil L or L 'the voltage V a or V B when disconnected becomes a comparison voltage V 2 or less or V 1 or more for 1/2 · V E is not applied, (1), (2)
Is not satisfied, the signal level becomes "L" and an abnormal state is detected.

【0007】特開昭59−170714号公報に記載の
「対称配置されたセンサの異常検出装置」は、センサが
回転体の回転を検出するのではなく、対称配置されて対
称動作する動作部の動作状態に応じてON,OFF信号
を出力するセンサの異常を検出するものであるが、セン
サ1から出力するS1パルスと、センサ2から出力する
2パルスの立上り時間t1と立下り時間t2とを求め、
1,t2が共に基準値以下のときは正常と判断し、基準
値を越えたときを異常と判断する装置である。
Japanese Patent Application Laid-Open No. Sho 59-170714 discloses an "abnormality detecting device for a symmetrically arranged sensor". The sensor does not detect the rotation of a rotating body, but is symmetrically arranged and operates symmetrically. This is to detect an abnormality of a sensor that outputs an ON / OFF signal according to an operation state. Rise time t 1 and fall time of S 1 pulse output from sensor 1 and S 2 pulse output from sensor 2 are detected. t 2 and
This is a device that determines that both t 1 and t 2 are equal to or less than the reference value as normal, and that when t 1 and t 2 exceed the reference value as abnormal.

【0008】特開昭63−284415号公報に記載の
「エンコーダの異常検出回路」は、U,V,W相とA,
B相の両方の信号を有するエンコーダの信号異常を検出
する回路に関するもので、エンコーダのU,V,W相の
レベル信号が同時に同一レベルになったことによって
U,V,W相の信号異常と、A,B相のレベル信号の立
上り立下りから得られたUP,DNパルスからA,B相
の信号異常とを検出する回路である。
The "encoder abnormality detection circuit" described in Japanese Patent Application Laid-Open No. 63-284415 discloses U, V, W phases and A,
The present invention relates to a circuit for detecting a signal abnormality of an encoder having both B-phase signals. When the U, V, W-phase level signals of the encoder become the same level at the same time, the U, V, W-phase signal abnormality is detected. , A and B phase signals are detected from the UP and DN pulses obtained from the rise and fall of the level signals of the A and B phases.

【0009】[0009]

【発明が解決しようとする課題】図5に示した従来の正
逆センサの異常検出回路では、磁気センサコイルL,
L′が断線したとき、(1),(2)式の条件から外れ
るが、断線せず線間ショート等が生じたときは条件を充
たすので、断線以外の異常検出は不可能であった。
In the abnormality detection circuit of the conventional forward / reverse sensor shown in FIG. 5, the magnetic sensor coils L,
When L 'is disconnected, the conditions of the equations (1) and (2) are deviated. However, when the line is not disconnected and a short circuit between the lines occurs, the condition is satisfied, so that it is impossible to detect an abnormality other than the disconnection.

【0010】特開昭59−170714号公報に記載の
「対称配置されたセンサの異常検出装置」は、第1パル
スと第2パルスの立上り,立下り時間の時間差t1,t2
の時間幅を基準値と比較するので回路が複雑になる。
[0010] "abnormality detecting device of sensors symmetrically disposed" described in JP-A-59-170714, the rising of the first pulse and the second pulse, the time difference between the fall time t 1, t 2
The circuit becomes complicated because the time width is compared with the reference value.

【0011】特開昭63−284415号公報に記載の
「エンコーダの異常検出回路」は、U,V,W相および
A,B相、各々の相の異常を検出するので回路構成要素
も多く、それだけ複雑な構造となっている。また、A,
B相の立上り,立下りに複数のパルスを検出するヒステ
リシス回路を有しているが、最初の1パルス目は出力さ
れないというデメリットがある。
The "encoder abnormality detection circuit" described in Japanese Patent Application Laid-Open No. 63-284415 detects abnormality in each of the U, V, and W phases and the A and B phases, and therefore has many circuit components. It has a complicated structure. Also, A,
Although a hysteresis circuit for detecting a plurality of pulses at the rise and fall of the B phase is provided, there is a disadvantage that the first pulse is not output.

【0012】本発明は、上述の状態に鑑みてなされたも
ので、位相の異なるパルスを発信する正逆センサの異常
を、センサの断線だけでなく、ショートや出力低下を含
めて検出可能とし機器の信頼性を高める。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described situation, and is capable of detecting an abnormality of a forward / reverse sensor that emits pulses having different phases, not only in the case of disconnection of the sensor, but also in the case of a short circuit or a decrease in output. Improve reliability.

【0013】[0013]

【課題を解決するための手段】請求項1の発明は、正常
な発信時には、位相差を有するパルスを出力し、回転体
の正逆回転を検出する正逆センサの異常検出方法におい
て、一対の正逆センサを設け、該正逆センサの一方を基
準とし、該一方のセンサのパルス立上り時には他方のセ
ンサのパルス信号レベルが“L”(又は“H”)で、該
一方のセンサのパルス立下り時には他方のセンサのパル
ス信号レベルが“H”(又は“L”)であれば正常で、
前記一方のセンサのパルス立上り時と立下り時に他方の
センサのパルス信号レベルが共に“L”又は共に“H”
のとき異常と判断するようにしたものである。
According to a first aspect of the present invention, there is provided a method for detecting an abnormality in a forward / reverse sensor which outputs a pulse having a phase difference during normal transmission and detects forward / reverse rotation of a rotating body. A forward / reverse sensor is provided, and one of the forward / reverse sensors is used as a reference. When the pulse of one of the sensors rises, the pulse signal level of the other sensor is "L" (or "H"), When the pulse signal level of the other sensor is “H” (or “L”) at the time of descending, it is normal,
When the pulse of one sensor rises and falls, the pulse signal level of the other sensor is both "L" or both "H".
In such a case, it is determined that there is an abnormality.

【0014】請求項2の発明は、正常な発信時には、位
相差を有するパルスを出力し、回転体の正逆転回転を検
出する正逆センサの異常検出回路において、4つのDフ
リップフロップと、2つのエクシクルーシブORゲート
と、1つのANDゲートを設け、一方のパルスを第1の
Dフリップフロップと第2のDフリップフロップのD端
子と、第3のDフリップフロップのCK端子とパルス反
転させて第4のDフリップフロップのCK端子に各々入
力し、他方のパルスを第3のDフリップフロップと第4
のDフリップフロップのD端子と、第1のDフリップフ
ロップのCK端子とパルス反転させて第2のDフリップ
フロップのCK端子に各々入力し、第1のDフリップフ
ロップと第2のDフリップフロップのQ端子の出力を第
1のエクシクルーシブORゲートに入力し、第3のDフ
リップフロップと第4のDフリップフロップのQ端子の
出力を第2のエクシクルーシブORゲートとに入力し、
各々排他的論理和を求め、第1のエクシクルーシブOR
ゲートと第2のエクシクルーシブORゲートの出力をA
NDゲートに入力し論理積を求めるようにして、該AN
Dゲートの出力の信号レベルが“L”のとき異常と判断
するようにしたものである。
According to a second aspect of the present invention, there is provided an abnormality detection circuit for a forward / reverse sensor which outputs a pulse having a phase difference during normal transmission and detects forward / reverse rotation of a rotating body. Two exclusive OR gates and one AND gate are provided, and one pulse is pulse-inverted with the D terminal of the first D flip-flop and the second D flip-flop, and the CK terminal of the third D flip-flop. To the CK terminal of the fourth D flip-flop, and the other pulse is input to the third D flip-flop and the fourth D flip-flop.
And the CK terminal of the first D flip-flop and the CK terminal of the second D flip-flop are pulse-inverted and input to the CK terminal of the second D flip-flop, respectively. Is input to the first exclusive OR gate, and the outputs of the Q terminals of the third D flip-flop and the fourth D flip-flop are input to the second exclusive OR gate.
Exclusive ORs are obtained, and a first exclusive OR
The output of the gate and the second exclusive OR gate to A
The signal is input to an ND gate to obtain a logical product,
When the signal level of the output of the D gate is "L", it is determined that an abnormality has occurred.

【0015】[0015]

【発明の実施の形態】本発明による正逆センサの異常検
出方法及び回路を説明する前に、本発明に係るパルス発
信例を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Before describing a method and a circuit for detecting an abnormality of a forward / reverse sensor according to the present invention, an example of pulse transmission according to the present invention will be described.

【0016】図1は、本発明に係るパルス発信および発
信パルスを説明するための図で、図1(A)は発信原理
を示す図、図1(B)はセンサの出力パルスを示す図、
図1(C)は整形されたパルス波形を示す図であり、図
中、1は回転体、2,3は磁石、4,5はセンサであ
る。
FIG. 1 is a diagram for explaining pulse transmission and transmission pulses according to the present invention. FIG. 1 (A) is a diagram showing a transmission principle, FIG. 1 (B) is a diagram showing output pulses of a sensor,
FIG. 1C is a diagram showing a shaped pulse waveform, in which 1 is a rotating body, 2 and 3 are magnets, and 4 and 5 are sensors.

【0017】図1(A)において、磁石2,3は回転体
1の回転軸0−0を中心とした回転円上に磁極N,Sを
互いに磁極が反対となるように埋め込まれ、磁石2,3
の回転円上から所定距離を隔てて面直角にセンサ4,5
が設置されている。センサ4,5は、磁石2,3に対し
前記回転円の円周方向に位相差相当の距離差をもって設
置され、例えば、アモルファス金属線まわりにコイルを
巻回したもので、回転体1の回転に伴ってセンサ4,5
に交差する磁束変化に応じて発生するバルクハウゼンジ
ャンプを利用して、図1(B)に示す位相差φを有する
信号PA,PBが得られる。信号PA,PBは正・負を交互
に繰り返す微分波で、この微分波の立上り,立下りでト
リガされて所定のパルス幅のパルスが生じ、図1(C)
に示す時間差△Tの位相時間差をもった正逆回転検出用
のA,Bパルス得られる。
In FIG. 1A, magnets 2 and 3 are embedded on a rotating circle about the rotation axis 0-0 of the rotating body 1 such that magnetic poles N and S are embedded so that the magnetic poles are opposite to each other. , 3
Sensors 4 and 5 at right angles to the plane at a predetermined distance from the rotation circle
Is installed. The sensors 4 and 5 are installed with a distance difference corresponding to a phase difference in the circumferential direction of the rotating circle with respect to the magnets 2 and 3 and, for example, a coil wound around an amorphous metal wire. Sensors 4 and 5
Signals P A and P B having a phase difference φ shown in FIG. 1B can be obtained by utilizing a Barkhausen jump generated in response to a change in magnetic flux crossing. Signal P A, P B is a differentiated wave repeating positive and negative alternately rise of the differentiated wave, is triggered occurs pulse having a predetermined pulse width at the falling, FIG 1 (C)
A and B pulses for normal / reverse rotation detection having the phase time difference of the time difference ΔT shown in FIG.

【0018】センサ4,5を構成するコイル,アモルフ
ァス金属線,外筒の異常や磁石2,3上に付着する異物
による磁束密度の低下等により、発信はしているがレベ
ル低下を生じた場合では、トリガレベルに達することな
く結果的にパルス抜けを生ずる異常が発生する。
When the signal is transmitted but the level is lowered due to an abnormality in the coils constituting the sensors 4 and 5, the amorphous metal wires, the outer cylinder, or a decrease in the magnetic flux density due to foreign matters adhering to the magnets 2 and 3. In this case, an abnormality occurs in which a pulse is missed without reaching the trigger level.

【0019】図2は、請求項1の発明の実施形態を説明
するための正逆パルスのタイムチャートである。
FIG. 2 is a time chart of forward / reverse pulses for explaining the first embodiment of the present invention.

【0020】図2に示したタイムチャートは、Aパルス
を基準としてBパルスを比較するもので、Aパルスは正
常のパルス発信状態で発信されるパルスで、パルス
1,P2,…,P5を出力している。これに対しBパル
スは、(1),(2)が正常動作で、(3)〜(5)は
異常動作の場合であり、(3)の場合はAパルスよりも
立上りのタイミングが早い場合である。(4)の場合
は、逆にAパルスよりも立下りのタイミングが早い場合
である。(5)はBパルスが出力しない場合である。
The time chart shown in FIG. 2 compares the B pulse with the A pulse as a reference. The A pulse is a pulse transmitted in a normal pulse transmission state, and the pulses P 1 , P 2 ,. 5 is output. On the other hand, for the B pulse, (1) and (2) are for normal operation, (3) to (5) are for abnormal operation, and in (3), the rising timing is earlier than the A pulse. It is. In the case (4), the falling timing is earlier than the A pulse. (5) is a case where the B pulse is not output.

【0021】図2において、(1),(2)に示す正常
動作の場合は、Aパルス(P1,P2)の立上り時にはB
パルス(P1′,P2′)の信号レベルは“L”となり、
Aパルス(P1,P2)の立下り時ではBパルス
(P1′,P2′)の信号レベルは“H”となる。すなわ
ち、Aパルスの立上り時と立下り時のBパルスの信号レ
ベルは互いに異なる。
In FIG. 2, in the normal operation shown in (1) and (2), when the A pulse (P 1 , P 2 ) rises, B
The signal level of the pulse (P 1 ′, P 2 ′) becomes “L”,
When the A pulse (P 1 , P 2 ) falls, the signal level of the B pulse (P 1 ′, P 2 ′) becomes “H”. That is, the signal levels of the B pulse at the time of the rising and the falling of the A pulse are different from each other.

【0022】これに対し、(3),(4),(5)に示
す異常動作の場合は、Aパルス(P3,P4,P5)の立
上り時と立下り時のBパルス(P3′,P4′,P5′)
の信号レベルは共に“H”又は共に“L”である。すな
わち、正常動作であるか異常動作であるかは、Aパルス
を基準としてAパルスの立上り時を立下り時でのBパル
スの信号レベルが互いに異なる信号レベルであるときは
正常動作で、反対に同一信号レベルのときは異常動作と
判定される。また、Bパルスを基準とした場合は、Bパ
ルスの立上り時と立下り時でのAパルスの信号レベルが
互いに異なるか同一かにより正常動作か異常動作かを判
断できる。
On the other hand, in the case of the abnormal operation shown in (3), (4), and (5), the B pulse (P) at the time of the rise and fall of the A pulse (P 3 , P 4 , P 5 ) 3 ', P 4', P 5 ')
Are both "H" or "L". That is, the normal operation or the abnormal operation is determined to be normal operation when the signal level of the B pulse at the rising and falling edges of the A pulse is different from each other with respect to the A pulse, and conversely. If the signal levels are the same, it is determined that the operation is abnormal. In addition, when the B pulse is used as a reference, whether the signal is normal or abnormal can be determined based on whether the signal levels of the A pulse at the rise and the fall of the B pulse are different or the same.

【0023】図3は、請求項2の発明の実施形態の一例
を説明するための正逆パルスの異常検出回路のブロック
図である。
FIG. 3 is a block diagram of a normal / reverse pulse abnormality detecting circuit for explaining an embodiment of the second aspect of the present invention.

【0024】図3に示した正逆パルスの異常検出回路
は、4個のDフリップフロップ(以後、D−FFと記
す)と2個のエクスクルーシブORゲート(以後、X−
ORと記す)と1個のANDゲートとからなっており、
D−FF1,2およびX−OR1はAパルスを基準とし
たBパルスの状態、D−FF3,4およびX−OR2は
Bパルスを基準としたAパルスの状態を比較する回路で
ある。
The normal / reverse pulse abnormality detection circuit shown in FIG. 3 has four D flip-flops (hereinafter referred to as D-FF) and two exclusive OR gates (hereinafter referred to as X-FFs).
OR) and one AND gate.
D-FFs 1 and 2 and X-OR1 are circuits for comparing the state of a B pulse based on the A pulse, and D-FFs 3 and 4 and X-OR2 are circuits for comparing the state of the A pulse based on the B pulse.

【0025】従って、Aパルスを基準とした場合、D−
FF1,2の各々のD入力端子にはBパルスが入力さ
れ、各々のCK(クロック)入力は、D−FF1ではA
パルス、D−FF2ではパルスAの反転パルス−A(な
お、電子化の都合上記号の上に付す反転符号−は当該記
号の前に付す)が入力され、更にD−FF1およびD−
FF2のQ出力は各々X−OR1に入力される。一方、
Bパルスを基準とした場合、D−FF3,4の各々のD
入力端子にはAパルスが入力され、各々のCK入力は、
D−FF3ではBパルス、D−FF4ではパルスBの反
転パルス−Bが入力され、D−FF3,D−FF4のQ
出力は各々X−OR2に入力される。
Therefore, when the A pulse is used as a reference, D−
A B pulse is input to each of the D input terminals of the FFs 1 and 2, and each CK (clock) input is A in the D-FF1.
In the pulse, D-FF2, an inverted pulse of pulse A, -A (the inverted symbol-, which is added above the symbol for the sake of computerization, is added before the symbol), is input.
The Q output of FF2 is input to X-OR1. on the other hand,
When the B pulse is used as a reference, each D-FF3, 4
A pulse is input to the input terminal, and each CK input is
The D-FF3 receives the B pulse, and the D-FF4 receives the inverted pulse -B of the pulse B.
The output is input to each X-OR2.

【0026】X−OR1とX−OR2の出力は、AND
ゲートに入力される。なお、D−FF1のQ出力は、A
パルスがBパルスに対して位相が進む場合は“L”、位
相が遅れる場合は“H”であるから、該Q出力とX−O
R1の入力間のM点の信号レベルを検出することによ
り、正逆回転の回転方向を検出することができる。次
に、図3に示す回路の動作を図4に示すタイムチャート
に基づいて説明する。
The outputs of X-OR1 and X-OR2 are AND
Input to the gate. Note that the Q output of D-FF1 is A
Since the pulse is "L" when the phase advances with respect to the B pulse and "H" when the phase lags, the Q output and X-O
By detecting the signal level at the point M between the inputs of R1, it is possible to detect the forward and reverse rotation directions. Next, the operation of the circuit shown in FIG. 3 will be described based on the time chart shown in FIG.

【0027】図4は、図3に示す正逆パルスの異常検出
回路の動作を説明するためのタイムチャートであり、X
1,X2,X3,X4は各々D−FF1,D−FF2,D−
FF3,D−FF4のQ出力の信号レベルを示す。な
お、説明を簡潔にするため、Aパルス,Bパルスは共に
正常動作時のタイミングで図示している。
FIG. 4 is a time chart for explaining the operation of the normal / reverse pulse abnormality detecting circuit shown in FIG.
1 , X 2 , X 3 and X 4 are D-FF1, D-FF2 and D-FF, respectively.
It shows the signal level of the Q output of FF3 and D-FF4. For simplicity of explanation, both the A pulse and the B pulse are shown at the timing of normal operation.

【0028】図4において、D−FF1では、Aパルス
の立上りの時点ではBパルスの信号レベルは“L”であ
るから、出力X1の信号レベルは“L”である。このレ
ベルは一定保持される。D−FF2では、D−FF1の
場合と反対に−Aパルスの立上りの時点でのBパルスの
信号レベルは“H”であるため出力X2の信号レベルは
“H”である。この状態は正常動作が継続されていれば
不変である。
[0028] In FIG. 4, the D-FF1, because at the time of the rise of the A pulse signal levels of the B pulse is "L", the signal level of the output X 1 is "L". This level is kept constant. In D-FF2, D-FF1 signal level of the output X 2 for B pulse signal level is "H" at the time the rise of the case and -A pulse opposite is "H". This state is unchanged if normal operation is continued.

【0029】D−FF3では、AパルスがBパルスに対
して位相が進んでいるから、D−FF1の場合と反対に
Bパルスの立上り時点でAパルスの信号レベルは“H”
であるから出力X3は“H”を保持する。D−FF4で
は、D−FF3の場合と反対に出力X4は信号レベル
“L”に保持される。
In the D-FF3, since the phase of the A pulse is ahead of the phase of the B pulse, the signal level of the A pulse is "H" at the rising point of the B pulse, contrary to the case of the D-FF1.
Therefore, the output X 3 holds “H”. In D-FF4, the output opposite to that of D-FF3 X 4 is held at the signal level "L".

【0030】上述のように、Aパルスを基準としたBパ
ルスの状態は、正常動作時ではX1の信号レベルが
“L”、−Aパルスを基準としたBパルスの状態は、正
常動作時ではX2の信号レベルが“H”で互いに反対レ
ベルである。同様に、Bパルスを基準としたAパルスの
状態も正常動作時ではX3の信号レベルが“H”、−B
パルスを基準としたAパルスの状態も正常動作時ではX
4の信号レベルが“L”で互いに反対レベルである。
[0030] As described above, the state of the B pulse with reference to an A pulse, the signal level is "L" X 1 in normal operation, - the state of the B pulse with respect to the A pulse, during normal operation the signal level of X 2 are opposite level to each other at "H". Similarly, the signal level of X 3 than at state even normal operation of the A-pulse relative to the B pulse is "H", - B
The state of the A pulse based on the pulse is also X during normal operation.
4 are "L" and opposite levels.

【0031】従って、X−OR1の出力X5,X−OR
2の出力X6は、共に正常動作時は、信号レベルが
“H”であるからANDゲートの出力X7の信号レベル
は“H”である。もし、センサ4,5が異常で、Aパル
ス,Bパルスの信号レベルが図2の(3),(4),
(5)に示すように異常な出力である場合は、X1,X2
あるいはX3,X4の信号レベルは共に“L”又は“H”
で、X−OR1の出力X5又はX−OR2の出力X6の信
号レベルは“L”となり、ANDゲートの出力X7の信
号レベルは“L”となる。すなわち、ANDゲートの出
力X7の信号レベル“H”,“L”により正常動作か異
常動作かを知ることができる。
Therefore, the outputs X 5 , X-OR of the X-OR 1
Output X 6 2 are both normal operation, the signal level of the output X 7 of the AND gate since the signal level is "H" is "H". If the sensors 4 and 5 are abnormal and the signal levels of the A pulse and the B pulse are (3), (4),
If the output is abnormal as shown in (5), X 1 , X 2
Alternatively, the signal levels of X 3 and X 4 are both “L” or “H”.
In the signal level becomes "L" of the output X 6 Output X 5 or X-OR @ 2 of X-OR1, the signal level of the output X 7 of the AND gate becomes "L". That is, the signal level "H" of the output X 7 of the AND gate, "L" makes it possible to know whether the normal operation or abnormal operation.

【0032】[0032]

【発明の効果】請求項1に対応する効果:A(B)パル
スを基準としてA(B)パルスの立上り時と立下り時の
B(A)パルスの信号レベルの状態が“H”と“L”
(“L”と“H”)のように互いに異なる場合が正常
で、共に“H”又は“L”のように同一である場合が異
常としたので、センサの断線だけでなく、レベルの低下
やショートなどのセンサ異常も検出することができる。
According to the first aspect of the present invention, the signal levels of the B (A) pulse at the rising and falling of the A (B) pulse with respect to the A (B) pulse are "H" and "H". L "
("L" and "H") are normal when they are different from each other, and abnormal when they are the same as "H" or "L". It is also possible to detect a sensor abnormality such as a short circuit or a short circuit.

【0033】請求項2に対応する効果:請求項1に記載
の異常検出方法を実現するために、D−FF4個とX−
OR2個およびAND1個で構成可能となり、安価で簡
易な正逆センサの異常を検出できる。
Advantages corresponding to claim 2: In order to realize the abnormality detection method according to claim 1, four D-FFs and X-FFs are used.
It can be configured with two ORs and one AND, so that an inexpensive and simple abnormality of the forward / reverse sensor can be detected.

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

【図1】 本発明に係るパルス発信および発信パルスを
説明するための図である。
FIG. 1 is a diagram for explaining pulse transmission and transmission pulses according to the present invention.

【図2】 請求項1の発明の実施形態を説明するための
正逆パルスのタイムチャートである。
FIG. 2 is a time chart of forward / reverse pulses for explaining the embodiment of the first aspect of the present invention;

【図3】 請求項2の発明の実施形態の一例を説明する
ための正逆パルスの異常検出回路のブロック図である。
FIG. 3 is a block diagram of a normal / reverse pulse abnormality detection circuit for explaining an example of the embodiment of the second invention;

【図4】 図3に示す正逆パルスの異常検出回路の動作
を説明するためのタイムチャートである。
4 is a time chart for explaining the operation of the normal / reverse pulse abnormality detection circuit shown in FIG. 3;

【図5】 従来の正逆センサの異常検出回路を説明する
ためのブロック図である。
FIG. 5 is a block diagram for explaining an abnormality detection circuit of a conventional forward / reverse sensor.

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

1…回転体、2,3…磁石、4,5…センサ。 1 ... rotating body, 2, 3 ... magnet, 4, 5 ... sensor.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 正常な発信時には、位相差を有するパル
スを出力し、回転体の正逆回転を検出する正逆センサの
異常検出方法において、一対の正逆センサを設け、該正
逆センサの一方を基準とし、該一方のセンサのパルス立
上り時には他方のセンサのパルス信号レベルが“L”
(又は“H”)で、該一方のセンサのパルス立下り時に
は他方のセンサのパルス信号レベルが“H”(又は
“L”)であれば正常で、前記一方のセンサのパルス立
上り時と立下り時に他方のセンサのパルス信号レベルが
共に“L”又は共に“H”のとき異常と判断することを
特徴とする正逆センサの異常検出方法。
In a method for detecting an abnormality of a forward / reverse sensor for outputting a pulse having a phase difference during normal transmission and detecting forward / reverse rotation of a rotating body, a pair of forward / reverse sensors are provided. When one of the sensors has a pulse rising, the pulse signal level of the other sensor is "L"
(Or "H"), if the pulse signal level of the other sensor is "H" (or "L") at the time of the pulse fall of the one sensor, it is normal, and the pulse rises at the time of the pulse rise of the one sensor. An abnormality detection method for a forward / reverse sensor, wherein when the pulse signal level of the other sensor is "L" or both are "H" when descending, it is determined that an abnormality has occurred.
【請求項2】 正常な発信時には、位相差を有するパル
スを出力し、回転体の正逆転回転を検出する正逆センサ
の異常検出回路において、4つのDフリップフロップ
と、2つのエクシクルーシブORゲートと、1つのAN
Dゲートを設け、一方のパルスを第1のDフリップフロ
ップと第2のDフリップフロップのD端子と、第3のD
フリップフロップのCK端子とパルス反転させて第4の
DフリップフロップのCK端子に各々入力し、他方のパ
ルスを第3のDフリップフロップと第4のDフリップフ
ロップのD端子と、第1のDフリップフロップのCK端
子とパルス反転させて第2のDフリップフロップのCK
端子に各々入力し、第1のDフリップフロップと第2の
DフリップフロップのQ端子の出力を第1のエクシクル
ーシブORゲートに入力し、第3のDフリップフロップ
と第4のDフリップフロップのQ端子の出力を第2のエ
クシクルーシブORゲートに入力し、各々排他的論理和
を求め、第1のエクシクルーシブORゲートと第2のエ
クシクルーシブORゲートの出力をANDゲートに入力
し論理積を求めるようにして、該ANDゲートの出力の
信号レベルが“L”のとき異常と判断することを特徴と
する正逆センサの異常検出回路。
2. In a normal transmission, a pulse having a phase difference is output, and in an abnormality detection circuit of a forward / reverse sensor for detecting forward / reverse rotation of a rotating body, four D flip-flops and two exclusive ORs are provided. Gate and one AN
A D gate is provided, and one pulse is supplied to the D terminals of the first D flip-flop and the second D flip-flop and the third D flip-flop.
The pulse is inverted with respect to the CK terminal of the flip-flop and input to the CK terminal of the fourth D flip-flop, and the other pulse is input to the D terminal of the third D flip-flop and the fourth D flip-flop and the first D flip-flop. Pulse inversion of the CK terminal of the flip-flop and the CK of the second D flip-flop
Input to the first D flip-flop and the Q terminal of the first D flip-flop and the output of the Q terminal of the second D flip-flop to the first exclusive OR gate. Of the first exclusive OR gate and the exclusive OR gate of the first exclusive OR gate and the output of the second exclusive OR gate to the AND gate. A circuit for determining a logical product and determining that the output of the AND gate is low when the signal level is "L".
JP9072121A 1997-03-25 1997-03-25 Method and circuit for detection of abnormality in forward sensor and reverse sensor Pending JPH10267951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9072121A JPH10267951A (en) 1997-03-25 1997-03-25 Method and circuit for detection of abnormality in forward sensor and reverse sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9072121A JPH10267951A (en) 1997-03-25 1997-03-25 Method and circuit for detection of abnormality in forward sensor and reverse sensor

Publications (1)

Publication Number Publication Date
JPH10267951A true JPH10267951A (en) 1998-10-09

Family

ID=13480208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9072121A Pending JPH10267951A (en) 1997-03-25 1997-03-25 Method and circuit for detection of abnormality in forward sensor and reverse sensor

Country Status (1)

Country Link
JP (1) JPH10267951A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007225536A (en) * 2006-02-27 2007-09-06 Nikkoshi Co Ltd Device for detecting rotary motion
JP2011107079A (en) * 2009-11-20 2011-06-02 Nsk Ltd Physical quantity measuring device of rolling bearing unit
JP2012053714A (en) * 2010-09-01 2012-03-15 Dainippon Printing Co Ltd Inspection device of number of labels
JP2013060285A (en) * 2011-09-14 2013-04-04 Mitsubishi Electric Corp Elevator encoder monitoring device, and method for monitoring elevator encoder
JP2013190327A (en) * 2012-03-14 2013-09-26 Omron Corp Monitoring device and method for rotary encoder
CN107461288A (en) * 2016-06-03 2017-12-12 纳博特斯克有限公司 Detection means and starting device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007225536A (en) * 2006-02-27 2007-09-06 Nikkoshi Co Ltd Device for detecting rotary motion
JP2011107079A (en) * 2009-11-20 2011-06-02 Nsk Ltd Physical quantity measuring device of rolling bearing unit
JP2012053714A (en) * 2010-09-01 2012-03-15 Dainippon Printing Co Ltd Inspection device of number of labels
JP2013060285A (en) * 2011-09-14 2013-04-04 Mitsubishi Electric Corp Elevator encoder monitoring device, and method for monitoring elevator encoder
JP2013190327A (en) * 2012-03-14 2013-09-26 Omron Corp Monitoring device and method for rotary encoder
CN107461288A (en) * 2016-06-03 2017-12-12 纳博特斯克有限公司 Detection means and starting device
CN107461288B (en) * 2016-06-03 2018-12-25 纳博特斯克有限公司 Detection device and starting device

Similar Documents

Publication Publication Date Title
JP4964358B2 (en) Rotation sensor detection signal processing apparatus and rotation sensor detection signal output method
JP4859903B2 (en) Moving direction detection device
EP2999943B1 (en) System and method for providing signal encoding representative of a signature region in a target and of a direction of rotation
KR101378731B1 (en) Methods of processing encoder signals
US8072177B2 (en) Stepping motor driver
US10794927B2 (en) Method and device for operating a rotational speed sensor, rotational speed sensor device
US6181127B1 (en) Method and circuit for checking the width of the air gap in a speed sensor
US11686597B2 (en) Magnetic field sensors and output signal formats for magnetic field sensors
JP3630410B2 (en) Position detection apparatus and abnormality detection apparatus
JP2010533864A (en) Integrated circuit with built-in safety test function
JP2008541116A (en) Reliable wheel rotation speed detection array device
US7122985B2 (en) Sensorless brushless motor
US4028686A (en) Digital detector
JPH1082795A (en) Speed sensor for rotating element
US7301300B2 (en) Method and circuit arrangement for operating stepper motors
JPH10267951A (en) Method and circuit for detection of abnormality in forward sensor and reverse sensor
JP2005315764A (en) Rotational angular velocity detecting apparatus
US7915888B2 (en) Systems and methods for detecting angular position
US8121811B2 (en) Systems and methods for detecting angular position
US8892395B2 (en) Detecting angular position of a rotating device
JP2004347612A (en) Abnormality detection device
JP2001201364A (en) Anomaly detecting circuit for magnetic encoder
JP2008259404A (en) Feed motor lock detector
JPH0580066A (en) Commutation sensor combined with encoding function
JP2003207365A (en) Rotation angle sensor