JPH02195208A - Detected signal processing circuit for encoder - Google Patents

Detected signal processing circuit for encoder

Info

Publication number
JPH02195208A
JPH02195208A JP1599289A JP1599289A JPH02195208A JP H02195208 A JPH02195208 A JP H02195208A JP 1599289 A JP1599289 A JP 1599289A JP 1599289 A JP1599289 A JP 1599289A JP H02195208 A JPH02195208 A JP H02195208A
Authority
JP
Japan
Prior art keywords
data
absolute position
position data
encoder
error correction
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
JP1599289A
Other languages
Japanese (ja)
Inventor
Yoshinori Hayashi
好典 林
Kenzaburo Iijima
健三郎 飯島
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP1599289A priority Critical patent/JPH02195208A/en
Publication of JPH02195208A publication Critical patent/JPH02195208A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PURPOSE:To obtain highly accurate absolute position data by providing a non- volatile memory wherein error correcting data are written beforehand, the absolute position data from a position detecting circuit are made to be address input data, the absolute position data after the error correction are outputted, and the data can be rewritten. CONSTITUTION:In a main body 1 of a rotary encoder, a position detecting circuit 12 and a data conversion memory 2 are provided. The memory 2 is composed of a PROM which can be erased electrically. Data for error correction area written beforehand. When absolute position data D, which correspond to the relative displacement of a scale 13 that is outputted from the circuit 12, are inputted into the input terminal of the memory 2, absolute position data Da after the error correction are outputted from the terminal. The dected error of an individual encoder 1 due to the fluctuation of the gap between the scale 13 and magnetic sensors 14 and 15 is corrected. The highly accurate (+ or - three seconds) data Da are obtained. The error correcting data can be arbitrarily changed in periodic detections.

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、角度や位置などの変位を検出する磁気エン
コーダ等に用いて好適なエンコーダ用検出信号処理回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION "Field of Industrial Application" The present invention relates to a detection signal processing circuit for an encoder suitable for use in a magnetic encoder or the like that detects displacement such as angle or position.

「従来の技術」 第6図は従来の磁気ロータリーエンコーダに組み込まれ
た位置検出回路12の一例を示すブロック図である。
"Prior Art" FIG. 6 is a block diagram showing an example of a position detection circuit 12 incorporated in a conventional magnetic rotary encoder.

この図において、13はシャフトによって回転自在に支
持された円盤状の磁気記録媒体からなるスケールであり
、14.15はスケール13とギャップを隔てて対向配
置された磁気センサである。
In this figure, 13 is a scale made of a disc-shaped magnetic recording medium rotatably supported by a shaft, and 14 and 15 are magnetic sensors disposed opposite to the scale 13 with a gap therebetween.

このスケール13には、磁気センサ14,15と対向す
る円軌道に沿って波長λの正弦波の位置情報が磁化記録
されている。また磁気センサ14゜15は、スケール1
3上の磁界の強さに対応する信号を出力するもので、例
えば、磁気抵抗簀子によって構成されている。ここで、
磁気センサ15は、磁気センサ14に対し1/4λ(9
0°)ずれるように配置されており、これにより、磁気
センサ14.15の間隔は(m+ 1/4)λとなる(
ただし、山は正整数)ように設定されている。そして、
上述したことから判るように、磁気センサ14から出力
される信号を正弦波とすれば、磁気センサ15から出力
される信号は余弦波となる。したがって、磁化正弦波の
一周期の間隔(スケール13の極から極までの磁化区間
、以下、磁化ピッチと呼ぶ)をθ=θ〜2πとすれば、
磁気センサ14および15から各々出力される検出信号
はsinθおよびcosθとなる。
Position information of a sine wave of wavelength λ is magnetized and recorded on this scale 13 along a circular orbit facing the magnetic sensors 14 and 15. Moreover, the magnetic sensor 14°15 has a scale of 1
It outputs a signal corresponding to the strength of the magnetic field on the magnetic field 3, and is constructed of, for example, a magnetic resistance screen. here,
The magnetic sensor 15 has an angle of 1/4λ (9
The magnetic sensors 14 and 15 are spaced apart from each other by (m+1/4)λ.
However, the mountain is set as a positive integer). and,
As can be seen from the above, if the signal output from the magnetic sensor 14 is a sine wave, the signal output from the magnetic sensor 15 is a cosine wave. Therefore, if the interval of one period of the magnetization sine wave (the magnetization section from pole to pole of the scale 13, hereinafter referred to as magnetization pitch) is θ=θ~2π, then
The detection signals output from the magnetic sensors 14 and 15 are sin θ and cos θ, respectively.

