JPH09105646A - Rotary encoder and rotary encoder system - Google Patents

Rotary encoder and rotary encoder system

Info

Publication number
JPH09105646A
JPH09105646A JP26173495A JP26173495A JPH09105646A JP H09105646 A JPH09105646 A JP H09105646A JP 26173495 A JP26173495 A JP 26173495A JP 26173495 A JP26173495 A JP 26173495A JP H09105646 A JPH09105646 A JP H09105646A
Authority
JP
Japan
Prior art keywords
rotary encoder
code
rotary
error detection
data
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.)
Pending
Application number
JP26173495A
Other languages
Japanese (ja)
Inventor
Tatsuto Shiba
達人 柴
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP26173495A priority Critical patent/JPH09105646A/en
Publication of JPH09105646A publication Critical patent/JPH09105646A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Optical Transform (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect an abnormality easily and surely by generating and outputting an error detection code by a parity check code, checking output data and outputting a signal on whether the abnormality exists or not. SOLUTION: A rotary encoder 1A sends encoder data to a system control part 7A by a data output part 12, and it sends a parity check code to the control part 7A through a signal line 14 by a parity coding part 13. The control part 7A processes input encoder data so as to be a signal required for a control operation in a data processing part 8. A parity decoding part 15 checks the existence of the abnormality of the encoder data by a parity check code system on the basis of the encoder data and on the basis of a parity check code. Then, the direction of the control operation is judged by a control part 10 on the basis of the input signal required for the control operation and on the basis of a signal on whether the abnormality exists or not. In this manner, since the coding part 13 is constituted inside the encoder 1A, a detection is processed simply, and the abnormality can be detected surely.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、誤り検出機能を
内蔵し、回転軸の回転角を検出し利用するロータリエン
コーダ及びロータリエンコーダシステムに関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rotary encoder and a rotary encoder system having a built-in error detection function and detecting and utilizing a rotation angle of a rotary shaft.

【0002】[0002]

【従来の技術】ロータリエンコーダは、大別するとイン
クリメンタル型とアブソリュート型に分類される。
2. Description of the Related Art Rotary encoders are roughly classified into an incremental type and an absolute type.

【0003】上記インクリメンタル型ロータリエンコー
ダは、出力パルスの数で回転軸の回転角あるいは回転数
を検出する。そのため、上記回転角や回転数を検出する
ためには出力パルス数を累積加算するためのカウンタが
必要である。一方、パルス波形の立ち上がり、立ち下が
り点を利用してパルス発生頻度を2倍、4倍に高め、電
気的に分解能を高めることができるという利点も有る。
The above-mentioned incremental type rotary encoder detects the rotation angle or the rotation speed of the rotary shaft by the number of output pulses. Therefore, a counter for cumulatively adding the number of output pulses is required to detect the rotation angle and the rotation speed. On the other hand, there is also an advantage that the pulse generation frequency can be doubled or quadrupled by utilizing the rising and falling points of the pulse waveform to electrically improve the resolution.

【0004】上記アブソリュート型ロータリエンコーダ
は、回転スリットの模様から回転軸の回転角を検出する
ため、回転スリットが静止している状態でも、常時絶対
位置を知ることができる。従って、カウンタが無くても
常に回転位置の確認ができる。また、機械に組み込んだ
時点で入力回転軸の原点が決定されるため、始動時、停
電後、非常停止後の電源投入の際でも原点からの回転角
を正確に表すことができる。
Since the absolute rotary encoder detects the rotation angle of the rotary shaft from the pattern of the rotary slit, it is possible to always know the absolute position even when the rotary slit is stationary. Therefore, the rotational position can always be confirmed without the counter. Further, since the origin of the input rotary shaft is determined at the time of being incorporated into the machine, the rotation angle from the origin can be accurately represented even at the time of starting, after a power failure, and at power-on after an emergency stop.

【0005】上記アブソリュート型ロータリエンコーダ
は、出力コードとしてバイナリコード(純2進コー
ド)、グレイコード、BCDコードなどを出力する。
The absolute type rotary encoder outputs a binary code (pure binary code), a gray code, a BCD code or the like as an output code.

【0006】上記バイナリコードは、デジタル処理では
最も基本的なコードで、「0」と「1」で歩進していく
コードである。しかし、ある数から次の数に変化する
時、各桁の状態(0か1)が同時に2個以上変化するこ
とがあるが、それぞれを全く同時に変化させることは困
難であり、タイミングのズレによる読み取りミスを発生
させる恐れがある。
The above binary code is the most basic code in digital processing, and is a code that advances with "0" and "1". However, when changing from one number to the next, two or more states (0 or 1) of each digit may change at the same time, but it is difficult to change each state at the same time. It may cause a reading error.

【0007】上記グレイコードは、ある数から次の数に
変化する時、全桁中の状態(0か1)変化は1個だけな
ので、上記バイナリコードのような読み取りミスがほと
んどない。
When the Gray code changes from one number to the next, only one state (0 or 1) change in all digits occurs, so that there is almost no reading error like the binary code.

【0008】上記BCDコードは、10進法の各桁を2
進法で表現するものである。「10」までの数値を2進
法で表現し、桁上げは10進法を用いる。
In the BCD code, each decimal digit is 2
It is expressed in a decimal system. Numerical values up to “10” are expressed in a binary system, and the carry system uses a decimal system.

【0009】さらに、上記アブソリュート型ロータリエ
ンコーダは、アブソリュートパターンが形成されるトラ
ック数の観点から1トラック形式と多トラック形式に分
類される。
Further, the absolute type rotary encoder is classified into a one-track type and a multi-track type from the viewpoint of the number of tracks on which an absolute pattern is formed.

【0010】上記1トラック形式は、1トラックのアブ
ソリュートパターンを符号板に形成し、検出部にはパタ
ーンに沿って複数個のセンサを1列に配置したもので、
センサがパターンから「それぞれ異なるが順序はでたら
めな2進数の番地」を読み取る。この1トラック形式
は、アブソリュートパターンが1本で済み、センサが等
間隔で1列に配置され、後述する多トラック形式の場合
のようなトラック相互間でのセンサ配置の位相調整が不
要である。
In the above-mentioned one-track type, one track of an absolute pattern is formed on a code plate, and a plurality of sensors are arranged in one line along the pattern in the detection section.
The sensor reads from the pattern "a binary address that is different but in random order". In this one-track type, only one absolute pattern is required, the sensors are arranged in one row at equal intervals, and there is no need to adjust the phase of the sensor arrangement between the tracks as in the multi-track type described later.

【0011】一方、上記多トラック形式は、多数の並列
なトラックからなるアブソリュートパターンを符号板に
形成し、検出部にはそれぞれのトラックに対応させてセ
ンサを配置したもので、前記センサがパターンからバイ
ナリコードやグレイコードの「規則正しい番地」を読み
取る。
On the other hand, in the above-mentioned multi-track type, an absolute pattern consisting of a large number of parallel tracks is formed on a code plate, and a sensor is arranged in the detecting portion so as to correspond to each track. Read "regular address" of binary code or gray code.

【0012】従来のロータリエンコーダについて図10
及び図11を参照しながら説明する。図10は、従来の
多トラック形式アブソリュート型ロータリエンコーダの
構造を示す斜視図である。また、図11は、従来の多ト
ラック形式アブソリュート型ロータリエンコーダを使用
したロータリエンコーダシステムの構成を示すブロック
図である。
FIG. 10 shows a conventional rotary encoder
This will be described with reference to FIG. FIG. 10 is a perspective view showing the structure of a conventional multi-track absolute rotary encoder. FIG. 11 is a block diagram showing the configuration of a conventional rotary encoder system using a multi-track type absolute rotary encoder.

【0013】図10において、1は多トラック形式アブ
ソリュート型ロータリエンコーダ、2は各種の機器に接
続された回転軸、3は上記回転軸2に結合されアブソリ
ュートパターンが形成された回転板、4は回転板3の一
方の側に設けられ発光ダイオード等の8個の発光素子、
5は回転板3の他方の側に設けられフォトダイオード等
の8個の受光素子、6は回転板3と発光素子4の間に設
けられ8個の孔が形成されたスリットである。
In FIG. 10, 1 is a multi-track type absolute rotary encoder, 2 is a rotary shaft connected to various devices, 3 is a rotary plate which is connected to the rotary shaft 2 and has an absolute pattern formed thereon, and 4 is a rotary plate. Eight light emitting elements such as light emitting diodes provided on one side of the plate 3,
Reference numeral 5 is a light-receiving element such as a photodiode provided on the other side of the rotary plate 3 and 6 is a slit provided between the rotary plate 3 and the light-emitting element 4 and having 8 holes formed therein.

【0014】図11において、1は図10で示す多トラ
ック形式アブソリュート型ロータリエンコーダ、7は上
記各種の機器のシステム制御部、8はデータ処理部、9
は異常算出部、10はCPU等の制御部、11は多トラ
ック形式アブソリュート型ロータリエンコーダ1とシス
テム制御部7とを接続する信号線である。
In FIG. 11, reference numeral 1 is a multi-track type absolute rotary encoder shown in FIG. 10, 7 is a system control unit of the above-mentioned various devices, 8 is a data processing unit, and 9 is a data processing unit.
Is an abnormality calculation unit, 10 is a control unit such as a CPU, and 11 is a signal line connecting the multi-track type absolute rotary encoder 1 and the system control unit 7.

【0015】次に、従来の多トラック形式アブソリュー
ト型ロータリエンコーダの動作について説明する。ここ
で扱う多トラック形式アブソリュート型ロータリエンコ
ーダ1は、各種の機器の現在位置を検出するためのもの
である。機器にギヤを介して接続することにより、機器
の位置または角度を、機器の回転軸と直接接続すること
により機器の回転角度を検出する等のために使用され
る。
Next, the operation of the conventional multi-track type absolute type rotary encoder will be described. The multi-track type absolute rotary encoder 1 dealt with here is for detecting the current positions of various devices. It is used to detect the rotation angle of the device by connecting the position or angle of the device to the device through a gear and directly connecting the position or angle of the device to the rotation axis of the device.

【0016】すなわち、発光素子4からの射出光をスリ
ット6と回転板3で透過、遮光することによって、受光
素子5にON/OFF動作をさせる。この時、回転軸2
の回転角度によりON/OFF状態が決まり、これによ
って回転角度を検出する。このため、回転軸2が停止し
ている場合でも、常時その場で絶対位置を検出できる特
徴をもつ。
That is, the light emitted from the light emitting element 4 is transmitted and shielded by the slit 6 and the rotary plate 3 to cause the light receiving element 5 to perform an ON / OFF operation. At this time, the rotary shaft 2
The ON / OFF state is determined by the rotation angle of, and the rotation angle is detected by this. Therefore, even if the rotary shaft 2 is stopped, the absolute position can always be detected on the spot.

【0017】このようなロータリエンコーダ1を使用し
たシステムで特に信頼性が求められる場合は、ロータリ
エンコーダ1からシステム制御部7への出力が異常とな
った場合、例えば、ロータリエンコーダ1とシステム制
御部7を接続する信号線11が断線したとき、上記信号
線がショートしたとき、上記信号線にノイズがのったと
きに備え、異常検出機能を付加する必要がある。
When particularly high reliability is required in the system using the rotary encoder 1 as described above, when the output from the rotary encoder 1 to the system control unit 7 becomes abnormal, for example, the rotary encoder 1 and the system control unit are used. It is necessary to add an abnormality detection function in preparation for a case where the signal line 11 connecting 7 is broken, the signal line is short-circuited, and the signal line is noisy.

【0018】図11において、ロータリエンコーダ1か
らの出力はデータ処理部8において制御に必要な信号に
処理されるとともに、異常算出部9で異常の有/無がチ
ェックされる。異常が無い場合は、データ処理部8から
の信号に基づいた制御を制御部10で行う。
In FIG. 11, the output from the rotary encoder 1 is processed into a signal required for control by the data processing unit 8 and the presence / absence of abnormality is checked by the abnormality calculating unit 9. When there is no abnormality, the control unit 10 performs control based on the signal from the data processing unit 8.

【0019】一方、異常が有る場合には、異常算出部9
からの異常有の信号に基づいた制御を制御部10で行
う。
On the other hand, if there is an abnormality, the abnormality calculating unit 9
The control unit 10 performs control based on the abnormal signal from the.

【0020】この場合の異常算出部9での処理は、主に
回転板3の回転による出力コードの順序をチェックし、
例えば、コード“1”の次にコード“2”が来た場合は
正常、コード“1”の次に“5”が来た場合には異常で
あるといった方法が用いられハードウェアまたはソフト
ウェアで実現していた。しかし、回転の速度の大小にも
影響され、複雑になっていた。
In the process of the abnormality calculating section 9 in this case, the order of the output codes mainly due to the rotation of the rotary plate 3 is checked,
For example, when the code “1” is followed by the code “2”, it is normal, and when the code “1” is followed by the code “5”, it is abnormal. Was. However, it was complicated by the speed of rotation.

【0021】[0021]

【発明が解決しようとする課題】上述したような従来の
ロータリエンコーダでは、誤り検出機能を内部にもたな
いために、システム制御部側に設ける必要があり上記シ
ステム制御部側の負荷等が大きいという問題点があっ
た。
In the conventional rotary encoder as described above, since it does not have an error detecting function inside, it is necessary to provide it in the system control section side and the load on the system control section side is large. There was a problem.

【0022】また、誤り検出には複雑な処理が必要であ
るという問題点があった。
Further, there is a problem that complicated processing is required for error detection.

【0023】この発明は、前述した問題点を解決するた
めになされたもので、システム制御部側で誤り検出が比
較的容易に可能となるとともに、誤り検出が確実にでき
るロータリエンコーダ及びロータリエンコーダシステム
を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and makes it possible to detect errors relatively easily on the system controller side, and at the same time, a rotary encoder and a rotary encoder system capable of surely detecting errors. Aim to get.

【0024】また、この発明は、システム制御部側で誤
り検出が不要となるロータリエンコーダ及びロータリエ
ンコーダシステムを得ることを目的とする。
It is another object of the present invention to obtain a rotary encoder and a rotary encoder system which do not require error detection on the system control side.

【0025】[0025]

【課題を解決するための手段】この発明に係るロータリ
エンコーダは、多トラック型アブソリュートパターンを
有する回転板と、前記アブソリュートパターンを読み取
る検出部と、前記検出部の出力の異常を検出するための
誤り検出回路とを備えたものである。
A rotary encoder according to the present invention includes a rotary plate having a multi-track type absolute pattern, a detector for reading the absolute pattern, and an error for detecting an abnormality in the output of the detector. And a detection circuit.

【0026】また、この発明に係るロータリエンコーダ
は、前記検出部が、前記回転板の一方の側に設けられ前
記回転板の径方向に一列に配置された複数個の発光素子
と、前記回転板の他方の側に設けられ前記発光素子に対
応するように前記回転板の径方向に一列に配置された複
数個の受光素子と、前記回転板と前記発光素子の間に設
けられ前記回転板の径方向に一列に配置された複数の孔
を有するスリットとを含み、前記誤り検出回路が、前記
検出部の出力を増幅するためのデータ出力部と、前記デ
ータ出力部の出力データに基づき誤り検出符号を生成す
る符号化部とを含むものである。
Further, in the rotary encoder according to the present invention, the detecting portion is provided on one side of the rotary plate, and a plurality of light emitting elements are arranged in a row in a radial direction of the rotary plate, and the rotary plate. A plurality of light receiving elements provided on the other side of the rotary plate in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements, and the rotary plate provided between the rotary plate and the light emitting element. The error detection circuit includes a slit having a plurality of holes arranged in a row in a radial direction, the error detection circuit detects an error based on output data of the data output unit for amplifying an output of the detection unit, and output data of the data output unit. And a coding unit that generates a code.

【0027】また、この発明に係るロータリエンコーダ
は、前記検出部が、前記回転板の一方の側に設けられ前
記回転板の径方向に一列に配置された複数個の発光素子
と、前記回転板の他方の側に設けられ前記発光素子に対
応するように前記回転板の径方向に一列に配置された複
数個の受光素子と、前記回転板と前記発光素子の間に設
けられ前記回転板の径方向に一列に配置された複数の孔
を有するスリットとを含み、前記誤り検出回路が、前記
検出部の出力を増幅するためのデータ出力部と、前記デ
ータ出力部の出力データに基づき誤り検出符号を生成す
る符号化部と、前記誤り検出符号に基づき前記出力デー
タの誤りを検出し異常の有無信号を出力する復号化部と
を含むものである。
Further, in the rotary encoder according to the present invention, the detecting portion is provided on one side of the rotary plate, and a plurality of light emitting elements are arranged in a row in a radial direction of the rotary plate, and the rotary plate. A plurality of light receiving elements provided on the other side of the rotary plate in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements, and the rotary plate provided between the rotary plate and the light emitting element. The error detection circuit includes a slit having a plurality of holes arranged in a row in a radial direction, the error detection circuit detects an error based on output data of the data output unit for amplifying an output of the detection unit, and output data of the data output unit. An encoding unit that generates a code and a decoding unit that detects an error in the output data based on the error detection code and outputs an abnormality presence / absence signal are included.

【0028】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、パリティ検査符号としたもの
である。
In the rotary encoder according to the present invention, the error detecting code is a parity check code.

【0029】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、巡回符号としたものである。
Further, in the rotary encoder according to the present invention, the error detecting code is a cyclic code.

【0030】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、BCH符号としたものであ
る。
In the rotary encoder according to the present invention, the error detection code is a BCH code.

【0031】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、ハミング符号としたものであ
る。
Further, in the rotary encoder according to the present invention, the error detection code is a Hamming code.

【0032】さらに、この発明に係るロータリエンコー
ダシステムは、請求項2記載のロータリエンコーダと、
前記ロータリエンコーダから送られてきた誤り検出符号
に基づきエンコーダデータの異常を検出するための第2
の誤り検出回路を有するシステム制御部とを備えたもの
である。
Further, a rotary encoder system according to the present invention comprises: the rotary encoder according to claim 2;
A second for detecting an abnormality in encoder data based on the error detection code sent from the rotary encoder
And a system control unit having an error detection circuit.

【0033】さらに、この発明に係るロータリエンコー
ダシステムは、前記第2の誤り検出回路が、前記ロータ
リエンコーダから送られてきたエンコーダデータを制御
に必要な信号に処理するデータ処理部と、前記ロータリ
エンコーダから別系統で送られてきた誤り検出符号に基
づき前記エンコーダデータの誤りを検出し異常の有無信
号を出力する復号化部と、前記制御に必要な信号と前記
異常の有無信号から制御の方向を判断する制御部とを含
むものである。
Further, in the rotary encoder system according to the present invention, the second error detection circuit processes the encoder data sent from the rotary encoder into a signal necessary for control, and the rotary encoder. Decoding unit that detects an error in the encoder data based on an error detection code sent from another system and outputs an abnormality presence / absence signal, and a direction of control from the signal necessary for the control and the abnormality presence / absence signal. And a control unit for judging.

【0034】さらに、この発明に係るロータリエンコー
ダシステムは、請求項3記載のロータリエンコーダと、
前記ロータリエンコーダから送られてきたエンコーダデ
ータを制御に必要な信号に処理するデータ処理部と、前
記制御に必要な信号と前記ロータリエンコーダから送ら
れてきた前記異常の有無信号から制御の方向を判断する
制御部とを有するシステム制御部とを備えたものであ
る。
Further, a rotary encoder system according to the present invention comprises: the rotary encoder according to claim 3;
A data processing unit that processes the encoder data sent from the rotary encoder into a signal necessary for control, and determines the direction of control from the signal necessary for control and the abnormality presence / absence signal sent from the rotary encoder. And a system control unit having a control unit for

【0035】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、パリティ検査符号
としたものである。
Further, in the rotary encoder system according to the present invention, the error detecting code is a parity check code.

【0036】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、巡回符号としたも
のである。
Further, in the rotary encoder system according to the present invention, the error detecting code is a cyclic code.

【0037】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、BCH符号とした
ものである。
Further, in the rotary encoder system according to the present invention, the error detection code is a BCH code.

【0038】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、ハミング符号とし
たものである。
Furthermore, in the rotary encoder system according to the present invention, the error detection code is a Hamming code.

【0039】[0039]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の実施の形態1について
図1及び図2を参照しながら説明する。図1は、この発
明の実施の形態1に係るロータリエンコーダシステムの
構成を示すブロック図である。また、図2は、この実施
の形態1の動作を説明するための図である。なお、各図
中、同一符号は同一又は相当部分を示す。
Embodiment 1 FIG. Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. 1 and 2. 1 is a block diagram showing a configuration of a rotary encoder system according to a first embodiment of the present invention. Further, FIG. 2 is a diagram for explaining the operation of the first embodiment. In the drawings, the same reference numerals indicate the same or corresponding parts.

【0040】図1において、1Aは多トラック形式アブ
ソリュート型ロータリエンコーダ、12は受光素子5に
接続されその出力を増幅するデータ出力部、13は誤り
検出符号としてパリティ検査符号(parity ch
eck code)を生成するパリティ符号化部であ
る。
In FIG. 1, 1A is a multi-track type absolute rotary encoder, 12 is a data output unit which is connected to the light receiving element 5 and amplifies its output, and 13 is a parity check code (parity ch) as an error detection code.
is a parity encoding unit that generates an eck code).

