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
JPH081679B2 - Data output type incremental encoder - Google Patents
[go: Go Back, main page]

JPH081679B2 - Data output type incremental encoder - Google Patents

Data output type incremental encoder

Info

Publication number
JPH081679B2
JPH081679B2 JP40620590A JP40620590A JPH081679B2 JP H081679 B2 JPH081679 B2 JP H081679B2 JP 40620590 A JP40620590 A JP 40620590A JP 40620590 A JP40620590 A JP 40620590A JP H081679 B2 JPH081679 B2 JP H081679B2
Authority
JP
Japan
Prior art keywords
signal
counter
output
circuit
phase
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 - Fee Related
Application number
JP40620590A
Other languages
Japanese (ja)
Other versions
JPH04213197A (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.)
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 JP40620590A priority Critical patent/JPH081679B2/en
Publication of JPH04213197A publication Critical patent/JPH04213197A/en
Publication of JPH081679B2 publication Critical patent/JPH081679B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ロボットに利用される
インクリメンタルエンコーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an incremental encoder used in robots.

【0002】[0002]

【従来の技術】従来のインクリメンタルエンコーダは回
転に伴なって2相のパルス信号と、原点信号を検出し、
これら信号を上位コントローラに送出していた。
2. Description of the Related Art A conventional incremental encoder detects a two-phase pulse signal and an origin signal with rotation,
These signals were sent to the host controller.

【0003】[0003]

【発明が解決しようとする課題】近年、伝送特性の高精
度、高速度が要求されているが、従来のインクリメンタ
ルエンコーダでは技術的に限界があり、これらの要求に
対応できなかった。
In recent years, high precision and high speed transmission characteristics have been demanded, but the conventional incremental encoder has technical limitations and cannot meet these demands.

【0004】本発明の目的は、伝送特性の高精度、高速
度の要求に対応できるデータ出力型インクリメンタルエ
ンコーダを提出することである。
An object of the present invention is to provide a data output type incremental encoder which can meet the requirements of high accuracy and high speed of transmission characteristics.

【0005】[0005]

【課題を解決しようとするための手段】本発明のデータ
出力型インクリメンタルエンコーダは、第1相および第
2相のパルス信号を入力し、その立上りおよび立下りを
微分して4逓倍信号を生成し、第1相のパルス信号と第
2相のパルス信号の位相関係に応じて前記4逓倍信号を
第1の出力端子または第2の出力端子から出力する微分
回路と、前記微分回路の第1、第2の出力端子から出力
された4逓倍信号をそれぞれ第1、第2の入力端子から
入力し、該4逓倍信号が第1の入力端子から入力された
場合には該4逓倍信号をアップカウントし、該4逓倍信
号が第2の入力端子から入力された場合には該4逓倍信
号をダウンカウントする第1、第2のカウンタと、それ
ぞれ第1、第2のカウンタのカウント値をパラレル/シ
リアル変換する第1、第2のP/S変換器と、第1、第
2のP/S変換器のシリアル出力を順次、出力するシリ
アルデータ出力回路と、前記微分回路と第1のカウンタ
の間に設けられ、前記4逓倍信号の第1のカウンタへの
出力を第1のモード信号によって許可/禁止する第1の
ゲート回路と前記微分回路と第2のカウンタの間に設け
られ、前記4逓倍信号の第2のカウンタへの入力を第2
のモード信号によって許可/禁止する第2のゲート回路
と、前記原点信号により第1および第2のモード信号を
発生するモード信号発生回路とを有している。
A data output type incremental encoder of the present invention inputs pulse signals of a first phase and a second phase and differentiates the rising and falling edges thereof to generate a quadrupled signal. A differentiation circuit that outputs the quadruple multiplied signal from the first output terminal or the second output terminal according to the phase relationship between the first-phase pulse signal and the second-phase pulse signal; The 4 × signal output from the second output terminal is input from the 1st and 2nd input terminals respectively, and when the 4 × signal is input from the 1st input terminal, the 4 × signal is up-counted. However, when the quadruple-multiplied signal is input from the second input terminal, the count values of the first and second counters that count down the quadruple-multiplied signal and the count values of the first and second counters are parallel / Serial to serial number , A second P / S converter, a serial data output circuit that sequentially outputs serial outputs of the first and second P / S converters, and a serial data output circuit provided between the differentiating circuit and the first counter, A second gate of the quadruple signal is provided between the first gate circuit for permitting / inhibiting the output of the quadruple signal to the first counter by the first mode signal, the differentiating circuit, and the second counter. Second input to the counter
A second gate circuit for permitting / inhibiting by the mode signal and a mode signal generating circuit for generating the first and second mode signals by the origin signal.

