JPH06137894A - Method for sending abnormality of pulse encoder - Google Patents

Method for sending abnormality of pulse encoder

Info

Publication number
JPH06137894A
JPH06137894A JP28837292A JP28837292A JPH06137894A JP H06137894 A JPH06137894 A JP H06137894A JP 28837292 A JP28837292 A JP 28837292A JP 28837292 A JP28837292 A JP 28837292A JP H06137894 A JPH06137894 A JP H06137894A
Authority
JP
Japan
Prior art keywords
pulse
phase
width
abnormality
circuit
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
JP28837292A
Other languages
Japanese (ja)
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 JP28837292A priority Critical patent/JPH06137894A/en
Publication of JPH06137894A publication Critical patent/JPH06137894A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enlarge the feeding data quantity, and reverse a third pulse again without providing a special circuit by prolonging the width of the third pulse by a predetermined times of the width of a first and a second pulse in response to the data showing the generation of abnormality, and sending it. CONSTITUTION:When the C phase is inputted to an abnormality sending circuit incorporated in an encoder, error codes D0-D3 are set in a counter 2, and when the C phase becomes (L), counting is started. In the case where the error data showing the generation of abnormality and temperature abnormality, which is set in the codes D0-D3, is FH, pulse width of the output C' phase is as same as that of the C phase, and the end of the pulse width is the point F. In this case where the error data is EH, the output Q is maintained at (H) till one pulse of the pulse, which is quadruple-differentiated by a quadruple- differentiating circuit 1, is outputted, and the rear end of the pulse width of the C' phase is prolonged to the point E and prolonged by 1/2 pulse of the A phase and the B phase. Similarly, in the case of DH, CH, BH, pulse width of the C' phase is prolonged more to obtain a large sending data quantity. Since the C' phase is returned to the original point, re-inversion is not required.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はインクリメンタルなパル
スを発生するエンコーダ、特に同一パルス巾をもち、位
相が互いに90°ずれている第1および第2のパルス
と、回転軸の1回転ごとに1パルス発生する第3のパル
スを出力する、パルスエンコーダにおける異常送出方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoder for generating incremental pulses, and in particular, first and second pulses having the same pulse width and having a phase difference of 90.degree. The present invention relates to an abnormality sending method in a pulse encoder that outputs a third pulse that is pulse-generated.

【0002】[0002]

【従来の技術】従来、この種のエンコーダの異常送出方
法としては特願第60−234194(公開昭62−9
3618)があり、ここではC相のパルスを反転するこ
とにより異常を送出する方法がとられている。
2. Description of the Related Art Conventionally, as a method of abnormally transmitting an encoder of this type, Japanese Patent Application No. 60-234194 (Japanese Patent Application Laid-Open No. 62-9).
3618), in which a method of sending an abnormality by inverting the C-phase pulse is adopted.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のパルス
エンコーダの異常送出方法では、送出し得るデータ量は
1ビットに限られ、データ量が少な過ぎるとともに、C
相の立上り、立下りのエッジが逆になっていて、位相が
ずれてしまうことがあり、原点復帰の目的を果たすため
に、再度反転して位相を元に戻して後段に送出する回路
が必要であるという欠点がある。本発明の目的は、送出
するデータ量を大きくし、かつ反転されたC相パルスを
再度反転させる回路を必要としない、パルスエンコーダ
の異常送出方法を提供することである。
In the above-mentioned conventional abnormal transmission method of the pulse encoder, the amount of data that can be transmitted is limited to 1 bit, the amount of data is too small, and C
Since the rising and falling edges of the phase are reversed and the phase may be shifted, a circuit that inverts again to restore the phase and sends it to the subsequent stage is necessary to achieve the purpose of origin return. There is a drawback that An object of the present invention is to provide a method for abnormally sending a pulse encoder, which does not require a circuit for increasing the amount of data to be sent and for inverting the inverted C-phase pulse again.

【0004】[0004]

