Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0695026B2 - Encoder open phase detection circuit - Google Patents
[go: Go Back, main page]

JPH0695026B2 - Encoder open phase detection circuit - Google Patents

Encoder open phase detection circuit

Info

Publication number
JPH0695026B2
JPH0695026B2 JP26218686A JP26218686A JPH0695026B2 JP H0695026 B2 JPH0695026 B2 JP H0695026B2 JP 26218686 A JP26218686 A JP 26218686A JP 26218686 A JP26218686 A JP 26218686A JP H0695026 B2 JPH0695026 B2 JP H0695026B2
Authority
JP
Japan
Prior art keywords
phase
detection circuit
encoder
flip
edge
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
JP26218686A
Other languages
Japanese (ja)
Other versions
JPS63116524A (en
Inventor
芳文 船橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP26218686A priority Critical patent/JPH0695026B2/en
Publication of JPS63116524A publication Critical patent/JPS63116524A/en
Publication of JPH0695026B2 publication Critical patent/JPH0695026B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明はA相,B相の90°位相のずれたインクリメンタル
信号(以下A相,B相と称す)と1回転に1パルスのZ相
を出力するエンコーダを用いた装置のエンコーダ出力信
号の処理回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION INDUSTRIAL APPLICABILITY The present invention outputs 90 ° phase-shifted incremental signals of A phase and B phase (hereinafter referred to as A phase and B phase) and Z phase of 1 pulse per rotation. The present invention relates to a processing circuit of an encoder output signal of a device using an encoder.

従来の技術 以下に従来のエンコーダ欠相検出回路の構成について説
明する。
2. Description of the Related Art The configuration of a conventional encoder open phase detection circuit will be described below.

第4図は従来のエンコーダ欠相検出回路の構成図であ
り、1は入力信号を受けた信号にバイアスをかけ、レベ
ルを変えて出力するバイアス回路であり、2は前記バイ
アス回路出力を受けて、そのバイアスレベルを検出する
レベル検出回路であり、3は前記バイアス回路1の出力
を受けて、バイアス分を取りさるレベル変換回路であ
る。
FIG. 4 is a block diagram of a conventional encoder open-phase detection circuit. 1 is a bias circuit that applies a bias to a signal that has received an input signal and changes the level, and outputs the signal. 2 is a circuit that receives the output of the bias circuit. , A level detection circuit for detecting the bias level, and 3 is a level conversion circuit for receiving the output of the bias circuit 1 and removing the bias component.

以上のように構成されたエンコーダ欠相検出回路につい
て、以下その動作を説明する。
The operation of the encoder open phase detecting circuit configured as described above will be described below.

まず、前記A相,B相,Z相のエンコーダ信号が0または5v
の信号として、バイアス回路1に入力され、バイアス回
路1では信号にバイアスをかけ、信号レベルを5v,10vに
変換しエンコーダ出力として出力し処理回路側に伝送す
る。次に処理回路側のレベル変換回路3に入力されて、
もとの0.5vのレベルに変換される。同時に、レベル検出
回路2では、前記バイアス回路1の出力を受け、信号レ
ベルが常に5v以上あるかを検出し、エンコーダ信号が5v
〜10vレベルまで変化した時には正常と判断し、逆にエ
ンコーダ信号が欠相あるいは断線し信号レベルが5v以下
になった時に欠相と判断し欠相という信号を出力する。
First, the A phase, B phase, and Z phase encoder signals are 0 or 5v.
Is input to the bias circuit 1, and the bias circuit 1 applies a bias to the signal, converts the signal level into 5v and 10v, outputs it as an encoder output, and transmits it to the processing circuit side. Next, it is input to the level conversion circuit 3 on the processing circuit side,
Converted to the original 0.5v level. At the same time, the level detection circuit 2 receives the output of the bias circuit 1 and detects whether the signal level is always 5v or higher, and the encoder signal is 5v.
When it changes to ~ 10v level, it is judged as normal, and conversely, when the encoder signal is open phase or disconnected and the signal level becomes 5v or less, it is judged as open phase and a signal of open phase is output.

発明が解決しようとする問題点 しかしながら上記の様な従来の構成では、信号線が断線
した場合にはレベルが5v以下になるため欠相を検出でき
るが、信号線が電源線と短絡し欠相した場合には5v以下
とならず、欠相を検出できず、耐ノイズの面においても
信号レベルを変化させるため差動伝送方式が使えず、ノ
イズに弱いという問題点を有していた。
Problems to be Solved by the Invention However, in the conventional configuration as described above, when the signal line is broken, the level becomes 5v or less, so that the phase loss can be detected, but the signal line is short-circuited with the power supply line and the phase loss occurs. In such a case, the voltage did not become 5v or less, the open phase could not be detected, and in terms of noise resistance, the differential transmission method could not be used because the signal level was changed, and there was a problem that it was weak to noise.

本発明は上記従来の問題点を解決するもので、断線、短
絡すべての状態の欠相を検出することのできるエンコー
ダ欠相検出回路を提出することを目的とする。
The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide an encoder open phase detection circuit capable of detecting open phase in all states of disconnection and short circuit.

問題点を解決するための手段 この目的を達成するために本発明のエンコーダ欠相検出
回路はA相,B相のエッジを検出する検出回路と、Z相の
タイミングで前記エッジ検出回路の出力データを読み込
む記憶素子から構成されている。
In order to achieve this object, the encoder phase loss detection circuit of the present invention has a detection circuit for detecting edges of A phase and B phase and output data of the edge detection circuit at the timing of Z phase. It is composed of a memory element for reading in.

作用 この構成によってZ相を基準信号とし、回転中のZ相の
パルスとパルスの間にA,B相のエッジを検出し、欠相検
出するもので、Z相パルスでA相,B相エッジ検出回路を
リセットし、次のZ相パルスまでの間にエッジの検出を
行い、そのデータをZ相パルスのタイミングで記憶素子
がデータを読み込み欠相検出を行う。同時にエッジ検出
回路をリセットし再び同じ動作をくり返し、A,B相のエ
ッジを検出することにより、正常であればエッジを検出
し、欠相した場合にはエッジがないということからエン
コーダの欠相を検出することができる。
Operation With this configuration, the Z phase is used as the reference signal, the edges of the A and B phases are detected between the pulses of the Z phase during rotation, and the open phase is detected. The A phase and B phase edges are generated by the Z phase pulse. The detection circuit is reset, an edge is detected until the next Z-phase pulse, the data is read by the storage element at the timing of the Z-phase pulse, and the open phase is detected. At the same time, the edge detection circuit is reset and the same operation is repeated again, and by detecting the edges of the A and B phases, the edge is detected if it is normal, and if there is no phase, there is no edge. Can be detected.

実施例 以下本発明の一実施例について、図面を参照しながら説
明する。第1図は本発明の一実施例におけるエンコーダ
欠相検出回路のブロック図を示すものである。第1図に
おいて、100はA相,B相のエッジを検出するエッジ検出
回路、200は2相のタイミングでエッジ検出回路100の出
力データを読み込む記憶素子である。第2図はエンコー
ダ欠相検出回路の結線図を示すもので、Dフリップフロ
ップを3つ用い、インクリメンタルA相,B相をフリップ
フロップ11のクロック入力14とフリップフロップ12のク
ロック入力15にそれぞれ入力し、データ入力16,17をH
レベルに設定しておく。前記フリップフロップ11,12の
出力18,19を論理積回路25に入力し、出力をフリップフ
ロップ13のデータ入力22に接続する。Z相をフリップフ
ロップ11と12のリセット20,21に入力すると共に、フリ
ップフロップ13のクロック入力23に入力し、エンコーダ
欠相検出信号を前記フリップフロップ13の出力24から得
る。
Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an encoder open phase detection circuit according to an embodiment of the present invention. In FIG. 1, reference numeral 100 is an edge detection circuit that detects edges of the A phase and B phase, and 200 is a storage element that reads the output data of the edge detection circuit 100 at the timing of two phases. FIG. 2 shows a connection diagram of the encoder open phase detection circuit, in which three D flip-flops are used and the incremental A phase and B phase are input to the clock input 14 of the flip-flop 11 and the clock input 15 of the flip-flop 12, respectively. And input data 16 and 17 to H
Set it to the level. The outputs 18 and 19 of the flip-flops 11 and 12 are input to the AND circuit 25, and the outputs are connected to the data input 22 of the flip-flop 13. The Z-phase is input to the resets 20 and 21 of the flip-flops 11 and 12 and the clock input 23 of the flip-flop 13, and an encoder open phase detection signal is obtained from the output 24 of the flip-flop 13.

以上のように構成されたエンコーダ欠相検出回路につい
て、以下その動作を第3図のタイムチャートを参照しな
がら説明する。第3図3−aは欠相していない時のタイ
ムチャートである。最初に各フリップフロップに初期設
定が行われ、フリップフロップ11,12の出力18,19はL
に、フリップフロップ13の出力24はHと設定される。エ
ンコーダ信号が入力されエッジを検出すると前記出力1
8,19はHになる。その後、Z相パルスのエッジでフリッ
プフロップ13は論理積回路25の出力を読み込むが、前記
フリップフロップ11,12の出力はHとなっているので、
出力24はHのままであり、同時にZ相パルスでフリップ
フロップ11,12はリセットされ、再び同じ動作をくり返
す。
The operation of the encoder open phase detecting circuit configured as described above will be described below with reference to the time chart of FIG. FIG. 3A is a time chart when the phase is not lost. First, each flip-flop is initialized, and the outputs 18 and 19 of the flip-flops 11 and 12 are L level.
Then, the output 24 of the flip-flop 13 is set to H. Output 1 when encoder signal is input and edge is detected
8,19 becomes H. After that, the flip-flop 13 reads the output of the AND circuit 25 at the edge of the Z-phase pulse, but since the outputs of the flip-flops 11 and 12 are H,
The output 24 remains H, and at the same time, the flip-flops 11 and 12 are reset by the Z-phase pulse, and the same operation is repeated again.

次に欠相した場合の動作を3−bのタイムチャートで説
明する。エンコーダ信号のA相が最初正常であったが、
欠相してLに固定されたとする。エンコーダが回転し
て、Z相でフリップフロップ11,12はリセットされ、リ
セット後クロック入力14,15にA相,B相が入力される
が、A相は欠相し、Lに固定されエッジがないためデー
タ入力のHに固定されたデータを読み込むことができ
ず、出力18はLのままである。またB相は正常なのでフ
リップフロップ12の出力19はHになる。次にZ相パルス
のエッジでフリップフロップ13は論理積回路25の出力を
読み込むが、前記出力18はL、出力19はHなので、論理
積回路25の出力はLであり、データ入力22からLを読み
込み、フリップフロップ13の出力はLとなり欠相を検出
することができる。
Next, the operation when the phase is lost will be described with reference to the time chart of 3-b. Phase A of the encoder signal was normal at first, but
It is assumed that the phase is lost and fixed to L. The encoder rotates, the flip-flops 11 and 12 are reset in the Z phase, and after reset, the A phase and the B phase are input to the clock inputs 14 and 15, but the A phase is open and fixed to L and the edge is fixed. Since there is no data, the data fixed at H of the data input cannot be read, and the output 18 remains L. Further, since the B phase is normal, the output 19 of the flip-flop 12 becomes H. Next, at the edge of the Z-phase pulse, the flip-flop 13 reads the output of the AND circuit 25. Since the output 18 is L and the output 19 is H, the output of the AND circuit 25 is L and the data input 22 to L , The output of the flip-flop 13 becomes L, and the open phase can be detected.

以上のように本実施例ではフリップフロップを用い、Z
相パルスでA相,B相のエッジを検出することにより欠相
を検出することができる。
As described above, in this embodiment, the flip-flop is used, and Z
The phase loss can be detected by detecting the edges of the A phase and B phase with the phase pulse.

なお、本実施例ではフリップフロップを3つ用い、2つ
のフリップフロップでA相,B相のエッジを検出し、出力
の論理積をとり3つ目のフリップフロップでデータをZ
相のタイミングでラッチしたが、Z相でなくとも、1回
転に1パルス以上の基準信号を出力するならどのような
ものでもよく、例として、短形波ドライブのACサーボモ
ータの磁極位置検出信号なども使用できる。
In this embodiment, three flip-flops are used, the two flip-flops detect the edges of the A-phase and the B-phase, the logical product of the outputs is taken, and the third flip-flop outputs the data Z.
Although it was latched at the phase timing, any signal may be output as long as it outputs a reference signal of 1 pulse or more per rotation even if it is not the Z phase. For example, the magnetic pole position detection signal of the AC servo motor of the rectangular wave drive Can also be used.

また本実施例では記憶素子としてDフリップフロップを
用いたが、エッジを検出できる記憶素子ならどのような
タイプでも使える。
Further, although the D flip-flop is used as the memory element in this embodiment, any type of memory element capable of detecting an edge can be used.

発明の効果 以上の如く本発明はZ相をクロックとして用い、エンコ
ーダのインクリメンタル信号のエッジを検出し、1回転
に1回のZ相パルスによりリセットされると共に、A相
又はB相の最初の立ち上がりエッジを検出し、次のZ相
パルスが入力されるまで状態を保持するエッジ検出回路
と、Z相のタイミングで検出回路の出力データを読み込
む記憶素子とを設けることによりエンコーダの欠相を検
出でき、さらにエッジを検出することからエンコーダの
信号線が断線、短絡などによりHまたはLに固定されて
も同様に欠相を検出することができるというものであ
る。
As described above, the present invention uses the Z phase as a clock, detects the edge of the incremental signal of the encoder, is reset by the Z phase pulse once per rotation, and is the first rising edge of the A phase or B phase. An encoder phase loss can be detected by providing an edge detection circuit that detects an edge and holds the state until the next Z-phase pulse is input, and a storage element that reads the output data of the detection circuit at the Z-phase timing. Further, since the edge is detected, even if the signal line of the encoder is fixed to H or L due to disconnection or short circuit, the open phase can be detected in the same manner.

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

第1図は本発明の一実施例におけるエンコーダ欠相検出
回路のブロック図、第2図は同エンコーダ欠相検出回路
の結線図、第3図は第2図に於けるエンコーダ信号が正
常な場合と欠相した場合のタイムチャート、第4図は従
来例の構成図である。 11……第1のフリップフロップ、12……第2のフリップ
フロップ、13……第3のフリップフロップ、25……論理
積回路、100……エッジ検出回路、200……記憶素子。
FIG. 1 is a block diagram of an encoder open phase detection circuit in an embodiment of the present invention, FIG. 2 is a connection diagram of the encoder open phase detection circuit, and FIG. 3 is a case where the encoder signal in FIG. 2 is normal. 4 is a configuration diagram of a conventional example. 11 ... First flip-flop, 12 ... Second flip-flop, 13 ... Third flip-flop, 25 ... AND circuit, 100 ... Edge detection circuit, 200 ... Storage element.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】A相,B相の90°位相のずれたインクリメン
タル信号のエッジを検出し、1回転に1回のZ相パルス
によりリセットされると共に、A相又はB相の最初の立
ち上がりエッジを検出し、次のZ相パルスが入力される
まで状態を保持するエッジ検出回路と、前記Z相のタイ
ミングで前記エッジ検出回路の出力データを読み込み欠
相検出を行う記憶素子とを備えたエンコーダ欠相検出回
路。
1. An edge of a 90 ° phase-shifted incremental signal of A phase and B phase is detected and reset by a Z phase pulse once per rotation, and the first rising edge of A phase or B phase. And an edge detection circuit that holds the state until the next Z-phase pulse is input, and a storage element that reads the output data of the edge detection circuit at the Z-phase timing and detects a missing phase. Phase loss detection circuit.
JP26218686A 1986-11-04 1986-11-04 Encoder open phase detection circuit Expired - Lifetime JPH0695026B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26218686A JPH0695026B2 (en) 1986-11-04 1986-11-04 Encoder open phase detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26218686A JPH0695026B2 (en) 1986-11-04 1986-11-04 Encoder open phase detection circuit

Publications (2)

Publication Number Publication Date
JPS63116524A JPS63116524A (en) 1988-05-20
JPH0695026B2 true JPH0695026B2 (en) 1994-11-24

Family

ID=17372262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26218686A Expired - Lifetime JPH0695026B2 (en) 1986-11-04 1986-11-04 Encoder open phase detection circuit

Country Status (1)

Country Link
JP (1) JPH0695026B2 (en)

Also Published As

Publication number Publication date
JPS63116524A (en) 1988-05-20

Similar Documents

Publication Publication Date Title
US4874993A (en) Sensorless brushless motor
EP0089171B1 (en) Quadrature tach decoder circuit
KR940006958B1 (en) Power circuit for ac servo motor
JP3410801B2 (en) Absolute signal detection method and absolute encoder
JPH0695026B2 (en) Encoder open phase detection circuit
JPH04204162A (en) Signal processor for rotating speed sensor
JP3168861B2 (en) Rotary encoder receiving circuit
JPS60108710A (en) Incremental encoder abnormality detection device
JP3465458B2 (en) Motor position detector
JP2502366Y2 (en) Forward / reverse rotation discrimination circuit
JP2606999B2 (en) Resolver signal connection device
US6194861B1 (en) Circuit and method for sensorless brushless direct current (BLDC) motor
KR890002501B1 (en) Checking circuit of direction of rotation of three phase motor
KR100411666B1 (en) Motor direction discrimination circuit
JPH0539456Y2 (en)
KR0185917B1 (en) Capstan motor speed control device
JP3045345B2 (en) AC servo encoder
JPS6362008A (en) Control system
JPS61207967A (en) Electric motor speed control device
JP3140073B2 (en) Motor speed detection circuit
JPS5836965Y2 (en) Magnetic body detection device
JPH0716974Y2 (en) Encoder noise removal circuit
JPH0234613Y2 (en)
JPH02228289A (en) Driver for synchronous motor
JPH03112388A (en) Rotation direction detection device for rotating body

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term