JPH0572963B2 - - Google Patents

Info

Publication number
JPH0572963B2
JPH0572963B2 JP60234194A JP23419485A JPH0572963B2 JP H0572963 B2 JPH0572963 B2 JP H0572963B2 JP 60234194 A JP60234194 A JP 60234194A JP 23419485 A JP23419485 A JP 23419485A JP H0572963 B2 JPH0572963 B2 JP H0572963B2
Authority
JP
Japan
Prior art keywords
phase
pulse
abnormality
inverted
pulses
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.)
Expired - Lifetime
Application number
JP60234194A
Other languages
Japanese (ja)
Other versions
JPS6293618A (en
Inventor
Kenji Hara
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP60234194A priority Critical patent/JPS6293618A/en
Publication of JPS6293618A publication Critical patent/JPS6293618A/en
Publication of JPH0572963B2 publication Critical patent/JPH0572963B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、出力パルスを計数することにより回
転角度等を検出できるパルスジエネレータ(以下
PGと称する)の異常(例えば特にLEDの劣化
等)を検出する方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a pulse generator (hereinafter referred to as
This relates to a method for detecting abnormalities (for example, deterioration of LEDs, etc. in particular) in the PG (referred to as PG).

〔従来の技術〕[Conventional technology]

互いに90°位相がずれた2相パルス(A相、B
相)と、1回転につき1発のパルスを出力を行う
パルスジエネレータは、サーボモータ等の回転軸
に取り付けられ、NC、ロボツト等に多用されて
いる。
Two-phase pulses (phase A, phase B) that are 90° out of phase with each other
A pulse generator that outputs one pulse per rotation is attached to the rotating shaft of a servo motor, etc., and is widely used in NC, robots, etc.

「1回転につき1発のパルス」というのは、原
点を検出するパルスであり、まだ一般に呼び方が
定まつておらず、メーカによつて、C相パルス、
Zパルス、原点パルスなどいろいろの呼び方をさ
れているが、ここではC相パルスという呼称を用
いる。
"One pulse per revolution" is a pulse that detects the origin, and the name has not yet been generally determined, and depending on the manufacturer, it is called a C-phase pulse,
Although it is called by various names such as Z pulse and origin pulse, the name C-phase pulse will be used here.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

さて、このようなパルスジエネレータに異常が
生じた場合、例えば発光ダイオード(LED)の
発光出力が劣化した場合のために、それを外部に
通知しようとすると、通常の信号線、電源線のほ
かに異常通知のための信号線が必要となる。
Now, if an abnormality occurs in such a pulse generator, for example if the light emitting output of a light emitting diode (LED) deteriorates, in order to notify the outside, in addition to the normal signal line and power line, A signal line is required for abnormality notification.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため、本発明の第1の手
段は、異常時にはC相を反転させ、その反転時間
が通常のC相パルス出力時間を越えた場合に異常
を検出するものである。
In order to solve the above problems, a first means of the present invention is to invert the C phase in the event of an abnormality, and detect an abnormality when the inversion time exceeds the normal C phase pulse output time.

本発明の第2の手段は、異常時にC相を反転さ
せることにより、異常を検出するとともに、異常
検出後は、その反転されたC相パルスを、さらに
反転させてもとに戻して後段へ送出するものであ
る。
The second means of the present invention detects an abnormality by inverting the C-phase at the time of an abnormality, and after detecting the abnormality, the inverted C-phase pulse is further inverted and returned to the original state to be sent to the subsequent stage. It is something that is sent out.

〔作用〕[Effect]

第1の手段により、異常検出用の信号線を設け
ずに、異常の検出が可能となる。ただし、反転さ
せるため、C相の位相がずれてしまうことがあ
る。
With the first means, it is possible to detect an abnormality without providing a signal line for abnormality detection. However, due to the inversion, the phase of the C phase may shift.

C相は、もともと原点復帰に用いるもので、1
回だけなら関係ないが、繰返し原点復帰を行うシ
ステムでは、位置ずれを起こしてしまう。
The C phase was originally used for returning to the origin, and 1
This does not matter if it is done only once, but in a system that repeatedly returns to the origin, positional deviation will occur.

そこで、このようなシステムに適用する場合
は、第2の手段により、いつたん反転させたC相
信号を再度反転して元に戻して後段へ送出するよ
うにするものである。
Therefore, when applied to such a system, the second means is used to invert the once-inverted C-phase signal again to return it to its original state and send it to the subsequent stage.

〔実施例〕〔Example〕

以下、本発明の具体的実施例を図示して説明す
る。
Hereinafter, specific embodiments of the present invention will be illustrated and described.

第1図は本発明の動作を示すパルス波形図で、
A相、B相、C相と、反転されたC相を示す。
FIG. 1 is a pulse waveform diagram showing the operation of the present invention.
A phase, B phase, C phase, and an inverted C phase are shown.

第2図は、C相を反転させるための回路で、第
3図はPGの異常(LEDの劣化)を検出する回路
である。
FIG. 2 shows a circuit for inverting the C phase, and FIG. 3 shows a circuit for detecting PG abnormality (LED deterioration).

第3図に示すPG異常検出回路は、LED31の
出力光をホトダイオード32にフイードバツクす
る光量一定制御回路においてLED駆動電流が所
定値を越えた場合に、警報出力を発する回路であ
る。
The PG abnormality detection circuit shown in FIG. 3 is a circuit that issues an alarm output when the LED drive current exceeds a predetermined value in a light amount constant control circuit that feeds back the output light of the LED 31 to the photodiode 32.

図示したホトダイオードは、PGの円板スリツ
トを通さずに直接受光し、その光量を一定に制御
するためのもので、PGパルス出力を得るための
ものではない。
The illustrated photodiode is for directly receiving light without passing through the PG disc slit and controlling the amount of light to be constant, and is not for obtaining a PG pulse output.

本発明の第1の手段は、この警報出力を特別の
信号線を用いずに外部に通知しようとするもので
あつて、第2図に示す回路で実現できる。
The first means of the present invention is to notify this alarm output to the outside without using a special signal line, and can be realized by the circuit shown in FIG.

第2図は、警報出力が発生されたときにPG2
1のC相出力(当然波形整形部22を介したもの
である)を反転させる回路で、警報出力とC相出
力の排他的論理和23をトランジスタ24に入力
して変換後のC相出力を得る。
Figure 2 shows PG2 when an alarm output is generated.
This is a circuit that inverts the C-phase output of No. 1 (which naturally passes through the waveform shaping section 22), and inputs the exclusive OR 23 of the alarm output and the C-phase output to the transistor 24 to obtain the converted C-phase output. obtain.

これによつて、本来所定のパルス幅しかないC
相出力「H」が異常に長くなるので、その本来所
定のパルス幅を越えた時点で異常が検出されるこ
とになる。
As a result, C
Since the phase output "H" becomes abnormally long, an abnormality is detected when it exceeds the originally predetermined pulse width.

例えば第4図に示すように、あらかじめC相出
力「H」はA・B2相のパルス幅と同一だとすれ
ば、A・B2相の立ち上がり、立ち下がりをとら
えたパルスの3個をカウントする期間以上C相出
力「H」が持続すれば異常となることがわかる。
For example, as shown in Figure 4, if we assume that the C phase output "H" is the same as the pulse width of the A and B2 phases, we will count three pulses that capture the rising and falling edges of the A and B2 phases. It can be seen that an abnormality occurs if the C-phase output "H" continues for a period of time or longer.

単に異常を検出するだけであれば、これで充分
であるが、C相出力を反転させるために、出力位
相にずれが生ずる。
This is sufficient if only an abnormality is detected, but since the C-phase output is inverted, a shift occurs in the output phase.

これは無視しても良いが、例えば原点復帰のよ
うに繰り返し位置決めを行うシステムにおいて
は、位置ずれエラーとなつてしまう。
This can be ignored, but in a system that repeatedly performs positioning, such as when returning to the origin, it will result in a positional deviation error.

これは、いつたん反転したC相出力を再度、元
に戻して後段へ伝送する回路を設ければ解決でき
る。
This can be solved by providing a circuit that restores the once inverted C-phase output to its original state and transmits it to the subsequent stage.

これが本発明の第2の手段で、第5図に示す回
路を第2図の回路に接続することで実現できる。
This is the second means of the present invention, and can be realized by connecting the circuit shown in FIG. 5 to the circuit shown in FIG.

第5図において、1はDフリツプフロツプ、2
はマルチプレクサ、3はカウンタ、4はJKフリ
ツプフロツプである。
In FIG. 5, 1 is a D flip-flop;
is a multiplexer, 3 is a counter, and 4 is a JK flip-flop.

Dフリツプフロツプ1と、マツチプレクサ2に
より、A・B2相の立ち上がり、立ち下がりをと
らえたパルス(微分パルスと呼ばれ、正方向回転
でUPパルス、逆方向回転でDOWNパルスを発す
る。)を生成する回路で、これは公知である。(例
えば、特開昭60−94526) 本発明では、C相出力が「H」になつている期
間だけ、この微分パルスを数えるカウンタ3を設
ける。
A circuit that uses D flip-flop 1 and multiplexer 2 to generate a pulse that captures the rise and fall of the A and B phases (called a differential pulse, which emits an UP pulse when rotating in the forward direction and a DOWN pulse when rotating in the reverse direction). And this is publicly known. (For example, Japanese Patent Laid-Open No. 60-94526) In the present invention, a counter 3 is provided to count the differential pulses only during the period when the C-phase output is "H".

通常時のC相出力「H」は、A・B2相のパル
ス幅と同一だとすれば、微分パルスを3発カウン
トする期間以上C相出力「H」が持続すれば異常
となる。
Assuming that the C-phase output "H" during normal operation is the same as the pulse width of the A and B2 phases, an abnormality occurs if the C-phase output "H" continues for more than a period of counting three differential pulses.

したがつて、カウンタ3には「3」をロードし
ておけば良いが、ここでは、余裕をとつて「7」
をロードしている。
Therefore, it is sufficient to load "3" into counter 3, but here, we will load "7" to counter 3.
is loading.

つまり、C相出力が「H」になつて、8発微分
パルスをカウントすると、カウンタがオーバーフ
ローまたはアンダーフローし、JKフリツプフロ
ツプ4をセツトして、警報出力を出力するととも
に、C相出力を再度反転させて、元に戻す。
In other words, when the C-phase output becomes "H" and counts 8 differential pulses, the counter overflows or underflows, sets JK flip-flop 4, outputs an alarm output, and inverts the C-phase output again. Let it go and put it back together.

〔発明の効果〕〔Effect of the invention〕

以上述べたように、本発明によれば、PGの異
常を特別の信号線を用いずに外部に通知できるの
で、装置の複雑化、大型化を招かずに信頼性を向
上できるという大きな効果を奏するものである。
As described above, according to the present invention, it is possible to notify the outside of a PG abnormality without using a special signal line, which has the great effect of improving reliability without complicating or increasing the size of the device. It is something to play.

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

第1図は本発明の概念を示す波形図、第2図は
本発明の第1発明の実施例、第3図はLEDの異
常検出回路、第4図は異常が検出できる原理を示
す図、第5図は本発明の第2発明の実施例であ
る。 1:Dフリツプフロツプ、2:マルチプレク
サ、3:カウンタ、4:JKフリツプフロツプ。
FIG. 1 is a waveform diagram showing the concept of the present invention, FIG. 2 is an embodiment of the first invention of the present invention, FIG. 3 is an LED abnormality detection circuit, and FIG. 4 is a diagram showing the principle by which an abnormality can be detected. FIG. 5 shows a second embodiment of the present invention. 1: D flip-flop, 2: multiplexer, 3: counter, 4: JK flip-flop.

Claims (1)

【特許請求の範囲】 1 互いに90°位相のずれたA・B2相パルスと、
1回転1パルス(以下C相パルスと称す)のパル
ス出力を有するパルスジエネレータにおいて、異
常時には、C相パルスを反転させるとともに、そ
の反転したC相によつて、A・B2相パルスの立
ち上がり、立ち下がりをとらえた微分パルスを計
数し、通常時の計数値を越えてカウントしたこと
により、異常を検出することを特徴とするパルス
ジエネレータの異常検出方式。 2 互いに90°位相のずれたA・B2相パルスと、
1回転1パルス(以下C相パルスと称す)のパル
ス出力を有するパルスジエネレータにおいて、異
常時には、C相パルスを反転させるとともに、そ
の反転したC相によつて、A・B2相パルスの立
ち上がり、立ち下がりをとらえた微分パルスを計
数し、通常時の計数値を越えてカウントしたこと
により、異常を検出すると同時に、その反転され
たC相パルスをさらに反転させてもとに戻して後
段へ送出することを特徴とするパルスジエネレー
タの異常検出方式。
[Claims] 1. A and B two-phase pulses whose phases are shifted by 90 degrees from each other,
In a pulse generator that has a pulse output of one pulse per revolution (hereinafter referred to as a C-phase pulse), in the event of an abnormality, the C-phase pulse is inverted, and the inverted C-phase is used to generate the rise of the A and B two-phase pulses, An abnormality detection method for a pulse generator characterized by detecting an abnormality by counting differential pulses that capture the falling edge and exceeding the normal count value. 2 A and B two-phase pulses that are 90° out of phase with each other,
In a pulse generator that has a pulse output of one pulse per revolution (hereinafter referred to as a C-phase pulse), in the event of an abnormality, the C-phase pulse is inverted, and the inverted C-phase is used to generate the rise of the A and B two-phase pulses, By counting the differential pulse that captures the falling edge and counting beyond the normal count value, an abnormality is detected, and at the same time, the inverted C-phase pulse is further inverted and returned to its original state and sent to the subsequent stage. An abnormality detection method for a pulse generator, which is characterized by:
JP60234194A 1985-10-18 1985-10-18 System for detecting abnormality of pulse generator Granted JPS6293618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60234194A JPS6293618A (en) 1985-10-18 1985-10-18 System for detecting abnormality of pulse generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60234194A JPS6293618A (en) 1985-10-18 1985-10-18 System for detecting abnormality of pulse generator

Publications (2)

Publication Number Publication Date
JPS6293618A JPS6293618A (en) 1987-04-30
JPH0572963B2 true JPH0572963B2 (en) 1993-10-13

Family

ID=16967153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60234194A Granted JPS6293618A (en) 1985-10-18 1985-10-18 System for detecting abnormality of pulse generator

Country Status (1)

Country Link
JP (1) JPS6293618A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2794798B2 (en) * 1989-06-30 1998-09-10 株式会社安川電機 Encoder

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5223384A (en) * 1975-08-15 1977-02-22 Chino Works Ltd Apparatus for detection of abnormal state in detecting elements
JPS5776412A (en) * 1980-10-30 1982-05-13 Fanuc Ltd Fault detecting system for pulse encoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5223384A (en) * 1975-08-15 1977-02-22 Chino Works Ltd Apparatus for detection of abnormal state in detecting elements
JPS5776412A (en) * 1980-10-30 1982-05-13 Fanuc Ltd Fault detecting system for pulse encoder

Also Published As

Publication number Publication date
JPS6293618A (en) 1987-04-30

Similar Documents

Publication Publication Date Title
JP5163963B2 (en) Abnormality monitoring device
KR950010384B1 (en) Abnormality processing circuit for an encoder
JPH0572963B2 (en)
JPH0425716A (en) Encoder abnormality detecting device
US4599600A (en) Conversion of quadrature signals into counter control pulses
JP3144877B2 (en) Backup type absolute position encoder
JPH0228900A (en) Encoder transmission path abnormality detecting circuit
US4757313A (en) Positioning and abnormality control device
JPS60108710A (en) Abnormality detecting apparatus of incremental encoder
JPH01239415A (en) Detecting device for abnormality of encoder
JP3772662B2 (en) Encoder abnormality detection device
JPS61221802A (en) Searching system for original point of robot arm
KR940003382Y1 (en) Position detection circuit of encoder pulse
JPS62285009A (en) Position detecting apparatus
JP2506759Y2 (en) Machine origin detection device
JPH0230521B2 (en)
JP2576956B2 (en) Industrial robot rotation angle detector
JPS58184508A (en) Position detecting device
JPH11248488A (en) Method and device for processing signal of encoder
JP2005198467A (en) Servo controller
JPS63295916A (en) Detecting circuit for abnormality of position signal
JPH01231674A (en) Drive preventing circuit at motor reverse rotation time
JPH0240510A (en) Apparatus for detecting abnormality in pulse encoder
JPH0511459Y2 (en)
JPS63284414A (en) Servo device with encoder open-phase detecting circuit