【課題を解決するための手段】本発明のパルスエンコー
ダの異常送出方法は、前記パルスエンコーダで発生した
異常を示すデータに対応して、第3のパルス出力の巾を
所定倍数の第1、第2のパルス巾だけ延ばして送出す
る。
According to the abnormality transmitting method of the pulse encoder of the present invention, the width of the third pulse output corresponds to the data indicating the abnormality generated in the pulse encoder, and the width of the third pulse output is set to a predetermined multiple. It is extended by the pulse width of 2 and transmitted.

【0005】[0005]

【作用】第3のパルス出力の信号巾を異常を示すデータ
に対応して所定倍数の第1、第2のパルス巾だけ延ばし
て送出するので、送出するデータ量を多くすることがで
き、また、第3のパルスを反転させないので、元の波形
に戻すために再度反転する必要がない。
Since the signal width of the third pulse output is extended by a predetermined multiple of the first and second pulse widths corresponding to the data indicating the abnormality, and then transmitted, the amount of data to be transmitted can be increased. , The third pulse is not inverted, so there is no need to invert it again to restore the original waveform.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明のパルスエンコーダの異常送
出方法の一実施例におけるパルス波形のタイムチャー
ト、図2は図1のパルスエンコーダの異常送出方法に使
用される異常送出回路の回路図、図3は図2の異常送出
回路の送出信号を受信する異常受信回路の回路図であ
る。図1のパルスエンコーダでは、2パルスのパルス巾
をもつ、A相パルスと、A相パルスと同じ2パルス巾を
もち位相がA相とは90°ずれているB相パルスが出力
され、さらにA相、B相パルスと同じ2パルス巾をもつ
C相パルスが回転軸の1回転ごとに1パルス出力され、
原点復帰に使用されている。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a time chart of a pulse waveform in an embodiment of an abnormal transmission method of a pulse encoder of the present invention, FIG. 2 is a circuit diagram of an abnormal transmission circuit used in the abnormal transmission method of the pulse encoder of FIG. 1, and FIG. 2 is a circuit diagram of an abnormality receiving circuit that receives a transmission signal from the abnormality transmitting circuit of FIG. The pulse encoder of FIG. 1 outputs an A-phase pulse having a pulse width of 2 pulses and a B-phase pulse having the same 2-pulse width as the A-phase pulse and having a phase difference of 90 ° from that of the A-phase pulse. The C-phase pulse having the same two-pulse width as the B-phase and B-phase pulses is output for each rotation of the rotating shaft,
It is used for home return.

