JPS60187813A - Detecting system on abnormality of absolute signal of absolute encoder - Google Patents

Detecting system on abnormality of absolute signal of absolute encoder

Info

Publication number
JPS60187813A
JPS60187813A JP4289084A JP4289084A JPS60187813A JP S60187813 A JPS60187813 A JP S60187813A JP 4289084 A JP4289084 A JP 4289084A JP 4289084 A JP4289084 A JP 4289084A JP S60187813 A JPS60187813 A JP S60187813A
Authority
JP
Japan
Prior art keywords
signal
absolute
incremental
output
counter
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
JP4289084A
Other languages
Japanese (ja)
Inventor
Shinji Seki
関 新次
Atsushi Kobayashi
厚 小林
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP4289084A priority Critical patent/JPS60187813A/en
Publication of JPS60187813A publication Critical patent/JPS60187813A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect the abnormality of an absolute signal, by adding incremental signals in one direction while subtracting incremental signals in the reverse direction, and by determining the result of these operations. CONSTITUTION:When an incremental signal P is inputted from an OR circuit G3 after an absolute signal A is inputted to an input end D of FFF1, a counter C count the signal P to be added. When the input of the signal A is discontinued, the count value of the counter C is stored in a latch circuit R. The count value of the signal P generated during a period when the signal A is outputted shows a definite figure if the signal A is normal. Therefore, any abnormality of the signal A can be detected from the count value of the counter C.

Description

【発明の詳細な説明】 産業上の利用分野と本発明の目的 本発明は、アブソリュートとインクリメンタル信号を併
用するアブソリュートパルスエンコーダのアブソリュー
ト信号異常検出方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention and Objects of the Invention The present invention relates to an absolute signal abnormality detection method for an absolute pulse encoder that uses both absolute and incremental signals.

回転円盤に、アブソリュート信号用のパターンとインク
リメンタル信号用のパターンを幾何学的に配置し、該回
転円盤をモータの軸に取付【ブ、該回転円盤が回転する
ことにより、上記アブソリュート信号用パターン及びイ
ンクリメンタル信号用パターンからアブソリュート信号
及びインクリメンタル信号を得て、モータの回転位置2
回転方向。
A pattern for absolute signals and a pattern for incremental signals are arranged geometrically on a rotating disk, and the rotating disk is attached to the shaft of a motor. Obtain the absolute signal and incremental signal from the incremental signal pattern and determine the rotational position 2 of the motor.
Direction of rotation.

回転速度等を得るためのパルスエンコーダは周知である
。このようなパルスエンコーダにおいて。
Pulse encoders for obtaining rotational speed and the like are well known. In such a pulse encoder.

モータを一定方向に回転すれば、ある単位毎のアブソリ
ュート信号内には同一数のインクリメンタル信号が発生
ずることとなる。例えば、アブソリュート信号の最低単
位には数十〜数百の一定数のインクリメンタル信号が発
生することとなる。
If the motor is rotated in a fixed direction, the same number of incremental signals will be generated within each unit of absolute signal. For example, a fixed number of incremental signals ranging from tens to hundreds are generated in the lowest unit of the absolute signal.

一方、上記回転円板にゴミが付着したり、ドライバやレ
シーバ等のディバイスの不良、伝送中の不良等によりア
ブフリュー1−信号が異常を示すことがある。そこで、
本発明は、上述したアブソリユート1単位内に発生づ°
るインクリメンタル信号の数は一定であるということを
利用して上記アブソリュート信号の異常を検出すること
を目的としている。
On the other hand, the AbFlu 1 signal may exhibit an abnormality due to dust adhering to the rotating disk, a defect in a device such as a driver or receiver, or a defect during transmission. Therefore,
The present invention is directed to the above-mentioned absolute unit.
The purpose of this invention is to detect abnormalities in the absolute signal by utilizing the fact that the number of incremental signals is constant.

発明の構成 本発明は、アブソリュート信号とインクリメンタル信号
を出力し、一方向に回転中における1アブソリユ一ト信
号出力中に20のインクリメンタル信号を出力するパル
スエンコーダにおいて、一方向のインクリメンタル信号
は加締し、逆方向のインクリメンタル信号は減算するn
ビットで構成される可逆カウンタを設け、該カウンタで
1アブソリユ一ト信号出力中のインクリメンタル信号を
計数し、上記可逆カウンタの計数結果がゼロでないこと
を検出することによりアブソリュート信号の異常を検出
するアブソリュートエンコーダのアブソリュート信号異
常検出方式である。
Structure of the Invention The present invention provides a pulse encoder that outputs an absolute signal and an incremental signal, and outputs 20 incremental signals during one absolute signal output during rotation in one direction, in which the incremental signal in one direction is not caulked. , the incremental signal in the opposite direction is subtracted n
An absolute system in which a reversible counter consisting of bits is provided, the counter counts the incremental signals outputting one absolute signal, and an abnormality in the absolute signal is detected by detecting that the counting result of the reversible counter is not zero. This is an absolute signal abnormality detection method for encoders.