【0041】なお、上記ロータリエンコーダ1Aは、上
記以外に図10に示すように、各種の機器に接続された
回転軸2と、上記回転軸2に結合されアブソリュートパ
ターンが形成された回転板3と、回転板3の一方の側に
設けられ発光ダイオード等の8個の発光素子4と、回転
板3の他方の側に設けられフォトダイオード等の8個の
受光素子5と、回転板3と発光素子4の間に設けられ8
個の孔が形成されたスリット6とを備える。
In addition to the above, the rotary encoder 1A includes, as shown in FIG. 10, a rotary shaft 2 connected to various devices, and a rotary plate 3 coupled to the rotary shaft 2 and having an absolute pattern formed thereon. , Eight light emitting elements 4 such as light emitting diodes provided on one side of the rotary plate 3, eight light receiving elements 5 such as photodiodes provided on the other side of the rotary plate 3, the rotary plate 3 and the light emission Provided between the elements 4 8
And a slit 6 in which individual holes are formed.

【0042】また、図1において、7Aは上記各種の機
器のシステム制御部、8はデータ処理部、10はCPU
等の制御部、15はロータリエンコーダ1Aから送られ
てきた誤り検出信号であるパリティ検査符号に基づい
て、同様に送られてきたデータの誤りを検出するパリテ
ィ復号化部である。
Further, in FIG. 1, 7A is a system control unit of the above-mentioned various devices, 8 is a data processing unit, and 10 is a CPU.
A control unit 15 and the like is a parity decoding unit that detects an error in the data similarly sent based on the parity check code which is the error detection signal sent from the rotary encoder 1A.

