JPH01239417A - Pulse reading-in circuit for pulse encoder - Google Patents

Pulse reading-in circuit for pulse encoder

Info

Publication number
JPH01239417A
JPH01239417A JP6543288A JP6543288A JPH01239417A JP H01239417 A JPH01239417 A JP H01239417A JP 6543288 A JP6543288 A JP 6543288A JP 6543288 A JP6543288 A JP 6543288A JP H01239417 A JPH01239417 A JP H01239417A
Authority
JP
Japan
Prior art keywords
signal
pulse
edge
detection means
reset
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.)
Granted
Application number
JP6543288A
Other languages
Japanese (ja)
Other versions
JPH0612267B2 (en
Inventor
Yasuaki Yatsusu
康明 八須
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP6543288A priority Critical patent/JPH0612267B2/en
Publication of JPH01239417A publication Critical patent/JPH01239417A/en
Publication of JPH0612267B2 publication Critical patent/JPH0612267B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To securely prevent the wrong output of an origin reset signal by confirming a rotation direction when there is a C pulse invalidation signal and resetting a reset inhibition signal, and using a next 1st C-pulse effective edge signal as a reset signal. CONSTITUTION:An ineffective edge detecting means 11 for a C pulse and an effective edge inhibition detecting means 12 are provided newly and when there is an ineffective edge signal for the C pulse in the OR signal of output signals, an inhibition signal memory 16 outputs the reset signal output inhibition signal 15 for inhibiting the reset signal 10 from being outputted. Then it is confirmed that a rotation direction signal 6 coincides with an actual direction, the inhibition signal 15 is reset, and the effective edge signal 17 for the C pulse is outputted in this state as the origin reset signal 10 through a reset means 18. Consequently, even if inversion is caused almost at the ineffective edge of the C pulse, the wrong output of the reset signal is securely prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は工作機械の主軸の定位置停止制御装置等で位
置検出に使用するパルスエンコーダにおいて、原点リセ
ット信号の誤出力を確実に防止することができるように
したパルス読み込み回路に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention is to reliably prevent erroneous output of a home reset signal in a pulse encoder used for position detection in a fixed position stop control device for a main axis of a machine tool, etc. This invention relates to a pulse reading circuit that enables the following.

〔従来の技術〕[Conventional technology]

パルスエンコーダのパルス読み込み回路の従来例を第4
図にもとづいて説明する。この図において、パルスエツ
ジ検出手段1.2で第5図に示すA相パルスとB相パル
スのそれぞれ立ち上がりエツジと立ち下がりエツジを検
出してエツジ信号3゜4を出力するとともに、回転方向
判別手段5でA相とB相の位相関係から回転方向を判別
して回転方向信号6を出力するようになっている。一方
前記エンコーダの1回転に1回出力するC/々ルスは立
ち上がり検出手段7と立ち下がり検出手段8でそれぞれ
立ち上がりエツジと立ち下がりエツジを検出してその出
力信号と前記回転方向信号6により正転時は立ち上がり
エツジをまた逆転時は立ち下がりエツジを有効エツジと
判断する有効エツジ検出手段9でリセット信号10を出
力し、このリセット信号10をカウンタのリセ・ノド等
の原点信号として使用するようにしていた。
A conventional example of a pulse reading circuit for a pulse encoder is shown in the fourth example.
This will be explained based on the diagram. In this figure, the pulse edge detection means 1.2 detects the rising edge and the falling edge of the A-phase pulse and the B-phase pulse shown in FIG. The rotation direction is determined from the phase relationship between the A phase and the B phase, and a rotation direction signal 6 is output. On the other hand, the C/0 pulse, which is output once per revolution of the encoder, is rotated in the normal direction by detecting the rising edge and falling edge by the rising edge detecting means 7 and falling edge detecting means 8, respectively, and the output signal and the rotating direction signal 6. A reset signal 10 is outputted by a valid edge detection means 9 which determines a rising edge as a valid edge when the time is reversed and a falling edge when the reverse occurs, and this reset signal 10 is used as an origin signal for a counter reset/node, etc. was.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前記Cパルスには第6図に示すように幅があるので原点
位置を正確にするために正転時は第6図(a)に有効エ
ツジと図示した立ち上がりエツジでまた逆転時は第6図
(b)C示すように立ち下がりエツジでリセット信号1
0を出力する必要があり、この動作は一般に回転方向信
号6がHレベルの場合は立ち上がりエツジでまたLレベ
ルの場合は立ち下がりエツジで行うようになっている。
The C pulse has a width as shown in Fig. 6, so in order to make the origin position accurate, it is set at the rising edge shown as the effective edge in Fig. 6(a) during forward rotation, and at the rising edge shown in Fig. 6 during reverse rotation. (b) Reset signal 1 at falling edge as shown in C
It is necessary to output 0, and this operation is generally performed at a rising edge when the rotation direction signal 6 is at H level, and at a falling edge when it is at L level.

ところが前記回路では第7図のタイムチャートに示すよ
うに正転でX位置まで移動させた後逆転させると回転方
向判別手段5にA相パルスまたはB相パルスのいずれか
が入力されるまで回転方向の判別ができず回転方向信号
6が実際の回転方向より遅れて出力されるので、リセッ
ト信号10を本来出力すべきでないCパルスの立ち上が
りエツジ(無効エツジ)のy位置で出力してしまうこと
があるという欠点があった。
However, in the above circuit, as shown in the time chart of FIG. 7, when the circuit is rotated forward to the X position and then reversed, the rotation direction remains unchanged until either the A-phase pulse or the B-phase pulse is input to the rotation direction determining means 5. cannot be determined, and the rotation direction signal 6 is output with a delay from the actual rotation direction, so the reset signal 10 may be output at the y position of the rising edge (invalid edge) of the C pulse, which should not be output. There was a drawback.

この発明は前記の欠点を除去するために、Cパルスの無
効エツジ付近で正逆反転してもリセット信号の誤出力を
確実に防止することができるようにしたパルスエンコー
ダのパルス読み込み回路を提供することを目的とする。
In order to eliminate the above-mentioned drawbacks, the present invention provides a pulse reading circuit for a pulse encoder that can reliably prevent erroneous output of a reset signal even if the C pulse is reversed in the vicinity of an invalid edge. The purpose is to

〔課題を解決するための手段〕[Means to solve the problem]

この発明は前記の目的を達成するために、Cパルスの有
効エツジ検出手段9と並列に無効エツジ検出手段11を
設けるとともに有効エツジ検出手段9の次段に有効エツ
ジ禁止検出手段12を設け、これらの出力信号の論理和
のうちにCパルスの無効エツジ信号13があると前記有
効エツジ禁止検出手段12および論理積素子14にリセ
7)信号出力禁止信号15を出力する禁止信号メモリ1
6と、前記リセット信号出力禁止信号15をその出力後
A 相パルスまたはB相パルスの少な(ともいずれかの
新しいエツジ信号3.4の入力を待って解除しこの状態
でCパルスの有効エツジ信号17を前記論理積素子14
を介しリセ・7)信号10として出力するリセット手段
18とを備えるようにしたものである。
In order to achieve the above object, the present invention provides an invalid edge detection means 11 in parallel with the effective edge detection means 9 of the C pulse, and also provides a valid edge inhibition detection means 12 at the next stage of the effective edge detection means 9. When an invalid edge signal 13 of the C pulse is present in the logical sum of the output signals, the valid edge inhibition detection means 12 and the AND element 14 are reset.
6, after outputting the reset signal output prohibition signal 15, wait for the input of a new edge signal 3.4 of either the A phase pulse or the B phase pulse, and release it. In this state, the valid edge signal of the C pulse is output. 17 as the AND element 14
7) Resetting means 18 for outputting the reset signal 10 via the reset signal 10.