実施例 第1図は、本発明のアブソリュート信号異常検出方式を
実施した一実施例で、Fl、F2はD型フリップフロッ
プ、G1はイクスクルシブオア、Cはアップダウンカウ
ンタ、Rはラッチ回路、G2、G3はオア回路である。
Embodiment FIG. 1 shows an embodiment in which the absolute signal abnormality detection method of the present invention is implemented, in which Fl and F2 are D-type flip-flops, G1 is an exclusive OR, C is an up/down counter, R is a latch circuit, G2 and G3 are OR circuits.

また、Aはアブソリュート信号の最低単位におけるアブ
ソリュート信号値の出力を示1゜十P、 −Pはそれぞ
れ正のインクリメンタル信号、負のインクリメンタル信
号を示している。アブソリュート信号Aはフリップフロ
ップF1の入力端子りに入力され、該フリップフロップ
F1の出力QにはフリップフロップF2の入力端子りに
入力されており、また、各フリップ70ツブF1.F2
のクロック端GKには正。
Further, A indicates the output of the absolute signal value in the lowest unit of the absolute signal, and -P indicates a positive incremental signal and a negative incremental signal, respectively. The absolute signal A is input to the input terminal of the flip-flop F1, and the output Q of the flip-flop F1 is input to the input terminal of the flip-flop F2. F2
The clock end of GK is positive.

負のインクリメンタル信号子P、−Pを入力とりるオア
ゲートG3の出力が入力されている。イクスクルシブオ
アG1には各ノリツブフロップF1゜F2の出力Qが入
力され、その出力はカウンタCのリセット端子及びラッ
チ回路Rに入力されてl、Nる。さらに、カウンタCの
加算端子Uに【ま正のインクリメンタル信号子P、減算
端子りに(ま負のインクリメンタル信号−Pが入力され
、カウンタCのカウント値はイクスクルシブオアG1か
らの信号によりラッチ回路Rに記憶されるようになって
おり、ラッチ回路Rの出力はオア回路G2を介して出力
されるようになっている。そして、最低単位のアブソリ
ュート信@A期間に中に出力されるインクリメンタル信
号の数をNとし、上記jJウンタCはnビットで構成さ
れているとすると、N=2n なる関係になるように、最低単位のアブソリュート信号
A中のインクリメンタル信号の数NとカウンタCのビッ
トの数11は調整されている。その結果、カウンタCが
最低単位のアブソリュート信号A中のインクリメンタル
信号の数Nを計数すると、その出力0−1〜0−0はす
べて「0」にな2、− 次に、上記一実施例の動作について、第2図のタイミン
グチャートを参照しながら説明する。
The output of an OR gate G3 that receives negative incremental signals P and -P is input. The output Q of each Noritsu flop F1°F2 is inputted to the exclusive OR G1, and the output is inputted to the reset terminal of the counter C and the latch circuit R, and is inputted to the reset terminal of the counter C and the latch circuit R. Furthermore, a positive incremental signal P is input to the addition terminal U of the counter C, and a negative incremental signal -P is input to the subtraction terminal, and the count value of the counter C is latched by the signal from the exclusive OR G1. The output of the latch circuit R is stored in the circuit R, and the output of the latch circuit R is output via the OR circuit G2.Then, the absolute signal of the lowest unit @ the incremental signal output during the A period is Assuming that the number of signals is N and the jJ counter C is composed of n bits, the number N of incremental signals in the absolute signal A, which is the lowest unit, and the bits of the counter C are calculated so that N=2n. The number 11 of is adjusted.As a result, when the counter C counts the number N of incremental signals in the absolute signal A of the lowest unit, its outputs 0-1 to 0-0 all become "0"2, - Next, the operation of the above embodiment will be explained with reference to the timing chart of FIG.

第2図において、(イ)はアブソリュート信号A、(ロ
)はオア回路G3から出力されるインクリメンタル信号
子P、−P、(ハ)はフリップフロップF1の出力、(
ニ)はノリツブフロップF2の出力、(ホ)はイクスク
ルシブオアG1の出力、(へ)はカウンタCのカウント
値を示している。
In FIG. 2, (a) is the absolute signal A, (b) is the incremental signal P, -P output from the OR circuit G3, (c) is the output of the flip-flop F1, (
d) shows the output of the Noritsu flop F2, (e) shows the output of the exclusive OR G1, and (f) shows the count value of the counter C.

ある値のアブソリュート信号AがフリップフロップF1
の入力端子りに入力された後、オア回路G3からの正ま
たは負のインクリメンタル信号子P、−Pが入力される
とく以下、正のインクリメンタル信号子Pが入力されて
いるものとする)、フリップ70ツブF1はセットされ
て出力Qを出力づ°る(第2図(ハ)参照)。この出力
QがフリップフロップF2の入力端子りに入力された後
のインクリメンタル信号子Pによってフリップフロップ
F2はセットされ、出力Qを出力する(第2図(ニ)参
照)。その結果、両ノリツプフロツブFl、F2の出力
を入力とするイクスクルシブオアG1の出ノjは第2図
(ボ)に示すように出力され、カウンタCをリセットす
る。一方、カウンタCにはインクリメンタル信号子Pが
加算端子に入力されているから、該カウンタCがリセッ
トされた以後入力されるインクリメンタル信号子Pを計
数加算していくこととなる(第2図くべ)参照)。
Absolute signal A of a certain value is sent to flip-flop F1
After the positive or negative incremental signal P, -P is input from the OR circuit G3, it is assumed that the positive incremental signal P is input. The 70-tube F1 is set and outputs an output Q (see FIG. 2 (c)). After this output Q is input to the input terminal of the flip-flop F2, the flip-flop F2 is set by the incremental signal P and outputs the output Q (see FIG. 2(d)). As a result, the output j of the exclusive OR G1, which receives the outputs of the two slip flops Fl and F2, is outputted as shown in FIG. 2 (Bo), and the counter C is reset. On the other hand, since the incremental signal P is input to the addition terminal of the counter C, the incremental signal P input after the counter C is reset will be counted and added (see Figure 2). reference).