【0043】さらに、同図において、11はロータリエ
ンコーダ1Aとシステム制御部7Aとを接続しデータを
伝送する信号線、14はロータリエンコーダ1Aとシス
テム制御部7Aとを接続し誤り検出符号を伝送する信号
線である。
Further, in the figure, 11 is a signal line for connecting the rotary encoder 1A and the system control unit 7A to transmit data, and 14 is a signal line for connecting the rotary encoder 1A and the system control unit 7A to transmit an error detection code. It is a signal line.

【0044】次に、この実施の形態1に係るロータリエ
ンコーダシステムの動作について説明する。まず、上記
パリティ検査符号について簡単に説明する。n−1ビッ
トの与えられた情報ビットに対して1ビットの冗長ビッ
トを付加した符号を構成し、nビット中の「1」の総数
が偶数、または奇数になるように冗長ビット(パリティ
ビット)を与えるものである。つまり、2進符号の情報
を表すあるビット群の「1」の数が常に偶数または奇数
になるように、情報ビットでない余分のビットを付加し
たものであり、復号側ではパリティビットを含めた全体
のビットが常に偶数または奇数になっているか否かをチ
ェックすることにより、情報ビットの誤りを検出でき
る。
Next, the operation of the rotary encoder system according to the first embodiment will be described. First, the parity check code will be briefly described. A redundant bit (parity bit) is configured such that a code in which 1 redundant bit is added to n-1 given information bits is added and the total number of "1" s in n bits is an even number or an odd number. Is to give. That is, extra bits that are not information bits are added so that the number of "1" s in a certain bit group that represents binary code information is always an even number or an odd number. An error in the information bit can be detected by checking whether or not the bits of are always even or odd.