〔作用〕[Effect]

前記リセット信号出力禁止信号15を回転方向信号6が
実際の回転方向と一致したこと確認して解除し、その後
の最初のCパルスの有効エツジ信号17をリセット信号
10として出力するようにしたので、無効エツジ信号1
,3の誤判断によるリセット信号10の誤出力を確実に
防止することができる。
The reset signal output prohibition signal 15 is canceled after confirming that the rotation direction signal 6 matches the actual rotation direction, and the valid edge signal 17 of the first C pulse thereafter is output as the reset signal 10. Invalid edge signal 1
, 3 can reliably prevent erroneous output of the reset signal 10 due to erroneous determination.

〔実施例〕〔Example〕

第1図お°よび第2図はこの発明の実施例を示すもので
、第4図ないし第7図と同一符号で示すものは同一部品
である。これらの図において、立ち上がり検出手段7と
立ち下がり検出手段8の次段にこれらの出力信号と回転
方向信号6によりCパルスのエツジが有効かまたは無効
かを判断する有効エツジ検出手段9と無効エツジ検出手
段11が並列に設けられ、有効エツジ検出手段9の次段
にはその出力である有効エツジ信号17と禁止信号メモ
リ16から出力するリセット信号出力禁止信号15とを
入力することにより有効エツジ信号17をリセット信号
10として出力しなかったことを検出する有効エツジ禁
止検出手段12が設けられている。前記禁止信号メモリ
16は有効エツジ禁止検出手段12と無効エツジ検出手
段11の出力信号の論理和素子19による論理和のうち
にCパルスの無効エツジ信号13があると有効エツジ禁
止検出手段12と論理積素子14に前記リセット信号出
力禁止信号15を出力するもので、この禁止信号メモリ
16のリセット手段18には前記論理和とA相パルスお
よびB相パルスのエツジ信号3.4が入力される。
FIGS. 1 and 2 show an embodiment of the present invention, and the same parts are denoted by the same reference numerals as in FIGS. 4 to 7. In these figures, the rising edge detecting means 7 and the falling edge detecting means 8 are followed by a valid edge detecting means 9 and an invalid edge detecting means 9, which determine whether the edge of the C pulse is valid or invalid based on these output signals and the rotation direction signal 6. A detection means 11 is provided in parallel, and the effective edge signal 17 which is the output thereof and the reset signal output prohibition signal 15 output from the prohibition signal memory 16 are inputted to the next stage of the valid edge detection means 9 to detect the valid edge signal. Valid edge inhibition detection means 12 is provided for detecting that 17 is not outputted as the reset signal 10. The prohibition signal memory 16 stores a logic signal between the valid edge prohibition detecting means 12 and the valid edge prohibiting detecting means 12 when there is an invalid edge signal 13 of the C pulse in the OR element 19 of the output signals of the valid edge prohibition detecting means 12 and the invalid edge detecting means 11. The reset signal output prohibition signal 15 is outputted to the product element 14, and the logical sum and edge signals 3.4 of the A-phase pulse and the B-phase pulse are input to the reset means 18 of the prohibition signal memory 16.

前記リセット信号出力禁止信号15はこれを出力した後
リセット手段18にA相パルスかまたはB相パルスの少
なくともいずれかの新しいエツジ信号3,4が入力する
かまたはその途中で論理和が更新したらそれまでのエツ
ジ信号3,4を無効とし新しいエツジ信号3,4の入力
を待ってすなわち回転方向信号6が実際の回転方向と一
致したことを確認して禁止信号メモリ16をリセ・ノド
することにより解除され、この状態でその後の最初のC
パルスの有効エツジ信号17を前記論理積素子14を介
して第3図に示すようにリセ7)信号10として出力す
れば無効エツジ信号13の誤判断によるリセット信号1
0の誤出力を防止することができる。
The reset signal output prohibition signal 15 is output when a new edge signal 3, 4 of at least one of the A-phase pulse and the B-phase pulse is input to the reset means 18 after outputting it, or when the logical sum is updated in the middle thereof. By invalidating the previous edge signals 3 and 4, waiting for the input of new edge signals 3 and 4, and confirming that the rotation direction signal 6 matches the actual rotation direction, the prohibition signal memory 16 is reset. is released, and in this state the first C
If the valid edge signal 17 of the pulse is output as the reset signal 10 through the AND element 14 as shown in FIG.
Erroneous output of 0 can be prevented.

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

この発明によればパルスエンコーダのパルス読み込み回
路において、Cパルスの無効エツジ信号があるとリセッ
ト信号の出力を禁止するリセット信号出力禁止信号を回
転方向信号が実際の回転方向と一致したことを確認して
解除し、その後の最初の有効エツジ信号を原点リセット
信号として出力するようにしたので、Cパルスの無効エ
ツジ付近で正逆反転してもリセット信号の誤出力を確実
に防止してカウンタ等の原点を正常に保つことができる
という効果が得られる。
According to the present invention, in the pulse reading circuit of a pulse encoder, a reset signal output prohibition signal that prohibits the output of a reset signal when there is an invalid edge signal of a C pulse is sent to confirm that the rotation direction signal matches the actual rotation direction. Since the first valid edge signal after that is output as the origin reset signal, erroneous output of the reset signal is reliably prevented even if the C pulse is reversed near the invalid edge, and the counter etc. The effect is that the origin can be maintained normally.

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

第1図はこの発明の実施例のブロック図、第2図は第1
図の要部ブロック図、第3図は第1図および第2図の動
作を示すタイムチャート、第4図は従来例のブロック図
、第5図は第4図のパルス波形を示すタイムチャート、
第6図は第4図のリセット信号の動作説明図、第7図は
第4図の動作を示すタイムチャートである。 3.4・・・エツジ信号、6・・・回転方向信号、7・
・・立ち上がり検出手段、8・・・立ち下がり検出手段
、9・・・有効エツジ検出手段、10・・・リセット信
号、11・・・無効エツジ検出手段、12・・・有効エ
ツジ禁止検出手段、13・・・無効エツジ信号、14・
・・論理積素子、15・・・リセット信号出力禁止信号
、16・・・禁止信号メモリ、17・・・有効エツジ信
号、100μm 口C・4.。 第3図 第4図 →正車云 第6図
FIG. 1 is a block diagram of an embodiment of the invention, and FIG. 2 is a block diagram of an embodiment of the invention.
3 is a time chart showing the operation of FIGS. 1 and 2, FIG. 4 is a block diagram of the conventional example, and FIG. 5 is a time chart showing the pulse waveform of FIG. 4.
6 is an explanatory diagram of the operation of the reset signal of FIG. 4, and FIG. 7 is a time chart showing the operation of FIG. 4. 3.4... Edge signal, 6... Rotation direction signal, 7.
... Rise detection means, 8. Fall detection means, 9. Valid edge detection means, 10. Reset signal, 11. Invalid edge detection means, 12. Valid edge inhibition detection means. 13... Invalid edge signal, 14...
...Logic product element, 15...Reset signal output prohibition signal, 16...Prohibition signal memory, 17...Valid edge signal, 100 μm Port C・4. . Figure 3 Figure 4 → Seisha Yun Figure 6

Claims (1)

【特許請求の範囲】[Claims] 1)パルスエンコーダのA相パルスとB相パルスの位相
関係から求めた回転方向信号と前記エンコーダの1回転
に1回出力するCパルスの立ち上がり検出手段および立
ち下がり検出手段の出力信号とによりCパルスの有効エ
ッジ検出手段で原点リセット信号を出力するパルス読み
込み回路において、前記有効エッジ検出手段と並列にC
パルスの無効エッジ検出手段を設けるとともに有効エッ
ジ検出手段の次段に有効エッジ禁止検出手段を設け、こ
れらの出力信号の論理和のうちにCパルスの無効エッジ
信号があると前記有効エッジ禁止検出手段および論理積
素子にリセット信号出力禁止信号を出力する禁止信号メ
モリと、前記リセット信号出力禁止信号をその出力後A
相パルスまたはB相パルスの少なくともいずれかの新し
いエッジ信号の入力を待って解除しこの状態でCパルス
の有効エッジ信号を前記論理積素子を介しリセット信号
として出力するリセット手段とを備えてなることを特徴
とするパルスエンコーダのパルス読み込み回路。
1) The C pulse is generated by the rotation direction signal obtained from the phase relationship between the A-phase pulse and the B-phase pulse of the pulse encoder and the output signals of the C pulse rise detection means and fall detection means that are output once per revolution of the encoder. In the pulse reading circuit which outputs the origin reset signal using the effective edge detection means, a C circuit is connected in parallel with the effective edge detection means.
A pulse invalid edge detection means is provided, and a valid edge prohibition detection means is provided at the next stage of the valid edge detection means, and when there is an invalid edge signal of the C pulse in the logical sum of these output signals, the valid edge prohibition detection means is provided. and a prohibition signal memory that outputs a reset signal output prohibition signal to the AND element, and an A after outputting the reset signal output prohibition signal.
Resetting means waits for input of a new edge signal of at least one of the phase pulse and the B-phase pulse, releases it, and in this state outputs the valid edge signal of the C pulse as a reset signal via the AND element. A pulse reading circuit for a pulse encoder featuring:
JP6543288A 1988-03-18 1988-03-18 Pulse encoder pulse reading circuit Expired - Lifetime JPH0612267B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6543288A JPH0612267B2 (en) 1988-03-18 1988-03-18 Pulse encoder pulse reading circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6543288A JPH0612267B2 (en) 1988-03-18 1988-03-18 Pulse encoder pulse reading circuit

Publications (2)

Publication Number Publication Date
JPH01239417A true JPH01239417A (en) 1989-09-25
JPH0612267B2 JPH0612267B2 (en) 1994-02-16

Family

ID=13286940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6543288A Expired - Lifetime JPH0612267B2 (en) 1988-03-18 1988-03-18 Pulse encoder pulse reading circuit

Country Status (1)

Country Link
JP (1) JPH0612267B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0471114U (en) * 1990-10-30 1992-06-24
JP2006105143A (en) * 2004-10-02 2006-04-20 Robert Bosch Gmbh Method for identifying reverse rotation at start of internal combustion engine and control device for internal combustion engine
JP2011143291A (en) * 2011-04-26 2011-07-28 Sammy Corp Game device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0471114U (en) * 1990-10-30 1992-06-24
JP2006105143A (en) * 2004-10-02 2006-04-20 Robert Bosch Gmbh Method for identifying reverse rotation at start of internal combustion engine and control device for internal combustion engine
JP2011143291A (en) * 2011-04-26 2011-07-28 Sammy Corp Game device

Also Published As

Publication number Publication date
JPH0612267B2 (en) 1994-02-16

Similar Documents

Publication Publication Date Title
US5001479A (en) Gray code converter with error signal
JPH01239417A (en) Pulse reading-in circuit for pulse encoder
JP2001249154A (en) Disconnection detecting device for encoder and method for disconnection detection
JPS6218939B2 (en)
JP2502366Y2 (en) Forward / reverse rotation discrimination circuit
JPH0442606B2 (en)
JP3049671B2 (en) DC motor speed control device
JPH0413724B2 (en)
JP3491372B2 (en) Failure detection method of input capture circuit
SU1667251A1 (en) Shaft rotation angle-to-digit converter
JP3195801B2 (en) Digital counter device
JPH0415912B2 (en)
JP3387175B2 (en) Time erroneous measurement prevention device
JPH0776934B2 (en) Microcomputer-based abnormality detection device
JPH0336608A (en) Position detecting circuit
JPH076545Y2 (en) Signal discrimination circuit
JPS62172265A (en) System for discriminating direction of rotation
JPS6331143Y2 (en)
JPH0380317A (en) Output circuit for reset pulse signal
JPH0731630Y2 (en) External event count circuit
JPS6379444A (en) Serial data receiver
JPH06331388A (en) One rotation signal detection in encoder
JPH08122098A (en) Position detector for rotor
JPH0660922B2 (en) Encoder disconnection detector
JPH06186055A (en) Method for reading phase difference type rotary encoder

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080216

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090216

Year of fee payment: 15