JPH07229762A - Absolute value encoder - Google Patents

Absolute value encoder

Info

Publication number
JPH07229762A
JPH07229762A JP4337894A JP4337894A JPH07229762A JP H07229762 A JPH07229762 A JP H07229762A JP 4337894 A JP4337894 A JP 4337894A JP 4337894 A JP4337894 A JP 4337894A JP H07229762 A JPH07229762 A JP H07229762A
Authority
JP
Japan
Prior art keywords
code
codes
position data
absolute position
binary
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
JP4337894A
Other languages
Japanese (ja)
Other versions
JP3449775B2 (en
Inventor
Keiji Yamaguchi
恵司 山口
Mamoru Yamashita
守 山下
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.)
Sumtak Corp
Original Assignee
Sumtak 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 Sumtak Corp filed Critical Sumtak Corp
Priority to JP04337894A priority Critical patent/JP3449775B2/en
Publication of JPH07229762A publication Critical patent/JPH07229762A/en
Application granted granted Critical
Publication of JP3449775B2 publication Critical patent/JP3449775B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain N pieces of absolute position data having the same resolution not overlapping perfectly to the N pieces of absolute position data, by obtaining N pieces of absolute position data by reading plural continuous codes from a code plate on which binary series codes are recorded, and inverting them logically. CONSTITUTION:A single track of a circular code plate 2 is divided into 12 equal segments, and five segments are made into shading parts (A), while the other segments are made into shading parts (B), the shading parts (A) is made 0, and the shading parts (B) are made 1, and they are composed to display 12 of binary circular series codes optically. The code plate 2 is rotated, the light is radiated from a light source 3, and five (K+1) detecting elements S1 to S5 are set to read continuous five codes. And the waveforms of corresponding output electric signals E1 to E5 are shaped in a circuit 5, and they are output as an absolute position data P1 of five bits which consists of codes D1 to D5. Furthermore, a logical inversion circuit 6 has inverters 11 to 15, and the logic values of the codes D1 to D5 are inverted respectively, so as to output the codes D6 to D10 of an absolute position data P2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、0、1の2値符号で表
された直列符号(本明細書中においては、2進直列符号
という)を用いた絶対値エンコーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an absolute value encoder using a serial code represented by a binary code of 0 and 1 (herein referred to as a binary serial code).

【0002】[0002]

【従来の技術】従来、絶対値エンコーダは、スリット数
の異なる複数のトラックを半径方向に並べて所望のビッ
ト数のバイナリコードを構成する符号板を用いていた
が、この方式ではビット数に応じてトラック数が増大し
て絶対値エンコーダの小型化が困難であるという問題点
を有していた。
2. Description of the Related Art Conventionally, absolute value encoders have used a code plate for arranging a plurality of tracks having different slit numbers in a radial direction to form a binary code having a desired number of bits. There is a problem in that it is difficult to downsize the absolute value encoder because the number of tracks increases.