こうして、インクリメンタル信号子Pを加算していき、
アブソリュート信号Aがなくなると、フリップフロップ
F1はアブソリュート信号Aがなくなって、次のインク
リメンタル信号子Pによって反転し出力Qはなくなる。
In this way, the incremental signal P is added,
When the absolute signal A disappears, the flip-flop F1 loses the absolute signal A, is inverted by the next incremental signal P, and output Q disappears.

また、フリップフロップF2もフリップフロップ]:1
の出力Qがなくなって次のインクリメンタル信号子Pに
よって反転し出力はなくなる。その結果、イクスクルシ
ブオアG1からは、第2図(ホ)に示すようなパルスが
出ノ〕され、ラッチ回路Rに上記カウンタCの計数値を
記憶させると共に該カウンタCをリセットする。
In addition, flip-flop F2 is also a flip-flop]:1
The output Q disappears and is inverted by the next incremental signal P, and the output disappears. As a result, the exclusive OR G1 outputs a pulse as shown in FIG.

ところで、上記カウンタCには第2図に示すように、ア
ブソリュート信号Aが出力されている期間に出力された
インクリメンタル信号子Pの数が計数されることとなる
が(アブソリュート信号Aが出力された直後の2つのイ
ンクリメンタル信号子Pは計数しないが、アブソリュー
ト信号がなくなった直後の2つのインクリメンタル信号
子Pを計数するから、アブフリュー1〜信j%Aが出力
中のインクリメンタル信号子Pの数NとカウンタCの計
数値Nは等しくなる)、アブソリュート信号Aが出力さ
れている期間に発生ずるインクリメンタル信号子Pの数
は正常であれば一定の数Nである。
By the way, as shown in FIG. 2, the counter C counts the number of incremental signal elements P output during the period in which the absolute signal A is output (the number of incremental signal elements P output during the period in which the absolute signal A is output) is The two incremental signal children P immediately after are not counted, but the two incremental signal children P immediately after the absolute signal is lost are counted, so Abflu 1~signal j%A is the number N of incremental signal children P that is being output. (The count value N of the counter C becomes equal), and the number of incremental signal elements P generated during the period in which the absolute signal A is outputted is a constant number N if it is normal.

そこで、上記カウンタCが該一定の数Nを計数したとき
、前述したように、そのときの該カウンタCの出力0−
1〜Q−nはすべてrOJになる。
Therefore, when the counter C counts the certain number N, the output of the counter C at that time is 0-
1 to Q-n are all rOJ.