【0007】このパルスエンコーダの異常送出方法で
は、パルスエンコーダに異常が発生したとき、C相パル
ス出力が立上った後のパルス巾を図1の点線で示すよう
に所定倍数のA,B相パルス巾だけ延ばして送出する。
このエンコーダの異常送出方法に使用される装置は、図
2に示す異常送出回路であって、この回路はエンコーダ
に付加して組込まれる。この異常送出回路は4倍微分回
路1とカウンタ2を主要構成としており、カウンタ2に
設定されるエラーコードに対応してC相パルスのパルス
巾が延長されてC′相パルスとして出力されるようにな
っている。4倍微分回路1は公知の回路であってA相パ
ルスとB相パルスが入力する。カウンタ2はカウンタI
C193よりなり、いま、4ビットの負論理のエラーコ
ードをD0123 とすれば、C相パルスが入力さ
れるとコードD0 ,D1 ,D2 ,D3 がカウンタ2に設
定され、C相パルスが「L」になるとカウンタ2はカウ
ントを開始する。コードD 0 ,D1 ,D2 ,D3 に設定
された異常発生や温度等の異常を示すエラーデータがF
H であれば、出力Qはもともと「L」であり、出力C′
相パルスの巾はもとのC相パルスと変らずに、図1のF
点を後端としたパルス巾となる。エラーデータがEH
設定されていれば、4倍微分回路1で4倍微分されたパ
ルスが1パルス来るまで出力Qは「H」になり、C′相
パルス巾は図1のE点に後端が来るようにA相、B相の
パルス巾の1/2、すなわち1パルスだけ長くなる。同
様に、エラーデータがDH で設定されていれば、C′相
パルスはさらに1パルス分長くなって後端が図1のD点
に来るようになり、以下エラーデータがCH ,BH であ
ればC′相パルスはさらにそれぞれ1パルス分ずつ延び
てC点、B点に後端が来るパルス巾となって出力され
る。
With this abnormal transmission method of the pulse encoder
Is a C-phase pulse when an abnormality occurs in the pulse encoder.
The pulse width after the output rises is shown by the dotted line in Fig. 1.
Then, the pulse widths of the A and B phases that are a predetermined multiple are extended and transmitted.
The device used for the abnormal transmission method of this encoder is
The abnormality sending circuit shown in 2, which is an encoder
Is added to and incorporated into. This abnormality sending circuit is 4 times differential
Road 1 and counter 2 are the main components.
C-phase pulse corresponding to the set error code
The width is extended and output as a C'phase pulse.
ing. The quadrupling differential circuit 1 is a well-known circuit and has a phase A
Ruth and B-phase pulse are input. Counter 2 is counter I
It consists of C193, and is a 4-bit negative logic error code.
D0 D1 D2 D3 If so, the C phase pulse is input.
Code D0 , D1 , D2 , D3 Is set on counter 2
Is set and the C-phase pulse becomes “L”, the counter 2
Start. Code D 0 , D1 , D2 , D3 Set to
The error data indicating the occurrence of abnormalities or abnormalities such as temperature is F
H If so, the output Q is originally "L" and the output C '
The width of the phase pulse is the same as the original C phase pulse,
It becomes the pulse width with the point at the rear end. Error data is EH so
If set, the 4th derivative circuit 1 differentiates the 4th derivative.
Output Q becomes "H" until one pulse arrives and the C'phase
The pulse width of the A phase and B phase so that the rear end comes to point E in Fig. 1.
It becomes half the pulse width, that is, one pulse longer. same
Similarly, the error data is DH If set in, the C'phase
The pulse lengthens by one pulse and the rear end is point D in Fig. 1.
The error data is CH , BH And
Then, the C'phase pulse is further extended by one pulse each.
Is output as a pulse width with the rear end at points C and B.
It

【0008】次に、図2の異常送出回路から送出された
信号を受信する異常受信回路について説明する。この異
常受信回路は図3に示すように、4倍微分回路3とカウ
ンタ4とDFF5を主要構成としており、NC機械のコ
ントローラ側に組込まれる。4倍微分回路3にはA相パ
ルスとB相パルスが入力する。カウンタ4はIC193
よりなり、あらかじめEH が設定されている。ここで、
カウンタ4にEH が設定されるのは、C相パルス巾がも
ともとA相,B相と同じ2パルス巾であるからである。
また、カウンタ4には4倍微分回路3の出力側のナンド
回路6の出力とC′相パルスが入力され、C′相パルス
が「H」になるとカウントを始め、C′相パルスが
「L」になるとカウンタ4の出力データはディスクリー
トIC574でなるDFF5にラッチされる。ここで、
カウンタ4は入力されたC′相パルスの巾を計数する
が、あらかじめEH が設定されているのでもとのC相パ
ルスの巾である「2」が減ぜられ、異常送出回路で延長
されたパルス巾が検出され、検出した延長巾に対応する
異常データを示すコードD0', D1',D2',D3'をカウ
ンタデータとしてDFF5にラッチさせる。DFF5に
ラッチされたデータD0', D1',D2',D3'はパルスエ
ンコーダ側で設定したエラーコードD0 ,D1 ,D2
3 の反転データであるから、これよりエラーコードが
得られ、異常発生であるか温度の異常であるかなどの異
常データを知ることができる。この場合、C相パルスは
原点復帰時にパルスの立上りを使用するので、送出され
て来たC′相パルスをそのまま使用して差支えない。
Next, the error is sent from the abnormal sending circuit of FIG.
An abnormal reception circuit that receives a signal will be described. This difference
As shown in FIG. 3, the normal reception circuit is a quadruple differentiation circuit 3 and a cow.
The main components are the computer 4 and the DFF 5, and the NC machine
Installed on the controller side. The quadrature differentiation circuit 3 has an A phase
Ruth and B-phase pulse are input. Counter 4 is IC193
And E in advanceH Is set. here,
E for counter 4H Is set when the C-phase pulse width is
This is because the pulse width is originally the same as that of the A phase and B phase.
Further, the counter 4 has a NAND on the output side of the quadruple differentiation circuit 3.
The output of circuit 6 and the C'phase pulse are input, and the C'phase pulse
Starts counting when "H" becomes, and the C'phase pulse
When it becomes “L”, the output data of the counter 4 is discrete.
It is latched by the DFF5 composed of the IC 574. here,
The counter 4 counts the width of the input C'phase pulse.
But E in advanceH Is set, the original C phase
"2", which is the width of the lure, has been reduced and it has been extended by the abnormality sending circuit.
Detected pulse width is detected and corresponds to the detected extended width
Code D indicating abnormal data0', D1', D2', D3'The cow
The data is latched by the DFF 5 as input data. To DFF5
Latched data D0', D1', D2', D3'Is a pulse
Error code D set on the encoder side0 , D1 , D2 ,
D 3 Since it is the inverted data of, the error code is
And whether there is an abnormality or whether the temperature is abnormal.
You can always know the data. In this case, the C-phase pulse is
Since the rising edge of the pulse is used when homing,
It does not matter if the C'phase pulse that comes back is used as it is.