【0006】[0006]

【作 用】第1および第2のモード信号の組合せによっ
て第1および第2のカウンタの起動/停止の組合せは次
の3通りとなる。 (1) インクリメンタルエンコーダの電源投入時、第1の
カウンタのみを起動し、原点信号が検出されたとき第2
のカウンタを起動する。
[Operation] Depending on the combination of the first and second mode signals, there are three combinations of starting / stopping the first and second counters. (1) When the power of the incremental encoder is turned on, only the first counter is started and the second signal is detected when the origin signal is detected.
Start the counter of.

【0007】この場合、第1のカウンタの値は、ポジシ
ョンループデータLOOPであり、第2のカウンタの値
は原点からのポジションデータPOSである。第2のカ
ウンタを起動後のある時点の両データを上位コントロー
ラに送ることにより、ポジションループデータLOO
P、ポジションデータPOS、原点のズレ(=LOOP
−POS)がわかる。 (2) インクリメンタルエンコーダの電源投入時、第1の
カウンタのみを起動し、原点信号が検出されたとき第1
のカウンタを停止させることとともに、第2のカウンタ
を起動する。
In this case, the value of the first counter is the position loop data LOOP, and the value of the second counter is the position data POS from the origin. By sending both data at a certain time point after the second counter is activated to the host controller, the position loop data LOO
P, position data POS, origin deviation (= LOOP
-POS) is known. (2) When the incremental encoder power is turned on, only the first counter is started, and the first signal is detected when the home signal is detected.
The second counter is started while the second counter is stopped.

【0008】この場合、第1のカウンタを停止時の第1
のカウンタの値が原点のズレを示している。そして、こ
の値に第2のカウンタを起動後の第2のカウンタの値P
OSを加えたものがポジションループデータLOOPと
なる。したがって、第1のカウンタを停止時の第1のカ
ウンタの値と、第2のカウンタの値を上位コントローラ
に送出することにより、ポジションループデータLOO
Pと、ポジションデータPOSと、原点のズレがわか
る。 (3) インクリメンタルエンコーダの電源投入時、両カウ
ンタを起動し、原点信号が検出されると第2のカウンタ
のみを停止させる。
In this case, the first counter is stopped when the first counter is stopped.
The counter value of indicates the origin deviation. Then, the value P of the second counter after starting the second counter is set to this value.
The position loop data LOOP is obtained by adding the OS. Therefore, by sending the value of the first counter when the first counter is stopped and the value of the second counter to the host controller, the position loop data LOO
The deviation of P, the position data POS, and the origin can be known. (3) When the incremental encoder power is turned on, both counters are started, and when the origin signal is detected, only the second counter is stopped.

【0009】この場合、第1のカウンタの値はポジショ
ンループデータLOOPを示し、第2のカウンタの停止
時の第2のカウンタの値は原点のズレを示している。第
1のカウンタの値から、この第2のカウンタの値を引い
たものが原点のポジションデータPOSとなる。したが
って、第1のカウンタの値と、第2のカウンタの停止時
の値を上位コントローラに送出することにより、ポジシ
ョンループデータLOOPと、ポジションデータPOS
と、原点のズレがわかる。
In this case, the value of the first counter indicates the position loop data LOOP, and the value of the second counter when the second counter is stopped indicates the deviation of the origin. The value obtained by subtracting the value of the second counter from the value of the first counter becomes the position data POS of the origin. Therefore, by sending the value of the first counter and the value of the second counter at the time of stop to the host controller, the position loop data LOOP and the position data POS can be obtained.
And you can see the deviation of the origin.