その結果、正常であれば、ラッチRにはすべてrOJが
記憶されることとなり、Aア回路G2からは何等出力さ
れない。しかし、アブソリュート信号Aに異常があり、
カウンタCが一定数Nよりも多く若しくは少く計数し、
イクスクルシブオアG1からの出力によりラッチ回路R
を作動させ、該ラッチ回路RにそのときのカウンタCの
値を記憶させると、該カウンタCの出力C)−1〜Q−
nの少くとも1つはrolでないため、オア回路G2か
らは出力信号が出て異常信号が出力されることとなる。
As a result, if normal, all rOJ will be stored in the latch R, and nothing will be output from the A circuit G2. However, there is an abnormality in absolute signal A,
Counter C counts more or less than a certain number N,
The latch circuit R is set by the output from exclusive OR G1.
When the counter C is activated and the value of the counter C at that time is stored in the latch circuit R, the output of the counter C is C)-1 to Q-.
Since at least one of n is not rol, an output signal is output from the OR circuit G2 and an abnormal signal is output.

この出ノ〕を利用してランプ等を点灯させ、バルスコー
ダの異常を知らせることができるものである。
By using this output, a lamp or the like can be turned on to notify of an abnormality in the pulse coder.

上記例では、正転した場合について説明したが、モータ
が逆転しインクリメンタル信号−Pが出力されるときは
カウンタCは減算される点が異なるのみで、他の動作は
同じである。この場合も、正常であれば、ラッチ回路R
に記憶されるカウンタCの出力0−1〜Q−nの各出力
の値はrOJであるIこめ、オア回路G2からは何ら出
力が出されないが、アブソリュート信号Aが異常であれ
ば、ラッチ回路Rに記憶される値は少くと、も1つはr
OJではなくなるから、オア回路G2から異常信号が送
出される。
In the above example, a case has been described in which the motor rotates in the normal direction, but the only difference is that when the motor rotates in the reverse direction and the incremental signal -P is output, the counter C is decremented, and the other operations are the same. In this case as well, if normal, the latch circuit R
The values of the outputs 0-1 to Q-n of the counter C stored in are rOJ, so no output is output from the OR circuit G2, but if the absolute signal A is abnormal, the latch circuit At least one value is stored in R.
Since it is no longer OJ, an abnormal signal is sent from OR circuit G2.

また、モータが反転したそのときにおいても、+mL+
J−J+IJ+〒−ヒー/r−1S+hIIJ’71i
11.」1=≠シにaよりを加算しただけ逆転のインク
リメンタル信号−Pを減算するから、ラッチ回路Rには
「O」しか記憶されず、この場合も異常が生じたときだ
けオア回路G2から異常信号が出力されることとなる。
Also, even when the motor is reversed, +mL+
J-J+IJ+〒-He/r-1S+hIIJ'71i
11. ” 1 = ≠ Since the reversal incremental signal -P is subtracted by adding a to C, only “O” is stored in the latch circuit R, and in this case, only when an abnormality occurs, the OR circuit G2 outputs an abnormality signal. A signal will be output.

なお、上記実施例では、アブソリュート信号の最低単位
におけるインクリメンタル信号の数によって異常検出を
行うようにしたが、アブソリュート信号の上位の単位に
よって、その単位に含まれるインクリメンタル信号の数
によって異常検出を行ってもよいことは勿論である。
Note that in the above embodiment, abnormality detection is performed based on the number of incremental signals in the lowest unit of the absolute signal, but abnormality detection is performed based on the number of incremental signals included in the upper unit of the absolute signal. Of course, this is a good thing.

発明の効果 本発明は、アブソリュート信号とインクリメンタル信号
を発生するパルスエンコーダにおいて、該パルスエンコ
ーダ自体が発生するアブソリュート信号、インクリメン
タル信号を利用してパルスエンコーダ自体のアブソリュ
ート信号異常を検出するようにしたから、精確にその異
常を検出できるものである。
Effects of the Invention The present invention uses the absolute signal and incremental signal generated by the pulse encoder itself in a pulse encoder that generates absolute signals and incremental signals to detect an abnormality in the absolute signal of the pulse encoder itself. This allows the abnormality to be detected accurately.

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