【0003】この問題点を解決する方法の一つとして、
例えばM系列乱数符号を用い、単一のトラックに2進循
環直列符号を配置した符号板を設けた絶対値エンコーダ
が提案されている。M系列乱数符号は、連続したある部
分が重複することのない2K−1個(Kは、2、3、
4、・・・)の循環する符号パターンであるので、所要
の符号板を得るための2進循環直列符号としてそのまま
用いることができる。またM系列符号に0を追加したM
L系列符号によることも同様である。
As one of the methods for solving this problem,
For example, there has been proposed an absolute encoder that uses a M-sequence random number code and is provided with a code plate in which a binary cyclic serial code is arranged in a single track. The M-sequence random number code is 2 K -1 (K is 2, 3,
.., which is a cyclic code pattern, it can be used as it is as a binary cyclic serial code for obtaining a required code plate. Also, M with 0 added to the M sequence code
The same applies to the case of using the L-series code.

【0004】[0004]

【発明が解決しようとする課題】ところで、単一のトラ
ックに2進直列符号を付した符号板を設けた上述の如き
絶対値エンコーダでは、その時要求される符号板の分割
数に応じた1組の2進直列符号をその都度作成する必要
が生じる。したがって、通常、所定ビット数の重複する
符号が現れない2進直列符号を試行錯誤の上作成するこ
とが必要とされるので、多大な労力と時間とを必要とす
るという問題点を有していた。
By the way, in the absolute value encoder as described above in which a code plate with a binary serial code is provided on a single track, one set corresponding to the number of divisions of the code plate required at that time is used. It is necessary to create the binary serial code of each time. Therefore, it is usually necessary to create a binary serial code in which a code having a predetermined number of overlapping bits does not appear by trial and error, which requires a great deal of labor and time. It was

【0005】特に、同じ分解能で全て異なる絶対位置デ
ータを出力する2種類のエンコーダが要求される場合に
は、同一分割数の2進直列符号を2種類作成し、且つこ
れらの符号から読み取られるN×2個の絶対位置データ
が全て異なるようにするという要求を満たす必要がある
ので、より一層の手間を必要とし、コストを著しく増加
させることになるという問題点を有している。
Particularly, when two types of encoders that output different absolute position data with the same resolution are required, two types of binary serial codes having the same number of divisions are created and read from these codes. Since it is necessary to satisfy the requirement that all of the two absolute position data be different, there is a problem that further labor is required and the cost is significantly increased.

【0006】本発明の目的は、したがって、2進直列符
号が付された符号板から連続する複数個の符号を読み取
ってその読み取り位置の絶対位置を示す絶対位置データ
を出力する絶対値エンコーダであって、読み出された全
ての絶対位置データが重複することのない2種類の絶対
値エンコーダを提供することにある。
Therefore, an object of the present invention is an absolute value encoder which reads a plurality of continuous codes from a code plate having a binary serial code and outputs absolute position data indicating the absolute position of the read position. Therefore, it is to provide two types of absolute value encoders in which all the read absolute position data do not overlap.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
の本発明の特徴は、N個の2進直列符号が付された符号
板から連続する複数個の符号を読み取って絶対位置を示
す絶対位置データを出力する絶対値エンコーダにおい
て、前記符号板に付された2進直列符号の連続するK+
1個(ここでKは2K-1 <N≦2K を満足する整数値)
を絶対位置データとして読み取る検出器を設けると共
に、前記検出器によって読み取られた絶対位置データが
全て異なる内容となると共に前記絶対位置データと前記
2進直列符号を論理反転することによって得られた論理
反転2進直列符号が前記検出器によって読み取られた絶
対位置データとが全て異なる内容となるように定めた2
進直列符号を前記符号板に設けた点にある。前記2進直
列符号は「前記検出器によって読み取られた絶対位置デ
ータが全て異なる内容となると共に、任意の2つの読み
取り2進値の和が2K+1 −1にならない」という条件の
もとに作成するか、また、分解能がN=2K 個の場合、
K −1個のM系列符号を用意し「1」の符号がK個連
続している部分に「1」の符号を追加してもよい。
A feature of the present invention for solving the above-mentioned problems is that an absolute position indicating an absolute position is obtained by reading a plurality of continuous codes from a code plate provided with N binary serial codes. In the absolute encoder for outputting the position data, K + of consecutive binary serial codes attached to the code plate
1 (where K is an integer that satisfies 2 K-1 <N ≤ 2 K )
Is provided as absolute position data, and the absolute position data read by the detector all have different contents, and the logical inversion obtained by logically inverting the absolute position data and the binary serial code. The binary serial code is defined so that the binary serial code has different contents from the absolute position data read by the detector.
The point is that a binary serial code is provided on the code plate. The binary serial code is under the condition that “the absolute position data read by the detector have different contents and the sum of arbitrary two read binary values does not become 2 K + 1 −1”. Or if the resolution is N = 2 K ,
It is also possible to prepare 2 K -1 M-sequence codes and add the code of "1" to the portion where K codes of "1" are continuous.

【0008】さらに、上記で作成した「前記検出器によ
って読み取られた絶対位置データが全て異なる内容とな
ると共に、任意の2つの読み取り2進値の和が2K+1
1にならない」という条件のもとに作成した2進直列符
号あるいは、2K −1個のM系列符号の「1」の符号が
K個連続している部分に「1」の符号を追加して作成し
た2進直列符号と同じ分割数のインクリメンタル符号と
の排他的論理和を求めることにより作成できる。作成し
た2進直列符号を前記符号板に設け、連続するK+1個
(ここでKは2K-1 <N≦2K を満足する整数値)の検
出器により読み取った絶対位置データを出力する第1の
絶対値エンコーダと前記2進直列符号を論理反転手段に
より論理反転した論理反転2進直列符号を前記検出器に
より読み取った絶対位置データを出力する第2の絶対値
エンコーダとで実現できる。
In addition, the absolute position data read by the above-mentioned detector all have different contents and the sum of two arbitrary read binary values is 2 K + 1 −.
"1" is added to the binary serial code created under the condition that it does not become "1" or to the portion where 2 "1" codes of 2 K -1 M series codes are continuous. It can be created by obtaining the exclusive OR of the binary serial code created as above and the incremental code having the same number of divisions. The prepared binary serial code is provided on the code plate, and absolute position data read by K + 1 continuous (where K is an integer value satisfying 2 K-1 <N ≦ 2 K ) detectors is output. The absolute value encoder 1 and the second absolute value encoder which outputs the absolute position data obtained by reading the logically inverted binary serial code obtained by logically inverting the binary serial code by the logical inversion means by the detector.

【0009】[0009]

【作用】本発明の特徴によれば、符号板に付された2進
直列符号の連続するK+1個が検出器によって絶対位置
データとして読み取られ、N個の絶対位置を示すデータ
が得られる。この検出器によって読み取られた絶対位置
データを適宜の論理反転手段によって反転することによ
り、上記N個の絶対位置データとは全く重複することの
ない別のN個の絶対位置データを得ることができる。
According to the feature of the present invention, K + 1 consecutive binary serial codes attached to the code plate are read by the detector as absolute position data, and N pieces of data indicating absolute positions are obtained. By inverting the absolute position data read by this detector by an appropriate logic inverting means, it is possible to obtain N pieces of absolute position data which are completely different from the N pieces of absolute position data. .

【0010】また、上記2進直列符号を設けた第1の符
号板と、論理反転2進直列符号を設けた第2の符号板の
直列符号を連続するK+1個の検出器によって読み取る
ことにより全く重複することのない絶対位置データが得
られる。
Further, the serial codes of the first code plate provided with the binary serial code and the second code plate provided with the logically inverted binary serial code are read by K + 1 consecutive detectors. Absolute position data that does not overlap can be obtained.

【0011】[0011]

【実施例】以下、図面を参照して本発明の一実施例につ
き詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0012】図1は本発明によるロータリ式の絶対値エ
ンコーダ1の構成を示す概略構成図である。この絶対値
エンコーダ1は、図示しない被検出体の回転軸等に固定
される符号板2と、符号板2の一方の側に配置された光
源3と、符号板2に絶対位置読み取りのため後述の如く
して形成されている2進循環直列符号を表すスリットを
介して光源3からの光を受け取ることにより符号板2の
コードを光学的に読み取るための検出素子S1乃至S5
を有する読取装置4とを備えている。
FIG. 1 is a schematic configuration diagram showing the configuration of a rotary type absolute value encoder 1 according to the present invention. The absolute value encoder 1 includes a code plate 2 fixed to a rotating shaft of an object to be detected (not shown), a light source 3 arranged on one side of the code plate 2, and an absolute position read by the code plate 2 to be described later. The detection elements S1 to S5 for optically reading the code of the code plate 2 by receiving light from the light source 3 through the slit representing the binary cyclic serial code formed as described above.
And a reading device 4 having.

【0013】図2に示されているように、本実施例で
は、符号板2の単一トラックTが12等分割されてお
り、分割された各セグメントは白い部分(透光部)が
「1」黒い部分(遮光部)が「0」として光学的に12
個の2進循環直列符号を表示するように構成されてい
る。また本実施例は、ロータリ式の絶対値エンコーダの
ため2進直列符号は循環する必要がある。
As shown in FIG. 2, in this embodiment, the single track T of the code plate 2 is divided into 12 equal parts, and each divided segment has a white portion (light transmitting portion) of "1". The black part (light-shielding part) is optically set as “0” and is 12
Configured to display a number of binary cyclic serial codes. Further, since the present embodiment is a rotary type absolute value encoder, it is necessary to circulate the binary serial code.

【0014】符号板2に上述の如くして光学的に付され
た12個の2進循環直列符号のうちの連続する5個の符
号を読み取るため、フォトダイオードから成る検出素子
S1乃至S5がトラックTに沿って30度間隔で配置さ
れている。
In order to read 5 consecutive codes of the 12 binary cyclic serial codes optically applied to the code plate 2 as described above, the detecting elements S1 to S5, which are photodiodes, are tracked. They are arranged at intervals of 30 degrees along T.

【0015】図1に戻ると、検出素子S1乃至S5は、
その時対向する符号板2のスリットの状態、すなわち透
光部か遮光部かに応じて、対応する出力電気信号E1乃
至E5を出力し、これらの出力電気信号E1乃至E5は
波形整形回路5において夫々波形整形され、符号D1乃
至D5から成る5ビットの第1の絶対位置データP1と
して出力される。
Returning to FIG. 1, the detection elements S1 to S5 are
At that time, corresponding output electric signals E1 to E5 are output according to the state of the slits of the code plate 2 facing each other, that is, the light transmitting portion or the light shielding portion. The waveform is shaped and output as 5-bit first absolute position data P1 including codes D1 to D5.

【0016】本発明による絶対値エンコーダ1は、更
に、第1の絶対位置データP1の各符号の論理値を論理
反転することにより第2の絶対位置データP2を得るた
め、論理反転回路6を備えている。論理反転回路6は、
第1の絶対位置データP1の各符号D1乃至D5の論理
値を夫々反転させるためのインバータI1乃至I5を有
しており、符号D1乃至D5の論理反転データである符
号D6乃至D10が論理反転回路6から出力される。
The absolute value encoder 1 according to the present invention further comprises a logic inverting circuit 6 in order to obtain the second absolute position data P2 by logically inverting the logical value of each sign of the first absolute position data P1. ing. The logic inversion circuit 6 is
The first absolute position data P1 has inverters I1 to I5 for respectively inverting the logic values of the codes D1 to D5, and the codes D6 to D10, which are the logic inversion data of the codes D1 to D5, are logic inversion circuits. It is output from 6.

【0017】次に、符号板2の分割数Nとそのとき必要
な検出素子の数Qとの間の関係について説明する。
Next, the relationship between the number N of divisions of the code plate 2 and the number Q of detection elements required at that time will be described.

【0018】K個の検出器によって読み取られた絶対位
置データをKビットの2進値で表した場合、2進値が重
複しない絶対位置データを得るための2進直列符号の個
数は2K 個以下となる。本発明の絶対値エンコーダの場
合N(2K-1 <N≦2K )個の2進直列符号と前記2進
直列符号を論理反転した論理反転2進直列符号を検出器
によって読み取った絶対位置データの2進値が全て重複
しないとするためには全ての2進直列符号の個数は2N
(2K <2N≦2K+1 )個となり、検出素子の数QはK
+1個必要となる。よって本実施例では前述の通り=1
2分割の例であるから、24-1 <12≦24 となりK=
4となるため、検出素子の数QはK+1個から5個であ
り従って読取装置4には5個の検出素子S1乃至S5が
用意されているのである。
When the absolute position data read by K detectors are represented by K-bit binary values, the number of binary serial codes for obtaining absolute position data in which the binary values do not overlap is 2 K. It becomes the following. In the case of the absolute value encoder of the present invention, N (2 K-1 <N ≦ 2 K ) binary serial codes and an absolute position where a logically inverted binary serial code obtained by logically inverting the binary serial code is read by the detector. The number of all binary serial codes is 2N so that the binary values of the data do not all overlap.
(2 K <2 N ≤ 2 K + 1 ), and the number Q of detection elements is K
+1 is required. Therefore, in this embodiment, as described above, = 1
Since it is an example of two divisions, 2 4-1 <12 ≦ 2 4 and K =
Therefore, the number Q of detection elements is from K + 1 to 5, so that the reading device 4 is provided with five detection elements S1 to S5.

【0019】一方、符号板2に付されている12分割の
2進循環直列符号は、「5個の検出器によって読み取ら
れた絶対位置データが全て異なる内容となると共に、任
意の2つの読み取り2進値の和が24+1 −1にならな
い。」という条件のもとに作成した一例を示すと本実施
例では、〔110001011011〕となり、この2
進直列符号が絶対値エンコーダ1の符号板2の単一トラ
ックTに白い部分(透光部)を「1」黒い部分(遮光
部)を「0」としてスリットが形成されている(図2参
照)。この2進循環直列符号は、連続する5個の符号を
どの位置で検出しても、検出値が全て異なると共に、任
意の2つの検出値の2進数の和が2K+1 −1にならない
ように定められている。この結果、この2進循環直列符
号の連続する5個の符号を読み取った12個の値と、こ
の12個の値を論理反転した値とは全て異なる値とな
る。
On the other hand, the 12-division binary cyclic serial code attached to the code plate 2 states that "the absolute position data read by the five detectors all have different contents, and that any two reading 2 An example created under the condition that the sum of the decimal values does not become 2 4 + 1 −1 ”is [110001011011] in the present embodiment.
A slit is formed on the single track T of the code plate 2 of the absolute value encoder 1 having a binary serial code with a white portion (translucent portion) being "1" and a black portion (light shielding portion) being "0" (see FIG. 2) ). In this binary cyclic serial code, the detection values are all different no matter which position five consecutive codes are detected, and the sum of the binary numbers of any two detection values does not become 2 K + 1 -1. Has been defined. As a result, the twelve values obtained by reading the five consecutive codes of the binary cyclic serial code and the values obtained by logically inverting the twelve values are all different values.