【0010】このように、本発明のインクリメンタルエ
ンコーダは位置データを作成して上位コントローラに送
出するので、高精度、高速度という伝送特性の要求に対
応できる。
As described above, the incremental encoder of the present invention creates the position data and sends it to the host controller, so that it is possible to meet the demand for the transmission characteristics of high accuracy and high speed.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0012】図1は、本発明の一実施例のインクリメン
タルエンコーダを構成し、2相信号PA、PBを微分
し、微分信号を2個のカウンタでカウントして上位コン
トローラに送出する回路のブロック図、図2は図1にお
いてカウント値を送出するタイミングを示す図である。
FIG. 1 is a block diagram of a circuit which constitutes an incremental encoder according to an embodiment of the present invention and which differentiates the two-phase signals PA and PB, counts the differentiated signals by two counters and sends them to a host controller. 2 is a diagram showing the timing of transmitting the count value in FIG.

【0013】この回路は、微分回路1と、カウンタ2,
3と、P/S変換器4,5と、オア回路6,7,8,8
と、アンド回路10,11と、オア回路12で構成され
ている。
This circuit comprises a differentiating circuit 1, a counter 2,
3, P / S converters 4, 5, and OR circuits 6, 7, 8, 8
And AND circuits 10 and 11 and an OR circuit 12.

【0014】微分回路1は、90°位相差の2相のパル
ス信号PA、PBを入力し、その立上りおよび立下りを
微分して4逓倍信号を生成し、パルス信号PAがPBよ
り位相が進んでいれば出力端子O1 から、パルス信号P
AがPBより位相が進んでいれば出力端子O2 から4逓
倍信号を出力する。カウンタ2はオア回路6,7を介し
て4逓倍信号を入力端子UまたはDから入力し、4逓倍
信号を、入力端子Uから入力した場合にはアップカウン
トし、入力端子Dから入力した場合にはダウンカウント
する。カウンタ3はオア回路8、9を介して4逓倍信号
を入力端子UまたはDから入力し、カウンタ2と同様の
カウンタ動作を行なう。P/S変換器4,5はそれぞれ
カウンタ2,3のカウント値をパラレル/シリアル変換
する。オアゲート6,7は一方の入力端子がモード信号
AMODEに、他方の入力端子がそれぞれ微分回路1の
出力端子O1 ,O2 に接続され、出力端子がそれぞれカ
ウンタ2の入力端子U,Dに接続されている。オアゲー
ト8,9は一方の入力端子がモード信号BMODEに、
他方の入力端子がそれぞれ微分回路1の出力端子O1
2 に接続され、出力端子がそれぞれカウンタ3の入力
端子U,Dに接続されている。アンド回路10はP/S
変換器4の出力データ(シリアルデータ)DATAAと
制御信号SENDAを入力し、制御信号SENDAが
“1”のときP/S変換器4の出力データDATAAを
出力する。アンド回路11はP/S変換器5の出力デー
タ(シリアルデータ)DATABと制御信号SENDB
を入力し、制御信号SENDBが“1”のときP/S変
換器5の出力データDATABを出力する。オア回路1
2はアンド回路10または11から出力されたデータを
データDATAとして上位コントローラ(不図示)に出
力する。ここで、制御信号SENDA,SENDBは、
図に示すように、まず制御信号SENDAが“1”とな
ってデータDATAAがオア回路12から出力され、次
いて制御信号SENDBが“1”となってデータDAT
ABがオア回路12から出力される。
The differentiating circuit 1 receives the two-phase pulse signals PA and PB having a 90 ° phase difference, differentiates the rising and falling edges thereof to generate a quadruple signal, and the phase of the pulse signal PA leads from PB. If so, the pulse signal P is output from the output terminal O 1.
If A is ahead of PB in phase, a quadruple signal is output from the output terminal O 2 . The counter 2 inputs a 4 × signal from the input terminal U or D via the OR circuits 6 and 7, and upcounts when the 4 × signal is input from the input terminal U, and when it is input from the input terminal D. Count down. The counter 3 inputs the quadruple signal from the input terminal U or D via the OR circuits 8 and 9, and performs the same counter operation as the counter 2. The P / S converters 4 and 5 perform parallel / serial conversion on the count values of the counters 2 and 3, respectively. One of the input terminals of the OR gates 6 and 7 is connected to the mode signal AMODE, the other input terminal is connected to the output terminals O 1 and O 2 of the differentiating circuit 1, and the output terminals are connected to the input terminals U and D of the counter 2, respectively. Has been done. One of the input terminals of the OR gates 8 and 9 receives the mode signal BMODE,
The other input terminal is the output terminal O 1 of the differentiating circuit 1 ,
It is connected to O 2 and its output terminals are connected to the input terminals U and D of the counter 3, respectively. AND circuit 10 is P / S
The output data (serial data) DATAA of the converter 4 and the control signal SENDA are input, and when the control signal SENDA is "1", the output data DATAA of the P / S converter 4 is output. The AND circuit 11 outputs the output data (serial data) DATAB of the P / S converter 5 and the control signal SENDB.
When the control signal SENDB is "1", the output data DATAB of the P / S converter 5 is output. OR circuit 1
2 outputs the data output from the AND circuit 10 or 11 as data DATA to a host controller (not shown). Here, the control signals SENDA and SENDB are
As shown in the figure, first, the control signal SENDA becomes "1" and the data DATAA is output from the OR circuit 12, and then the control signal SENDB becomes "1" and the data DAT.
AB is output from the OR circuit 12.