第1図は、本発明の一実施例、第2図は、同実施例の動
作タイミング図である。 Fl、F2・・・フリップフロップ、G1・・・イクス
クルシブオア、G2.G3・・・オア回路、C・・・ア
ップダウンカウンタ、R・・・ラッチ回路。 特許出願人 ファナック株式会社 第1図 第2図 123 N−25N J−1
FIG. 1 is an embodiment of the present invention, and FIG. 2 is an operation timing chart of the embodiment. Fl, F2...Flip-flop, G1...Exclusive OR, G2. G3...OR circuit, C...up/down counter, R...latch circuit. Patent applicant FANUC CORPORATION Figure 1 Figure 2 123 N-25N J-1

Claims (2)

【特許請求の範囲】[Claims] (1)アブソリュート信号とインクリメンタル信号を出
力し、一方向に回転中における1アブソリユ一ト信号出
力中に2nのインクリメンタル信号を出力するパルスエ
ンコーダにおいて、一方向のインクリメンタル信号は加
算し、逆方向のインクリメンタル信号は減算するnビッ
トで構成される可逆カウンタを設け、該カウンタで1ア
ブソリユ一ト信号出力中のインクリメンタル信号を計数
し、上記可逆カウンタの計数結果がゼロでないことを検
出することによりアブソリュート信号の異常を検出する
アブソリュートエンコーダのアブソリュート信号異常検
出方式。
(1) In a pulse encoder that outputs absolute signals and incremental signals, and outputs 2n incremental signals during one absolute signal output while rotating in one direction, the incremental signals in one direction are added, and the incremental signals in the opposite direction are The signal is provided with a reversible counter consisting of n bits for subtraction, and this counter counts the incremental signal during one absolute signal output.By detecting that the counting result of the reversible counter is not zero, the absolute signal is An absolute signal abnormality detection method for absolute encoders that detects abnormalities.
(2)上記可逆カウンタがインクリメンタル信号を計数
する期間はアブソリュート信号の1R低単位出力期間で
ある特許請求の範囲第1項記載のアブソリュートエンコ
ーダのアブソリュート信号異常検出方式。
(2) The absolute signal abnormality detection method for an absolute encoder according to claim 1, wherein the period during which the reversible counter counts the incremental signals is a 1R low unit output period of the absolute signal.
JP4289084A 1984-03-08 1984-03-08 Detecting system on abnormality of absolute signal of absolute encoder Pending JPS60187813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4289084A JPS60187813A (en) 1984-03-08 1984-03-08 Detecting system on abnormality of absolute signal of absolute encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4289084A JPS60187813A (en) 1984-03-08 1984-03-08 Detecting system on abnormality of absolute signal of absolute encoder

Publications (1)

Publication Number Publication Date
JPS60187813A true JPS60187813A (en) 1985-09-25

Family

ID=12648624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4289084A Pending JPS60187813A (en) 1984-03-08 1984-03-08 Detecting system on abnormality of absolute signal of absolute encoder

Country Status (1)

Country Link
JP (1) JPS60187813A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62223343A (en) * 1986-03-24 1987-10-01 津田駒工業株式会社 Apparatus for detecting abnormality of shaft encoder of loom

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62223343A (en) * 1986-03-24 1987-10-01 津田駒工業株式会社 Apparatus for detecting abnormality of shaft encoder of loom

Similar Documents

Publication Publication Date Title
EP0158781B1 (en) Rotary encoder apparatus
WO1988009026A1 (en) Improvements relating to rotary encoders
JP2720642B2 (en) Multi-turn absolute value encoder
US4442532A (en) Encoder output pulse detection using two stage shift register and clock oscillator
JPS60187813A (en) Detecting system on abnormality of absolute signal of absolute encoder
JP2005031055A (en) Rotation angle detector
JP3241138B2 (en) Absolute encoder output signal abnormality detection method
EP0065998B1 (en) Pulse detection circuit
JP2611770B2 (en) Error rate detection method
JP3035751B2 (en) Optical encoder
JPS6396511A (en) Rotary encoder
JPH02189026A (en) Detector for overflow and underflow of counter
SU853402A1 (en) Device for measuring angular displacement
JP3058984B2 (en) Bit skip detection method of rotation detection signal
JPH03162622A (en) Counting circuit
KR890002464B1 (en) Counter circuit of revolution measure
KR0161383B1 (en) Index period detecting apparatus in a floppy disc driver controller
US4939756A (en) Two-phase encoder circuit
JPH0234613Y2 (en)
JPS6161060A (en) Two-phase pulse directivity discriminating circuit
SU1035522A1 (en) Device for determination of movement direction
JPS6342516A (en) Pulse processing circuit for pulse generator
JPS6055226A (en) Signal processor of encoder
JPH0571986A (en) Multi-rotation absolute encoder
JPH0157850B2 (en)