次に、l 6,17は、磁気センサ14,15から出力
される検出信号sinθ、 cosθを各々増幅する増
幅器である。18.19は増幅器16.17によって各
々増幅された磁気センサ14,15の検出信号を各々デ
ジタル信号に変換するA/D変換器であり、デジタル化
したsinθおよびCOSθをデジタル乗算器20.2
1の一方の入力端に供給する。
Next, l 6 and 17 are amplifiers that amplify the detection signals sin θ and cos θ output from the magnetic sensors 14 and 15, respectively. Reference numeral 18.19 denotes an A/D converter that converts the detection signals of the magnetic sensors 14 and 15, each amplified by the amplifiers 16.17, into digital signals, and converts the digitized sin θ and COS θ to the digital multiplier 20.2.
1.

乗算器20.21の出力信号は、各々デジタル減算器2
2の一方および他方の入力端に供給され、減算器22の
出力信号はデジタル比較器23に供給される。このデジ
タル比較器23は、減算器22の減算結果が0を超えて
いれば“l”となり、0を超えていなけれζ番“0”と
なるU/I5信号をカウンタ24のアップダウン切換端
子U/[)に供給する。カウンタ24は、クロック信号
CKをカウントするものであり、アップダウン切換端子
U/bに“l”信号が供給されるとアップカウント、“
0“信号が供給されるとダウンカウントを行う。次に、
25は関数発生ROMであり、カウンタ24のカウント
値Φに対応する正弦および余弦データを出力するもので
ある。すなわち、関数発生ROM25内には予めsin
ΦおよびcosΦのデータが記憶されており、この記憶
されたデータがカウント値Φに応じて順次読み出される
ようになっている。そして、データCOSΦがデジタル
乗算器20の他方の入力端に供給され、デジタルsin
Φがデジタル乗算器21の他方の入力端に供給される。
The output signals of multipliers 20 and 21 are respectively output to digital subtracters 2
2, and the output signal of the subtracter 22 is supplied to a digital comparator 23. This digital comparator 23 sends the U/I5 signal to the up/down switching terminal U of the counter 24, which becomes "l" if the subtraction result of the subtracter 22 exceeds 0, and becomes "0" if it does not exceed 0. /[). The counter 24 counts the clock signal CK, and when the "l" signal is supplied to the up/down switching terminal U/b, it starts counting up and "
When a 0" signal is supplied, a down count is performed. Next,
Reference numeral 25 denotes a function generation ROM, which outputs sine and cosine data corresponding to the count value Φ of the counter 24. That is, sin is stored in the function generation ROM 25 in advance.
Data of Φ and cosΦ are stored, and the stored data is read out sequentially according to the count value Φ. The data COSΦ is then supplied to the other input terminal of the digital multiplier 20, and the digital sin
Φ is supplied to the other input end of the digital multiplier 21.

上記構成によると、減算器22の出力は、5in(θ−
Φ)となる。したがって、比較器23は5in(θ−Φ
)の値が正の場合はU/I)信号を“l”、負の場合は
U/D信号を“0”とし、この結果、カウンタ24のカ
ウント値Φは、5in(θ−Φ)の符号に応じて増減す
る。上述した構成要素!8〜25によって分割回路28
が構成されている。
According to the above configuration, the output of the subtracter 22 is 5 inches (θ−
Φ). Therefore, the comparator 23 is 5 inches (θ−Φ
) If the value of Increase or decrease depending on the sign. The components mentioned above! Divided circuit 28 by 8-25
is configured.