【0015】図3は原点信号PCの微分信号PC’を発
生し、さらにモード信号AMODE,BMODEとなる
チップセレクト信号CS,
FIG. 3 shows a chip select signal CS, which generates a differential signal PC 'of the origin signal PC and becomes mode signals AMODE, BMODE.

【外1】 を発生するモード信号発生回路のブロック図、図4は2
相パルス信号PA,PB、原点信号PCの微分信号P
C’の位相関係を示す図である。
[Outside 1] Block diagram of the mode signal generation circuit for generating
Differential signal P of phase pulse signals PA, PB and origin signal PC
It is a figure which shows the phase relationship of C '.

【0016】図3に示す回路は、2相パルス信号PBと
原点信号PCのアンドをとるアンド回路13と、2相信
号PA、出力Q1 、アンド回路13の出力、出力Q3
それぞれD1 ,D2 ,D3 ,D4 入力とするDフリップ
フロップ14(LS273)と、Dフリップフロップ1
4のQ1 出力、Q4 出力をそれぞれ反転するインバータ
15,16と、インバータ15の出力、Dフリップフロ
ップ14のQ3 出力、Q2 出力を入力するナンド回路1
7と、Dフリップフロップ14のQ3 出力、インバータ
15,16の出力を入力とするナンド回路18と、ナン
ド回路17または18の出力を入力し、出力するナンド
回路19と、ナンド回路19の出力PC’(原点信号の
微分信号)をJ入力(K入力は電源に接続されている)
とし、チップセレクト信号CS、
In the circuit shown in FIG. 3, the AND circuit 13 that ANDs the two-phase pulse signal PB and the origin signal PC, the two-phase signal PA, the output Q 1 , the output of the AND circuit 13, and the output Q 3 are respectively D 1. , D 2 , D 3 , and D 4 inputs to the D flip-flop 14 (LS273) and the D flip-flop 1
Inverters 15 and 16 for inverting the Q 1 output and the Q 4 output, respectively, and a NAND circuit 1 for inputting the output of the inverter 15 and the Q 3 output and Q 2 output of the D flip-flop 14.
7, a NAND circuit 18 that receives the Q 3 output of the D flip-flop 14 and the outputs of the inverters 15 and 16, a NAND circuit 19 that inputs and outputs the output of the NAND circuit 17 or 18, and an output of the NAND circuit 19. PC '(differential signal of origin signal) J input (K input is connected to the power supply)
And the chip select signal CS,