【0045】ロータリエンコーダ1Aは、データ出力部
12により、信号線11を通じてエンコーダデータをシ
ステム制御部7Aへ送るとともに、パリティ符号化部に
より、別系統である信号線14を通じてパリティ検査符
号をシステム制御部7Aへ送る。
In the rotary encoder 1A, the data output unit 12 sends the encoder data to the system control unit 7A via the signal line 11, and the parity encoding unit sends the parity check code to the system control unit via the signal line 14 which is a separate system. Send to 7A.

【0046】システム制御部7A側では、入力されたエ
ンコーダデータをデータ処理部8で制御に必要な信号に
処理する。また、入力されたエンコーダデータとパリテ
ィ検査符号からパリティ復号化部15で上記エンコーダ
データの異常の有無をチェックする。そして、制御部1
0では入力された制御に必要な信号と異常の有無信号か
ら制御の方向を判断する。
On the system control unit 7A side, the data processing unit 8 processes the input encoder data into a signal required for control. Further, the parity decoding unit 15 checks the input encoder data and the parity check code for abnormalities in the encoder data. And the control unit 1
At 0, the direction of control is determined from the input signal necessary for control and the abnormality presence / absence signal.

【0047】図2に示す具体例について以下説明する。
ロータリエンコーダ1Aのデータ出力部12は、同図
(a)の8ビットのエンコーダデータ、例えばデータ1
として「00001010」、データ2として「000
01011」、データ3として「01101110」を
出力する。
The specific example shown in FIG. 2 will be described below.
The data output unit 12 of the rotary encoder 1A is the 8-bit encoder data shown in FIG.
As “00001010” and as data 2 as “000
“01011” and “01101110” as the data 3 are output.

【0048】ロータリエンコーダ1Aのパリティ符号化
部13は、上記エンコーダデータの「1」の合計が例え
ば必ず偶数となるように、同図(a)の「0」又は
「1」の1ビットのパリティ検査符号、上記データ1に
ついて「0」、上記データ2について「1」、上記デー
タ3について「1」を算出して出力する。
The parity encoder 13 of the rotary encoder 1A uses the 1-bit parity of "0" or "1" in FIG. 9A so that the total "1" of the encoder data is always an even number. The check code, "0" for the data 1, "1" for the data 2, and "1" for the data 3 are calculated and output.

【0049】一方、システム制御部7Aのパリティ復号
化部15は、同図(b)の8ビットのエンコーダデー
タ、例えばデータ1として「00001010」、デー
タ2として「00001011」、データ3として「0
1111110」を入力する。また、パリティ検査符
号、上記データ1について「0」、上記データ2につい
て「1」、上記データ3について「1」を入力する。
On the other hand, the parity decoding unit 15 of the system control unit 7A uses the 8-bit encoder data shown in FIG. 3B, for example, "00001010" as data 1, "00001011" as data 2, and "0" as data 3.
1111110 ”is input. Further, the parity check code, "0" for the data 1, "1" for the data 2, and "1" for the data 3 are input.

【0050】パリティ復号化部15は、データ1及び2
についてはエンコーダデータとパリティ検査符号の
「1」の合計が偶数であるためエンコーダデータが正常
であると判断する。また、データ3についてはエンコー
ダデータ「01111110」とパリティ検査符号
「1」の「1」の合計が奇数であるためエンコーダデー
タが異常であると判断する。
The parity decoding unit 15 uses the data 1 and 2
With regard to, since the sum of the encoder data and the parity check code “1” is an even number, it is determined that the encoder data is normal. For data 3, since the sum of the encoder data “01111110” and the parity check code “1” “1” is an odd number, it is determined that the encoder data is abnormal.

【0051】誤り検出符号の一つである上記パリティ検
査符号方式は一般的に認知されている技術であるためこ
こではこれ以上詳述しないが、符号化、復号化各々汎用
IC1ケにて実現できる。
The above-mentioned parity check code system, which is one of the error detection codes, is a generally recognized technique, and therefore will not be described in further detail here, but encoding and decoding can be realized by one general-purpose IC. .

【0052】以上のように、この実施の形態1によれ
ば、誤り検出用のパリティ符号化部13をロータリエン
コーダ1A内に構成したので、システム制御部7Aでの
異常検出処理が簡素になり、また確実な異常検出を行う
ことができる。
As described above, according to the first embodiment, since the parity encoding unit 13 for error detection is constructed in the rotary encoder 1A, the abnormality detection processing in the system control unit 7A is simplified, Further, it is possible to reliably detect an abnormality.

【0053】実施の形態2.この発明の実施の形態2に
ついて図3を参照しながら説明する。図3は、この発明
の実施の形態2に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 2 Embodiment 2 of the present invention will be described with reference to FIG. FIG. 3 is a block diagram showing the configuration of the rotary encoder system according to the second embodiment of the present invention.

【0054】この実施の形態2は、図3に示すように、
上記実施の形態1のパリティ符号化部13及びパリティ
復号化部15の代わりに、巡回符号化部16及び巡回復
号化部17を設けたものであり、その他は上記実施の形
態1の動作及び作用効果と同様である。
In the second embodiment, as shown in FIG.
The cyclic encoding unit 16 and the cyclic decoding unit 17 are provided in place of the parity encoding unit 13 and the parity decoding unit 15 of the above-described Embodiment 1, and the other operations and actions of the above-described Embodiment 1 are performed. It is similar to the effect.

【0055】この実施の形態2は、巡回符号化部16と
巡回復号化部17により誤りを検出するが、この誤り検
出符号方式をサイクリック・リダンデンシー・チェック
(CRC)と呼ぶ。これは、巡回符号化部16側で生成
多項式G(x)で割り切れるようにコードを作成し、巡
回復号化部17側でコードの受信時にG(x)を割り切
れるかどうかチェックするものである。送信側であるロ
ータリエンコーダ1Bでは(n−k)ビットの情報の多
項式P(x)をk次の生成多項式G(x)で割算する。
この結果生じたkビットのあまり多項式R(x)をチェ
ックビットとして情報ビットに付加してnビットのコー
ドF(x)=xkP(x)+R(x)を作り伝送する。
受信側であるシステム制御部7Bでは、伝送路中での誤
りE(x)が加わるので受信コードH(x)=F(x)
+E(x)をG(x)で割算する。あまりがなければ誤
りなしである。
In the second embodiment, an error is detected by the cyclic encoding unit 16 and the cyclic decoding unit 17, and this error detection coding method is called cyclic redundancy check (CRC). This is to create a code on the cyclic encoding unit 16 side so as to be divisible by the generator polynomial G (x), and to check on the cyclic decoding unit 17 side whether G (x) is divisible when the code is received. The rotary encoder 1B on the transmitting side divides the polynomial P (x) of (n−k) -bit information by the generator polynomial G (x) of order k.
The resulting polynomial R (x) of k bits is added as a check bit to the information bits to form an n-bit code F (x) = x k P (x) + R (x), which is then transmitted.
In the system control unit 7B on the receiving side, an error E (x) in the transmission line is added, so that the received code H (x) = F (x).
Divide + E (x) by G (x). If there is not much, there is no error.