【0020】図3の(A)には、各検出位置(番地)1
〜12における第1の絶対位置データP1の値が示さ
れ、図3の(B)には、各検出位置(番地)1〜12に
おける第2の絶対位置データP2の値が示されている。
図3から同一の番地に対して異なる内容の絶対値データ
が2つずつ割り当てられていると共に、このようにして
得られる24種の絶対位置データの内容は全く重複して
いないことが判る。
In FIG. 3A, each detection position (address) 1
The values of the first absolute position data P1 at Nos. 12 to 12 are shown, and the values of the second absolute position data P2 at the respective detection positions (addresses) 1 to 12 are shown at (B) of FIG.
From FIG. 3, it is understood that two pieces of absolute value data having different contents are assigned to the same address, and the contents of the 24 kinds of absolute position data thus obtained do not overlap at all.

【0021】ここで、図2に示す12分割の2進循環直
列符号 110001011011 の各ビットを論理反転すると論理反転直列符号 001110100100 が得られるが、これも2進循環直列符号となっている。
Here, the logical inversion serial code 001110100100 is obtained by logically inverting each bit of the binary cyclic serial code 110001011011 of 12 divisions shown in FIG. 2, which is also a binary cyclic serial code.

【0022】しかも、この論理反転符号を図1、図2に
示したのと同様にして符号板に形成し、連続する5ビッ
トの内容を順次読み出すと、このようにして読み出され
た12個の絶対位置データは、図3の(A)に示されて
いる絶対位置データと全く重複することがない。すなわ
ち、この論理反転符号もまた、連続する5個の符号をど
の位置で検出しても、検出値が全て異なると共に、任意
の2つの検出値の2進数の和を示す2進数の下位K+1
ビットの値が2K+1 −1にならないようになっているか
らである。
Moreover, when this logical inversion code is formed on the code plate in the same manner as shown in FIGS. 1 and 2 and the contents of continuous 5 bits are sequentially read out, 12 pieces thus read out are obtained. The absolute position data of 1 never overlaps with the absolute position data shown in FIG. In other words, this logical inversion code also has different detection values regardless of the position where five consecutive codes are detected, and the lower order K + 1 of the binary number indicating the sum of the binary numbers of arbitrary two detection values.
This is because the bit value does not become 2 K + 1 -1.