【外2】 を出力するJK型フリップフロップ20(LS109)
で構成されており、図4に示すように、正転方向(C
W)では原点信号PCの立上り後微分信号PC’がナン
ド回路18から出力され、逆転方向(CCW)では2相
信号PAの立下り後微分信号PC’がナンド回路17か
ら出力され、JK型フリップフロップ20がセットさ
れ、チップセレクト信号CS,
[Outside 2] JK type flip-flop 20 (LS109) that outputs
As shown in FIG. 4, the forward rotation direction (C
In W), the differential signal PC 'after rising of the origin signal PC is output from the NAND circuit 18, and in the reverse rotation direction (CCW), the differential signal PC' after falling of the two-phase signal PA is output from the NAND circuit 17, and the JK flip-flop is used. 20 is set, the chip select signal CS,

【外3】 がそれぞれ“1”,“0”となる。これらチップセレク
ト信号CS,
[Outside 3] Are "1" and "0", respectively. These chip select signals CS,

【外4】 は、後述するように、モード信号AMODE,BMOD
Eとして図1に示すオア回路6と7、8と9にそれぞれ
入力される。
[Outside 4] As will be described later, the mode signals AMODE, BMOD
It is input as E to the OR circuits 6 and 7 and 8 and 9 shown in FIG. 1, respectively.

【0017】なお、図1では、2相パルス信号PA,P
Bおよび原点信号PCを検出する微分部分は図示が省略
されている。
In FIG. 1, the two-phase pulse signals PA, P
The illustration of the differential portion for detecting B and the origin signal PC is omitted.

【0018】次に、本実施例の動作を説明する。Next, the operation of this embodiment will be described.

【0019】図5はカウンタ2,3のカウント値の時間
的変化の3つの場合を示している。 (1) インクリメンタルエンコーダの電源投入時、カウン
タ2のみ起動し、微分信号PC’が出力されたときカウ
ンタ3を起動する場合(図5(1) )、この場合、まずモ
ード信号AMODEをOV、モード信号BMODEをチ
ップセレクト信号CSとする。電源が投入されると、カ
ウンタ2が起動されてカウント動作を始める。カウンタ
3は起動されない。微分信号PC’が出力されるとモー
ド信号BMODEとしてチップセレクト信号
FIG. 5 shows three cases in which the count values of the counters 2 and 3 change with time. (1) When only the counter 2 is activated when the incremental encoder is powered on, and the counter 3 is activated when the differential signal PC 'is output (Fig. 5 (1)), in this case, first, the mode signal AMODE is set to OV, and the mode The signal BMODE is the chip select signal CS. When the power is turned on, the counter 2 is activated to start the counting operation. Counter 3 is not activated. When the differential signal PC 'is output, a chip select signal is output as a mode signal BMODE.

【外5】 が入力されて、カウンタ3が起動されカウント動作を始
める。カウンタ2はカウント動作を続ける。この場合、
カウンタ2の値はポジションループデータLOOP、カ
ウンタ3の値は原点からのポジションデータPOSを示
しており、これらのデータはP/S変換器4,5でそれ
ぞれパラレル/シリアル変換された後、それぞれアンド
回路10,11を経て、オア回路12から上位コントロ
ーラに送出される。上位コントローラは送出されてきた
データからポジションループデータLOOP、ポジショ
ンデータPOS、原点のズレ(=LOOP−POS)が
わかる。 (2) インクリメンタルエンコーダの電源投入時、カウン
タ3のみ起動し微分信号PC’が出力されたときカウン
タ3を停止させるとともに、カウンタ2を起動する場合
(図5(2) )。
[Outside 5] Is input, the counter 3 is activated and the counting operation is started. The counter 2 continues the counting operation. in this case,
The value of the counter 2 indicates the position loop data LOOP, and the value of the counter 3 indicates the position data POS from the origin. These data are parallel / serial converted by the P / S converters 4 and 5, respectively, and then ANDed. It is sent from the OR circuit 12 to the host controller via the circuits 10 and 11. The host controller can recognize the position loop data LOOP, the position data POS, and the deviation of the origin (= LOOP-POS) from the transmitted data. (2) When only the counter 3 is started when the power of the incremental encoder is turned on, and the counter 3 is stopped when the differential signal PC 'is output and the counter 2 is started (Fig. 5 (2)).