【0009】本実施例のパルスエンコーダの異常送出方
法では、C相パルスをパルス巾を延長して異常データを
送出するので、異常データ量が1ビットに限らず大きく
とれ、また、C相パルスの反転がないので、原点復帰時
の使用のために反転したパルスを再度反転する必要がな
い。
In the abnormal transmission method of the pulse encoder of the present embodiment, since the abnormal data is transmitted by extending the pulse width of the C-phase pulse, the abnormal data amount is not limited to 1 bit and can be large. Since there is no inversion, it is not necessary to invert the inverted pulse again for use in returning to origin.

【0010】[0010]

【発明の効果】以上説明したように本発明は、パルスエ
ンコーダで異常が発生したとき、第3のパルスのパルス
巾を延ばして送出することにより、異常データの量が1
ビット以上に大きくとれるとともに、第3のパルスを反
転させないのですむので、原点復帰時の使用のために位
相のずれを起さないようにパルスを再度反転する必要が
なく、異常情報量が多いにも拘らず回路が複雑化しない
という効果がある。
As described above, according to the present invention, when an abnormality occurs in the pulse encoder, the pulse width of the third pulse is extended and transmitted, so that the amount of abnormal data is reduced to 1.
Since it can be made larger than a bit and the 3rd pulse does not need to be inverted, it is not necessary to invert the pulse again to prevent phase shift for use when returning to origin, and there is a large amount of abnormal information. Nevertheless, the circuit is not complicated.

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

【図1】本発明のパルスエンコーダの異常送出方法の一
実施例におけるパルス波形のタイムチャートである。
FIG. 1 is a time chart of a pulse waveform in an embodiment of a method for abnormally sending a pulse encoder according to the present invention.

【図2】図1のパルスエンコーダの異常送出方法に使用
される異常送出回路の回路図である。
FIG. 2 is a circuit diagram of an abnormality sending circuit used in the abnormal sending method of the pulse encoder in FIG.

【図3】図2の異常送出回路の送出信号を受信する異常
受信回路の回路図である。
FIG. 3 is a circuit diagram of an abnormality receiving circuit that receives a transmission signal of the abnormality transmitting circuit of FIG.

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