【0056】実施の形態3.この発明の実施の形態3に
ついて図4を参照しながら説明する。図4は、この発明
の実施の形態3に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 3 Third Embodiment A third embodiment of the present invention will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the rotary encoder system according to the third embodiment of the present invention.

【0057】この実施の形態3は、図4に示すように、
上記実施の形態1のパリティ符号化部13及びパリティ
復号化部15の代わりに、BCH符号化部18及びBC
H復号化部19を設けたものであり、その他は上記実施
の形態1の動作及び作用効果と同様である。
In the third embodiment, as shown in FIG.
Instead of the parity encoding unit 13 and the parity decoding unit 15 of the first embodiment, a BCH encoding unit 18 and a BC
The H decoding unit 19 is provided, and the other points are the same as the operations and effects of the first embodiment.

【0058】ここで、BCH符号(Bose Chau
dhuri Hocquenghem code)と
は、mを正整数としたとき、2m−1ビット以下の符号
長に対して、mtビットのチェックビットを設けること
により、誤りの検出を行うことを利用した誤り検出符号
方式であり、一般的に認知された技術のため詳述は省略
する。
Here, the BCH code (Bose Chau)
dhuri Hocquenghem code) is an error detection code that utilizes error detection by providing mt check bits for a code length of 2 m −1 bits or less, where m is a positive integer. Since this is a system and is a generally recognized technique, its detailed description is omitted.

【0059】実施の形態4.この発明の実施の形態4に
ついて図5を参照しながら説明する。図5は、この発明
の実施の形態4に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 4 FIG. A fourth embodiment of the present invention will be described with reference to FIG. FIG. 5 is a block diagram showing the configuration of the rotary encoder system according to the fourth embodiment of the present invention.

【0060】この実施の形態4は、図5に示すように、
上記実施の形態1のパリティ符号化部13及びパリティ
復号化部15の代わりに、ハミング符号化部20及びハ
ミング復号化部21を設けたものであり、その他は上記
実施の形態1の動作及び作用効果と同様である。
In the fourth embodiment, as shown in FIG.
A Hamming coding unit 20 and a Hamming decoding unit 21 are provided in place of the parity coding unit 13 and the parity decoding unit 15 of the first embodiment, and other operations and actions of the first embodiment are performed. It is similar to the effect.

【0061】このハミング符号(Hamming co
de)は、誤り検出符号の一つであり、符号長nビッ
ト、そのなかのチェックビットをmビットとし、n≦2
m−1を満足するように構成した符号である。この符号
は、符号長nが長くなるほど、相対的に少ないチェック
ビットでする利点がある。なお、一般的に認知された技
術のため詳述は省略する。
This Hamming code (Hamming co
de) is one of the error detection codes, where the code length is n bits, and the check bits are m bits, and n ≦ 2.
It is a code configured to satisfy m −1. This code has an advantage that the number of check bits is relatively small as the code length n becomes longer. Since this is a generally recognized technique, detailed description thereof will be omitted.

【0062】実施の形態5.この発明の実施の形態5に
ついて図6を参照しながら説明する。図6は、この発明
の実施の形態5に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 5 The fifth embodiment of the present invention will be described with reference to FIG. 6 is a block diagram showing the configuration of a rotary encoder system according to Embodiment 5 of the present invention.

【0063】この実施の形態5は、図6に示すように、
上記実施の形態1のパリティ復号化部15をロータリエ
ンコーダ1E内に配置したものであり、異常の有無の信
号を直接、システム制御部7Eへ出力する。その結果、
システム制御部7E側は異常の有無判定用の回路を設け
ないですむ。ロータリエンコーダ1E側でのノイズ等に
よる異常を検出できる。その他は上記実施の形態1の動
作及び作用効果と同様である。
In the fifth embodiment, as shown in FIG.
The parity decoding unit 15 of the first embodiment is arranged in the rotary encoder 1E, and the signal indicating the presence / absence of abnormality is directly output to the system control unit 7E. as a result,
The system control unit 7E does not need to provide a circuit for determining whether there is an abnormality. An abnormality due to noise or the like on the rotary encoder 1E side can be detected. Others are the same as the operations and effects of the first embodiment.

【0064】実施の形態6.この発明の実施の形態6に
ついて図7を参照しながら説明する。図7は、この発明
の実施の形態6に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 6 FIG. A sixth embodiment of the present invention will be described with reference to FIG. FIG. 7 is a block diagram showing the configuration of a rotary encoder system according to the sixth embodiment of the present invention.

【0065】この実施の形態6は、図7に示すように、
上記実施の形態2の巡回復号化部17をロータリエンコ
ーダ1F内に配置したものであり、異常の有無の信号を
直接、システム制御部7Fへ出力する。その結果、シス
テム制御部7F側は異常の有無判定用の回路を設けない
ですむ。ロータリエンコーダ1F側でのノイズ等による
異常を検出できる。その他は上記実施の形態2の動作及
び作用効果と同様である。
In the sixth embodiment, as shown in FIG.
The cyclic decoding unit 17 of the above-described second embodiment is arranged in the rotary encoder 1F, and a signal indicating the presence or absence of abnormality is directly output to the system control unit 7F. As a result, the system control section 7F does not need to be provided with a circuit for determining whether there is an abnormality. An abnormality due to noise or the like on the rotary encoder 1F side can be detected. Others are the same as the operations and effects of the second embodiment.

【0066】実施の形態7.この発明の実施の形態7に
ついて図8を参照しながら説明する。図8は、この発明
の実施の形態7に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 7 A seventh embodiment of the present invention will be described with reference to FIG. FIG. 8 is a block diagram showing the configuration of a rotary encoder system according to the seventh embodiment of the present invention.

【0067】この実施の形態7は、図8に示すように、
上記実施の形態3のBCH復号化部19をロータリエン
コーダ1G内に配置したものであり、異常の有無の信号
を直接、システム制御部7Gへ出力する。その結果、シ
ステム制御部7G側は異常の有無判定用の回路を設けな
いですむ。ロータリエンコーダ1G側でのノイズ等によ
る異常を検出できる。その他は上記実施の形態3の動作
及び作用効果と同様である。
In the seventh embodiment, as shown in FIG.
The BCH decoding unit 19 of the above-mentioned third embodiment is arranged in the rotary encoder 1G, and the signal indicating the presence / absence of abnormality is directly output to the system control unit 7G. As a result, the system control section 7G does not need to provide a circuit for determining whether there is an abnormality. An abnormality due to noise or the like on the rotary encoder 1G side can be detected. Others are the same as the operations and effects of the third embodiment.

【0068】実施の形態8.この発明の実施の形態8に
ついて図9を参照しながら説明する。図9は、この発明
の実施の形態8に係るロータリエンコーダシステムの構
成を示すブロック図である。
Embodiment 8. The eighth embodiment of the present invention will be described with reference to FIG. 9 is a block diagram showing the configuration of a rotary encoder system according to Embodiment 8 of the present invention.