【0020】この場合、まずモード信号AMODEをチ
ップセレクト信号CS、モード信号BMODEを
In this case, first, the mode signal AMODE is the chip select signal CS and the mode signal BMODE is the

【外6】 とする。電源が投入されると、カウンタ3が起動され
て、カウント動作を開始する。カウンタ2は起動されな
い。微分信号PC’が出力されると、モード信号AMO
DEがチップセレクト信号
[Outside 6] And When the power is turned on, the counter 3 is activated to start the counting operation. Counter 2 is not activated. When the differential signal PC 'is output, the mode signal AMO
DE is the chip select signal

【外7】 、モード信号BMODEがチップセレクト信号CSとな
り、カウンタ3は停止し、カウンタ2は起動されてカウ
ント動作を開始する。この場合、カウンタ3の停止時の
値は原点のズレ、カウンタ2の値は原点からのポジショ
ンデータPOSを示しており、これらデータは(1) の場
合と同様にして上位コントローラに送出される。上位コ
ントローラは送出されてきたデータから、原点からのポ
ジションデータPOS、原点のズレ、ポジションループ
データ(=カウンタ3の停止時の値+ポジションデータ
POS)がわかる。(3) インクリメンタルエンコーダの
電源投入時、カウンタ2と3を共に起動し、微分信号P
C’が出力されたときカウンタ3のみを停止させる場合
(図5(3) )。
[Outside 7] , The mode signal BMODE becomes the chip select signal CS, the counter 3 is stopped, and the counter 2 is activated to start the counting operation. In this case, the value when the counter 3 is stopped indicates the deviation of the origin, and the value of the counter 2 indicates the position data POS from the origin, and these data are sent to the host controller in the same manner as in (1). The upper controller can know the position data POS from the origin, the deviation of the origin, and the position loop data (= value when the counter 3 is stopped + position data POS) from the transmitted data. (3) When the power of the incremental encoder is turned on, both counters 2 and 3 are started and the differential signal P
When only counter 3 is stopped when C'is output (Fig. 5 (3)).

【0021】この場合、まずモード信号AMODE,B
MODEをともにチップセレクト信号
In this case, first, the mode signals AMODE, B
Chip select signal for both MODE

【外8】 とする。電源が投入されると、カウンタ2と3が共に起
動されて、カウント動作を開始する。微分信号PC’が
出力されると、モード信号BMODEのみがチップセレ
クト信号CSに切換ってカウンタ3が停止する。カウン
タ2はカウント動作を続ける。この場合、カウンタ2の
値はポジションループデータLOOPを示し、カウンタ
3の停止時の値は原点のズレを示しており、これらデー
タは(1) の場合と同様にして上位コントローラに送出さ
れる。上位コントローラは送出されてきたデータからポ
ジションループデータLOOP、原点のズレ、原点から
のポジションデータ(=LOOP−原点のズレ)がわか
る。
[Outside 8] And When the power is turned on, the counters 2 and 3 are both activated to start the counting operation. When the differential signal PC 'is output, only the mode signal BMODE switches to the chip select signal CS and the counter 3 stops. The counter 2 continues the counting operation. In this case, the value of the counter 2 indicates the position loop data LOOP, the value of the counter 3 at the time of the stop indicates the deviation of the origin, and these data are sent to the host controller in the same manner as in the case of (1). The host controller can recognize the position loop data LOOP, the deviation of the origin, and the position data from the origin (= LOOP-deviation of the origin) from the transmitted data.

【0022】[0022]