1,3 4倍微分回路 2,4 カウンタ 5 DFF 6 ノア回路 B,C,D,E,F 点 D0 ,D1 ,D2 ,D3 エラーコード D0',D1',D2',D3' 反転コード Q 出力1, 3 4 times differentiating circuit 2, 4 counter 5 DFF 6 NOR circuit B, C, D, E, F point D 0 , D 1 , D 2 , D 3 error code D 0 ', D 1 ', D 2 ' , D 3 'Inverted code Q output

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 同一パルス巾をもち、位相が互いに90
°ずれている第1および第2のパルスと、回転軸の1回
転ごとに1パルス発生する第3のパルスを出力する、パ
ルスエンコーダにおいて、前記パルスエンコーダで発生
した異常を示すデータに対応して、第3のパルス出力の
巾を所定倍数の第1、第2のパルス巾だけ延ばして送出
するパルスエンコーダの異常送出方法。
1. Pulses having the same pulse width and phases of 90 relative to each other.
In a pulse encoder that outputs a first pulse and a second pulse that are deviated from each other and a third pulse that generates one pulse for each rotation of the rotary shaft, in correspondence with data indicating an abnormality that has occurred in the pulse encoder. , A method of abnormally transmitting a pulse encoder in which the width of the third pulse output is extended by a predetermined multiple of the first and second pulse widths and transmitted.
JP28837292A 1992-10-27 1992-10-27 Method for sending abnormality of pulse encoder Pending JPH06137894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28837292A JPH06137894A (en) 1992-10-27 1992-10-27 Method for sending abnormality of pulse encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28837292A JPH06137894A (en) 1992-10-27 1992-10-27 Method for sending abnormality of pulse encoder

Publications (1)

Publication Number Publication Date
JPH06137894A true JPH06137894A (en) 1994-05-20

Family

ID=17729353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28837292A Pending JPH06137894A (en) 1992-10-27 1992-10-27 Method for sending abnormality of pulse encoder

Country Status (1)

Country Link
JP (1) JPH06137894A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007192825A (en) * 2006-01-19 2007-08-02 Snr Roulements Coding method and measuring device for measuring absolute angular position
FR3027388A1 (en) * 2014-10-16 2016-04-22 Continental Automotive France METHOD FOR COMMUNICATING A DYSFUNCTION OF A SYSTEM FOR MEASURING SPEED AND ROTATION SENSES OF A ROTATING SHAFT

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007192825A (en) * 2006-01-19 2007-08-02 Snr Roulements Coding method and measuring device for measuring absolute angular position
FR3027388A1 (en) * 2014-10-16 2016-04-22 Continental Automotive France METHOD FOR COMMUNICATING A DYSFUNCTION OF A SYSTEM FOR MEASURING SPEED AND ROTATION SENSES OF A ROTATING SHAFT
US9739228B2 (en) 2014-10-16 2017-08-22 Continental Automotive France Method for communicating a malfunction of a system for measuring speed and direction of rotation of a rotary shaft

Similar Documents

Publication Publication Date Title
GB1559457A (en) Absolute resolver digitzer
US4881248A (en) Counter circuit provided with means for reading out counted data by read-command signal applied asynchronously with clock signals to be counted
WO1987001220A1 (en) Apparatus and method for detecting time-related faults
JPH06137894A (en) Method for sending abnormality of pulse encoder
EP0163875B1 (en) Apparatus and method for stabilizing the frequency of a clock signal generated by an on-chip clock generator
JPH0123724B2 (en)
US4922176A (en) Electronic absolute coordinate encoder for positional control devices
JP3067729B2 (en) Encoder signal processing method and device
JP3241138B2 (en) Absolute encoder output signal abnormality detection method
JP2502366Y2 (en) Forward / reverse rotation discrimination circuit
JP2554064B2 (en) Pulse counting method
JPS6088316A (en) Signal output unit for rotary encoder
JP2644112B2 (en) FIFO test diagnostic circuit
SU1432719A1 (en) Four-cycle reversible pulse distributor for stepping motor control
JP3195801B2 (en) Digital counter device
SU1596331A2 (en) Device for checking adders
JPH05332788A (en) Data processing device for rotary encoder
KR940022059A (en) Encoder Output Error Compensation Method
JPH0234613Y2 (en)
KR0161383B1 (en) Index period detecting apparatus in a floppy disc driver controller
JPH0254884B2 (en)
JPS6232809B2 (en)
JP2590410B2 (en) Count data output circuit
JPS62263600A (en) Absolute type encoder
JPS59204769A (en) Displacement direction detecting circuit