【0069】この実施の形態8は、図9に示すように、
上記実施の形態4のハミング復号化部21をロータリエ
ンコーダ1H内に配置したものであり、異常の有無の信
号を直接、システム制御部7Hへ出力する。その結果、
システム制御部7H側は異常の有無判定用の回路を設け
ないですむ。ロータリエンコーダ1H側でのノイズ等に
よる異常を検出できる。その他は上記実施の形態4の動
作及び作用効果と同様である。
In the eighth embodiment, as shown in FIG.
The Hamming decoding unit 21 of the above-mentioned fourth embodiment is arranged in the rotary encoder 1H, and outputs a signal indicating the presence or absence of abnormality directly to the system control unit 7H. as a result,
The system control unit 7H does not need to provide a circuit for determining whether there is an abnormality. An abnormality due to noise or the like on the rotary encoder 1H side can be detected. Others are the same as the operations and effects of the fourth embodiment.

【0070】[0070]

【発明の効果】この発明に係るロータリエンコーダは、
多トラック型アブソリュートパターンを有する回転板
と、前記アブソリュートパターンを読み取る検出部と、
前記検出部の出力の異常を検出するための誤り検出回路
とを備えたので、外部システムでの異常検出処理が簡素
になり、また確実な異常検出を行うことができるという
効果を奏する。
The rotary encoder according to the present invention is
A rotating plate having a multi-track type absolute pattern, and a detection unit for reading the absolute pattern,
Since the error detection circuit for detecting an abnormality in the output of the detection unit is provided, there is an effect that abnormality detection processing in an external system can be simplified and reliable abnormality detection can be performed.

【0071】また、この発明に係るロータリエンコーダ
は、前記検出部が、前記回転板の一方の側に設けられ前
記回転板の径方向に一列に配置された複数個の発光素子
と、前記回転板の他方の側に設けられ前記発光素子に対
応するように前記回転板の径方向に一列に配置された複
数個の受光素子と、前記回転板と前記発光素子の間に設
けられ前記回転板の径方向に一列に配置された複数の孔
を有するスリットとを含み、前記誤り検出回路が、前記
検出部の出力を増幅するためのデータ出力部と、前記デ
ータ出力部の出力データに基づき誤り検出符号を生成す
る符号化部とを含むので、外部システムでの異常検出処
理が簡素になり、また確実な異常検出を行うことができ
るという効果を奏する。
Further, in the rotary encoder according to the present invention, the detecting portion is provided on one side of the rotary plate, and a plurality of light emitting elements are arranged in a line in a radial direction of the rotary plate, and the rotary plate. A plurality of light receiving elements provided on the other side of the rotary plate in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements, and the rotary plate provided between the rotary plate and the light emitting element. The error detection circuit includes a slit having a plurality of holes arranged in a row in a radial direction, the error detection circuit detects an error based on output data of the data output unit for amplifying an output of the detection unit, and output data of the data output unit. Since the encoding unit that generates the code is included, the abnormality detection process in the external system is simplified, and it is possible to perform reliable abnormality detection.

【0072】また、この発明に係るロータリエンコーダ
は、前記検出部が、前記回転板の一方の側に設けられ前
記回転板の径方向に一列に配置された複数個の発光素子
と、前記回転板の他方の側に設けられ前記発光素子に対
応するように前記回転板の径方向に一列に配置された複
数個の受光素子と、前記回転板と前記発光素子の間に設
けられ前記回転板の径方向に一列に配置された複数の孔
を有するスリットとを含み、前記誤り検出回路が、前記
検出部の出力を増幅するためのデータ出力部と、前記デ
ータ出力部の出力データに基づき誤り検出符号を生成す
る符号化部と、前記誤り検出符号に基づき前記出力デー
タの誤りを検出し異常の有無信号を出力する復号化部と
を含むので、外部システムでの異常検出処理が不要とな
るという効果を奏する。
Further, in the rotary encoder according to the present invention, the detecting portion is provided on one side of the rotary plate, and the rotary plate has a plurality of light emitting elements arranged in a line in a radial direction of the rotary plate. A plurality of light receiving elements provided on the other side of the rotary plate in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements, and the rotary plate provided between the rotary plate and the light emitting element. The error detection circuit includes a slit having a plurality of holes arranged in a row in a radial direction, the error detection circuit detects an error based on output data of the data output unit for amplifying an output of the detection unit, and output data of the data output unit. Since it includes an encoding unit that generates a code and a decoding unit that detects an error in the output data based on the error detection code and outputs an abnormality presence / absence signal, it is said that an abnormality detection process in an external system is unnecessary. Play the effect That.

【0073】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、パリティ検査符号としたの
で、外部システムでの異常検出処理が簡素になり、また
確実な異常検出を行うことができるという効果を奏す
る。
Further, in the rotary encoder according to the present invention, since the error detection code is the parity check code, the abnormality detection process in the external system is simplified and the reliable abnormality detection can be performed. Play.

【0074】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、巡回符号としたので、外部シ
ステムでの異常検出処理が簡素になり、また確実な異常
検出を行うことができるという効果を奏する。
Further, in the rotary encoder according to the present invention, the error detecting code is a cyclic code, so that the abnormality detecting process in the external system is simplified, and reliable abnormality can be detected. Play.

【0075】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、BCH符号としたので、外部
システムでの異常検出処理が簡素になり、また確実な異
常検出を行うことができるという効果を奏する。
Further, in the rotary encoder according to the present invention, since the error detection code is the BCH code, the abnormality detection process in the external system can be simplified, and reliable abnormality detection can be performed. Play.

【0076】また、この発明に係るロータリエンコーダ
は、前記誤り検出符号を、ハミング符号としたので、外
部システムでの異常検出処理が簡素になり、また確実な
異常検出を行うことができるという効果を奏する。
Further, in the rotary encoder according to the present invention, since the error detecting code is the Hamming code, the abnormality detecting process in the external system is simplified and the reliable abnormality detecting can be performed. Play.

【0077】さらに、この発明に係るロータリエンコー
ダシステムは、請求項2記載のロータリエンコーダと、
前記ロータリエンコーダから送られてきた誤り検出符号
に基づきエンコーダデータの異常を検出するための第2
の誤り検出回路を有するシステム制御部とを備えたの
で、外部システムでの異常検出処理が簡素になり、また
確実な異常検出を行うことができるという効果を奏す
る。
Further, the rotary encoder system according to the present invention comprises: the rotary encoder according to claim 2;
A second for detecting an abnormality in encoder data based on the error detection code sent from the rotary encoder
Since the system control unit having the error detection circuit is provided, the abnormality detection process in the external system is simplified, and reliable abnormality detection can be performed.

【0078】さらに、この発明に係るロータリエンコー
ダシステムは、前記第2の誤り検出回路が、前記ロータ
リエンコーダから送られてきたエンコーダデータを制御
に必要な信号に処理するデータ処理部と、前記ロータリ
エンコーダから別系統で送られてきた誤り検出符号に基
づき前記エンコーダデータの誤りを検出し異常の有無信
号を出力する復号化部と、前記制御に必要な信号と前記
異常の有無信号から制御の方向を判断する制御部とを含
むので、外部システムでの異常検出処理が簡素になり、
また確実な異常検出を行うことができるという効果を奏
する。
Further, in the rotary encoder system according to the present invention, the second error detection circuit processes the encoder data sent from the rotary encoder into a signal necessary for control, and the rotary encoder. Decoding unit that detects an error in the encoder data based on an error detection code sent from another system and outputs an abnormality presence / absence signal, and a direction of control from the signal necessary for the control and the abnormality presence / absence signal. Since it includes a control unit that makes a judgment, the abnormality detection process in the external system is simplified,
Further, there is an effect that it is possible to perform reliable abnormality detection.