【0023】次に2K −1個のM系列符号の「1」の符
号がK個連続する部分に「1」の符号を追加して作成し
た同様の性質を有する2K 個の2進循環直列符号をN=
16分割の例で説明する。なお、M系列乱数符号及びそ
の作成方法については、例えば、図説 通信方式−理論
と実際 第3版(昭和62年3月15日 荒木庸夫著工
学図書株式会社発行)の第196頁から同第198頁に
かけて説明されている。
[0023] Then 2 K pieces of binary circulation having similar properties code is created by adding the code "1" into K successive portions of "1" in the 2 K -1 pieces of M-sequence code The serial code is N =
An example of 16 divisions will be described. Regarding the M-series random number code and the method of creating the same, for example, pages 196 to 198 of Illustrated Communication Method-Theory and Actual Third Edition (published by Nobuo Araki Engineering Book Co., Ltd., March 15, 1987). It is explained on the page.

【0024】M系列符号は2K −1個の直列符号が連続
するK個のデータから構成されているため、ここではN
=16−1個(24 −1個)で連続する4個のデータか
ら構成されているM系列符号を用意すると、 111101011001000 となり、このM系列符号の「1」の符号が4個連続して
いる部分に「1」の符号を追加するとN=16分割の次
に示す同様の性質を有する2進循環直列符号となる。 1111101011001000
Since the M-sequence code is composed of K pieces of data in which 2 K -1 serial codes are consecutive, N pieces of data are used here.
= 16-1 (2 4 -1), when an M-sequence code composed of four consecutive data is prepared, it becomes 111101011001000, and four "1" codes of this M-sequence code are consecutive. If a code of "1" is added to the portion, a binary cyclic serial code having the same property as the following N = 16 division is obtained. 1111101011001000

【0025】ここで検出素子数QはK+1個により5個
となり図1に示す本発明の絶対値エンコーダ1により前
記の12分割の例と同様に読取装置4の5個の検出素子
S1乃至S5により検出した絶対位置データP1及びP
2は、図4の(A)及び(B)に示され、32種の絶対
位置データの内容は全く重複していないことが判る。
Here, the number of detecting elements Q becomes 5 by K + 1, and by the absolute value encoder 1 of the present invention shown in FIG. 1, by the five detecting elements S1 to S5 of the reading device 4 as in the case of the above 12 division. Absolute position data P1 and P detected
2 is shown in (A) and (B) of FIG. 4, and it can be seen that the contents of 32 kinds of absolute position data do not overlap at all.

【0026】ところで、このような性質を有する2進循
環直列符号とこれと同数のインクリメンタル符号との排
他的論理和を求めることにより、このような性質を有す
る別の2進循環直列符号を得ることができる。
Incidentally, by obtaining the exclusive OR of the binary cyclic serial code having such a property and the same number of incremental codes, another binary cyclic serial code having such a property is obtained. You can

【0027】このことを前記で説明したN=16分割の
2進循環直列符号を使用することにより図5及び図6を
参照して説明する。図5において、Aは基本の直列符号
に基づく2進符号でBはインクリメンタルの2進符号で
あり、符号A、Bに基づいて得られる排他的論理和をY
とすると、A、B、Y間には4種の組合せが存在する。
This will be described with reference to FIGS. 5 and 6 by using the N = 16 division binary cyclic serial code described above. In FIG. 5, A is a binary code based on a basic serial code and B is an incremental binary code, and the exclusive OR obtained based on the codes A and B is Y.
Then, there are four kinds of combinations between A, B, and Y.

【0028】インクリメンタル符号の配置は「0」スタ
ートと「1」スタートの2通りがあるが、先ず「0」ス
タートについて説明する。但し、この場合の符号の個数
は16とする。
There are two ways of arranging the incremental code, that is, "0" start and "1" start. First, the "0" start will be described. However, the number of codes in this case is 16.

【0029】16個(分割)の2進循環直列符号をFA
〔1111101011001000〕とし、この直列
符号FAと「0」のスタートのインクリメンタル符号F
Bとの排他的論理和を図5を参照して求めると、図6に
示す如く〔1010111110011101〕なる直
列符号FCが得られる。
The 16 (divided) binary cyclic serial codes are FA
[1111101011001000], and this serial code FA and the incremental code F for the start of “0”
When the exclusive OR with B is obtained with reference to FIG. 5, a serial code FC of [1010111110011101] is obtained as shown in FIG.

【0030】図7の(A)、(B)には、図6に示す符
号列FCの連続する5個の符号を読み取った場合の絶対
値データP3と、この読み取った絶対値データの各符号
を論理反転して得た絶対値データP4とが示されてい
る。図7から、このようにして読み出された32個の絶
対位置データは、相互に全く重複することがないことが
判る。
7A and 7B, absolute value data P3 when five consecutive codes of the code string FC shown in FIG. 6 are read and each code of the read absolute value data. The absolute value data P4 obtained by logically reversing is shown. From FIG. 7, it can be seen that the 32 pieces of absolute position data thus read do not overlap each other at all.

【0031】上記例は、インクリメンタル符号が「0」
スタートの場合を例にとったが、「1」スタートの場合
の排他的論理和は次の通りとなる。 16ビットの直列符号 1111101011001000 インクリメンタル符号 1010101010101010 排他的論理和による直列符号 0101000001100010
In the above example, the incremental code is "0".
Although the case of start is taken as an example, the exclusive OR in the case of "1" start is as follows. 16-bit serial code 1111101011001000 Incremental code 1010101010101010 Serial code by exclusive OR 0101000001100010

【0032】このようにして得られた2進直列符号〔0
101000001100010〕は、前述の「0」ス
タートのインクリメンタル符号を用いて得られた場合の
符号列を論理反転した符号列と同一となる。従って、イ
ンクリメンタル符号は2種類のうちどちらを採用しても
同様の結果を得る。
The binary serial code [0
101000001100010] is the same as the code string obtained by logically inverting the code string obtained by using the above-described "0" -start incremental code. Therefore, the same result can be obtained regardless of which of the two types of incremental codes is used.

【0033】上記実施例では符号板が円形状の光学式ロ
ータリーエンコーダを例示して説明したが、符号板が直
線状のリエヤエンコーダ、或いは、符号の検出を時期的
に行う磁気式エンコーダ等においても本発明を同様にし
て適用することができることは勿論である。
In the above embodiment, the optical rotary encoder having a circular code plate has been described as an example. However, in a linear encoder having a linear code plate, or a magnetic encoder for detecting a code in a timely manner. Of course, the present invention can be applied in the same manner.

【0034】[0034]

【発明の効果】本発明によれば、上述の如く、2進循環
直列符号が付された符号板から連続する複数ビットの符
号を読み取って絶対位置を示す絶対位置データを出力す
る絶対値エンコーダであって、各検出位置において異な
る2つの絶対位置データを得ることができ、且つ読み出
された全ての絶対位置データが重複することのないよう
にした絶対値エンコーダを簡単に構成することができ
る。
As described above, according to the present invention, an absolute value encoder for reading a code of a plurality of consecutive bits from a code plate provided with a binary cyclic serial code and outputting absolute position data indicating an absolute position. Therefore, two different absolute position data can be obtained at each detected position, and an absolute value encoder that prevents all read absolute position data from overlapping can be easily configured.

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

【図1】本発明による絶対値エンコーダの一実施例の概
略構成図。
FIG. 1 is a schematic configuration diagram of an embodiment of an absolute value encoder according to the present invention.

【図2】図1に示した絶対値エンコーダの符号板と検出
素子との間の配置関係を説明するための説明図。
FIG. 2 is an explanatory diagram for explaining a positional relationship between a code plate and a detection element of the absolute value encoder shown in FIG.

【図3】図2に示す符号板に基づいて絶対値エンコーダ
から読み出される24種の絶対位置データを示す図。
FIG. 3 is a diagram showing 24 kinds of absolute position data read from an absolute value encoder based on the code plate shown in FIG. 2;

【図4】本発明による16分割の絶対値エンコーダから
読み出される32種の絶対位置データを示す図。
FIG. 4 is a diagram showing 32 types of absolute position data read from a 16-division absolute value encoder according to the present invention.

【図5】排他的論理和素子の一例及びその入出力関係を
示す図。
FIG. 5 is a diagram showing an example of an exclusive OR element and its input / output relationship.

【図6】図4に示す符号板の各トラックに設けるべき2
つの2進循環直列符号の作成手順を説明するための説明
図。
FIG. 6 is a diagram showing two parts to be provided on each track of the code plate shown in FIG.
Explanatory drawing for demonstrating the preparation procedure of two binary cyclic serial codes.

【図7】図6に示す手順で作成した2進循環直列符号を
用いた場合に得られる32種の絶対位置データの内容を
示す図。
7 is a diagram showing the contents of 32 kinds of absolute position data obtained when the binary cyclic serial code created by the procedure shown in FIG. 6 is used.

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

1 絶対値エンコーダ 2 符号板 3 光源 4 読取装置 6 論理反転回路 S1乃至S5 検出素子 T トラック DESCRIPTION OF SYMBOLS 1 Absolute value encoder 2 Code plate 3 Light source 4 Reader 6 Logic inversion circuit S1 to S5 Detection element T Track

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 N個の2進直列符号が付された符号板か
ら連続する複数個の符号を読み取って絶対位置を示す絶
対位置データを出力する絶対値エンコーダにおいて、 前記符号板に付された2進直列符号の連続するK+1個
(ここでKは2K-1 <N≦2K を満足する整数値)を絶
対位置データとして読み取る検出器を設けると共に、前
記2進直列符号が、前記検出器によって読み取られた絶
対位置データが全て異なる内容となると共に、前記絶対
位置データと前記2進直列符号を論理反転することによ
って得られた論理反転2進直列符号が前記検出器によっ
て読み取られた絶対位置データとが全て異なる内容とな
るように定められていることを特徴とする絶対値エンコ
ーダ。
1. An absolute value encoder which reads a plurality of consecutive codes from a code plate having N binary serial codes and outputs absolute position data indicating an absolute position, wherein the absolute value encoder is provided to the code plate. A detector for reading consecutive K + 1 binary serial codes (where K is an integer value satisfying 2 K-1 <N ≦ 2 K ) as absolute position data is provided, and the binary serial code is used for the detection. The absolute position data read by the detector have different contents, and the logically inverted binary serial code obtained by logically inverting the absolute position data and the binary serial code is the absolute value read by the detector. An absolute encoder characterized in that it is defined so that the contents are all different from the position data.
JP04337894A 1994-02-18 1994-02-18 Absolute encoder Expired - Fee Related JP3449775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04337894A JP3449775B2 (en) 1994-02-18 1994-02-18 Absolute encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04337894A JP3449775B2 (en) 1994-02-18 1994-02-18 Absolute encoder

Publications (2)

Publication Number Publication Date
JPH07229762A true JPH07229762A (en) 1995-08-29
JP3449775B2 JP3449775B2 (en) 2003-09-22

Family

ID=12662166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04337894A Expired - Fee Related JP3449775B2 (en) 1994-02-18 1994-02-18 Absolute encoder

Country Status (1)

Country Link
JP (1) JP3449775B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006220615A (en) * 2005-02-14 2006-08-24 Tokai Rika Co Ltd Calculation method for recess edge position of plate for position detection, and position detecting device thereof
US11946779B2 (en) 2020-04-09 2024-04-02 Dmg Mori Co., Ltd. Position detection apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006220615A (en) * 2005-02-14 2006-08-24 Tokai Rika Co Ltd Calculation method for recess edge position of plate for position detection, and position detecting device thereof
US11946779B2 (en) 2020-04-09 2024-04-02 Dmg Mori Co., Ltd. Position detection apparatus

Also Published As

Publication number Publication date
JP3449775B2 (en) 2003-09-22

Similar Documents

Publication Publication Date Title
JP3179493B2 (en) Absolute encoder
JP2754422B2 (en) Absolute encoder
KR840004965A (en) Data transfer method
KR950010385B1 (en) Absolute valve encoder
JPS6148088B2 (en)
JPH07229762A (en) Absolute value encoder
US5231596A (en) Position detector having a single set detector for absolute codes
JPS59501227A (en) Rotary angular position detection device with numerical output
US5774068A (en) Absolute signal detecting method and absolute encoder
JPH07229763A (en) Absolute value encoder
JP3449795B2 (en) Absolute encoder
JP3449794B2 (en) Absolute encoder
JP3449793B2 (en) Absolute encoder
JP2785349B2 (en) Absolute encoder code pattern creation method
JP3431695B2 (en) Absolute encoder
JP3506778B2 (en) Absolute encoder
JP2754586B2 (en) Absolute encoder
JP3474938B2 (en) Absolute encoder
JPH07229761A (en) Absolute value encoder
JP2691943B2 (en) 1-track type absolute encoder
JP3490759B2 (en) Absolute encoder
JPH07260515A (en) Absolute encoder
JPH0221216A (en) Absolute encoder
JPH01172707A (en) Position measuring apparatus
JP3094416B2 (en) Absolute encoder

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090711

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

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20100711

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20100711

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

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20120711

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20130711

LAPS Cancellation because of no payment of annual fees