【発明の効果】以上説明したように本発明は、インクリ
メンタルエンコーダで位置データを作成し、上位コント
ローラに送出することにより、伝送特性の高精度、高速
度の要求に対応できるという効果がある。
As described above, the present invention has an effect that it is possible to meet the demand for high precision and high speed of transmission characteristics by creating position data by the incremental encoder and sending it to the host controller.

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

【図1】本発明の一実施例のインクリメンタルエンコー
ダの要部のブロック図である。
FIG. 1 is a block diagram of a main part of an incremental encoder according to an embodiment of the present invention.

【図2】図1のブロック図のデータ出力のタイミング図
である。
2 is a timing diagram of data output of the block diagram of FIG. 1. FIG.

【図3】本発明の一実施例のインクリメンタルエンコー
ダを構成するモード信号発生回路のブロック図である。
FIG. 3 is a block diagram of a mode signal generation circuit forming an incremental encoder according to an embodiment of the present invention.

【図4】図3のブロック図のタイミング図である。FIG. 4 is a timing diagram of the block diagram of FIG.

【図5】モード信号AMODE、BMODEの組合せに
応じたカウンタ2,3のカウント値の変化を示す図であ
る。
FIG. 5 is a diagram showing changes in count values of counters 2 and 3 depending on a combination of mode signals AMODE and BMODE.

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

1 微分回路 2,3 カウンタ 4,5 P/S変換器 6,7,8,9 オア回路 10,11 アンド回路 12,13 オア回路 14 D型フリップフロップ 15,16 インバータ 17,18,19 ナンド回路 20 JK型フリップフロップ 1 Differentiation circuit 2,3 Counter 4,5 P / S converter 6,7,8,9 OR circuit 10,11 AND circuit 12,13 OR circuit 14 D-type flip-flop 15,16 Inverter 17,18,19 NAND circuit 20 JK type flip-flops

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 回転に伴なって第1相および第2相のパ
ルス信号と、1個の原点信号を検出するインクリメンタ
ルエンコーダにおいて、第1相および第2相のパルス信
号を入力し、その立上りおよび立下りを微分して4逓倍
信号を生成し、第1相のパルス信号と第2相のパルス信
号の位相関係に応じて前記4逓倍信号を第1の出力端子
または第2の出力端子から出力する微分回路と、前記微
分回路の第1、第2の出力端子から出力された4逓倍信
号をそれぞれ第1、第2の入力端子から入力し、該4逓
倍信号が第1の入力端子から入力された場合には該4逓
倍信号をアップカウントし、該4逓倍信号が第2の入力
端子から入力された場合には該4逓倍信号をダウンカウ
ントする第1、第2のカウンタと、それぞれ第1、第2
のカウンタのカウント値をパラレル/シリアル変換する
第1、第2のP/S変換器と、第1、第2のP/S変換
器のシリアル出力を順次、出力するシリアルデータ出力
回路と、前記微分回路と第1のカウンタの間に設けら
れ、前記4逓倍信号の第1のカウンタへの入力を第1の
モード信号によって許可/禁止する第1のゲート回路
と、前記微分回路と第2のカウンタの間に設けられ、前
記4逓倍信号の第2のカウンタへの入力を第2のモード
信号によって許可/禁止する第2のゲート回路と、前記
原点信号により第1および第2のモード信号を発生する
モード信号発生回路とを有することを特徴とするデータ
出力型インクリメンタルエンコーダ。
1. An incremental encoder for detecting a pulse signal of a first phase and a second phase and one origin signal with rotation and inputting a pulse signal of the first phase and a second phase, and rising thereof. And a falling edge are differentiated to generate a quadruple-multiplied signal, and the quadruple-multiplied signal is output from the first output terminal or the second output terminal in accordance with the phase relationship between the first-phase pulse signal and the second-phase pulse signal. A differentiating circuit for outputting and a quadruple multiplied signal outputted from the first and second output terminals of the differentiating circuit are inputted respectively from the first and second input terminals, and the quadruple multiplied signal is inputted from the first input terminal. First and second counters that up-count the 4-multiplied signal when input, and down-count the 4-multiplied signal when the 4-multiplied signal is input from the second input terminal, respectively. First, second
The first and second P / S converters for parallel / serial conversion of the count value of the counter, and the serial data output circuit for sequentially outputting the serial outputs of the first and second P / S converters, A first gate circuit provided between the differentiating circuit and the first counter for permitting / inhibiting the input of the quadruple multiplied signal to the first counter by a first mode signal; the differentiating circuit and the second gate circuit. A second gate circuit provided between the counters for permitting / inhibiting the input of the 4 × signal to the second counter by the second mode signal, and the first and second mode signals by the origin signal. A data output type incremental encoder having a mode signal generation circuit for generating the generated mode signal.
【請求項2】 第1および第2のモード信号は、カウン
ト動作中の一方のカウンタの動作を継続させ、カウント
動作を停止している他方のカウンタを起動させるもので
ある請求項1記載のインクリメンタルエンコーダ。
2. The incremental according to claim 1, wherein the first and second mode signals continue the operation of one counter during the counting operation and activate the other counter which is stopping the counting operation. Encoder.
【請求項3】 第1および第2のモード信号は、カウン
ト動作中の一方のカウンタの動作を停止させ、カウント
動作を停止している他方のカウンタを起動させるもので
ある請求項1記載のインクリメンタルエンコーダ。
3. The incremental according to claim 1, wherein the first and second mode signals stop the operation of one counter during the counting operation and activate the other counter during which the counting operation is stopped. Encoder.
【請求項4】 第1および第2のモード信号は、共にカ
ウント動作中の両カウンタのうち一方のカウンタの動作
を継続させ、他方のカウンタの動作を停止させるもので
ある請求項1記載のインクリメンタルエンコーダ。
4. The incremental according to claim 1, wherein the first and second mode signals both continue the operation of one of the two counters during the counting operation and stop the operation of the other counter. Encoder.
JP40620590A 1990-12-07 1990-12-07 Data output type incremental encoder Expired - Fee Related JPH081679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40620590A JPH081679B2 (en) 1990-12-07 1990-12-07 Data output type incremental encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40620590A JPH081679B2 (en) 1990-12-07 1990-12-07 Data output type incremental encoder