次に、30.31は、増幅器16.17で各々増幅され
た磁気センサ14,15の検出信号を所定のしきい値で
判定することにより、“1°レベルと“0”レベルの2
値信号に変換する波形整形回路である。この場合、波形
整形回路30.31の出力信号Pl+Pffiは、各々
位相がπ/2ずれた矩形波となり、磁気センサ14,1
5に対してスケール13が正方向に変位した場合は、パ
ルスP、が進み、負方向に変位した場合は、パルスP、
が進むようになっている。33は磁気センサ14,15
に対するスケール13の変位方向を判別する方向判別回
路であり、例えば、パルスP、の立ち上がり時における
パルスP、のレベルが“1”か”o”かによって方向を
判別するようになっている。この方向判別回路33の出
力信号Swは、カウンタ34のアップダウン切換端子U
/[5に供給されるとともに、外部に出力されるように
なっている。カウンタ34は、信号Svによってアップ
かダウンの切換を行いながら、パルスP、をカウントす
るようになっている。この場合、磁気センサ14,15
に対してスケール13が正方向に変位しているときにア
ップカウント、負方向に変位しているときにダウンカウ
ントが行なわれるようになっている。また、スケール1
3が1回転する毎に、その基準位置において出力される
0魚信号Szが、波形整形回路32を介した後に0点パ
ルスPzとなり、このO点パルスPzがカウンタ34の
リセット端子Rに供給されるようになっており、この結
果、カウンタ34は、磁気センサ14,15が基準位置
に達する毎にリセットされる。したがって、カウンタ3
4のカウント値は、現在、磁気センサ14,15か対向
しているスケール13上の位置と、基準位置との間にお
いて、磁気センサ14,15上を通過したスケール13
の磁化ピッチの数に対応した値となる。
Next, 30.31 determines the detection signals of the magnetic sensors 14 and 15, each amplified by the amplifiers 16.17, using a predetermined threshold value to generate two levels, the "1 degree level" and the "0" level.
This is a waveform shaping circuit that converts into a value signal. In this case, the output signals Pl+Pffi of the waveform shaping circuits 30 and 31 become rectangular waves whose phases are shifted by π/2, and the magnetic sensors 14 and 1
When the scale 13 is displaced in the positive direction with respect to 5, the pulse P advances, and when it is displaced in the negative direction, the pulse P,
is progressing. 33 is the magnetic sensor 14, 15
This is a direction determining circuit that determines the direction of displacement of the scale 13 relative to the direction of the scale 13. For example, the direction is determined depending on whether the level of the pulse P at the rising edge of the pulse P is "1" or "o". The output signal Sw of this direction discrimination circuit 33 is connected to the up/down switching terminal U of the counter 34.
/[5 and is also output to the outside. The counter 34 counts the pulses P while switching up or down in response to the signal Sv. In this case, the magnetic sensors 14, 15
When the scale 13 is displaced in the positive direction, an up count is performed, and when the scale 13 is displaced in the negative direction, a down count is performed. Also, scale 1
3 rotates once, the zero fish signal Sz output at the reference position becomes the zero point pulse Pz after passing through the waveform shaping circuit 32, and this O point pulse Pz is supplied to the reset terminal R of the counter 34. As a result, the counter 34 is reset each time the magnetic sensors 14, 15 reach the reference position. Therefore, counter 3
A count value of 4 indicates that the scale 13 has passed over the magnetic sensors 14 and 15 between the reference position and the position on the scale 13 that is currently facing the magnetic sensors 14 and 15.
The value corresponds to the number of magnetization pitches.

そして、カウンタ34の出力信号Nが絶対位置データD
の上位側ビットのデータを構成し、カウンタ24のカウ
ント値Φが絶対位置データDの下位側ビットのデータを
構成するようになっている。
Then, the output signal N of the counter 34 is the absolute position data D.
The count value Φ of the counter 24 constitutes the data of the lower bits of the absolute position data D.

上述した構成によれば、スケール13が磁気センサ14
,15に対して正方向に変位すると、カウンタ34はス
ケール13のひとつの磁化ピッチが磁気センサ14,1
5上を通過する毎にアップカウントを行って行き、この
カウント値が絶対位置データDの上位側ビットに出力さ
れる。したがって、絶対位置データDの上位側ビットを
みれば、磁気センサl 4,15上をスケール13の磁
化ピッチがいくつ通過したか、すなわち、現時点におい
て、スケール13の磁気センサ14,15と対向してい
る部分が、基準位置から何ピッチ目に位置しているかが
判る。
According to the above-described configuration, the scale 13 is connected to the magnetic sensor 14.
, 15 in the positive direction, the counter 34 indicates that the magnetization pitch of one of the scales 13 is equal to
Every time it passes over 5, it counts up, and this count value is output to the upper bit of the absolute position data D. Therefore, if we look at the upper bits of the absolute position data D, we can tell how many magnetization pitches of the scale 13 have passed over the magnetic sensors 14 and 15. In other words, at the present moment, You can see how many pitches the part is located from the reference position.

また、磁気センサ14,15から出力される検出信号s
inθ、cosθは、各々増幅器16.17で増幅され
、A/D変換器18.19によってデジタル信号に変換
された後、関数発生ROM25が出力する信号eO8Φ
、sinΦと乗算され、この結果、乗算器20.21の
各出力信号はsinθ・cosΦおよびcosθ・si
nΦとなる。これらの乗算結果が減算器22に供給され
、これにより減算器22の出力信号は、 sinθ’cosΦ−cosθ・sinΦ=sin(θ
−Φ) ・(1)となり、5in(θ−Φ)が検出され
る。そして、この5in(θ−Φ)の値の正負によって
カウンタ24のカウント値Φが増減し、このカウント値
Φに応じて関数発生ROMの出力sinΦ、cosΦか
増減する。この結果、第2図に示す分割回路28は、5
in(θ−Φ)の値を0とするような、すなわち、θ=
Φとするようなフェイズロックドループとなる。
In addition, the detection signal s output from the magnetic sensors 14 and 15
inθ and cosθ are each amplified by amplifiers 16.17, converted to digital signals by A/D converters 18.19, and then outputted from the function generation ROM 25 as a signal eO8Φ.
, sin Φ, and as a result, each output signal of the multiplier 20.21 becomes sin θ·cos Φ and cos θ·si
It becomes nΦ. These multiplication results are supplied to the subtracter 22, whereby the output signal of the subtracter 22 is sinθ'cosΦ−cosθ・sinΦ=sin(θ
-Φ) (1), and 5 inches (θ-Φ) is detected. Then, the count value Φ of the counter 24 increases or decreases depending on whether the value of 5 inches (θ-Φ) is positive or negative, and the outputs sin Φ and cos Φ of the function generation ROM increase or decrease in accordance with this count value Φ. As a result, the dividing circuit 28 shown in FIG.
such that the value of in(θ−Φ) is 0, that is, θ=
It becomes a phase-locked loop like Φ.

したがって、カウンタ24のカウント値Φは、磁気セン
サ14がひとつの磁化ピッチ内のどの位置にいるかを示
すデータとなる。この場合、カウンタ24のビット数を
8〜10ビツトとすれば、カウント値Φによる検出位置
分解能は、l磁化ピッチの1/256〜l/2048程
度の精度となる。
Therefore, the count value Φ of the counter 24 becomes data indicating where the magnetic sensor 14 is located within one magnetization pitch. In this case, if the number of bits of the counter 24 is 8 to 10 bits, the detection position resolution based on the count value Φ will be approximately 1/256 to 1/2048 of l magnetization pitch.

このように、分割回路28はひとつの磁化ピッチを電気
的に細かく分割して高精度の位置データを得るものであ
る。
In this way, the dividing circuit 28 electrically divides one magnetization pitch into small pieces to obtain highly accurate position data.

[発明が解決しようとする課題」 ところで、上述した従来の磁気ロータリーエンコーダに
組み込まれた位置検出回路12においては、高精度の絶
対位置データを得る分割回路28が設けられているもの
の、例えば、スケール13と磁気センサ14.15間の
ギャップ変動等に起因して生じる個々のロータリーエン
コーダの検出誤差(±20秒程度)を補正するための手
段は何等講じらていなかった。この場合、例えば、分割
回路28内に紫外線消去型のFROM(プログラマブル
ROM)を設け、これを用いて位置データの補正を行う
ものがあったか、製造時にROMライタが必要なばかり
か、高精度品として納入されたロータリーエンコーダの
定期検定に際し、誤差補正用のFROMを取り外して、
新たなデータを書き込まなければならないという煩雑さ
を伴っていた。
[Problems to be Solved by the Invention] Incidentally, although the position detection circuit 12 incorporated in the conventional magnetic rotary encoder described above is provided with the division circuit 28 for obtaining highly accurate absolute position data, for example, the scale No means were taken to correct the detection error (about ±20 seconds) of each rotary encoder caused by gap fluctuations between the rotary encoder 13 and the magnetic sensors 14 and 15. In this case, for example, there may have been an ultraviolet-erasable FROM (programmable ROM) installed in the dividing circuit 28 and used to correct the position data. During periodic verification of the delivered rotary encoder, the FROM for error correction was removed.
This was accompanied by the complexity of having to write new data.

この発明は上述した事情に鑑みてなされたもので、高精
度の絶対位置データが得られ、製造ライン上で誤差補正
用のデータを任意に書き込むことができると共に、定期
検定に際しても誤差補正用のデータを任意に変更するこ
とができるエンコーダ用検出信号処理回路を提供するこ
とを目的としている。
This invention was made in view of the above-mentioned circumstances, and allows highly accurate absolute position data to be obtained, error correction data to be arbitrarily written on the production line, and error correction data to be written during periodic inspection. It is an object of the present invention to provide a detection signal processing circuit for an encoder that can arbitrarily change data.

[課題を解決するための手段」 この発明は、正弦波の位置情報が記録された記録媒体が
相対的に変位した場合に、前記位置情報に対応した正弦
波および余弦波の検出信号を各々出力する第1および第
2のセンサと、これら第1および第2のセンサの検出信
号に基づいて前記記録媒体の相対的変位に対応した絶対
位置データを出力する位置検出回路とからなるエンコー
ダにおいて、予め誤差補正用のデータが書き込まれ、前
記位置検出回路から出力される絶対位置データをアドレ
ス入力とし、誤差補正後の絶対位置データもしくは補正
のための誤差データを出力する書き換え可能な不揮発性
メモリを設けたことを特徴としている。
[Means for Solving the Problems] This invention provides a method for outputting sine wave and cosine wave detection signals corresponding to the position information when a recording medium on which the position information of the sine wave is recorded is relatively displaced. an encoder comprising first and second sensors, and a position detection circuit that outputs absolute position data corresponding to the relative displacement of the recording medium based on the detection signals of the first and second sensors. A rewritable nonvolatile memory is provided in which error correction data is written, the absolute position data output from the position detection circuit is used as an address input, and the absolute position data after error correction or the error data for correction is output. It is characterized by

「作用」 上記の構成によれば、予め誤差補正用のデータが書き込
まれた不揮発性メモリにアドレス入力として、位置検出
回路から出力された絶対位置データが入力されると、そ
のデータ出力端から誤差補正後の絶対位置データもしく
は補正のための誤差データが出力されるので、高精度の
絶対位置データが得られる。この場合、書き換え可能な
不揮発性メモリを用いているので、製造ライン上で誤差
補正用のデータを任意に書き込むことができ、また、定
期検定に際しても誤差補正用のデータを任意に変更する
ことが可能である。
"Operation" According to the above configuration, when the absolute position data output from the position detection circuit is input as an address input to the nonvolatile memory in which error correction data is written in advance, the error will be detected from the data output terminal. Since corrected absolute position data or error data for correction is output, highly accurate absolute position data can be obtained. In this case, since rewritable non-volatile memory is used, error correction data can be arbitrarily written on the production line, and error correction data can also be arbitrarily changed during periodic verification. It is possible.

「実施例」 以下、図面を参照し、この発明の実施例について説明す
る。
"Embodiments" Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第1図はこの発明の第1実施例の構成を示すブロック図
である。この図において、ロータリーエンコーダ本体i
内には、位置検出回路12とデータ変換用メモリ2が設
けられている。データ変換用メモリ2はEEPROM(
電気的消去可能なPROM)によって構成されており、
予め誤差補正用のデータが書き込まれている。そして、
位置検出回路12から出力されるスケール13の相対的
な変位に対応する絶対位置データD(20ビツト)、す
なわち誤差補正前の絶対位置データDがアドレスデータ
としてデータ変換用メモリ2のアドレス入力端子に入力
されると、そのデータ出力端子から誤差補正後の絶対位
置データDa(20ビツト)が出力される。これにより
、スケール13と磁気センサ14,15間のギャップ変
動等に起因して生じる個々のロータリーエンコーダの検
出誤差が補正され、高精度(±3秒以内)の絶対位置デ
ータDaが得られる。またデータ変換用メモリ2はEE
PROMによって構成されているので、製造ライン上で
取り外さずに、誤差補正用のデータを任意に書き込むこ
とができ、また、定期検定に際しても誤差補正用のデー
タを任意に変更することができる。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention. In this figure, the rotary encoder body i
A position detection circuit 12 and a data conversion memory 2 are provided inside. Data conversion memory 2 is EEPROM (
It is composed of electrically erasable PROM),
Data for error correction is written in advance. and,
The absolute position data D (20 bits) corresponding to the relative displacement of the scale 13 output from the position detection circuit 12, that is, the absolute position data D before error correction, is input to the address input terminal of the data conversion memory 2 as address data. When input, error-corrected absolute position data Da (20 bits) is output from the data output terminal. As a result, detection errors of the individual rotary encoders caused by gap fluctuations between the scale 13 and the magnetic sensors 14 and 15 are corrected, and highly accurate (within ±3 seconds) absolute position data Da is obtained. Also, data conversion memory 2 is EE.
Since it is configured with a PROM, error correction data can be arbitrarily written without being removed on the production line, and error correction data can also be arbitrarily changed during periodic verification.

第2図は上述した第1実施例の変形例の構成を示す図で
あり、この変形例においては、ロータリーエンコーダ本
体1内に位置検出回路12のみを設け、この位置検出回
路12から出力される誤差補正前の絶対位置データDを
ケーブル4を介して受信ボード3に供給する。ようにな
っている。そして、この受信ボード3内に設けられた受
信回路5を介して誤差補正前の絶対位置データDがデー
タ変換用メモリ2へ供給され、誤差補正された絶対位置
データDaに変換されるようになっている。
FIG. 2 is a diagram showing the configuration of a modification of the first embodiment described above. In this modification, only the position detection circuit 12 is provided in the rotary encoder main body 1, and the output from the position detection circuit 12 is Absolute position data D before error correction is supplied to the receiving board 3 via the cable 4. It looks like this. Then, the absolute position data D before error correction is supplied to the data conversion memory 2 via the reception circuit 5 provided in the reception board 3, and is converted into error-corrected absolute position data Da. ing.

次に、第3図はこの発明の第2実施例の構成を示す図で
あり、この図において、データ変換用メモリ2aは、位
置検出回路12から出力される絶対位置データDが入力
された場合、それぞれの誤差成分に相当する誤差データ
Dbを出力するようになっている。そして、この誤差デ
ータDbが、加算回路6によって絶対位置データDに加
算されることにより、誤差補正された絶対位置データD
aが出力されるようになっている。第4図は、データ変
換用メモリ2aと加算回路6を受信ボード3に設けた場
合の変形例である。
Next, FIG. 3 is a diagram showing the configuration of a second embodiment of the present invention. In this diagram, when the data conversion memory 2a receives absolute position data D output from the position detection circuit 12, , error data Db corresponding to each error component is output. Then, this error data Db is added to the absolute position data D by the addition circuit 6, so that the error-corrected absolute position data D
a is output. FIG. 4 shows a modification in which the data conversion memory 2a and the adder circuit 6 are provided on the reception board 3.

次に、第5図はこの発明の第3実施例の構成を示す図で
あり、この図において、データ変換用メモリ2bは誤差
補正に関するデータが、度1秒1μmの各種表示単位毎
に予め書き込まれている。そして、これら各種表示単位
の中から特定の表示単位を指定する信号を、端子Ta、
Tb、Tcを介してアドレスデータの一部として入力す
ることにより、この特定の表示単位による補正後の絶対
位置データDa’が出力されるようになっている。これ
により、絶対位置データDa’の表示単位を任意に選択
することができる。
Next, FIG. 5 is a diagram showing the configuration of a third embodiment of the present invention. In this figure, the data conversion memory 2b has data related to error correction written in advance in various display units of 1 μm per second. It is. Then, a signal specifying a specific display unit from among these various display units is sent to the terminal Ta,
By inputting it as part of the address data via Tb and Tc, the absolute position data Da' corrected by this specific display unit is output. Thereby, the display unit of the absolute position data Da' can be arbitrarily selected.

なお、上述した一実施例においては、磁気ロータリーエ
ンコーダの位置検出回路に適用した場合を例にして説明
したが、これに限らず、光学式、電磁式、静電容量式な
どのロータリーエンコーダまたはリニアエンコーダの位
置検出回路に適用することも勿論可能である。
In addition, in the above-mentioned embodiment, the case where it is applied to a position detection circuit of a magnetic rotary encoder is explained as an example, but the application is not limited to this, and it can be applied to a rotary encoder or a linear encoder such as an optical type, an electromagnetic type, a capacitance type, etc. Of course, it is also possible to apply the present invention to a position detection circuit of an encoder.

「発明の効果」 以上説明したように、この発明によれば、位置検出回路
から出力された絶対位置データを、予め誤差補正用のデ
ータが書き込まれた不揮発性メモリのアドレスとして入
力し、そのデータ出力端から誤差補正後の絶対位置デー
タもしくは補正のための誤差データを出力するようにし
たので、高精度の絶対位置データが得られると共に、書
き換え可能な不揮発性メモリを用いているので、製造ラ
イン上で誤差補正用のデータを任意に書き込むことがで
き、また、定期検定に際しても誤差補正用のデータを任
意に変更することができるという効果が得られる。
"Effects of the Invention" As explained above, according to the present invention, absolute position data output from a position detection circuit is inputted as an address of a nonvolatile memory in which error correction data is written in advance, and the data is Since absolute position data after error correction or error data for correction is output from the output terminal, highly accurate absolute position data can be obtained, and since rewritable non-volatile memory is used, production line The advantage is that the data for error correction can be arbitrarily written in the above data, and the data for error correction can also be arbitrarily changed during periodic verification.

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

第1図はこの発明の第1実施例の構成を示すブロック図
、第2図は同実施例の変形例の構成を示すブロック図、
第3図はこの発明の第2実施例の構成を示すブロック図
、第4図は同実施例の変形例の構成を示すブロック図、
第5図はこの発明の第3実施例の構成を示すブロック図
、第6図は従来の磁気ロータリーエンコーダに組み込ま
れた位置検出回路の構成を示すブロッ図である。 l・・・・・・ロータリーエンコーダ本体、2.2a、
2b・・・・・・データ変換用メモリ、3・・・・・・
受信ボード、 5・・・・・・受信回路、 6・・・・・・加算回路、 12・・・・・・位置検出回路、 13・・・・・・スケール(記録媒体)、14.15・
・・・・・磁気センサ(第1.第2のセンサ)。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the invention, FIG. 2 is a block diagram showing the configuration of a modification of the same embodiment,
FIG. 3 is a block diagram showing the configuration of a second embodiment of the present invention, FIG. 4 is a block diagram showing the configuration of a modification of the same embodiment,
FIG. 5 is a block diagram showing the configuration of a third embodiment of the present invention, and FIG. 6 is a block diagram showing the configuration of a position detection circuit incorporated in a conventional magnetic rotary encoder. l...Rotary encoder main body, 2.2a,
2b... Memory for data conversion, 3...
Receiving board, 5... Receiving circuit, 6... Adding circuit, 12... Position detection circuit, 13... Scale (recording medium), 14.15・
...Magnetic sensor (first and second sensor).

Claims (3)

【特許請求の範囲】[Claims] (1)正弦波の位置情報が記録された記録媒体が相対的
に変位した場合に、前記位置情報に対応した正弦波およ
び余弦波の検出信号を各々出力する第1および第2のセ
ンサと、これら第1および第2のセンサの検出信号に基
づいて前記記録媒体の相対的変位に対応した絶対位置デ
ータを出力する位置検出回路とからなるエンコーダにお
いて、予め誤差補正用のデータが書き込まれ、前記位置
検出回路から出力される絶対位置データをアドレス入力
とし、誤差補正後の絶対位置データもしくは補正のため
の誤差データを出力する書き換え可能な不揮発性メモリ
を設けたことを特徴とするエンコーダ用検出信号処理回
路。
(1) first and second sensors that respectively output sine wave and cosine wave detection signals corresponding to the position information when a recording medium on which the sine wave position information is recorded is relatively displaced; In an encoder comprising a position detection circuit that outputs absolute position data corresponding to the relative displacement of the recording medium based on the detection signals of the first and second sensors, data for error correction is written in advance, and the A detection signal for an encoder, characterized in that it is provided with a rewritable nonvolatile memory that takes absolute position data output from a position detection circuit as an address input and outputs absolute position data after error correction or error data for correction. processing circuit.
(2)前記位置検出回路から出力された絶対位置データ
と前記不揮発性メモリから出力された誤差データを加減
算し、誤差補正後の絶対位置データを算出する加減算手
段を設けたことを特徴とする請求項1記載のエンコーダ
用検出信号処理回路。
(2) A claim characterized in that an addition/subtraction means is provided for adding and subtracting the absolute position data output from the position detection circuit and the error data output from the nonvolatile memory to calculate absolute position data after error correction. The detection signal processing circuit for an encoder according to item 1.
(3)前記不揮発性メモリには、誤差補正に関するデー
タが各種表示単位毎に予め書き込まれており、前記各種
表示単位の中から特定の表示単位をアドレス入力の一部
として指定されることにより、この特定の表示単位によ
る補正後の絶対位置データを出力することを特徴とする
請求項1記載のエンコーダ用検出信号処理回路。
(3) Data related to error correction is written in advance in the nonvolatile memory for each type of display unit, and by specifying a specific display unit from among the various display units as part of address input, 2. The encoder detection signal processing circuit according to claim 1, wherein the encoder detection signal processing circuit outputs the absolute position data after correction based on the specific display unit.
JP1599289A 1989-01-25 1989-01-25 Detected signal processing circuit for encoder Pending JPH02195208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1599289A JPH02195208A (en) 1989-01-25 1989-01-25 Detected signal processing circuit for encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1599289A JPH02195208A (en) 1989-01-25 1989-01-25 Detected signal processing circuit for encoder

Publications (1)

Publication Number Publication Date
JPH02195208A true JPH02195208A (en) 1990-08-01

Family

ID=11904150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1599289A Pending JPH02195208A (en) 1989-01-25 1989-01-25 Detected signal processing circuit for encoder

Country Status (1)

Country Link
JP (1) JPH02195208A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956505B2 (en) 2002-02-28 2005-10-18 Fanuc Ltd Signal processing apparatus for encoder
JP2015021840A (en) * 2013-07-19 2015-02-02 キヤノン株式会社 Rotation detection device, motor control device, motor driven device and method and program for correcting rotation detection device
JP2019091076A (en) * 2014-07-23 2019-06-13 株式会社ニコン Substrate treatment apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956505B2 (en) 2002-02-28 2005-10-18 Fanuc Ltd Signal processing apparatus for encoder
JP2015021840A (en) * 2013-07-19 2015-02-02 キヤノン株式会社 Rotation detection device, motor control device, motor driven device and method and program for correcting rotation detection device
JP2019091076A (en) * 2014-07-23 2019-06-13 株式会社ニコン Substrate treatment apparatus

Similar Documents

Publication Publication Date Title
Hagiwara et al. A method of improving the resolution and accuracy of rotary encoders using a code compensation technique
US5907298A (en) Interpolation circuit for encoder
EP2261680B1 (en) Peak-to-peak signal detector
JP4240090B2 (en) Encoder signal correction circuit
US7015832B2 (en) Pulse width modulation based digital incremental encoder
JPS62110113A (en) Interpolation method and shaft angle encoder
JPH02195208A (en) Detected signal processing circuit for encoder
JPH05231879A (en) Correcting method for detecting position
KR890007059A (en) Counting error detection device of digital measuring instrument
JPH06147922A (en) Displacement measuring device
JPS6312915A (en) Detection signal processing circuit for encoder
JPS61149822A (en) Correcting device for phase error
JPH0921603A (en) Capacitance type displacement-measuring apparatus
JPH0529045B2 (en)
JPS6211113A (en) Position detector
JP3365913B2 (en) Position detection device
JPH0221215A (en) Signal processing circuit for encoder
JP3810540B2 (en) Surveyor with adjustment function of rotary encoder
JP2551680B2 (en) Position detection device
JPH01212314A (en) Signal processing circuit of measuring device
JPS62293123A (en) Displacement detector
JPH02220111A (en) Encoder
JP3047946B2 (en) Angular position signal generator for sine and cosine signals
JPH04184217A (en) High resolution position detector
JPH0797037B2 (en) Position detector