【0079】さらに、この発明に係るロータリエンコー
ダシステムは、請求項3記載のロータリエンコーダと、
前記ロータリエンコーダから送られてきたエンコーダデ
ータを制御に必要な信号に処理するデータ処理部と、前
記制御に必要な信号と前記ロータリエンコーダから送ら
れてきた前記異常の有無信号から制御の方向を判断する
制御部とを有するシステム制御部とを備えたので、外部
システムでの異常検出処理が不要となるという効果を奏
する。
Further, the rotary encoder system according to the present invention comprises: the rotary encoder according to claim 3;
A data processing unit that processes the encoder data sent from the rotary encoder into a signal necessary for control, and determines the direction of control from the signal necessary for control and the abnormality presence / absence signal sent from the rotary encoder. Since the system control unit having the control unit for controlling the external system is provided, the effect that the abnormality detection process in the external system is unnecessary is achieved.

【0080】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、パリティ検査符号
としたので、外部システムでの異常検出処理が簡素にな
り、また確実な異常検出を行うことができる、あるいは
外部システムでの異常検出処理が不要となるという効果
を奏する。
Further, in the rotary encoder system according to the present invention, since the error detecting code is the parity check code, the abnormality detecting process in the external system can be simplified and the reliable abnormality can be detected. Alternatively, there is an effect that the abnormality detection process in the external system becomes unnecessary.

【0081】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、巡回符号としたの
で、外部システムでの異常検出処理が簡素になり、また
確実な異常検出を行うことができる、あるいは外部シス
テムでの異常検出処理が不要となるという効果を奏す
る。
Further, in the rotary encoder system according to the present invention, since the error detection code is a cyclic code, the abnormality detection process in the external system can be simplified and the reliable abnormality detection can be performed. This has the effect of eliminating the need for abnormality detection processing in an external system.

【0082】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、BCH符号とした
ので、外部システムでの異常検出処理が簡素になり、ま
た確実な異常検出を行うことができる、あるいは外部シ
ステムでの異常検出処理が不要となるという効果を奏す
る。
Further, in the rotary encoder system according to the present invention, since the error detection code is the BCH code, the abnormality detection process in the external system can be simplified and the reliable abnormality detection can be performed. This has the effect of eliminating the need for abnormality detection processing in an external system.

【0083】さらに、この発明に係るロータリエンコー
ダシステムは、前記誤り検出符号を、ハミング符号とし
たので、外部システムでの異常検出処理が簡素になり、
また確実な異常検出を行うことができる、あるいは外部
システムでの異常検出処理が不要となるという効果を奏
する。
Further, in the rotary encoder system according to the present invention, since the error detecting code is the Hamming code, the abnormality detecting process in the external system is simplified,
In addition, it is possible to perform reliable abnormality detection, or to eliminate the need for abnormality detection processing in an external system.

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

【図1】 この発明の実施の形態1に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 1 is a block diagram showing a functional configuration of a rotary encoder system according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1に係るロータリエン
コーダシステムの動作を説明するための図である。
FIG. 2 is a diagram for explaining the operation of the rotary encoder system according to the first embodiment of the present invention.

【図3】 この発明の実施の形態2に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 3 is a block diagram showing a functional configuration of a rotary encoder system according to a second embodiment of the present invention.

【図4】 この発明の実施の形態3に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 4 is a block diagram showing a functional configuration of a rotary encoder system according to a third embodiment of the present invention.

【図5】 この発明の実施の形態4に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 5 is a block diagram showing a functional configuration of a rotary encoder system according to a fourth embodiment of the present invention.

【図6】 この発明の実施の形態5に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 6 is a block diagram showing a functional configuration of a rotary encoder system according to a fifth embodiment of the present invention.

【図7】 この発明の実施の形態6に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 7 is a block diagram showing a functional configuration of a rotary encoder system according to a sixth embodiment of the present invention.

【図8】 この発明の実施の形態7に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 8 is a block diagram showing a functional configuration of a rotary encoder system according to a seventh embodiment of the present invention.

【図9】 この発明の実施の形態8に係るロータリエン
コーダシステムの機能構成を示すブロック図である。
FIG. 9 is a block diagram showing a functional configuration of a rotary encoder system according to an eighth embodiment of the present invention.

【図10】 従来のロータリエンコーダの構造を示す斜
視図である。
FIG. 10 is a perspective view showing the structure of a conventional rotary encoder.

【図11】 従来のロータリエンコーダシステムの機能
構成を示すブロック図である。
FIG. 11 is a block diagram showing a functional configuration of a conventional rotary encoder system.

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

1A,1B,1C,1D,1E,1F,1G,1H ロ
ータリエンコーダ、2回転軸、3 回転板、4 発光素
子、5 受光素子、6 スリット、7A、7B,7C,
7D,7E,7F,7G,7H システム制御部、8
データ処理部、10 制御部、11 信号線、12 デ
ータ出力部、13 パリティ符号化部、14 信号線、
15 パリティ復号化部、16 巡回符号化部、17
巡回復号化部、18 BCH符号化部、19 BCH復
号化部、20 ハミング符号化部、21 ハミング復号
化部。
1A, 1B, 1C, 1D, 1E, 1F, 1G, 1H rotary encoder, 2 rotary shaft, 3 rotary plate, 4 light emitting element, 5 light receiving element, 6 slits, 7A, 7B, 7C,
7D, 7E, 7F, 7G, 7H system control unit, 8
Data processing unit, 10 control unit, 11 signal line, 12 data output unit, 13 parity encoding unit, 14 signal line,
15 parity decoding unit, 16 cyclic encoding unit, 17
Cyclic decoding unit, 18 BCH coding unit, 19 BCH decoding unit, 20 Hamming coding unit, 21 Hamming decoding unit.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 多トラック型アブソリュートパターンを
有する回転板と、 前記アブソリュートパターンを読み取る検出部と、 前記検出部の出力の異常を検出するための誤り検出回路
とを備えたことを特徴とするロータリエンコーダ。
1. A rotary plate comprising a rotating plate having a multi-track type absolute pattern, a detection unit for reading the absolute pattern, and an error detection circuit for detecting an abnormality in the output of the detection unit. Encoder.
【請求項2】 前記検出部は、前記回転板の一方の側に
設けられ前記回転板の径方向に一列に配置された複数個
の発光素子と、前記回転板の他方の側に設けられ前記発
光素子に対応するように前記回転板の径方向に一列に配
置された複数個の受光素子と、前記回転板と前記発光素
子の間に設けられ前記回転板の径方向に一列に配置され
た複数の孔を有するスリットとを含み、前記誤り検出回
路は、前記検出部の出力を増幅するためのデータ出力部
と、前記データ出力部の出力データに基づき誤り検出符
号を生成する符号化部とを含むことを特徴とする請求項
1記載のロータリエンコーダ。
2. The detector is provided on one side of the rotary plate and is arranged in a row in a radial direction of the rotary plate, and a plurality of light emitting elements is provided on the other side of the rotary plate. A plurality of light receiving elements arranged in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements; and a plurality of light receiving elements provided between the rotary plate and the light emitting element and arranged in a row in the radial direction of the rotary plate. The error detection circuit includes a slit having a plurality of holes, a data output unit for amplifying an output of the detection unit, and an encoding unit for generating an error detection code based on output data of the data output unit. The rotary encoder according to claim 1, further comprising:
【請求項3】 前記検出部は、前記回転板の一方の側に
設けられ前記回転板の径方向に一列に配置された複数個
の発光素子と、前記回転板の他方の側に設けられ前記発
光素子に対応するように前記回転板の径方向に一列に配
置された複数個の受光素子と、前記回転板と前記発光素
子の間に設けられ前記回転板の径方向に一列に配置され
た複数の孔を有するスリットとを含み、前記誤り検出回
路は、前記検出部の出力を増幅するためのデータ出力部
と、前記データ出力部の出力データに基づき誤り検出符
号を生成する符号化部と、前記誤り検出符号に基づき前
記出力データの誤りを検出し異常の有無信号を出力する
復号化部とを含むことを特徴とする請求項1記載のロー
タリエンコーダ。
3. The detector is provided on one side of the rotary plate and is arranged in a row in a radial direction of the rotary plate, and a plurality of light emitting elements is provided on the other side of the rotary plate. A plurality of light receiving elements arranged in a row in the radial direction of the rotary plate so as to correspond to the light emitting elements; and a plurality of light receiving elements provided between the rotary plate and the light emitting element and arranged in a row in the radial direction of the rotary plate. The error detection circuit includes a slit having a plurality of holes, and a data output section for amplifying an output of the detection section, and an encoding section for generating an error detection code based on output data of the data output section. 2. The rotary encoder according to claim 1, further comprising: a decoding unit that detects an error in the output data based on the error detection code and outputs an abnormality presence / absence signal.
【請求項4】 前記誤り検出符号は、パリティ検査符号
であることを特徴とする請求項2又は3記載のロータリ
エンコーダ。
4. The rotary encoder according to claim 2, wherein the error detection code is a parity check code.
【請求項5】 前記誤り検出符号は、巡回符号であるこ
とを特徴とする請求項2又は3記載のロータリエンコー
ダ。
5. The rotary encoder according to claim 2, wherein the error detection code is a cyclic code.
【請求項6】 前記誤り検出符号は、BCH符号である
ことを特徴とする請求項2又は3記載のロータリエンコ
ーダ。
6. The rotary encoder according to claim 2, wherein the error detection code is a BCH code.
【請求項7】 前記誤り検出符号は、ハミング符号であ
ることを特徴とする請求項2又は3記載のロータリエン
コーダ。
7. The rotary encoder according to claim 2, wherein the error detection code is a Hamming code.
【請求項8】 請求項2記載のロータリエンコーダと、 前記ロータリエンコーダから送られてきた誤り検出符号
に基づきエンコーダデータの異常を検出するための第2
の誤り検出回路を有するシステム制御部とを備えたこと
を特徴とするロータリエンコーダシステム。
8. A rotary encoder according to claim 2, and a second encoder for detecting an abnormality in encoder data based on an error detection code sent from the rotary encoder.
And a system control unit having an error detection circuit.
【請求項9】 前記第2の誤り検出回路は、前記ロータ
リエンコーダから送られてきたエンコーダデータを制御
に必要な信号に処理するデータ処理部と、前記ロータリ
エンコーダから別系統で送られてきた誤り検出符号に基
づき前記エンコーダデータの誤りを検出し異常の有無信
号を出力する復号化部と、前記制御に必要な信号と前記
異常の有無信号から制御の方向を判断する制御部とを含
むことを特徴とする請求項8記載のロータリエンコーダ
システム。
9. The second error detection circuit includes a data processing unit that processes encoder data sent from the rotary encoder into a signal required for control, and an error sent from the rotary encoder in a different system. A decoding unit that detects an error in the encoder data based on a detection code and outputs an abnormality presence / absence signal; and a control unit that determines the direction of control from the signal necessary for the control and the abnormality presence / absence signal. The rotary encoder system according to claim 8, which is characterized in that:
【請求項10】 請求項3記載のロータリエンコーダ
と、 前記ロータリエンコーダから送られてきたエンコーダデ
ータを制御に必要な信号に処理するデータ処理部と、前
記制御に必要な信号と前記ロータリエンコーダから送ら
れてきた前記異常の有無信号から制御の方向を判断する
制御部とを有するシステム制御部とを備えたことを特徴
とするロータリエンコーダシステム。
10. The rotary encoder according to claim 3, a data processing unit that processes the encoder data sent from the rotary encoder into a signal necessary for control, a signal necessary for the control, and a signal sent from the rotary encoder. A rotary encoder system, comprising: a system control unit having a control unit that determines the direction of control based on the received abnormality signal.
【請求項11】 前記誤り検出符号は、パリティ検査符
号であることを特徴とする請求項9又は10記載のロー
タリエンコーダシステム。
11. The rotary encoder system according to claim 9, wherein the error detection code is a parity check code.
【請求項12】 前記誤り検出符号は、巡回符号である
ことを特徴とする請求項9又は10記載のロータリエン
コーダシステム。
12. The rotary encoder system according to claim 9, wherein the error detection code is a cyclic code.
【請求項13】 前記誤り検出符号は、BCH符号であ
ることを特徴とする請求項9又は10記載のロータリエ
ンコーダシステム。
13. The rotary encoder system according to claim 9, wherein the error detection code is a BCH code.
【請求項14】 前記誤り検出符号は、ハミング符号で
あることを特徴とする請求項9又は10記載のロータリ
エンコーダシステム。
14. The rotary encoder system according to claim 9, wherein the error detection code is a Hamming code.
JP26173495A 1995-10-09 1995-10-09 Rotary encoder and rotary encoder system Pending JPH09105646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26173495A JPH09105646A (en) 1995-10-09 1995-10-09 Rotary encoder and rotary encoder system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26173495A JPH09105646A (en) 1995-10-09 1995-10-09 Rotary encoder and rotary encoder system

Publications (1)

Publication Number Publication Date
JPH09105646A true JPH09105646A (en) 1997-04-22

Family

ID=17365977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26173495A Pending JPH09105646A (en) 1995-10-09 1995-10-09 Rotary encoder and rotary encoder system

Country Status (1)

Country Link
JP (1) JPH09105646A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009068978A (en) * 2007-09-13 2009-04-02 Iai:Kk Absolute linear encoder and actuator
JP2011033484A (en) * 2009-07-31 2011-02-17 Fuji Electric Holdings Co Ltd Rotational speed sensor and monitoring device of rotational speed
JP2016018210A (en) * 2014-07-07 2016-02-01 メディア ラリオ ソシエタ ア レスポンサビリタ リミタータMedia Lario S.R.L. Systems and methods for synchronous operation of debris-mitigation devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009068978A (en) * 2007-09-13 2009-04-02 Iai:Kk Absolute linear encoder and actuator
JP2011033484A (en) * 2009-07-31 2011-02-17 Fuji Electric Holdings Co Ltd Rotational speed sensor and monitoring device of rotational speed
JP2016018210A (en) * 2014-07-07 2016-02-01 メディア ラリオ ソシエタ ア レスポンサビリタ リミタータMedia Lario S.R.L. Systems and methods for synchronous operation of debris-mitigation devices

Similar Documents

Publication Publication Date Title
US4914437A (en) Encoder for measuring both incremental and absolute positions of moving elements
US9020774B2 (en) Encoder system, signal processing method, and transmission signal generation and output device
US4780703A (en) Rotary encoder apparatus
JP3176861B2 (en) Position measuring device
US6330522B1 (en) Rotational angle detector and method
JP5104523B2 (en) Encoder device and serial communication method
JPH0797417B2 (en) Electronic postage meter with redundant memory
JP2015049769A (en) Communication device, encoder device and serial communication method
JP2003346273A (en) Sensor device, and monitoring method of system for controlling object to be controlled by using detected data of sensor device
JPH09105646A (en) Rotary encoder and rotary encoder system
JP3047809B2 (en) Rotary encoder
JPH0850034A (en) Multiple-rotation type absolute encoder
JP2004144667A (en) Positional information anomaly detector
JP2003315099A (en) Multirotation encoder
JP3649005B2 (en) Optical absolute encoder
JP5193665B2 (en) Contactless master controller and failure detection method for contactless master controller
JP2013047692A (en) Encoder and pattern detecting method of the same
JP3772662B2 (en) Encoder abnormality detection device
JP3200847B2 (en) Hybrid encoder
JPH05312591A (en) Absolute encoder
JP2011149716A (en) Encoder device
JP3200846B2 (en) Hybrid encoder
JP2759607B2 (en) Synchronous signal detection device
JPH07270179A (en) Method for detecting absolute signal and absolute encoder
JP2008070269A (en) Apparatus for detecting encoder anomaly