Publications (2)

Publication Number Publication Date
JPH04213197A JPH04213197A (en) 1992-08-04
JPH081679B2 true JPH081679B2 (en) 1996-01-10

Family

ID=18515818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40620590A Expired - Fee Related JPH081679B2 (en) 1990-12-07 1990-12-07 Data output type incremental encoder

Country Status (1)

Country Link
JP (1) JPH081679B2 (en)

Also Published As

Publication number Publication date
JPH04213197A (en) 1992-08-04

Similar Documents

Publication Publication Date Title
JPS63198585A (en) Speed control servo motor
US4282468A (en) High speed position feedback and comparator system
JPH081679B2 (en) Data output type incremental encoder
US4599600A (en) Conversion of quadrature signals into counter control pulses
US5175482A (en) Stepping motor control circuit
EP0769851B1 (en) Digital locked loop
JP3070928B2 (en) Excitation controller for variable reluctance motor
JPH0442602B2 (en)
JPS61157282A (en) Motor controller
JPS59204769A (en) Movement direction detection circuit
JPS6158484A (en) Controller for motor
JPH0214617A (en) Counter device
JP2001095276A (en) Rotational position deviation detector
RU2010293C1 (en) Linear-circular interpolator
SU1307340A1 (en) Instrument transducer of angular velocity
EP0258641A2 (en) Velocity servo with position error correction
JPS63142499A (en) Digital/synchronous converter
JPH11248488A (en) Method and device for processing signal of encoder
JPS6242413B2 (en)
JPS59153480A (en) Detection circuit
JPH0254884B2 (en)
JPH01231674A (en) Drive preventing circuit at motor reverse rotation time
JPH06351279A (en) Synchronous operation system for pulse train input motor
JPS6347370B2 (en)
JPS60143025A (en) Follow-up comparison type a-d converter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees