JP3865439B2 - Encoder signal output method - Google Patents
Encoder signal output method Download PDFInfo
- Publication number
- JP3865439B2 JP3865439B2 JP26472796A JP26472796A JP3865439B2 JP 3865439 B2 JP3865439 B2 JP 3865439B2 JP 26472796 A JP26472796 A JP 26472796A JP 26472796 A JP26472796 A JP 26472796A JP 3865439 B2 JP3865439 B2 JP 3865439B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- absolute
- incremental
- encoder signal
- value
- 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
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
- Analogue/Digital Conversion (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、エンコーダ信号出力方法に関し、特に、インクリメンタル積算値とアブソリュートコードの絶対値とを比較し、インクリメンタルコード積算値の良否を判別し、検出精度を向上させるための新規な改良に関する。
【0002】
【従来の技術】
従来、用いられていたこの種のエンコーダ信号出力方法としては、インクリメンタルコード積算値の良否を判別していなかった。
【0003】
【発明が解決しようとする課題】
従来のエンコーダ信号出力方法においては、インクリメンタルコード積算値の良否を判別していなかったため、例えば、外乱等によりインクリメンタルコード積算値に誤差が生じている場合には、エンコーダ信号自体の精度が低下し、エンコーダの信頼性を向上させることが困難であった。
【0004】
本発明は、以上のような課題を解決するためになされたもので、特に、インクリメンタル積算値とアブソリュートコードの絶対値とを比較し、インクリメンタルコード積算値の良否を判別し、信頼性を向上させるようにしたエンコーダ信号出力方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明によるエンコーダ信号出力方法は、インクリメンタルコードとアブソリュートコードを持つエンコーダにおいて、前記インクリメンタルコードで積算したインクリメンタルコード積算値と前記アブソリュートコードの絶対値とを常時比較して差を出力し、前記差が設定値以上又は以下の時にフラグを出力するエンコーダ信号出力方法において、前記アブソリュートコードとして、応答周波数が高い低分解能アブソリュートコードと応答周波数が低い高分解能アブソリュートコードを有し、設定回転速度以上では前記低分解能アブソリュートコードと前記インクリメンタルコード積算値とを比較し、設定回転速度以下では前記高分解能アブソリュートコードと前記インクリメンタルコード積算値とを比較し、比較結果の比較値の存在を示すフラグを出力する方法である。
【0006】
さらに詳細には、設定回転速度以下又は以上の時、前記差 (D) を示すフラグを出力する方法である。
【0007】
さらに詳細には、前記低分解能アブソリュートコード及び高分解能アブソリュートコードを、前記インクリメンタルコード積算値と同時に比較し、その比較結果を論理和もしくは個々に出力する方法である。
【0008】
【発明の実施の形態】
以下、図面と共に本発明によるエンコーダ信号出力方法の好適な実施の形態について説明する。
図1において符号1で示されるものは周知の光学式のアブソリュートエンコーダと同等の構造で、このエンコーダ1の回転符号板2には周知のインクリメンタル形及びアブソリュート形のパターン2aが形成されており、光源3からの光3aが回転符号板2を通過して受光体4に入力されることによって、周知のインクリメンタル信号であるインクリメンタルコードI及び周知のアブソリュート信号であるアブソリュートコードAが生成される。
【0009】
前記インクリメンタルコードIは、CPU等からなる演算部5に入力されていると共に、アブソリュートコードAの絶対値はこの演算部5及びコンパレータ6に入力されている。前記演算部5からなる出力されるインクリメンタルコード積算値Iaは、前記コンパレータ6に入力されており、このコンパレータ6において比較された前記インクリメンタルコード積算値IaとアブソリュートコードAとの差Dは、前記演算部5に戻されて入力されている。なお、この差Dを演算部5に入力することなく、後述のフラグFとすることもできる。
【0010】
次に、動作について述べる。まず、アブソリュートエンコーダ1から得られたインクリメンタルコードIは演算部5に入力され、この演算部5で前記インクリメンタルコードIを積算して得たインクリメンタルコード積算値Iaはコンパレータ6に入力されている。また、前記アブソリュートコードAの絶対値は前記コンパレータ6に直接入力され、前記インクリメンタルコード積算値Ia及び前記絶対値は、コンパレータ6内にて比較され、得られた差Dは前記演算部5に戻され、この差Dが存在した場合に演算部5からはこの差Dの存在を示すための周知のフラグFが出力される。従って、前記アブソリュートエンコーダ1は前述の演算部5及びコンパレータ6を含んでいるため、このフラグFをユーザー側で検出することにより、演算部5から出力されるエンコーダ信号10の良否を判別することができる。
【0011】
なお、前述の比較判別動作において、アブソリュートエンコーダ1の回転符号板2の回転が予め設定した設定回転速度以下の又は以上の時に前記差Dを出力することができる。また、前記アブソリュートコードAとして、応答周波数が高い低分解能アブソリュートコードと応答周波数が低い高分解能アブソリュートコードを用い、設定回転速度以上では前記低分解能アブソリュートコードと前記インクリメンタルコード積算値Iaとを比較し、設定回転速度以下では前記高分解能アブソリュートコードと前記インクリメンタルコード積算値Iaとを比較し、比較結果の比較値を示すフラグを出力することができる。
【0012】
また、この比較動作は、前記回転符号板2の一定回転角度毎に行い、この一定回転角度毎に前記フラグFを更新するようにすることもできる。
また、前記アブソリュートエンコーダ1の図示しない電源を投入した直後は、出力であるエンコーダ信号10が安定していないので前記フラグFを出力しないようにしている。
また、前記アブソリュートコードAとしては、周知のグレイバイナリー又はピュアバイナリーを用いている。
また、前記アブソリュートコードAとして周知の循環乱数コードを用いることもできる。
【0013】
また、前記低分解能アブソリュートコード及び高分解能アブソリュートコードを、前記インクリメンタルコード積算値Iaと同時に比較し、その比較結果を周知の論理和もしくは個々に出力することもできる。
また、前述のフラグFの出力の仕方として、前述の比較動作によって得られた比較値すなわち前記差Dが、連続して設定値以上又は以下の時に前記フラグFを出力するようにすることもできる。また、前記回転符号板2の回転速度に応じてプリセット値である設定値を変えることもできる。また、前記回転符号板2の回転速度に応じて前記アブソリュートコードのビット数を変えることができる。
【0014】
また、前記フラグFは、前記エンコーダ信号10とは別にパラレル信号として出力させているが、両者をシリアル信号として演算部5から出力することもできる。
【0015】
【発明の効果】
本発明によるエンコーダ信号出力方法は、以上のように構成されているため、次のような効果を得ることができる。すなわち、インクリメンタルコード積算値とアブソリュートコードの絶対値とをコンパレータで比較し、差が存在した時にフラグを出力してインクリメンタルコード積算値の良否の判定をエンコーダ内部で行っているため、エンコーダ外部に対する負担を軽減化でき、ユーザー側における信頼性を向上できる。
【図面の簡単な説明】
【図1】 本発明によるエンコーダ信号出力方法を示すブロック図である。
【符号の説明】
A アブソリュートコード
I インクリメンタルコード
1 エンコーダ信号生成部
5 演算部
6 コンパレータ
D 差
Ia インクリメンタルコード積算値
10 エンコーダ信号[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an encoder signal output method, and more particularly, to a novel improvement for comparing an incremental integrated value and an absolute value of an absolute code, determining whether the incremental code integrated value is good or not, and improving detection accuracy.
[0002]
[Prior art]
Conventionally, this type of encoder signal output method used does not determine whether the incremental code integrated value is good or bad.
[0003]
[Problems to be solved by the invention]
In the conventional encoder signal output method, since the quality of the incremental code integrated value was not determined, for example, when an error occurs in the incremental code integrated value due to disturbance or the like, the accuracy of the encoder signal itself decreases, It has been difficult to improve the reliability of the encoder.
[0004]
The present invention has been made to solve the above-described problems, and in particular, compares the incremental integrated value with the absolute value of the absolute code, determines the quality of the incremental code integrated value, and improves the reliability. An object of the present invention is to provide an encoder signal output method.
[0005]
[Means for Solving the Problems]
In the encoder signal output method according to the present invention, in an encoder having an incremental code and an absolute code, the incremental code integrated value integrated by the incremental code and the absolute value of the absolute code are always compared and the difference is output. in encoder signal output method of outputting a flag set value or more or when the following as pre-Symbol absolute code, has a high-resolution absolute code is low response frequency and high response frequency low-resolution absolute code, said at preset rotational speed or higher Compares the low resolution absolute code and the incremental code integrated value, compares the high resolution absolute code and the incremental code integrated value below the set rotational speed, and indicates the presence of the comparison value of the comparison result. It is a method of outputting a flag.
[0006]
More specifically, it is a method of outputting a flag indicating the difference (D) when the rotational speed is equal to or lower than the set rotational speed .
[0007]
More specifically, the low-resolution absolute code and the high-resolution absolute code are compared simultaneously with the incremental code integrated value, and the comparison result is logically summed or individually output.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
A preferred embodiment of an encoder signal output method according to the present invention will be described below with reference to the drawings.
1 has a structure equivalent to that of a known optical absolute encoder, and a
[0009]
The incremental code I is input to the
[0010]
Next, the operation will be described. First, the incremental code I obtained from the
[0011]
In the above-described comparison / determination operation, the difference D can be output when the rotation of the
[0012]
Further, this comparison operation can be performed at every fixed rotation angle of the
Immediately after turning on the power (not shown) of the
As the absolute code A, a well-known gray binary or pure binary is used.
A known cyclic random number code may be used as the absolute code A.
[0013]
The low-resolution absolute code and the high-resolution absolute code can be compared simultaneously with the incremental code integrated value Ia, and the comparison result can be output as a known logical sum or individually.
In addition, as a method of outputting the flag F, the flag F may be output when the comparison value obtained by the comparison operation, that is, the difference D is continuously greater than or less than a set value. . In addition, a preset value that is a preset value can be changed according to the rotational speed of the
[0014]
The flag F is output as a parallel signal separately from the
[0015]
【The invention's effect】
Since the encoder signal output method according to the present invention is configured as described above, the following effects can be obtained. In other words, the incremental code integrated value and the absolute code absolute value are compared by a comparator, and if there is a difference, a flag is output to determine whether the incremental code integrated value is good or not inside the encoder. The reliability on the user side can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an encoder signal output method according to the present invention.
[Explanation of symbols]
A Absolute code I
Claims (3)
前記アブソリュートコード(A)として、応答周波数が高い低分解能アブソリュートコードと応答周波数が低い高分解能アブソリュートコードを有し、設定回転速度以上では前記低分解能アブソリュートコードと前記インクリメンタルコード積算値(Ia)とを比較し、設定回転速度以下では前記高分解能アブソリュートコードと前記インクリメンタルコード積算値(Ia)とを比較し、比較結果の比較値の存在を示すフラグ(F)を出力することを特徴とするエンコーダ信号出力方法。In an encoder having an incremental code (I) and an absolute code (A), the incremental code integrated value (Ia) integrated with the incremental code (I) and the absolute value of the absolute code (A) are always compared and the difference ( In the encoder signal output method that outputs a flag (F) when the difference (D) is greater than or less than a set value ,
The absolute code (A) has a low resolution absolute code with a high response frequency and a high resolution absolute code with a low response frequency, and the low resolution absolute code and the incremental code integrated value (Ia) above the set rotational speed. An encoder signal characterized by comparing the high-resolution absolute code and the incremental code integrated value (Ia) below a set rotational speed and outputting a flag (F) indicating the presence of a comparison value as a comparison result output method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26472796A JP3865439B2 (en) | 1996-10-04 | 1996-10-04 | Encoder signal output method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26472796A JP3865439B2 (en) | 1996-10-04 | 1996-10-04 | Encoder signal output method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10111146A JPH10111146A (en) | 1998-04-28 |
JP3865439B2 true JP3865439B2 (en) | 2007-01-10 |
Family
ID=17407345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26472796A Expired - Lifetime JP3865439B2 (en) | 1996-10-04 | 1996-10-04 | Encoder signal output method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3865439B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB9926571D0 (en) * | 1999-11-11 | 2000-01-12 | Renishaw Plc | Absolute position measurement |
JP5343680B2 (en) * | 2009-04-17 | 2013-11-13 | 株式会社ニコン | Encoder |
-
1996
- 1996-10-04 JP JP26472796A patent/JP3865439B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH10111146A (en) | 1998-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6745116B2 (en) | Steering angle sensor for vehicle | |
JP2720642B2 (en) | Multi-turn absolute value encoder | |
US7015832B2 (en) | Pulse width modulation based digital incremental encoder | |
US5920494A (en) | Method and device for varying interpolation factors | |
JP3865439B2 (en) | Encoder signal output method | |
KR920010015B1 (en) | Displacement detector for an encoder | |
US4714913A (en) | Quadrature phase signal processor | |
JPH0618547A (en) | Moving direction detecting method | |
JPH06147922A (en) | Displacement measuring device | |
US20040257070A1 (en) | Rotation angle detection device | |
JP3103266B2 (en) | Absolute position detector | |
JPH06160113A (en) | Generation of high-resolution absolute signal | |
JP2000101924A5 (en) | ||
JP3241138B2 (en) | Absolute encoder output signal abnormality detection method | |
JPH07270179A (en) | Method for detecting absolute signal and absolute encoder | |
JP2582786Y2 (en) | Encoder counter | |
EP4181386A1 (en) | Method for implementing brushless direct current motor hall position sensor fault processing | |
JP3200847B2 (en) | Hybrid encoder | |
JP2580714B2 (en) | Composite rotary encoder | |
JP2002245963A (en) | Data collection method and time-of-flight mass spectrometer | |
JPH05209710A (en) | Rotation angle detector | |
JPS59109867A (en) | Speed detection system | |
JPH1019599A (en) | Absolute value type multi rotational encoder | |
JP4138118B2 (en) | Encoder and rotational position detection device | |
JP2001330476A (en) | Position detecting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060718 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060901 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060926 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061003 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091013 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101013 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111013 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111013 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121013 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121013 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121013 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131013 Year of fee payment: 7 |
|
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 |
|
EXPY | Cancellation because of completion of term |