JP2013124909A - Encoder and driver - Google Patents

Encoder and driver Download PDF

Info

Publication number
JP2013124909A
JP2013124909A JP2011273286A JP2011273286A JP2013124909A JP 2013124909 A JP2013124909 A JP 2013124909A JP 2011273286 A JP2011273286 A JP 2011273286A JP 2011273286 A JP2011273286 A JP 2011273286A JP 2013124909 A JP2013124909 A JP 2013124909A
Authority
JP
Japan
Prior art keywords
unit
signal
detection signal
detection
adjustment
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
JP2011273286A
Other languages
Japanese (ja)
Inventor
Kiichiro Yamabe
基一郎 山邉
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2011273286A priority Critical patent/JP2013124909A/en
Publication of JP2013124909A publication Critical patent/JP2013124909A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Transform (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce erroneous detection of the position of a driven object.SOLUTION: An encoder comprises a code disc having a pattern indicating positional information of a driven object, a plurality of detection element for detecting the pattern of the code disc, a converter which converts a detection signal detected by each of the plurality of detection elements into a binary signal, an adjustment control section which allows the converter to adjust the detection signal for each detection element on the basis of adjustment information determined for each detection element, and a position detection section which detects a position of the driven object.

Description

本発明は、エンコーダ、及び駆動装置に関する。   The present invention relates to an encoder and a drive device.

近年、位置情報を示すパターンを検出部によって検出した検出信号に基づいて、例えば、パターンを備えた回転子などの被駆動体の位置を検出するエンコーダが知られている(例えば、特許文献1を参照)。このようなエンコーダは、検出部が複数の検出素子を備え、複数の検出素子が検出した検出信号を波形整形した検出信号に基づいて、被駆動体の位置を検出している。   In recent years, an encoder that detects the position of a driven body such as a rotor having a pattern based on a detection signal obtained by detecting a pattern indicating position information by a detection unit is known (for example, see Patent Document 1). reference). In such an encoder, the detection unit includes a plurality of detection elements, and detects the position of the driven body based on a detection signal obtained by shaping the detection signal detected by the plurality of detection elements.

特開平5−203463号公報JP-A-5-203463

しかしながら、例えば、上述のようなエンコーダでは、検出部が光源を備えて、検出素子に受光素子を用いた場合に、光源からパターンを経て複数の受光素子に至る光路の距離が各受光素子によって異なることがある。このような場合、複数の受光素子が検出した検出信号の出力値にも、各受光素子によってバラツキが生じることがある。そのため、上述のようなエンコーダは、例えば、ノイズなどの外乱が発生した場合に、被駆動体の位置を誤検出することがある。
このように、上述のようなエンコーダは、被駆動体の位置を誤検出することがあるという問題があった。
However, for example, in the encoder as described above, when the detection unit includes a light source and a light receiving element is used as the detection element, the distance of the optical path from the light source to the plurality of light receiving elements through the pattern varies depending on each light receiving element. Sometimes. In such a case, the output values of detection signals detected by a plurality of light receiving elements may vary depending on each light receiving element. For this reason, the encoder as described above may erroneously detect the position of the driven body when a disturbance such as noise occurs, for example.
Thus, the encoder as described above has a problem that the position of the driven body may be erroneously detected.

本発明は、上記問題を解決すべくなされたもので、その目的は、被駆動体の位置の誤検出を低減することができるエンコーダ、及び駆動装置を提供することにある。   The present invention has been made to solve the above problems, and an object of the present invention is to provide an encoder and a driving device that can reduce erroneous detection of the position of a driven body.

上記問題を解決するために、本発明の一実施形態は、被駆動体の位置情報を示すパターンを有する符号板と、前記符号板の前記パターンを検出する複数の検出素子と、前記複数の検出素子それぞれが検出した検出信号を二値化信号に変換する変換部と、前記検出素子ごとに定められた調整情報に基づいて、前記変換部に前記検出信号を前記検出素子ごとに調整させる調整制御部と、前記二値化信号に基づいて、前記被駆動体の位置を検出する位置検出部とを備えることを特徴とするエンコーダである。   In order to solve the above problem, an embodiment of the present invention includes a code plate having a pattern indicating position information of a driven body, a plurality of detection elements for detecting the pattern of the code plate, and the plurality of detections. A conversion unit that converts a detection signal detected by each element into a binary signal, and an adjustment control that causes the conversion unit to adjust the detection signal for each detection element based on adjustment information determined for each detection element And a position detector that detects the position of the driven body based on the binarized signal.

また、本発明の一実施形態は、上記に記載のエンコーダと、前記被駆動体を駆動する駆動部とを備えることを特徴とする駆動装置である。   In addition, an embodiment of the present invention is a driving device including the encoder described above and a driving unit that drives the driven body.

本発明によれば、被駆動体の位置の誤検出を低減することができる。   According to the present invention, erroneous detection of the position of the driven body can be reduced.

第1の実施形態によるエンコーダを示すブロック図である。It is a block diagram which shows the encoder by 1st Embodiment. 本実施形態における受光素子の検出信号の切り替え動作を示す図である。It is a figure which shows the switching operation | movement of the detection signal of the light receiving element in this embodiment. 第1の実施形態におけるエンコーダの検出信号の調整動作を示す図である。It is a figure which shows adjustment operation | movement of the detection signal of the encoder in 1st Embodiment. 第2の実施形態によるエンコーダを示すブロック図である。It is a block diagram which shows the encoder by 2nd Embodiment. 第2の実施形態によるエンコーダの検出信号の調整動作を示す図である。It is a figure which shows adjustment operation | movement of the detection signal of the encoder by 2nd Embodiment. 第3の実施形態によるエンコーダを示すブロック図である。It is a block diagram which shows the encoder by 3rd Embodiment. 第3の実施形態におけるエンコーダの検出信号の調整動作を示す図である。It is a figure which shows adjustment operation | movement of the detection signal of the encoder in 3rd Embodiment. 第4の実施形態によるエンコーダを示すブロック図である。It is a block diagram which shows the encoder by 4th Embodiment. 第5の実施形態によるエンコーダを示すブロック図である。It is a block diagram which shows the encoder by 5th Embodiment. 本実施形態における駆動装置の概略図である。It is the schematic of the drive device in this embodiment. 本実施形態における減速機を備える駆動装置の概略図である。It is the schematic of a drive device provided with the reduction gear in this embodiment.

以下、本発明の一実施形態によるエンコーダについて、図面を参照して説明する。
[第1の実施形態]
図1は、本実施形態によるエンコーダ100を示すブロック図である。
図1において、エンコーダ100は、符号板2、受光部3、切替部4、信号変換部5、信号処理部6、光源10、ドライバ部11、アンプ(12,13)、及び不揮発性記憶部14を備えている。なお、実施形態では、一例として、エンコーダ100が、透過式の光学方式のアブソリュートエンコーダである場合の例について説明する。
Hereinafter, an encoder according to an embodiment of the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram showing an encoder 100 according to the present embodiment.
In FIG. 1, an encoder 100 includes a code plate 2, a light receiving unit 3, a switching unit 4, a signal converting unit 5, a signal processing unit 6, a light source 10, a driver unit 11, an amplifier (12, 13), and a nonvolatile storage unit 14. It has. In the embodiment, as an example, an example in which the encoder 100 is a transmissive optical absolute encoder will be described.

符号板2は、例えば、回転子(被駆動体)などに装着されている回転符号板であり、回転子の位置情報を示すパターンを有している。例えば、符号板2は、円板状の形状に、外周側から順番に、内挿処理に用いるインクリメンタルパターン22と、絶対位置として位置情報を示すアブソリュートパターン21とを備えている。なお、本実施形態では、一例として、符号板2が回転するロータリータイプのエンコーダについて説明する。
ここで、位置情報とは、移動角度(例、回転角度)や移動位置(例、回転位置)等を示す情報である。また、絶対位置とは、例えば、回転子の絶対角度位置又は絶対移動位置(例、絶対回転位置)のことである。
The code plate 2 is, for example, a rotary code plate mounted on a rotor (driven body) or the like, and has a pattern indicating position information of the rotor. For example, the code plate 2 is provided with an incremental pattern 22 used for interpolation processing and an absolute pattern 21 indicating position information as an absolute position in order from the outer peripheral side in a disc shape. In this embodiment, as an example, a rotary type encoder in which the code plate 2 rotates will be described.
Here, the position information is information indicating a movement angle (eg, rotation angle), a movement position (eg, rotation position), and the like. The absolute position is, for example, the absolute angular position or the absolute movement position (eg, absolute rotation position) of the rotor.

アブソリュートパターン21及びインクリメンタルパターン22は、例えば、光を透過する透過パターン領域と、光を透過しない非透過パターン領域とにより位置情報を示すパターンを形成している。アブソリュートパターン21及びインクリメンタルパターン22は、光源10から透過パターン領域を透過して照射された光を受光部3が受光できるように、光源10と受光部3との間に配置されている。アブソリュートパターン21及びインクリメンタルパターン22は、光源10から照射された光を透過パターン領域に応じて透過させ、透過させた光を受光部3に受光させる。   For example, the absolute pattern 21 and the incremental pattern 22 form a pattern indicating position information by a transmissive pattern region that transmits light and a non-transmissive pattern region that does not transmit light. The absolute pattern 21 and the incremental pattern 22 are disposed between the light source 10 and the light receiving unit 3 so that the light receiving unit 3 can receive light irradiated through the transmission pattern region from the light source 10. The absolute pattern 21 and the incremental pattern 22 transmit light emitted from the light source 10 according to the transmission pattern region, and cause the light receiving unit 3 to receive the transmitted light.

受光部3(検出部)は、符号板2に対向して配置され、アブソリュートパターン21及びインクリメンタルパターン22を介して光源10から照射された光を受光することにより、アブソリュートパターン21及びインクリメンタルパターン22を検出する。
また、受光部3は、アブソリュート受光部30と、インクリメンタル受光部37とを備えている。
The light receiving unit 3 (detecting unit) is disposed to face the code plate 2 and receives light emitted from the light source 10 via the absolute pattern 21 and the incremental pattern 22, thereby causing the absolute pattern 21 and the incremental pattern 22 to be received. To detect.
The light receiving unit 3 includes an absolute light receiving unit 30 and an incremental light receiving unit 37.

インクリメンタル受光部37は、符号板2に設けられたインクリメンタルパターン22に対向して配置される。インクリメンタル受光部37は、光源10からインクリメンタルパターン22を介して照射された光を受光して、受光した光量に基づいてインクリメンタルパターン22を検出する。インクリメンタル受光部37は、検出したインクリメンタルパターン22に対応する2つの検出信号であって、互いに位相が90度ずれたA相検出信号とB相検出信号とを出力する。インクリメンタル受光部37は、A相検出信号をアンプ12に、B相検出信号をアンプ13に、それぞれ出力する。   The incremental light receiving unit 37 is disposed so as to face the incremental pattern 22 provided on the code plate 2. The incremental light receiving unit 37 receives light emitted from the light source 10 via the incremental pattern 22 and detects the incremental pattern 22 based on the received light quantity. The incremental light receiving unit 37 outputs two detection signals corresponding to the detected incremental pattern 22, and outputs an A phase detection signal and a B phase detection signal that are 90 degrees out of phase with each other. The incremental light receiving unit 37 outputs the A phase detection signal to the amplifier 12 and the B phase detection signal to the amplifier 13, respectively.

アブソリュート受光部30は、符号板2に設けられたアブソリュートパターン21に対向して配置され、光源10からアブソリュートパターン21を介して照射された光を受光して、受光した光量に基づいてアブソリュートパターン21を検出する。アブソリュート受光部30は、例えば、アブソリュートパターン21に対応した最小読み取りピッチを持つ複数(例えば、6つ)の受光素子31〜36を備えている。アブソリュート受光部30は、複数(例えば、6つ)の受光素子31〜36によって検出した各検出信号を切替部4に出力する。
受光素子31〜36(検出素子)のそれぞれは、例えば、フォトダイオード、フォトトランジスタなどであり、アブソリュートパターン21に対応する配置に並んで互いに隣接する形でアブソリュート受光部30を形成している。
The absolute light receiving unit 30 is arranged to face the absolute pattern 21 provided on the code plate 2, receives light emitted from the light source 10 through the absolute pattern 21, and based on the received light quantity, the absolute pattern 21. Is detected. The absolute light receiving unit 30 includes, for example, a plurality of (for example, six) light receiving elements 31 to 36 having a minimum reading pitch corresponding to the absolute pattern 21. The absolute light receiving unit 30 outputs each detection signal detected by a plurality of (for example, six) light receiving elements 31 to 36 to the switching unit 4.
Each of the light receiving elements 31 to 36 (detection elements) is, for example, a photodiode, a phototransistor, or the like, and forms the absolute light receiving unit 30 in a form adjacent to each other in an arrangement corresponding to the absolute pattern 21.

なお、光源10からアブソリュートパターン21を経て受光素子31〜36に至る光路の距離は、受光素子31〜36の配置によって異なる。そのため、受光素子31〜36が出力する検出信号は、信号レベルに不均一が生じる場合がある。すなわち、アブソリュート受光部30の両端に位置する受光素子(31,36)の光路の距離は、中央に配置されている受光素子(33,34)の光路の距離より長いため、受光素子(31,36)の出力信号の信号レベルは、受光素子(33,34)の出力信号の信号レベルより低くなる。
この複数の受光素子(31〜36)における信号レベルの不均一を低減するために、本実施形態におけるエンコーダ100は、検出信号の調整する制御を行っている。検出信号の調整する制御については、詳細に後述する。
The distance of the optical path from the light source 10 to the light receiving elements 31 to 36 through the absolute pattern 21 varies depending on the arrangement of the light receiving elements 31 to 36. Therefore, the detection signals output from the light receiving elements 31 to 36 may have nonuniform signal levels. That is, since the distance of the optical path of the light receiving elements (31, 36) located at both ends of the absolute light receiving unit 30 is longer than the distance of the optical path of the light receiving elements (33, 34) disposed in the center, the light receiving elements (31, 36) The signal level of the output signal 36) is lower than the signal level of the output signal of the light receiving element (33, 34).
In order to reduce the nonuniformity of the signal level in the plurality of light receiving elements (31 to 36), the encoder 100 in the present embodiment performs control for adjusting the detection signal. The control for adjusting the detection signal will be described later in detail.

切替部4は、アブソリュート受光部30と信号変換部5との間に配置され、信号処理部6から供給される切り替え信号に基づいて、6つの受光素子31〜36のうち、いずれの受光素子が検出信号(ABS(エービーエス)相検出信号)を出力するかを切り替える。すなわち、切替部4は、信号処理部6から供給される切り替え信号に応じて、6つの受光素子31〜36のうちの1つを順番に切り替えて、ABS相検出信号を出力する。また、切替部4は、複数(例えば、6つ)のスイッチを備えるスイッチ部41とスイッチ制御部42とを備えている。   The switching unit 4 is disposed between the absolute light receiving unit 30 and the signal converting unit 5, and any one of the six light receiving elements 31 to 36 is selected based on a switching signal supplied from the signal processing unit 6. Switches whether to output a detection signal (ABS phase detection signal). That is, the switching unit 4 sequentially switches one of the six light receiving elements 31 to 36 according to the switching signal supplied from the signal processing unit 6 and outputs an ABS phase detection signal. The switching unit 4 includes a switch unit 41 including a plurality of (for example, six) switches and a switch control unit 42.

スイッチ部41は、例えば、受光素子31〜36のそれぞれに対応する6つのスイッチを備えている。この6つのスイッチは、スイッチ制御部42から供給される制御信号に基づいて、受光素子31に対応する検出信号から受光素子36に対応する検出信号である6つの検出信号うちの1つを、ABS相検出信号として選択的に出力する。   The switch unit 41 includes, for example, six switches corresponding to the light receiving elements 31 to 36, respectively. Based on the control signal supplied from the switch control unit 42, the six switches convert one of the six detection signals, which are detection signals corresponding to the light receiving element 36, from the detection signal corresponding to the light receiving element 31 to the ABS. Selectively output as phase detection signal.

スイッチ制御部42は、信号処理部6から供給される切り替え信号に応じて、上述の6つの検出信号のうちの1つを切り替えて、ABS相検出信号として出力させる制御信号をスイッチ部41に供給する。スイッチ制御部42は、例えば、アブソリュート受光部30の出力を順番に1信号ずつ切り替えてスイッチ部41から出力させる。   The switch control unit 42 switches one of the six detection signals described above according to the switching signal supplied from the signal processing unit 6, and supplies the control signal to be output as the ABS phase detection signal to the switch unit 41. To do. For example, the switch control unit 42 switches the output of the absolute light receiving unit 30 one signal at a time in order and outputs the signal from the switch unit 41.

信号変換部5は、切替部4が出力したABS相検出信号を増幅して、二値化信号に変換する。すなわち、信号変換部5は、上述の6つの受光素子31〜36それぞれが検出した検出信号を二値化信号に変換する。ここで、二値化とは、所定の閾値電圧(閾値レベル)に基づいて、アナログ信号である検出信号を、第1の信号レベル(例えば、L(ロウ)レベル)と第2の信号レベル(例えば、H(ハイ)レベル)との2つの信号レベルの信号(デジタル信号)に変換することである。なお、第1の信号レベルと、第2の信号レベルとは、デジタル信号における論理状態に対応する。ここでは、例えば、Lレベルが論理状態“0”に対応し、Hレベルが論理状態“1”に対応するものとして説明する。
信号変換部5は、ABS相検出信号を変換した二値化信号を信号処理部6に供給する。また、信号変換部5は、アンプ51と、二値化部52とを備えている。
The signal conversion unit 5 amplifies the ABS phase detection signal output from the switching unit 4 and converts it into a binary signal. That is, the signal converter 5 converts the detection signals detected by the six light receiving elements 31 to 36 described above into binary signals. Here, binarization means that a detection signal, which is an analog signal, is converted into a first signal level (for example, L (low) level) and a second signal level (for example, based on a predetermined threshold voltage (threshold level)). For example, conversion to a signal (digital signal) having two signal levels (H (high) level). Note that the first signal level and the second signal level correspond to logic states in the digital signal. Here, for example, it is assumed that the L level corresponds to the logical state “0” and the H level corresponds to the logical state “1”.
The signal conversion unit 5 supplies a binary signal obtained by converting the ABS phase detection signal to the signal processing unit 6. The signal conversion unit 5 includes an amplifier 51 and a binarization unit 52.

アンプ51(増幅部)は、ABS相検出信号を増幅し、増幅した信号(ABS相検出信号)を二値化部52に出力する。なお、アンプ51は、例えば、ゲイン(利得)調整型の増幅回路であり、信号処理部6から供給されるゲイン調整信号に基づいて、信号増幅のゲイン(利得)を変更する。
二値化部52は、例えば、コンパレータ(比較器)であり、アンプ51によって増幅されたABS相検出信号を所定の閾値電圧に基づいて二値化信号に変換する。二値化部52は、例えば、増幅されたABS相検出信号の信号レベルが所定の閾値電圧以上である場合に、二値化信号としてHレベルを出力する。二値化部52は、例えば、増幅されたABS相検出信号の信号レベルが所定の閾値電圧未満である場合に、二値化信号としてLレベルを出力する。二値化部52は、変換した二値化信号を信号処理部6に供給する。
The amplifier 51 (amplifying unit) amplifies the ABS phase detection signal and outputs the amplified signal (ABS phase detection signal) to the binarization unit 52. The amplifier 51 is, for example, a gain adjustment type amplification circuit, and changes the gain (gain) of signal amplification based on the gain adjustment signal supplied from the signal processing unit 6.
The binarization unit 52 is, for example, a comparator (comparator), and converts the ABS phase detection signal amplified by the amplifier 51 into a binarized signal based on a predetermined threshold voltage. For example, when the signal level of the amplified ABS phase detection signal is equal to or higher than a predetermined threshold voltage, the binarization unit 52 outputs an H level as a binarization signal. For example, when the signal level of the amplified ABS phase detection signal is less than a predetermined threshold voltage, the binarization unit 52 outputs an L level as a binarized signal. The binarization unit 52 supplies the converted binarized signal to the signal processing unit 6.

アンプ12は、例えば、増幅回路であり、インクリメンタル受光部37から出力されたA相検出信号を増幅し、増幅したA相検出信号を信号処理部6に供給する。
アンプ13は、例えば、増幅回路であり、インクリメンタル受光部37から出力されたB相検出信号を増幅し、増幅したB相検出信号を信号処理部6に供給する。
The amplifier 12 is, for example, an amplifier circuit, amplifies the A phase detection signal output from the incremental light receiving unit 37, and supplies the amplified A phase detection signal to the signal processing unit 6.
The amplifier 13 is, for example, an amplifier circuit, amplifies the B phase detection signal output from the incremental light receiving unit 37, and supplies the amplified B phase detection signal to the signal processing unit 6.

ドライバ部11は、信号処理部6から供給された制御信号に基づいて、光源10を駆動する駆動信号を生成し、生成した駆動信号を光源10に供給する。
光源10は、例えば、LED(発光ダイオード)などの発光素子であり、ドライバ部11から供給される駆動信号に基づいて、符号板2のアブソリュートパターン21及びインクリメンタルパターン22に光を照射する。
The driver unit 11 generates a drive signal for driving the light source 10 based on the control signal supplied from the signal processing unit 6, and supplies the generated drive signal to the light source 10.
The light source 10 is a light emitting element such as an LED (light emitting diode), for example, and irradiates light to the absolute pattern 21 and the incremental pattern 22 of the code plate 2 based on a drive signal supplied from the driver unit 11.

不揮発性記憶部14(記憶部)は、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)やフラッシュメモリなどの記憶部であり、後述する調整情報を記憶する。不揮発性記憶部14は、受光素子(31〜36)ごとに定められた調整情報を記憶する。なお、本実施形態では、不揮発性記憶部14は、後述する設定装置200(調整情報設定部210)から供給された調整情報を記憶する。   The non-volatile storage unit 14 (storage unit) is a storage unit such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash memory, and stores adjustment information described later. The nonvolatile storage unit 14 stores adjustment information determined for each light receiving element (31 to 36). In the present embodiment, the nonvolatile storage unit 14 stores adjustment information supplied from a setting device 200 (adjustment information setting unit 210) described later.

信号処理部6は、エンコーダ100における各部の制御、及び信号処理を行う。信号処理部6は、例えば、光源10に駆動信号を出力させる制御信号を生成し、生成した制御信号をドライバ部11に供給する。また、信号処理部6は、例えば、A相検出信号及びB相検出信号と、二値化信号とに基づいて、位置情報(例えば、回転体の位置)を算出(検出)する信号処理を行い、算出した回転位置をエンコーダ100の外部に出力する。ここで、A相検出信号及びB相検出信号は、インクリメンタル受光部37からアンプ(12,13)を介して供給され、二値化信号は、アブソリュート受光部30から切替部4及び信号変換部5を介して供給されたABS相検出信号に対応する。   The signal processing unit 6 controls each unit in the encoder 100 and performs signal processing. For example, the signal processing unit 6 generates a control signal that causes the light source 10 to output a drive signal, and supplies the generated control signal to the driver unit 11. Further, the signal processing unit 6 performs signal processing for calculating (detecting) position information (for example, the position of the rotating body) based on, for example, the A phase detection signal, the B phase detection signal, and the binarized signal. The calculated rotational position is output to the outside of the encoder 100. Here, the A phase detection signal and the B phase detection signal are supplied from the incremental light receiving unit 37 via the amplifiers (12, 13), and the binarized signal is supplied from the absolute light receiving unit 30 to the switching unit 4 and the signal converting unit 5. This corresponds to the ABS phase detection signal supplied via.

また、信号処理部6は、例えば、受光素子(31〜36)ごとに定められた調整情報に基づいて、信号変換部5に検出信号を受光素子(31〜36)ごとに調整させる調整制御を行う。この調整制御の詳細については、後述する。
また、信号処理部6は、調整制御部60、D/A(デジタル/アナログ)部61、A/D(アナログ/デジタル)部(62,63)、及び位置検出部7を備えている。
In addition, the signal processing unit 6 performs adjustment control for causing the signal conversion unit 5 to adjust the detection signal for each light receiving element (31 to 36) based on adjustment information determined for each light receiving element (31 to 36), for example. Do. Details of this adjustment control will be described later.
The signal processing unit 6 includes an adjustment control unit 60, a D / A (digital / analog) unit 61, A / D (analog / digital) units (62, 63), and a position detection unit 7.

A/D部62は、例えば、アナログ/デジタル変換器であり、アンプ12から供給されたアナログ信号であるA相検出信号をデジタル信号に変換し、変換したデジタル信号(A相検出信号)を位置検出部7に供給する。
A/D部63は、例えば、アナログ/デジタル変換器であり、アンプ13から供給されたアナログ信号であるB相検出信号をデジタル信号に変換し、変換したデジタル信号(B相検出信号)を位置検出部7に供給する。
The A / D unit 62 is, for example, an analog / digital converter, which converts an A phase detection signal that is an analog signal supplied from the amplifier 12 into a digital signal, and converts the converted digital signal (A phase detection signal) to a position. It supplies to the detection part 7.
The A / D unit 63 is, for example, an analog / digital converter, which converts a B-phase detection signal that is an analog signal supplied from the amplifier 13 into a digital signal, and converts the converted digital signal (B-phase detection signal) to a position. It supplies to the detection part 7.

位置検出部7は、A/D部(62,63)から供給されたA相検出信号及びB相検出信号と、信号変換部5から供給された二値化信号とに基づいて、位置情報(例えば、回転体の位置)を検出する。位置検出部7は、検出した位置情報をエンコーダ100の外部に出力する。また、位置検出部7は、絶対番地処理部71と、内挿処理部72と、合成処理部73とを備えている。   Based on the A phase detection signal and the B phase detection signal supplied from the A / D unit (62, 63) and the binarized signal supplied from the signal conversion unit 5, the position detection unit 7 For example, the position of the rotating body) is detected. The position detection unit 7 outputs the detected position information to the outside of the encoder 100. The position detection unit 7 includes an absolute address processing unit 71, an interpolation processing unit 72, and a synthesis processing unit 73.

絶対番地処理部71は、信号変換部5から供給された二値化信号に基づいて、アブソリュートパターン21を検出した絶対位置情報を生成する。また、絶対番地処理部71は、切替部4のスイッチ制御部42に、切り替え信号を出力する。例えば、絶対番地処理部71は、切り替え信号をスイッチ制御部42に供給して、受光素子31〜36の検出信号をABS相検出信号として順番に出力させ、ABS相検出信号を信号変換部5によって二値化した二値化信号を取得する。なお、この二値化信号は、アブソリュートパターン21に形成されたパターンに対応した検出信号を二値化した信号に対応するので、絶対番地処理部71は、二値化信号を順番に取得することにより、受光素子31〜36によって検出された6ビットのパターンデータを取得する。絶対番地処理部71は、取得した6ビットのパターンデータを符号板2の絶対番地に対応する絶対位置情報に変換する。絶対番地処理部71は、変換した(生成した)絶対位置情報を合成処理部73に供給する。
また、絶対番地処理部71は、上述の切り替え信号を調整制御部60に供給する。
The absolute address processing unit 71 generates absolute position information in which the absolute pattern 21 is detected based on the binarized signal supplied from the signal conversion unit 5. The absolute address processing unit 71 outputs a switching signal to the switch control unit 42 of the switching unit 4. For example, the absolute address processing unit 71 supplies a switching signal to the switch control unit 42 to sequentially output the detection signals of the light receiving elements 31 to 36 as ABS phase detection signals, and the signal phase conversion unit 5 outputs the ABS phase detection signals. A binarized binarized signal is acquired. Since the binarized signal corresponds to a signal obtained by binarizing the detection signal corresponding to the pattern formed in the absolute pattern 21, the absolute address processing unit 71 acquires the binarized signal in order. Thus, 6-bit pattern data detected by the light receiving elements 31 to 36 is acquired. The absolute address processing unit 71 converts the acquired 6-bit pattern data into absolute position information corresponding to the absolute address of the code plate 2. The absolute address processing unit 71 supplies the converted (generated) absolute position information to the synthesis processing unit 73.
The absolute address processing unit 71 supplies the above switching signal to the adjustment control unit 60.

内挿処理部72は、A/D部(62,63)から供給されたA相検出信号及びB相検出信号に基づいて内挿処理を実行し、相対位置情報を生成する。内挿処理部72は、生成した相対位置情報を合成処理部73に供給する。
合成処理部73は、絶対番地処理部71から供給された絶対位置情報と、内挿処理部72から供給された相対位置情報とを合成処理して、合成処理した位置情報(例えば、回転体の位置)を出力する。
The interpolation processing unit 72 performs interpolation processing based on the A phase detection signal and the B phase detection signal supplied from the A / D unit (62, 63), and generates relative position information. The interpolation processing unit 72 supplies the generated relative position information to the synthesis processing unit 73.
The composition processing unit 73 performs composition processing on the absolute position information supplied from the absolute address processing unit 71 and the relative position information supplied from the interpolation processing unit 72, and combines the position information (for example, the rotating body). Position).

調整制御部60は、受光素子(31〜36)ごとに定められた調整情報に基づいて、信号変換部5に受光素子31〜36の検出信号を受光素子(31〜36)ごとに選択的に調整させる。調整制御部60は、例えば、切替部4により切り替えられた受光素子(31〜36)に対応する調整情報に基づいて、切り替えられた受光素子(31〜36)から出力された検出信号を信号変換部5に調整させる。また、例えば、調整制御部60は、切替部4による切替に応じて1つずつ出力される複数の調整情報に基づいて、切り替えられた受光素子(31〜36)から出力された検出信号を信号変換部5に調整させる。例えば、複数の調整情報は、互いに異なる信号情報であってもよい。また、例えば、複数の調整情報は、各受光素子(31〜36)から得られる検出信号に対称性などの所定の出力特性がある場合には、一部だけ(例、少なくとも2つ)異なる信号情報であってもよい。   Based on the adjustment information determined for each of the light receiving elements (31 to 36), the adjustment control unit 60 selectively transmits the detection signals of the light receiving elements 31 to 36 to the signal converting unit 5 for each of the light receiving elements (31 to 36). Let them adjust. For example, the adjustment control unit 60 converts the detection signal output from the switched light receiving element (31 to 36) based on the adjustment information corresponding to the light receiving element (31 to 36) switched by the switching unit 4. Adjust to part 5. In addition, for example, the adjustment control unit 60 outputs detection signals output from the switched light receiving elements (31 to 36) based on a plurality of pieces of adjustment information that are output one by one in response to switching by the switching unit 4. The conversion unit 5 is adjusted. For example, the plurality of pieces of adjustment information may be different signal information. Further, for example, when a plurality of pieces of adjustment information have predetermined output characteristics such as symmetry in the detection signals obtained from the respective light receiving elements (31 to 36), only a part (for example, at least two) of different signals It may be information.

例えば、調整制御部60は、不揮発性記憶部14に記憶されている調整情報を読み出す。調整制御部60は、読み出した調整情報に基づいて、6つの受光素子31〜36それぞれが検出した6つの検出信号の出力特性を一致させるように、信号変換部5に検出信号を調整させる。例えば、出力特性には、検出信号の最大信号レベル又は検出信号の最小信号レベルが含まれる。この場合、調整制御部60は、読み出した調整情報に基づいて、6つの検出信号における最大信号レベル又は最小信号レベルを一致させるように、信号変換部5に検出信号を調整させる。   For example, the adjustment control unit 60 reads the adjustment information stored in the nonvolatile storage unit 14. Based on the read adjustment information, the adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal so that the output characteristics of the six detection signals detected by the six light receiving elements 31 to 36 are matched. For example, the output characteristic includes the maximum signal level of the detection signal or the minimum signal level of the detection signal. In this case, the adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal so that the maximum signal level or the minimum signal level in the six detection signals matches based on the read adjustment information.

例えば、調整制御部60は、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧をゲイン調整信号として出力させる。すなわち、調整制御部60は、D/A部61を介してゲイン調整信号を出力させて、アンプ51のゲイン(利得)を変更することにより、信号変換部5に検出信号を調整させる。   For example, the adjustment control unit 60 causes the D / A unit 61 to output a voltage corresponding to the adjustment information as a gain adjustment signal based on the adjustment information read from the nonvolatile storage unit 14. That is, the adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal by outputting a gain adjustment signal via the D / A unit 61 and changing the gain (gain) of the amplifier 51.

D/A部61は、例えば、デジタル/アナログ変換器であり、調整制御部60から供給されたデジタル信号をデジタル信号により指定された電圧のアナログ信号に変換する。なお、調整制御部60から供給されるデジタル信号は、6つの受光素子31〜36の各検出信号に対応する調整情報に基づいて定められたアンプ51のゲイン(利得)を変更する電圧を示す信号である。D/A部61は、変換したアナログ信号をゲイン調整信号として、アンプ51に供給する。
ここで、エンコーダ100は、受光素子(31〜36)ごとに定められた調整情報に基づいて、受光素子31〜36の検出信号を受光素子(31〜36)ごとに調整する信号調整部8を備えている。図1において、信号調整部8は、D/A部61と、アンプ51とが対応する。
The D / A unit 61 is, for example, a digital / analog converter, and converts the digital signal supplied from the adjustment control unit 60 into an analog signal having a voltage specified by the digital signal. The digital signal supplied from the adjustment control unit 60 is a signal indicating a voltage for changing the gain (gain) of the amplifier 51 determined based on the adjustment information corresponding to each detection signal of the six light receiving elements 31 to 36. It is. The D / A unit 61 supplies the converted analog signal to the amplifier 51 as a gain adjustment signal.
Here, the encoder 100 includes a signal adjustment unit 8 that adjusts detection signals of the light receiving elements 31 to 36 for each light receiving element (31 to 36) based on adjustment information determined for each light receiving element (31 to 36). I have. In FIG. 1, the signal adjustment unit 8 corresponds to a D / A unit 61 and an amplifier 51.

なお、エンコーダ100は、上述した調整情報を設定する際に、図1に示すように設定装置200と接続される。
設定装置200は、例えば、製造工程において不揮発性記憶部14に調整情報を記憶させる設定治具や、調整情報の再設定を行う校正装置(キャリブレーション装置)である。設定装置200は、調整情報設定部210を備えている。
The encoder 100 is connected to the setting device 200 as shown in FIG. 1 when setting the adjustment information described above.
The setting device 200 is, for example, a setting jig that stores adjustment information in the nonvolatile storage unit 14 in a manufacturing process, or a calibration device (calibration device) that resets the adjustment information. The setting device 200 includes an adjustment information setting unit 210.

調整情報設定部210は、例えば、6つの受光素子31〜36の検出信号に基づいて二値化された二値化信号がそれぞれHレベル(論理状態“1”)になるように、符号板2の位置を変更させる。調整情報設定部210は、ABS相検出信号の信号線であるノードN1と、アンプ51の出力信号線であるノードN2の電圧レベルとを受光素子(31〜36)ごとに計測し、計測結果に基づいて、受光素子(31〜36)ごとの調整情報を定める。すなわち、調整情報設定部210は、ノードN1の電圧とノードN2の電圧とを受光素子(31〜36)ごとに計測し、計測結果に基づいて、受光素子(31〜36)ごとの調整情報を生成する。調整情報設定部210は、受光素子(31〜36)ごとに生成した調整情報を不揮発性記憶部14に記憶させる。さらに、調整情報設定部210は、ノードN1の電圧とノードN2の電圧とを受光素子(31〜36)ごとに計測し、設定した調整情報が正しく設定されているかを確認にしてもよい。   For example, the adjustment information setting unit 210 is configured so that the binarized signals binarized based on the detection signals of the six light receiving elements 31 to 36 are each at the H level (logic state “1”). Change the position of. The adjustment information setting unit 210 measures the voltage level of the node N1 which is a signal line of the ABS phase detection signal and the voltage level of the node N2 which is the output signal line of the amplifier 51 for each light receiving element (31 to 36). Based on this, adjustment information for each light receiving element (31 to 36) is determined. In other words, the adjustment information setting unit 210 measures the voltage of the node N1 and the voltage of the node N2 for each light receiving element (31 to 36), and sets the adjustment information for each light receiving element (31 to 36) based on the measurement result. Generate. The adjustment information setting unit 210 stores the adjustment information generated for each light receiving element (31 to 36) in the nonvolatile storage unit 14. Furthermore, the adjustment information setting unit 210 may measure the voltage of the node N1 and the voltage of the node N2 for each light receiving element (31 to 36) to check whether the set adjustment information is set correctly.

次に、本実施形態におけるエンコーダ100の動作について説明する。
エンコーダ100は、位置情報を検出する場合、ます、信号処理部6がドライバ部11に光源10に光を照射させる制御信号を供給する。光源10は、ドライバ部11から供給された駆動信号に基づいて、光を符号板2に照射する。そして、受光部3は、光源10から符号板2のアブソリュートパターン21とインクリメンタルパターン22を経て受光部3に照射された光を受光する。受光部3のインクリメンタル受光部37は、インクリメンタルパターン22を検出した検出信号(A相検出信号及びB相検出信号)を、アンプ(12,13)を介して信号処理部6に供給する。
Next, the operation of the encoder 100 in this embodiment will be described.
When the encoder 100 detects position information, the signal processing unit 6 supplies a control signal that causes the driver unit 11 to irradiate the light source 10 with light. The light source 10 irradiates the code plate 2 with light based on the drive signal supplied from the driver unit 11. The light receiving unit 3 receives light emitted from the light source 10 to the light receiving unit 3 through the absolute pattern 21 and the incremental pattern 22 of the code plate 2. The incremental light receiving unit 37 of the light receiving unit 3 supplies detection signals (A phase detection signal and B phase detection signal) obtained by detecting the incremental pattern 22 to the signal processing unit 6 via the amplifiers (12, 13).

一方、受光部3のアブソリュート受光部30は、受光素子31〜36の検出信号を切替部4に出力する。
図2は、本実施形態における受光素子31〜36の検出信号の切り替え動作を示す図である。
この図において、期間T1は、切替部4が切り替え信号に応じて、受光素子31の検出信号をABS相検出信号として出力している状態を示している。この場合、スイッチ制御部42は、受光素子31に対応するスイッチを導通状態にし、受光素子32〜36のそれぞれに対応するスイッチを非導通状態にする制御信号を、スイッチ部41に供給する。スイッチ部41は、スイッチ制御部42から供給された制御信号に基づいて、受光素子31の検出信号をABS相検出信号として出力するように、各スイッチの状態を変更する。
On the other hand, the absolute light receiving unit 30 of the light receiving unit 3 outputs detection signals of the light receiving elements 31 to 36 to the switching unit 4.
FIG. 2 is a diagram illustrating a detection signal switching operation of the light receiving elements 31 to 36 in the present embodiment.
In this figure, a period T1 shows a state in which the switching unit 4 outputs the detection signal of the light receiving element 31 as an ABS phase detection signal in response to the switching signal. In this case, the switch control unit 42 supplies the switch unit 41 with a control signal for turning on the switch corresponding to the light receiving element 31 and turning off the switch corresponding to each of the light receiving elements 32 to 36. Based on the control signal supplied from the switch control unit 42, the switch unit 41 changes the state of each switch so as to output the detection signal of the light receiving element 31 as an ABS phase detection signal.

また、期間T6は、切替部4が切り替え信号に応じて受光素子36の検出信号をABS相検出信号として出力している状態を示している。この場合、スイッチ制御部42は、受光素子36に対応するスイッチを導通状態にし、受光素子31〜35のそれぞれに対応するスイッチを非導通状態にする制御信号を、スイッチ部41に供給する。スイッチ部41は、スイッチ制御部42から供給された制御信号に基づいて、受光素子36の検出信号をABS相検出信号として出力するように、各スイッチの状態を変更する。
なお、図2において、図示を省略しているが、切替部4は、切り替え信号に応じて、期間T1と期間T6との間に、期間T2から期間T5の状態を順番に切り替える。期間T2から期間T5は、それぞれ切替部4が切り替え信号に応じて受光素子32〜35の各検出信号をABS相検出信号として出力している状態を示している。
Moreover, the period T6 has shown the state in which the switching part 4 is outputting the detection signal of the light receiving element 36 as an ABS phase detection signal according to a switching signal. In this case, the switch control unit 42 supplies the switch unit 41 with a control signal for turning on the switch corresponding to the light receiving element 36 and turning off the switch corresponding to each of the light receiving elements 31 to 35. Based on the control signal supplied from the switch control unit 42, the switch unit 41 changes the state of each switch so as to output the detection signal of the light receiving element 36 as an ABS phase detection signal.
In addition, although illustration is abbreviate | omitted in FIG. 2, the switching part 4 switches the state of the period T2 to the period T5 in order between the period T1 and the period T6 according to a switching signal. Periods T2 to T5 indicate a state in which the switching unit 4 outputs the detection signals of the light receiving elements 32 to 35 as ABS phase detection signals in response to the switching signal.

このように、切替部4は、期間T1から期間T6の順に、スイッチ部41の状態を遷移させて、受光素子31〜36の検出信号を順番に、ABS相検出信号として出力する。   As described above, the switching unit 4 changes the state of the switch unit 41 in order from the period T1 to the period T6, and sequentially outputs the detection signals of the light receiving elements 31 to 36 as the ABS phase detection signal.

次に、本実施形態における調整制御部60による調整制御の動作について説明する。
図3は、本実施形態におけるエンコーダ100の検出信号の調整動作を示す図である。
図3において、上から順に、(a)ABSパターン、(b)ABS相検出信号、(c)ゲイン調整信号、(d)増幅後のABS相検出信号、及び(e)二値化信号を示している。(a)ABSパターンは、アブソリュートパターン21におけるパターンのうちの切替部4によって選択された検出信号に対応するパターンを示している。また、(d)増幅後のABS相検出信号は、アンプ51の出力信号を示している。
この図において、(a)ABSパターンの縦軸は、パターンの論理状態を示し、(b)から(e)の縦軸は、それぞれ電圧を示している。また、横軸は、時間を示している。
Next, the operation of adjustment control by the adjustment control unit 60 in the present embodiment will be described.
FIG. 3 is a diagram illustrating the adjustment operation of the detection signal of the encoder 100 according to the present embodiment.
3, in order from the top, (a) an ABS pattern, (b) an ABS phase detection signal, (c) a gain adjustment signal, (d) an ABS phase detection signal after amplification, and (e) a binarized signal are shown. ing. (A) The ABS pattern indicates a pattern corresponding to the detection signal selected by the switching unit 4 among the patterns in the absolute pattern 21. Further, (d) the amplified ABS phase detection signal indicates the output signal of the amplifier 51.
In this figure, (a) the vertical axis of the ABS pattern indicates the logical state of the pattern, and the vertical axes of (b) to (e) indicate the voltages, respectively. The horizontal axis indicates time.

また、図3の期間T1から期間T6は、図2を参照して上述した期間T1から期間T6と同様である。ここでは、波形W1から波形W4は、(b)から(e)の各信号において、期間T1から期間T6の状態に順番に切り替えた場合の波形を示している。   3 are the same as the periods T1 to T6 described above with reference to FIG. Here, waveforms W1 to W4 show waveforms when the signals from (b) to (e) are switched in order from the period T1 to the period T6.

図3において、アブソリュートパターン21は、例えば、“1”,“1”,“0”,“1”,“0”,“0”を示すパターンを有し、アブソリュート受光部30は、この6ビットのパターンを検出する位置にある場合の一例について説明する。
この場合、受光素子(31,32,34)は、“1”に対応する検出信号をそれぞれ出力し、受光素子(33,35,36)は“0”に対応する検出信号を出力する。
In FIG. 3, the absolute pattern 21 has patterns indicating, for example, “1”, “1”, “0”, “1”, “0”, “0”. An example in the case of being in the position where the pattern is detected will be described.
In this case, the light receiving elements (31, 32, 34) output detection signals corresponding to “1”, and the light receiving elements (33, 35, 36) output detection signals corresponding to “0”.

次に、切替部4は、絶対番地処理部71から供給された切り替え信号に応じて、期間T1から期間T6の順に、スイッチ部41の状態を遷移させて、図3の(b)ABS相検出信号(波形W1)を出力する。切替部4は、波形W1に示すように、受光素子31〜36に応じて出力特性(例えば、最大信号レベル)の異なる検出信号を順番にABS相検出信号として出力する。ここで、受光素子31〜36に応じて出力特性が異なる理由は、上述したように、光源10からアブソリュートパターン21を経て受光素子31〜36に至る光路の距離が、受光素子31〜36の配置によって異なるために、受光素子31〜36が出力する検出信号の信号レベルに不均一が生じるためである。   Next, the switching unit 4 changes the state of the switch unit 41 in order from the period T1 to the period T6 in accordance with the switching signal supplied from the absolute address processing unit 71, and (b) ABS phase detection in FIG. A signal (waveform W1) is output. The switching unit 4 sequentially outputs detection signals having different output characteristics (for example, maximum signal level) as ABS phase detection signals according to the light receiving elements 31 to 36, as indicated by the waveform W1. Here, the reason why the output characteristics differ depending on the light receiving elements 31 to 36 is that, as described above, the distance of the optical path from the light source 10 to the light receiving elements 31 to 36 through the absolute pattern 21 is the arrangement of the light receiving elements 31 to 36. This is because nonuniformity occurs in the signal level of the detection signal output from the light receiving elements 31 to 36.

ここでは、受光素子31における検出信号の振幅を振幅L1、受光素子32における検出信号の振幅を振幅L2、受光素子33における検出信号の振幅を振幅L3とし、各振幅は、(振幅L1<振幅L2<振幅L3)の関係となる。また、受光素子34における検出信号の振幅を振幅L4、受光素子35における検出信号の振幅を振幅L5、受光素子36における検出信号の振幅を振幅L6とし、各振幅は、(振幅L4>振幅L5>振幅L6)の関係となる。   Here, the amplitude of the detection signal in the light receiving element 31 is the amplitude L1, the amplitude of the detection signal in the light receiving element 32 is the amplitude L2, the amplitude of the detection signal in the light receiving element 33 is the amplitude L3, and each amplitude is (amplitude L1 <amplitude L2 <Amplitude L3). The amplitude of the detection signal at the light receiving element 34 is the amplitude L4, the amplitude of the detection signal at the light receiving element 35 is the amplitude L5, the amplitude of the detection signal at the light receiving element 36 is the amplitude L6, and each amplitude is (amplitude L4> amplitude L5> Amplitude L6).

次に、調整制御部60は、絶対番地処理部71から供給された切り替え信号に同期して、切り替え信号により選択される受光素子(31〜36)に対応する調整情報を不揮発性記憶部14から読み出す。調整制御部60は、絶対番地処理部71から供給された切り替え信号に同期して、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧をゲイン調整信号として出力させる。すなわち、D/A部61は、図3の(c)ゲイン調整信号(波形W2)を出力し、アンプ51のゲイン(利得)を変更する。これにより、調整制御部60は、6つの受光素子31〜36それぞれが検出した6つの検出信号の出力特性を一致させるように、信号変換部5に検出信号を調整させる。
ここで、波形W2に示すように、(c)ゲイン調整信号は、期間T3及び期間T4が最も信号レベルが低く、期間T1及び期間T6が最も信号レベルが高い。また、(c)ゲイン調整信号は、期間T2及び期間T5の信号レベルが、期間T3及び期間T4の信号レベルと期間T1及び期間T6の信号レベルとの間の信号レベルとなっている。
Next, the adjustment control unit 60 synchronizes with the switching signal supplied from the absolute address processing unit 71, and sends adjustment information corresponding to the light receiving elements (31 to 36) selected by the switching signal from the nonvolatile storage unit 14. read out. Based on the adjustment information read from the nonvolatile storage unit 14 in synchronization with the switching signal supplied from the absolute address processing unit 71, the adjustment control unit 60 applies a voltage corresponding to the adjustment information to the D / A unit 61. Output as a gain adjustment signal. That is, the D / A unit 61 outputs the gain adjustment signal (waveform W2) in FIG. 3C and changes the gain (gain) of the amplifier 51. Accordingly, the adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal so that the output characteristics of the six detection signals detected by the six light receiving elements 31 to 36 are matched.
Here, as shown in the waveform W2, (c) the gain adjustment signal has the lowest signal level in the period T3 and the period T4, and the highest signal level in the period T1 and the period T6. In addition, (c) the gain adjustment signal has a signal level between the signal levels of the periods T3 and T4 and the signal levels of the periods T1 and T6 in the periods T2 and T5.

次に、アンプ51は、A/D部61から供給されたゲイン調整信号に基づいて、ABS相検出信号を増幅し、波形W3に示すような増幅した信号(図3の(d)調整されたABS相検出信号)を二値化部52に出力する。ここで、D/A部61から供給されたゲイン調整信号によってゲイン(利得)が調整されているので、波形W3は、最大信号レベルVHと最小信号レベルVLとの差分となる信号振幅L10は、期間T1から期間T6において一定の値となる。
なお、図3の(d)において、電圧Vthは、二値化部52の閾値電圧を示している。
Next, the amplifier 51 amplifies the ABS phase detection signal based on the gain adjustment signal supplied from the A / D unit 61, and the amplified signal as shown in the waveform W3 ((d) in FIG. 3 is adjusted). (ABS phase detection signal) is output to the binarization unit 52. Here, since the gain (gain) is adjusted by the gain adjustment signal supplied from the D / A unit 61, the waveform W3 has a signal amplitude L10 that is a difference between the maximum signal level VH and the minimum signal level VL. It becomes a constant value during the period T1 to the period T6.
In FIG. 3D, the voltage Vth indicates the threshold voltage of the binarization unit 52.

次に、二値化部52は、閾値電圧Vthに基づいて、アンプ51から供給された調整されたABS相検出信号を二値化し、図3の(e)二値化信号(波形W4)であるデジタル信号を信号処理部6の絶対番地処理部71に供給する。なお、図3の(e)において、“H”は、Hレベル(論理状態“1”)を示し、“L”は、Lレベル(論理状態“0”)を示している。   Next, the binarization unit 52 binarizes the adjusted ABS phase detection signal supplied from the amplifier 51 based on the threshold voltage Vth, and uses the binarized signal (waveform W4) in FIG. A digital signal is supplied to the absolute address processing unit 71 of the signal processing unit 6. In FIG. 3E, “H” indicates the H level (logic state “1”), and “L” indicates the L level (logic state “0”).

このように、本実施形態におけるエンコーダ100は、信号調整部8によりABS相検出信号(受光素子31〜36の検出信号)を調整した後、二値化部52が二値化を行い、二値化信号を信号処理部6の絶対番地処理部71に供給する。   As described above, the encoder 100 according to the present embodiment adjusts the ABS phase detection signal (detection signals of the light receiving elements 31 to 36) by the signal adjustment unit 8, and then the binarization unit 52 performs binarization, and binarization. The digitized signal is supplied to the absolute address processing unit 71 of the signal processing unit 6.

位置検出部7の絶対番地処理部71は、二値化部52から供給された二値化信号を期間T1の状態から期間T6の状態を順に取り込んで、アブソリュートパターン21に対応する6ビットのデータ“110100”を取得する。絶対番地処理部71は、取得した6ビットのデータ“110100”をコード変換して絶対位置情報を生成し、生成した絶対位置情報を合成処理部73に供給する。また、内挿処理部72は、A/D部(62,63)から供給されたA相検出信号及びA相検出信号に基づいて相対位置情報を生成し、生成した相対位置情報を合成処理部73に供給する。そして、合成処理部73は、絶対番地処理部71から供給された絶対位置情報と、内挿処理部72から供給された相対位置情報とを合成処理して、合成処理した位置情報(例えば、回転体の位置)を出力する。   The absolute address processing unit 71 of the position detection unit 7 takes in the binarized signal supplied from the binarizing unit 52 in order from the state of the period T1 to the state of the period T6, and 6-bit data corresponding to the absolute pattern 21 “110100” is acquired. The absolute address processing unit 71 performs code conversion on the acquired 6-bit data “110100” to generate absolute position information, and supplies the generated absolute position information to the composition processing unit 73. The interpolation processing unit 72 generates relative position information based on the A phase detection signal and the A phase detection signal supplied from the A / D unit (62, 63), and combines the generated relative position information with the synthesis processing unit. 73. Then, the composition processing unit 73 performs composition processing on the absolute position information supplied from the absolute address processing unit 71 and the relative position information supplied from the interpolation processing unit 72, and performs position information (for example, rotation). Body position).

以上、説明したように、本実施形態におけるエンコーダ100は、符号板2が、被駆動体(例えば、回転子)の位置情報を示すパターン(例えば、アブソリュートパターン21)を有し、複数の受光素子(31〜36)が、符号板2のアブソリュートパターン21を検出する。信号変換部5は、複数の受光素子(31〜36)それぞれが検出した検出信号を二値化信号に変換する。調整制御部60は、受光素子(31〜36)ごとに定められた調整情報に基づいて、信号変換部5に検出信号を受光素子(31〜36)ごとに調整させる。
これにより、受光素子31〜36間の検出信号の不均一(バラツキ)が低減されるので、本実施形態におけるエンコーダ100は、二値化部52による二値化の変換マージンを増やすことができる。そのため、例えば、ノイズなどの外乱が発生した場合に、本実施形態におけるエンコーダ100は、二値化部52による誤変換を低減することができる。よって、本実施形態におけるエンコーダ100は、被駆動体の位置の誤検出を低減することができる。したがって、本実施形態におけるエンコーダ100は、位置情報を検出する信頼性を高めることができる。
As described above, in the encoder 100 according to the present embodiment, the code plate 2 has a pattern (for example, absolute pattern 21) indicating position information of a driven body (for example, a rotor), and a plurality of light receiving elements. (31 to 36) detects the absolute pattern 21 of the code plate 2. The signal converter 5 converts detection signals detected by the plurality of light receiving elements (31 to 36) into binary signals. The adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal for each light receiving element (31 to 36) based on the adjustment information determined for each light receiving element (31 to 36).
Thereby, non-uniformity (variation) of the detection signal between the light receiving elements 31 to 36 is reduced, so that the encoder 100 according to the present embodiment can increase the conversion margin of binarization by the binarization unit 52. Therefore, for example, when a disturbance such as noise occurs, the encoder 100 according to the present embodiment can reduce erroneous conversion by the binarization unit 52. Therefore, the encoder 100 according to the present embodiment can reduce erroneous detection of the position of the driven body. Therefore, the encoder 100 in this embodiment can improve the reliability of detecting position information.

また、本実施形態におけるエンコーダ100は、複数の受光素子(31〜36)のうち、いずれの受光素子が検出信号を出力するかを切り替える切替部4を備えている。調整制御部60は、切替部4により切り替えられた受光素子(31〜36)に対応する調整情報に基づいて、切り替えられた受光素子(31〜36)から出力された検出信号(ABS相検出信号)を信号変換部5(又は信号調整部8)に調整させる。
これにより、本実施形態におけるエンコーダ100は、切替部4が、複数の受光素子(31〜36)のうちの1つの検出信号をABS相検出信号として出力させるので、信号変換部5を1つに低減することができる。そのため、本実施形態におけるエンコーダ100は、信号変換部5を1つに低減しつつ、被駆動体の位置の誤検出を低減することができる。
In addition, the encoder 100 according to the present embodiment includes a switching unit 4 that switches which one of the plurality of light receiving elements (31 to 36) outputs a detection signal. Based on the adjustment information corresponding to the light receiving elements (31 to 36) switched by the switching unit 4, the adjustment control unit 60 detects the detection signals (ABS phase detection signals) output from the switched light receiving elements (31 to 36). ) Is adjusted by the signal conversion unit 5 (or the signal adjustment unit 8).
Thereby, in the encoder 100 according to the present embodiment, the switching unit 4 outputs one detection signal of the plurality of light receiving elements (31 to 36) as the ABS phase detection signal, so that the signal conversion unit 5 is combined into one. Can be reduced. Therefore, the encoder 100 according to the present embodiment can reduce erroneous detection of the position of the driven body while reducing the signal conversion unit 5 to one.

また、本実施形態では、調整制御部60は、調整情報に基づいて、複数の受光素子(31〜36)それぞれが検出した複数の検出信号の出力特性を一致させるように、信号変換部5に検出信号を調整させる。
これにより、複数の検出信号の出力特性の不均一(バラツキ)が低減されるので、二値化部52による二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100は、被駆動体の位置の誤検出を低減することができる。
In the present embodiment, the adjustment control unit 60 causes the signal conversion unit 5 to match the output characteristics of the plurality of detection signals detected by the plurality of light receiving elements (31 to 36) based on the adjustment information. Adjust the detection signal.
Thereby, non-uniformity (variation) in the output characteristics of the plurality of detection signals is reduced, so that the binarization conversion margin by the binarization unit 52 can be increased. Therefore, the encoder 100 according to the present embodiment can reduce erroneous detection of the position of the driven body.

また、本実施形態では、複数の検出信号の出力特性には、検出信号の最大信号レベル(VH)又は検出信号の最小信号レベル(VL)が含まれる。調整制御部60は、調整情報に基づいて、複数の検出信号における最大信号レベル(VH)又は最小信号レベル(VL)を一致させるように、信号変換部5に検出信号を調整させる。
これにより、複数の検出信号の最大信号レベル(VH)又は最小信号レベル(VL)の不均一(バラツキ)が低減されるので、二値化部52による二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100は、被駆動体の位置の誤検出を低減することができる。
In the present embodiment, the output characteristics of the plurality of detection signals include the maximum signal level (VH) of the detection signal or the minimum signal level (VL) of the detection signal. Based on the adjustment information, the adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal so that the maximum signal level (VH) or the minimum signal level (VL) in the plurality of detection signals is matched.
Thereby, non-uniformity (variation) of the maximum signal level (VH) or the minimum signal level (VL) of the plurality of detection signals is reduced, so that the binarization conversion margin by the binarization unit 52 can be increased. . Therefore, the encoder 100 according to the present embodiment can reduce erroneous detection of the position of the driven body.

また、本実施形態では、信号変換部5は、検出信号を増幅するアンプ51と、アンプ51によって増幅された検出信号(ABS相検出信号)を二値化信号に変換する二値化部52とを備えている。調整制御部60は、調整情報に基づいてアンプ51のゲイン(利得)を変更することにより、信号変換部5に検出信号を調整させる。
例えば、従来のエンコーダでは、図3(d)の波形W5に示すような増幅後のABS相検出信号が二値化される検出信号として使用される。そのため、図3の期間T1において、ノイズNZ1のようなノイズ信号がABS相検出信号に混入した場合、増幅後のABS相検出信号(波形W5)は一時的に、閾値電圧Vthをまたいで変化する。これにより、従来のエンコーダでは、二値化において誤変換が発生する。すなわち、従来のエンコーダでは、被駆動体の位置の誤検出をする可能性がある。
In this embodiment, the signal converter 5 includes an amplifier 51 that amplifies the detection signal, and a binarization unit 52 that converts the detection signal (ABS phase detection signal) amplified by the amplifier 51 into a binarized signal. It has. The adjustment control unit 60 causes the signal conversion unit 5 to adjust the detection signal by changing the gain of the amplifier 51 based on the adjustment information.
For example, in a conventional encoder, an amplified ABS phase detection signal as shown by a waveform W5 in FIG. 3D is used as a binarized detection signal. Therefore, when a noise signal such as noise NZ1 is mixed in the ABS phase detection signal in the period T1 in FIG. 3, the amplified ABS phase detection signal (waveform W5) temporarily changes across the threshold voltage Vth. . Thereby, in the conventional encoder, erroneous conversion occurs in binarization. That is, in the conventional encoder, there is a possibility that the position of the driven body is erroneously detected.

これに対して、本実施形態におけるエンコーダ100では、二値化部52は、図3の(d)増幅後のABS相検出信号(波形W3)を二値化する検出信号として使用する。そのため、図3の期間T1において、例えば、ノイズNZ1のようなノイズ信号がABS相検出信号に混入した場合であっても、増幅後のABS相検出信号(波形W3)は閾値電圧Vthをまたいで変化しない。すなわち、調整情報に基づいてアンプ51のゲイン(利得)を変更することにより、二値化部52による二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100は、被駆動体の位置の誤検出を低減することができる。   On the other hand, in the encoder 100 according to the present embodiment, the binarization unit 52 uses the amplified ABS phase detection signal (waveform W3) in FIG. 3D as a detection signal for binarization. Therefore, even if a noise signal such as noise NZ1 is mixed in the ABS phase detection signal in the period T1 in FIG. 3, the amplified ABS phase detection signal (waveform W3) crosses the threshold voltage Vth. It does not change. In other words, the binarization conversion margin by the binarization unit 52 can be increased by changing the gain of the amplifier 51 based on the adjustment information. Therefore, the encoder 100 according to the present embodiment can reduce erroneous detection of the position of the driven body.

また、本実施形態におけるエンコーダ100は、受光素子(31〜36)ごとに定められた調整情報を記憶する不揮発性記憶部14を備えている。調整制御部60は、不揮発性記憶部14に記憶されている調整情報に基づいて、検出信号を受光素子(31〜36)ごとに調整させる。
これにより、調整制御部60は、不揮発性記憶部14から読み出した調整情報に基づいて、検出信号を受光素子(31〜36)ごとに調整させるので、簡易な構成により、検出信号を受光素子(31〜36)ごとに調整させることができる。
また、不揮発性記憶部14は、書き換え可能な不揮発性メモリであるので、調整情報を容易に変更することができる。ここで、調整情報は、光源10の照射特性などに基づいて設計によって定められた情報でもよいし、設定装置200の調整情報設定部210によって、計測に基づいて定められた情報でもよい。この場合、調整情報を容易に変更することができるので、本実施形態におけるエンコーダ100は、製造工程における光源10又は受光素子31〜36の出力特性のバラツキや光源10又は受光素子(31〜36)の経年劣化(経年変化)によるバラツキなどにも対応することができる。
In addition, the encoder 100 according to the present embodiment includes a nonvolatile storage unit 14 that stores adjustment information determined for each of the light receiving elements (31 to 36). The adjustment control unit 60 adjusts the detection signal for each light receiving element (31 to 36) based on the adjustment information stored in the nonvolatile storage unit 14.
As a result, the adjustment control unit 60 adjusts the detection signal for each light receiving element (31 to 36) based on the adjustment information read from the nonvolatile storage unit 14, so that the detection signal is received by the light receiving element (31) with a simple configuration. 31 to 36).
Moreover, since the non-volatile memory | storage part 14 is a rewritable non-volatile memory, adjustment information can be changed easily. Here, the adjustment information may be information determined by design based on the irradiation characteristics of the light source 10, or may be information determined based on measurement by the adjustment information setting unit 210 of the setting device 200. In this case, since the adjustment information can be easily changed, the encoder 100 according to the present embodiment can vary the output characteristics of the light source 10 or the light receiving elements 31 to 36 in the manufacturing process or the light source 10 or the light receiving elements (31 to 36). It is possible to cope with variations due to aging (aging).

[第2の実施形態]
次に、第2の実施形態におけるエンコーダ100aについて説明する。
図4は、本実施形態によるエンコーダ100aを示すブロック図である。
この図において、図1と同一の構成については同一の符号を付し、その説明を省略する。
第2の実施形態におけるエンコーダ100aは、受光素子31〜36の検出信号を調整する制御が、第1の実施形態とは異なる。第2の実施形態におけるエンコーダ100aは、オフセット調整型のアンプ51aのDCオフセット(直流オフセット)を変更することにより、受光素子31〜36の検出信号を調整する。
以下、第2の実施形態におけるエンコーダ100aの第1の実施形態とは異なる点について説明する。
[Second Embodiment]
Next, the encoder 100a in the second embodiment will be described.
FIG. 4 is a block diagram showing the encoder 100a according to the present embodiment.
In this figure, the same components as those in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.
The encoder 100a in the second embodiment is different from the first embodiment in the control for adjusting the detection signals of the light receiving elements 31 to 36. The encoder 100a in the second embodiment adjusts the detection signals of the light receiving elements 31 to 36 by changing the DC offset (DC offset) of the offset adjustment type amplifier 51a.
Hereinafter, differences from the first embodiment of the encoder 100a in the second embodiment will be described.

図4において、エンコーダ100aは、符号板2、受光部3、切替部4、信号変換部5a、信号処理部6a、光源10、ドライバ部11、アンプ(12,13)、及び不揮発性記憶部14を備えている。
また、信号変換部5aは、アンプ51aと、二値化部52とを備えている。
4, the encoder 100a includes a code plate 2, a light receiving unit 3, a switching unit 4, a signal converting unit 5a, a signal processing unit 6a, a light source 10, a driver unit 11, an amplifier (12, 13), and a nonvolatile storage unit 14. It has.
The signal conversion unit 5 a includes an amplifier 51 a and a binarization unit 52.

アンプ51a(増幅部)は、ABS相検出信号を増幅し、増幅した信号(ABS相検出信号)を二値化部52に出力する。なお、アンプ51aは、例えば、オフセット調整型の増幅回路であり、信号処理部6から供給されるオフセット調整信号に基づいて、DCオフセット(直流オフセット)を変更する。ここで、DCオフセットとは、検出信号の最大信号レベルと検出信号の最小信号レベルとの平均値(中心電圧)を示す信号レベルである。   The amplifier 51a (amplifying unit) amplifies the ABS phase detection signal and outputs the amplified signal (ABS phase detection signal) to the binarization unit 52. The amplifier 51a is, for example, an offset adjustment type amplifier circuit, and changes the DC offset (DC offset) based on the offset adjustment signal supplied from the signal processing unit 6. Here, the DC offset is a signal level indicating an average value (center voltage) of the maximum signal level of the detection signal and the minimum signal level of the detection signal.

また、信号処理部6aは、調整制御部60a、D/A(デジタル/アナログ)部61、A/D(アナログ/デジタル)部(62,63)、及び位置検出部7を備えている。
調整制御部60aは、受光素子(31〜36)ごとに定められた調整情報に基づいて、信号変換部5aに受光素子31〜36の検出信号を受光素子(31〜36)ごとに調整させる。調整制御部60aは、例えば、切替部4により切り替えられた受光素子(31〜36)に対応する調整情報に基づいて、切り替えられた受光素子(31〜36)から出力された検出信号を信号変換部5aに調整させる。
The signal processing unit 6a includes an adjustment control unit 60a, a D / A (digital / analog) unit 61, an A / D (analog / digital) unit (62, 63), and a position detection unit 7.
The adjustment control unit 60a causes the signal conversion unit 5a to adjust the detection signals of the light receiving elements 31 to 36 for each light receiving element (31 to 36) based on the adjustment information determined for each light receiving element (31 to 36). For example, the adjustment control unit 60a converts the detection signal output from the switched light receiving element (31 to 36) based on the adjustment information corresponding to the light receiving element (31 to 36) switched by the switching unit 4. Adjust to part 5a.

例えば、調整制御部60aは、不揮発性記憶部14に記憶されている調整情報を読み出す。調整制御部60aは、読み出した調整情報に基づいて、6つの受光素子31〜36それぞれが検出した6つの検出信号の出力特性を一致させるように、信号変換部5aに検出信号を調整させる。例えば、出力特性には、検出信号の最大信号レベルと検出信号の最小信号レベルとの平均値(DCオフセット)が含まれる。この場合、調整制御部60aは、読み出した調整情報に基づいて、6つの検出信号における最大信号レベルと検出信号の最小信号レベルとの平均値を一致させるように、信号変換部5aに検出信号を調整させる。   For example, the adjustment control unit 60a reads the adjustment information stored in the nonvolatile storage unit 14. Based on the read adjustment information, the adjustment control unit 60a causes the signal conversion unit 5a to adjust the detection signal so that the output characteristics of the six detection signals detected by the six light receiving elements 31 to 36 are matched. For example, the output characteristic includes an average value (DC offset) of the maximum signal level of the detection signal and the minimum signal level of the detection signal. In this case, based on the read adjustment information, the adjustment control unit 60a sends the detection signal to the signal conversion unit 5a so that the average values of the maximum signal level and the minimum signal level of the six detection signals match. Let them adjust.

例えば、調整制御部60aは、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧をオフセット調整信号として出力させる。すなわち、調整制御部60aは、D/A部61を介してオフセット調整信号を出力させて、アンプ51aの直流オフセット電圧(DCオフセット電圧)を変更することにより、信号変換部5aに検出信号を調整させる。   For example, the adjustment control unit 60 a causes the D / A unit 61 to output a voltage corresponding to the adjustment information as an offset adjustment signal based on the adjustment information read from the nonvolatile storage unit 14. That is, the adjustment control unit 60a outputs an offset adjustment signal via the D / A unit 61, and adjusts the detection signal to the signal conversion unit 5a by changing the DC offset voltage (DC offset voltage) of the amplifier 51a. Let

ここで、エンコーダ100aは、受光素子(31〜36)ごとに定められた調整情報に基づいて、受光素子31〜36の検出信号を受光素子(31〜36)ごとに調整する信号調整部8aを備えている。図4において、信号調整部8aは、D/A部61と、アンプ51aとが対応する。   Here, the encoder 100a includes a signal adjustment unit 8a that adjusts the detection signals of the light receiving elements 31 to 36 for each of the light receiving elements (31 to 36) based on the adjustment information determined for each of the light receiving elements (31 to 36). I have. In FIG. 4, the signal adjustment unit 8a corresponds to a D / A unit 61 and an amplifier 51a.

次に、本実施形態におけるエンコーダ100aの動作について説明する。
本実施形態におけるエンコーダ100aの動作は、基本的には、第1の実施形態における動作と同様である。ここでは、本実施形態における調整制御部60aによる調整制御の動作について説明する。
図5は、本実施形態におけるエンコーダ100aの検出信号の調整動作を示す図である。
図5において、上から順に、(a)ABSパターン、(b)ABS相検出信号、(c)オフセット調整信号、(d)増幅後のABS相検出信号、及び(e)二値化信号を示している。(a)ABSパターン及び(b)ABS相検出信号は、図3と同様である。
この図において、(a)ABSパターンの縦軸は、図3と同様に、パターンの論理状態を示し、(b)から(e)の縦軸は、それぞれ電圧を示している。また、横軸は、時間を示している。
Next, the operation of the encoder 100a in this embodiment will be described.
The operation of the encoder 100a in the present embodiment is basically the same as the operation in the first embodiment. Here, the operation of the adjustment control by the adjustment control unit 60a in the present embodiment will be described.
FIG. 5 is a diagram illustrating the adjustment operation of the detection signal of the encoder 100a in the present embodiment.
In FIG. 5, in order from the top, (a) an ABS pattern, (b) an ABS phase detection signal, (c) an offset adjustment signal, (d) an amplified ABS phase detection signal, and (e) a binarized signal are shown. ing. (A) ABS pattern and (b) ABS phase detection signal are the same as those in FIG.
In this figure, (a) the vertical axis of the ABS pattern indicates the logical state of the pattern as in FIG. 3, and the vertical axes of (b) to (e) indicate the voltages, respectively. The horizontal axis indicates time.

また、図5の期間T1から期間T6は、上述の図2を参照して説明した期間T1から期間T6と同様である。ここでは、波形W1、及び波形W6から波形W8は、(b)から(e)の各信号において、期間T1から期間T6の状態に順番に切り替えた場合の波形を示している。   Further, the period T1 to the period T6 in FIG. 5 is the same as the period T1 to the period T6 described with reference to FIG. Here, the waveform W1 and the waveforms W6 to W8 show waveforms when the signals from (b) to (e) are sequentially switched from the period T1 to the period T6.

図5において、調整制御部60aは、絶対番地処理部71から供給された切り替え信号に同期して、切り替え信号により選択される受光素子(31〜36)に対応する調整情報を不揮発性記憶部14から読み出す。調整制御部60aは、絶対番地処理部71から供給された切り替え信号に同期して、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧を、オフセット調整信号として出力させる。すなわち、D/A部61は、図5の(c)オフセット調整信号(波形W6)を出力し、アンプ51aのDCオフセットを変更する。これにより、調整制御部60aは、6つの受光素子31〜36それぞれが検出した6つの検出信号の出力特性(ここでは、最大信号レベルと最小信号レベルの平均値)を一致させるように、信号変換部5aに検出信号を調整させる。   In FIG. 5, the adjustment control unit 60 a synchronizes with the switching signal supplied from the absolute address processing unit 71 and displays adjustment information corresponding to the light receiving elements (31 to 36) selected by the switching signal in the nonvolatile storage unit 14. Read from. Based on the adjustment information read from the nonvolatile storage unit 14 in synchronization with the switching signal supplied from the absolute address processing unit 71, the adjustment control unit 60a applies a voltage corresponding to the adjustment information to the D / A unit 61. And output as an offset adjustment signal. That is, the D / A unit 61 outputs the (c) offset adjustment signal (waveform W6) in FIG. 5 and changes the DC offset of the amplifier 51a. Thereby, the adjustment control unit 60a performs signal conversion so that the output characteristics of the six detection signals detected by the six light receiving elements 31 to 36 (here, the average value of the maximum signal level and the minimum signal level) match. The detection signal is adjusted by the unit 5a.

ここで、波形W6に示すように、(c)オフセット調整信号は、期間T3及び期間T4が最も信号レベルが低く、期間T1及び期間T6が最も信号レベルが高い。また、(c)オフセット調整信号は、期間T2及び期間T5の信号レベルが、期間T3及び期間T4の信号レベルと期間T1及び期間T6の信号レベルとの間の信号レベルとなっている。
また、図5の(c)において、電圧V0は、オフセット調整信号の参考信号レベルとして、第1の実施形態におけるアンプ51のオフセットの信号レベルを示している。なお、第1の実施形態におけるアンプ51は、オフセットの信号レベルは、電圧V0で固定の値となる。なお、この電圧V0は、オフセット調整信号の信号レベルである。また、例えば、オフセット調整信号は、波形W1の期間T3及び期間T4における最大信号レベルと最小信号レベルとの平均値(DCオフセット値)が、アンプ51aによる増幅後に閾値電圧Vthと一致するようにアンプ51aのオフセット電圧を設定する信号である。
Here, as shown in the waveform W6, (c) the offset adjustment signal has the lowest signal level in the periods T3 and T4, and the highest signal level in the periods T1 and T6. Further, (c) the offset adjustment signal has a signal level between the signal levels of the periods T3 and T4 and the signal levels of the periods T1 and T6 in the periods T2 and T5.
In FIG. 5C, the voltage V0 indicates the offset signal level of the amplifier 51 in the first embodiment as the reference signal level of the offset adjustment signal. In the amplifier 51 in the first embodiment, the offset signal level is a fixed value at the voltage V0. The voltage V0 is the signal level of the offset adjustment signal. Further, for example, the offset adjustment signal is amplified so that the average value (DC offset value) of the maximum signal level and the minimum signal level in the period T3 and the period T4 of the waveform W1 matches the threshold voltage Vth after amplification by the amplifier 51a. This is a signal for setting the offset voltage 51a.

次に、アンプ51aは、A/D部61から供給されたオフセット調整信号に基づいて、ABS相検出信号を増幅し、波形W7に示すような増幅した信号(図5の(d)増幅後のABS相検出信号)を二値化部52に出力する。ここで、D/A部61から供給されたオフセット調整信号によってDCオフセット値が調整されているので、波形W7は、最大信号レベルと最小信号レベルとの平均値が期間T1から期間T6において一定の値となる。   Next, the amplifier 51a amplifies the ABS phase detection signal based on the offset adjustment signal supplied from the A / D unit 61, and an amplified signal as shown by the waveform W7 ((d) in FIG. (ABS phase detection signal) is output to the binarization unit 52. Here, since the DC offset value is adjusted by the offset adjustment signal supplied from the D / A unit 61, the waveform W7 has a constant average value between the maximum signal level and the minimum signal level in the period T1 to the period T6. Value.

なお、図5の(d)において、電圧Vthは、図3(d)と同様に、二値化部52の閾値電圧を示している。ここでは、波形W7における最大信号レベルと最小信号レベルとの平均値は、期間T1から期間T6において一定の値となるとともに、二値化部52の閾値電圧Vthと一致している。このように、調整制御部60aは、6つの受光素子31〜36それぞれが検出した6つの検出信号の最大信号レベルと最小信号レベルの平均値を一致させ、且つ、この平均値が閾値電圧Vthと一致するように、信号変換部5aに検出信号を調整させる。   In FIG. 5D, the voltage Vth indicates the threshold voltage of the binarization unit 52, as in FIG. Here, the average value of the maximum signal level and the minimum signal level in the waveform W7 is a constant value in the period T1 to the period T6 and coincides with the threshold voltage Vth of the binarization unit 52. As described above, the adjustment control unit 60a matches the average value of the maximum signal level and the minimum signal level of the six detection signals detected by the six light receiving elements 31 to 36, and the average value is equal to the threshold voltage Vth. The detection signal is adjusted by the signal converter 5a so as to match.

また、増幅後のABS相検出信号において、受光素子31に対応する振幅を振幅L11、受光素子32に対応する振幅を振幅L12、受光素子33に対応する振幅を振幅L13とする。各振幅は、所定のゲイン(利得)により増幅されているので、図5(b)における関係を反映した(振幅L11<振幅L12<振幅L13)の関係となる。また、同様に、受光素子34に対応する振幅を振幅L14、受光素子35に対応する振幅を振幅L15、受光素子36に対応する振幅を振幅L16とすると、各振幅は、(振幅L14>振幅L15>振幅L16)の関係となる。   In the ABS phase detection signal after amplification, the amplitude corresponding to the light receiving element 31 is set as the amplitude L11, the amplitude corresponding to the light receiving element 32 is set as the amplitude L12, and the amplitude corresponding to the light receiving element 33 is set as the amplitude L13. Since each amplitude is amplified by a predetermined gain (gain), the relationship in FIG. 5B is reflected (amplitude L11 <amplitude L12 <amplitude L13). Similarly, assuming that the amplitude corresponding to the light receiving element 34 is the amplitude L14, the amplitude corresponding to the light receiving element 35 is the amplitude L15, and the amplitude corresponding to the light receiving element 36 is the amplitude L16, each amplitude is (amplitude L14> amplitude L15). > Amplitude L16).

次に、二値化部52は、閾値電圧Vthに基づいて、アンプ51aから供給された調整されたABS相検出信号を二値化し、図5の(e)二値化信号(波形W8)であるデジタル信号を信号処理部6aの絶対番地処理部71に供給する。なお、図5(e)において、“H”は、Hレベル(論理状態“1”)を示し、“L”は、Lレベル(論理状態“0”)を示している。   Next, the binarizing unit 52 binarizes the adjusted ABS phase detection signal supplied from the amplifier 51a based on the threshold voltage Vth, and uses the binarized signal (waveform W8) in FIG. A digital signal is supplied to the absolute address processing unit 71 of the signal processing unit 6a. In FIG. 5E, “H” indicates an H level (logic state “1”), and “L” indicates an L level (logic state “0”).

このように、本実施形態におけるエンコーダ100aは、信号調整部8aによりABS相検出信号(受光素子31〜36の検出信号)を調整した後、二値化部52が二値化を行い、二値化信号を信号処理部6aの位置検出部7(絶対番地処理部71)に供給する。位置検出部7による位置情報を生成する動作は、第1の実施形態におけるエンコーダ100と同様であるので、ここでは説明を省略する。   Thus, the encoder 100a in this embodiment adjusts the ABS phase detection signal (the detection signals of the light receiving elements 31 to 36) by the signal adjustment unit 8a, and then the binarization unit 52 performs binarization, and the binary The digitized signal is supplied to the position detector 7 (absolute address processor 71) of the signal processor 6a. Since the operation of generating position information by the position detector 7 is the same as that of the encoder 100 in the first embodiment, the description thereof is omitted here.

以上、説明したように、本実施形態におけるエンコーダ100aは、調整制御部60aが、調整情報に基づいて、複数の受光素子(31〜36)それぞれが検出した複数の検出信号の出力特性を一致させるように、信号変換部5aに検出信号を調整させる。出力特性には、各検出信号の最大信号レベルと検出信号の最小信号レベルとの平均値が含まれる。調整制御部60aは、不揮発性記憶部14に記憶されている調整情報に基づいて、複数の検出信号における平均値を一致させるように、信号変換部5aに検出信号を調整させる。
これにより、複数の検出信号における平均値の不均一(バラツキ)が低減されるので、二値化部52による二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100aは、被駆動体の位置の誤検出を低減することができる。
As described above, in the encoder 100a according to the present embodiment, the adjustment control unit 60a matches the output characteristics of the plurality of detection signals detected by the plurality of light receiving elements (31 to 36) based on the adjustment information. As described above, the detection signal is adjusted by the signal converter 5a. The output characteristic includes an average value of the maximum signal level of each detection signal and the minimum signal level of the detection signal. Based on the adjustment information stored in the nonvolatile storage unit 14, the adjustment control unit 60a causes the signal conversion unit 5a to adjust the detection signal so that the average values of the plurality of detection signals match.
Thereby, non-uniformity (variation) of the average value in the plurality of detection signals is reduced, and thus the binarization conversion margin by the binarization unit 52 can be increased. Therefore, the encoder 100a in the present embodiment can reduce erroneous detection of the position of the driven body.

また、本実施形態では、信号変換部5aは、検出信号を増幅するアンプ51aと、アンプ51aによって増幅された検出信号(ABS相検出信号)を二値化信号に変換する二値化部52とを備えている。調整制御部60aは、調整情報に基づいてアンプ51aのDCオフセット電圧(直流オフセット電圧)を変更することにより、信号変換部5aに検出信号を調整させる。
例えば、本実施形態におけるエンコーダ100aでは、二値化部52は、図5の(d)増幅後のABS相検出信号(波形W7)を二値化する検出信号として使用する。そのため、図5の期間T1において、例えば、ノイズNZ1のようなノイズ信号がABS相検出信号に混入した場合であっても、ABS相検出信号は閾値電圧Vthをまたいで変化しない。すなわち、調整情報に基づいてアンプ51aのDCオフセット電圧(直流オフセット電圧)を変更することにより、二値化部52による二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100aは、被駆動体の位置の誤検出を低減することができる。
In the present embodiment, the signal converter 5a includes an amplifier 51a that amplifies the detection signal, and a binarization unit 52 that converts the detection signal (ABS phase detection signal) amplified by the amplifier 51a into a binary signal. It has. The adjustment control unit 60a causes the signal conversion unit 5a to adjust the detection signal by changing the DC offset voltage (DC offset voltage) of the amplifier 51a based on the adjustment information.
For example, in the encoder 100a in this embodiment, the binarization unit 52 uses the amplified ABS phase detection signal (waveform W7) in FIG. 5D as a detection signal for binarization. Therefore, in the period T1 in FIG. 5, for example, even when a noise signal such as the noise NZ1 is mixed in the ABS phase detection signal, the ABS phase detection signal does not change across the threshold voltage Vth. That is, the binarization conversion margin by the binarization unit 52 can be increased by changing the DC offset voltage (DC offset voltage) of the amplifier 51a based on the adjustment information. Therefore, the encoder 100a in the present embodiment can reduce erroneous detection of the position of the driven body.

[第3の実施形態]
次に、第3の実施形態におけるエンコーダ100bについて説明する。
図6は、本実施形態によるエンコーダ100bを示すブロック図である。
この図において、図1及び図4と同一の構成については同一の符号を付し、その説明を省略する。
第3の実施形態におけるエンコーダ100bは、受光素子(31〜36)の検出信号を調整する制御が、第1の実施形態及び第2の実施形態とは異なる。第3の実施形態におけるエンコーダ100bは、二値化部52aの閾値電圧を変更することにより、受光素子(31〜36)の検出信号を調整する。
以下、第3の実施形態におけるエンコーダ100aの第1の実施形態とは異なる点について説明する。
[Third Embodiment]
Next, an encoder 100b according to the third embodiment will be described.
FIG. 6 is a block diagram showing the encoder 100b according to the present embodiment.
In this figure, the same components as those in FIGS. 1 and 4 are denoted by the same reference numerals, and the description thereof is omitted.
The encoder 100b in the third embodiment is different from the first embodiment and the second embodiment in the control for adjusting the detection signals of the light receiving elements (31 to 36). The encoder 100b in the third embodiment adjusts the detection signals of the light receiving elements (31 to 36) by changing the threshold voltage of the binarization unit 52a.
Hereinafter, a point different from the first embodiment of the encoder 100a in the third embodiment will be described.

図6において、エンコーダ100bは、符号板2、受光部3、切替部4、信号変換部5b、信号処理部6b、光源10、ドライバ部11、アンプ(12,13)、及び不揮発性記憶部14を備えている。
また、信号変換部5bは、アンプ51bと、二値化部52aとを備えている。
In FIG. 6, the encoder 100b includes a code plate 2, a light receiving unit 3, a switching unit 4, a signal converting unit 5b, a signal processing unit 6b, a light source 10, a driver unit 11, an amplifier (12, 13), and a nonvolatile storage unit 14. It has.
The signal conversion unit 5b includes an amplifier 51b and a binarization unit 52a.

アンプ51b(増幅部)は、ABS相検出信号を増幅し、増幅した信号(ABS相検出信号)を二値化部52aに出力する。なお、アンプ51bは、所定のゲイン(利得)によって、ABS相検出信号を増幅する。
二値化部52aは、例えば、コンパレータ(比較器)であり、アンプ51bによって増幅されたABS相検出信号を所定の閾値電圧に基づいて二値化信号に変換する。二値化部52aは、信号処理部6bから供給される閾値調整信号に基づいて、所定の閾値電圧を変更する。二値化部52aは、例えば、増幅されたABS相検出信号の信号レベルが、閾値調整信号に基づいて変更される所定の閾値電圧以上である場合に、二値化信号としてHレベルを出力する。二値化部52aは、例えば、増幅されたABS相検出信号の信号レベルが所定の閾値電圧未満である場合に、二値化信号としてLレベルを出力する。二値化部52aは、変換した二値化信号を信号処理部6bに供給する。
The amplifier 51b (amplifying unit) amplifies the ABS phase detection signal and outputs the amplified signal (ABS phase detection signal) to the binarization unit 52a. The amplifier 51b amplifies the ABS phase detection signal with a predetermined gain.
The binarization unit 52a is, for example, a comparator (comparator), and converts the ABS phase detection signal amplified by the amplifier 51b into a binarized signal based on a predetermined threshold voltage. The binarization unit 52a changes a predetermined threshold voltage based on the threshold adjustment signal supplied from the signal processing unit 6b. For example, when the signal level of the amplified ABS phase detection signal is equal to or higher than a predetermined threshold voltage that is changed based on the threshold adjustment signal, the binarization unit 52a outputs an H level as a binarization signal. . For example, when the signal level of the amplified ABS phase detection signal is less than a predetermined threshold voltage, the binarization unit 52a outputs an L level as a binarized signal. The binarization unit 52a supplies the converted binarized signal to the signal processing unit 6b.

また、信号処理部6bは、調整制御部60b、D/A(デジタル/アナログ)部61、A/D(アナログ/デジタル)部(62,63)、及び位置検出部7を備えている。
調整制御部60bは、受光素子(31〜36)ごとに定められた調整情報に基づいて、信号変換部5bに受光素子31〜36の検出信号を受光素子(31〜36)ごとに調整させる。調整制御部60bは、例えば、切替部4により切り替えられた受光素子(31〜36)に対応する調整情報に基づいて、切り替えられた受光素子(31〜36)から出力された検出信号を信号変換部5bに調整させる。
The signal processing unit 6b includes an adjustment control unit 60b, a D / A (digital / analog) unit 61, A / D (analog / digital) units (62, 63), and a position detection unit 7.
The adjustment control unit 60b causes the signal conversion unit 5b to adjust the detection signals of the light receiving elements 31 to 36 for each light receiving element (31 to 36) based on the adjustment information determined for each light receiving element (31 to 36). For example, the adjustment control unit 60b converts the detection signals output from the switched light receiving elements (31 to 36) based on the adjustment information corresponding to the light receiving elements (31 to 36) switched by the switching unit 4. Adjust to part 5b.

例えば、調整制御部60bは、不揮発性記憶部14に記憶されている調整情報を読み出す。調整制御部60bは、読み出した調整情報に基づいて、6つの受光素子31〜36それぞれが検出した6つの検出信号の最大信号レベルと最小信号レベルの平均値と、二値化部52aの閾値とを一致させるように、信号変換部5aに検出信号を調整させる。
例えば、調整制御部60bは、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧を閾値調整信号として出力させる。すなわち、調整制御部60bは、D/A部61を介して閾値調整信号を出力させて、二値化部52aの閾値電圧を変更することにより、信号変換部5bに検出信号を調整させる。
For example, the adjustment control unit 60b reads the adjustment information stored in the nonvolatile storage unit 14. Based on the read adjustment information, the adjustment control unit 60b determines the average value of the maximum and minimum signal levels of the six detection signals detected by the six light receiving elements 31 to 36, and the threshold value of the binarization unit 52a. The signal conversion unit 5a adjusts the detection signal so as to match.
For example, the adjustment control unit 60b causes the D / A unit 61 to output a voltage corresponding to the adjustment information as a threshold adjustment signal based on the adjustment information read from the nonvolatile storage unit 14. That is, the adjustment control unit 60b outputs a threshold adjustment signal via the D / A unit 61 and changes the threshold voltage of the binarization unit 52a, thereby causing the signal conversion unit 5b to adjust the detection signal.

ここで、エンコーダ100bは、受光素子(31〜36)ごとに定められた調整情報に基づいて、受光素子31〜36の検出信号を受光素子(31〜36)ごとに調整する信号調整部8bを備えている。図6において、信号調整部8bは、D/A部61と、二値化部52aとが対応する。   Here, the encoder 100b includes a signal adjustment unit 8b that adjusts the detection signals of the light receiving elements 31 to 36 for each light receiving element (31 to 36) based on the adjustment information determined for each light receiving element (31 to 36). I have. In FIG. 6, the signal adjustment unit 8b corresponds to a D / A unit 61 and a binarization unit 52a.

次に、本実施形態におけるエンコーダ100bの動作について説明する。
本実施形態におけるエンコーダ100bの動作は、基本的には、第1の実施形態における動作と同様である。ここでは、本実施形態における調整制御部60bによる調整制御の動作について説明する。
図7において、上から順に、(a)ABSパターン、(b)ABS相検出信号、(c)閾値調整信号、(d)増幅後のABS相検出信号、及び(e)二値化信号を示している。(a)ABSパターン及び(b)ABS相検出信号は、図3と同様である。
図7は、本実施形態におけるエンコーダ100bの検出信号の調整動作を示す図である。
この図において、(a)ABSパターンの縦軸は、図3と同様に、パターンの論理状態を示し、(b)から(e)の縦軸は、それぞれ電圧を示している。また、横軸は、時間を示している。
Next, the operation of the encoder 100b in this embodiment will be described.
The operation of the encoder 100b in the present embodiment is basically the same as the operation in the first embodiment. Here, the operation of the adjustment control by the adjustment control unit 60b in the present embodiment will be described.
In FIG. 7, in order from the top, (a) an ABS pattern, (b) an ABS phase detection signal, (c) a threshold adjustment signal, (d) an amplified ABS phase detection signal, and (e) a binarized signal are shown. ing. (A) ABS pattern and (b) ABS phase detection signal are the same as those in FIG.
FIG. 7 is a diagram showing an adjustment operation of the detection signal of the encoder 100b in the present embodiment.
In this figure, (a) the vertical axis of the ABS pattern indicates the logical state of the pattern as in FIG. 3, and the vertical axes of (b) to (e) indicate the voltages, respectively. The horizontal axis indicates time.

また、図7の期間T1から期間T6は、上述の図2を参照して説明した期間T1から期間T6と同様である。ここでは、波形W1、波形W9、波形W10、及び波形W12は、(b)から(e)の各信号において、期間T1から期間T6の状態に順番に切り替えた場合の波形を示している。また、波形W11は、期間T1から期間T6の状態に順番に切り替えた場合の二値化部52aにおける二値化の閾値を示す波形を示している。   Further, the period T1 to the period T6 in FIG. 7 is the same as the period T1 to the period T6 described with reference to FIG. Here, the waveform W1, the waveform W9, the waveform W10, and the waveform W12 indicate the waveforms when the signals from (b) to (e) are sequentially switched from the period T1 to the period T6. A waveform W11 indicates a waveform indicating a binarization threshold in the binarization unit 52a when the state is sequentially switched from the period T1 to the period T6.

図7において、調整制御部60bは、絶対番地処理部71から供給された切り替え信号に同期して、切り替え信号により選択される受光素子(31〜36)に対応する調整情報を不揮発性記憶部14から読み出す。調整制御部60bは、絶対番地処理部71から供給された切り替え信号に同期して、不揮発性記憶部14から読み出した調整情報に基づいて、D/A部61に、調整情報に対応する電圧を閾値調整信号として出力させる。すなわち、D/A部61は、図7の(c)の閾値調整信号(波形W9)を出力し、二値化部52aの閾値を変更する。これにより、調整制御部60bは、6つの受光素子31〜36それぞれが検出した6つの検出信号の最大信号レベルと最小信号レベルの平均値と、二値化部52aの閾値とを一致させるように、信号変換部5bに検出信号を調整させる。   In FIG. 7, the adjustment control unit 60 b synchronizes with the switching signal supplied from the absolute address processing unit 71, and sends adjustment information corresponding to the light receiving elements (31 to 36) selected by the switching signal to the nonvolatile storage unit 14. Read from. Based on the adjustment information read from the nonvolatile storage unit 14 in synchronization with the switching signal supplied from the absolute address processing unit 71, the adjustment control unit 60b applies a voltage corresponding to the adjustment information to the D / A unit 61. Output as a threshold adjustment signal. That is, the D / A unit 61 outputs the threshold adjustment signal (waveform W9) of FIG. 7C, and changes the threshold of the binarization unit 52a. Accordingly, the adjustment control unit 60b matches the average value of the maximum and minimum signal levels of the six detection signals detected by the six light receiving elements 31 to 36 with the threshold value of the binarization unit 52a. The signal conversion unit 5b adjusts the detection signal.

ここで、波形W9に示すように、閾値調整信号は、期間T3及び期間T4が最も信号レベルが高く、期間T1及び期間T6が最も信号レベルが低い。また、閾値調整信号は、期間T2及び期間T5の信号レベルが、期間T3及び期間T4の信号レベルと期間T1及び期間T6の信号レベルとの間の信号レベルとなっている。
また、図7の(c)において、電圧V1は、参考信号レベルとして、第1の実施形態における閾値Vthに対応する閾値調整信号の電圧レベルを示している。
Here, as shown by the waveform W9, the threshold adjustment signal has the highest signal level in the period T3 and the period T4, and the lowest signal level in the period T1 and the period T6. In the threshold adjustment signal, the signal levels in the periods T2 and T5 are between the signal levels in the periods T3 and T4 and the signal levels in the periods T1 and T6.
In FIG. 7C, the voltage V1 indicates the voltage level of the threshold adjustment signal corresponding to the threshold Vth in the first embodiment as the reference signal level.

次に、アンプ51bは、所定のゲイン(利得)に基づいて、ABS相検出信号を増幅し、波形W10に示すような増幅した信号(図7の(d)増幅後のABS相検出信号)を二値化部52aに出力する。ここで、波形W10は、波形W1を所定のゲイン(利得)で増幅するので、波形W1と同様な形状の波形となる。   Next, the amplifier 51b amplifies the ABS phase detection signal based on a predetermined gain (gain), and an amplified signal as shown in the waveform W10 ((d) the amplified ABS phase detection signal in FIG. 7). It outputs to the binarization part 52a. Here, since the waveform W10 amplifies the waveform W1 with a predetermined gain (gain), the waveform has the same shape as the waveform W1.

なお、図7の(d)において、波形W11は、二値化部52aの調整された閾値を示している。また、電圧Vthは、図3(d)と同様に、第1の実施形態における二値化部52の閾値電圧を示している。また、振幅L11から振幅L16は、図5(d)と同様に、増幅後のABS相検出信号における、受光素子31〜36それぞれに対応する振幅を示している。調整制御部60bは、波形W11に示すように、二値化部52aの閾値が、振幅L11から振幅L16の中心電圧になるように、閾値調整信号を変更(調整)する。   In FIG. 7D, a waveform W11 indicates the adjusted threshold value of the binarization unit 52a. Further, the voltage Vth indicates the threshold voltage of the binarization unit 52 in the first embodiment, as in FIG. Similarly to FIG. 5D, the amplitudes L11 to L16 indicate the amplitudes corresponding to the respective light receiving elements 31 to 36 in the amplified ABS phase detection signal. The adjustment control unit 60b changes (adjusts) the threshold adjustment signal so that the threshold of the binarization unit 52a becomes the center voltage from the amplitude L11 to the amplitude L16, as shown by the waveform W11.

次に、二値化部52aは、波形W11に示される閾値に基づいて、アンプ51bから供給された調整されたABS相検出信号を二値化し、図7の(e)二値化信号(波形W12)であるデジタル信号を信号処理部6bの絶対番地処理部71に供給する。なお、図7(e)において、“H”は、Hレベル(論理状態“1”)を示し、“L”は、Lレベル(論理状態“0”)を示している。   Next, the binarizing unit 52a binarizes the adjusted ABS phase detection signal supplied from the amplifier 51b based on the threshold indicated by the waveform W11, and (e) the binarized signal (waveform in FIG. 7). W12) is supplied to the absolute address processing unit 71 of the signal processing unit 6b. In FIG. 7E, “H” indicates the H level (logic state “1”), and “L” indicates the L level (logic state “0”).

このように、本実施形態におけるエンコーダ100bは、信号調整部8bにより二値化部52aの閾値を調整して二値化を行い、二値化信号を信号処理部6bの位置検出部7(絶対番地処理部71)に供給する。位置検出部7による位置情報を生成する動作は、第1の実施形態におけるエンコーダ100と同様であるので、ここでは説明を省略する。   As described above, the encoder 100b according to the present embodiment performs binarization by adjusting the threshold value of the binarization unit 52a by the signal adjustment unit 8b, and converts the binarized signal to the position detection unit 7 (absolutely) of the signal processing unit 6b. To the address processing unit 71). Since the operation of generating position information by the position detector 7 is the same as that of the encoder 100 in the first embodiment, the description thereof is omitted here.

以上、説明したように、本実施形態におけるエンコーダ100bは、信号変換部5bは、検出信号を増幅するアンプ51bと、アンプ51bによって増幅された検出信号(ABS相検出信号)を所定の閾値電圧に基づいて二値化信号に変換する二値化部52aとを備えている。調整制御部60bは、調整情報に基づいて二値化部52aの所定の閾値電圧を変更することにより(波形W11参照)、信号変換部5bに検出信号を調整させる。
例えば、本実施形態におけるエンコーダ100bでは、二値化部52aは、図7の(d)増幅後のABS相検出信号(波形W10)を二値化する閾値として、波形W11に示されるような振幅L11から振幅L16の中心電圧になるように調整された閾値を使用する。そのため、図7の期間T1において、例えば、ノイズNZ1のようなノイズ信号がABS相検出信号に混入した場合であっても、ABS相検出信号は波形W11に示される閾値をまたいで変化しない。すなわち、調整情報に基づいて二値化部52aの閾値電圧を変更することにより、二値化部52aによる二値化の変換マージンを増やすことができる。そのため、本実施形態におけるエンコーダ100bは、被駆動体の位置の誤検出を低減することができる。
As described above, in the encoder 100b according to this embodiment, the signal conversion unit 5b has the amplifier 51b that amplifies the detection signal and the detection signal (ABS phase detection signal) amplified by the amplifier 51b at a predetermined threshold voltage. And a binarization unit 52a that converts the signal into a binarized signal. The adjustment control unit 60b causes the signal conversion unit 5b to adjust the detection signal by changing a predetermined threshold voltage of the binarization unit 52a based on the adjustment information (see waveform W11).
For example, in the encoder 100b in the present embodiment, the binarization unit 52a uses the amplitude as shown in the waveform W11 as a threshold for binarizing the amplified ABS phase detection signal (waveform W10) in FIG. A threshold value adjusted so as to be a center voltage having an amplitude L16 from L11 is used. Therefore, in the period T1 in FIG. 7, for example, even when a noise signal such as the noise NZ1 is mixed in the ABS phase detection signal, the ABS phase detection signal does not change across the threshold indicated by the waveform W11. That is, the conversion margin for binarization by the binarization unit 52a can be increased by changing the threshold voltage of the binarization unit 52a based on the adjustment information. Therefore, the encoder 100b in the present embodiment can reduce erroneous detection of the position of the driven body.

[第4の実施形態]
次に、第4の実施形態におけるエンコーダ100cについて説明する。
図8は、本実施形態によるエンコーダ100cを示すブロック図である。
この図において、図1と同一の構成については同一の符号を付し、その説明を省略する。
第4の実施形態におけるエンコーダ100cは、受光素子31〜36のうちの一部に対応する調整情報から、受光素子31〜36に対応する調整情報を補間して生成する点が第1の実施形態と異なる。
以下、第4の実施形態におけるエンコーダ100cの第1の実施形態とは異なる点について説明する。
[Fourth Embodiment]
Next, an encoder 100c in the fourth embodiment will be described.
FIG. 8 is a block diagram showing the encoder 100c according to the present embodiment.
In this figure, the same components as those in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.
The encoder 100c in the fourth embodiment is generated by interpolating adjustment information corresponding to the light receiving elements 31 to 36 from adjustment information corresponding to a part of the light receiving elements 31 to 36 in the first embodiment. And different.
Hereinafter, differences from the first embodiment of the encoder 100c in the fourth embodiment will be described.

図8において、エンコーダ100cは、符号板2、受光部3、切替部4、信号変換部5、信号処理部6c、光源10、ドライバ部11、アンプ(12,13)、及び不揮発性記憶部14を備えている。
なお、本実施形態における不揮発性記憶部14は、受光素子31〜36のうちの一部に対応する調整情報である部分調整情報を記憶する。
また、信号処理部6cは、調整制御部60、D/A(デジタル/アナログ)部61、A/D(アナログ/デジタル)部(62,63)、調整情報生成部64、及び位置検出部7を備えている。
8, the encoder 100c includes a code plate 2, a light receiving unit 3, a switching unit 4, a signal converting unit 5, a signal processing unit 6c, a light source 10, a driver unit 11, an amplifier (12, 13), and a nonvolatile storage unit 14. It has.
In addition, the non-volatile memory | storage part 14 in this embodiment memorize | stores the partial adjustment information which is the adjustment information corresponding to some of the light receiving elements 31-36.
The signal processing unit 6 c includes an adjustment control unit 60, a D / A (digital / analog) unit 61, an A / D (analog / digital) unit (62, 63), an adjustment information generation unit 64, and a position detection unit 7. It has.

調整情報生成部64は、不揮発性記憶部14に記憶されている部分調整情報に基づいて、受光素子(31〜36)ごとに定められた調整情報を生成する。調整情報生成部64は、不揮発性記憶部14から部分調整情報を読み出して、読み出した部分調整情報同士の間の位置する各受光素子に対応する調整情報を補間して生成する。調整情報生成部64は、例えば、部分調整情報の2つの値から直線補間により各受光素子に対応する調整情報を生成してもよいし、二次関数などの所定の関数に基づいて、各受光素子に対応する調整情報を生成してもよい。調整情報生成部64は、生成した調整情報を調整制御部60に供給する。   The adjustment information generation unit 64 generates adjustment information determined for each light receiving element (31 to 36) based on the partial adjustment information stored in the nonvolatile storage unit. The adjustment information generation unit 64 reads the partial adjustment information from the nonvolatile storage unit 14 and interpolates and generates adjustment information corresponding to each light receiving element located between the read partial adjustment information. For example, the adjustment information generation unit 64 may generate adjustment information corresponding to each light receiving element by linear interpolation from two values of the partial adjustment information, or may receive each light reception based on a predetermined function such as a quadratic function. Adjustment information corresponding to the element may be generated. The adjustment information generation unit 64 supplies the generated adjustment information to the adjustment control unit 60.

なお、本実施形態における調整制御部60は、調整情報生成部64によって生成された受光素子(31〜36)ごとに定められた調整情報に基づいて、検出信号を受光素子(31〜36)ごとに調整させる。調整制御部60は、例えば、予め調整情報生成部64から調整情報を取得し、絶対番地処理部71から供給された切り替え信号に同期して、D/A部61に調整情報に対応する電圧をゲイン調整信号として出力させる。
信号調整部8による検出信号の調整動作、及び位置検出部7による位置情報を生成する動作を含むその他の動作は、第1の実施形態におけるエンコーダ100と同様であるので、ここでは説明を省略する。
The adjustment control unit 60 according to the present embodiment sends detection signals to the light receiving elements (31 to 36) based on the adjustment information determined for the light receiving elements (31 to 36) generated by the adjustment information generating unit 64. To adjust. For example, the adjustment control unit 60 acquires the adjustment information from the adjustment information generation unit 64 in advance, and synchronizes the switching signal supplied from the absolute address processing unit 71 with the voltage corresponding to the adjustment information to the D / A unit 61. Output as a gain adjustment signal.
Other operations including the adjustment operation of the detection signal by the signal adjustment unit 8 and the operation of generating the position information by the position detection unit 7 are the same as those of the encoder 100 in the first embodiment, and thus description thereof is omitted here. .

このように、本実施形態におけるエンコーダ100cは、不揮発性記憶部14と、調整情報生成部64とを備えている。不揮発性記憶部14は、複数の受光素子(31〜36)のうちの一部に対応する調整情報である部分調整情報を記憶する。調整情報生成部64は、不揮発性記憶部14に記憶されている部分調整情報に基づいて、受光素子(31〜36)ごとに定められた調整情報を生成する。そして、調整制御部60は、調整情報生成部64によって生成された受光素子(31〜36)ごとに定められた調整情報に基づいて、検出信号を受光素子(31〜36)ごとに調整させる。
これにより、本実施形態におけるエンコーダ100cは、第1の実施形態と同様に、被駆動体の位置の誤検出を低減することができる。したがって、本実施形態におけるエンコーダ100cは、位置情報を検出する信頼性を高めることができる。さらに、本実施形態におけるエンコーダ100cは、全ての受光素子に対応する調整情報を不揮発性記憶部14に記憶させておく必要がないので、不揮発性記憶部14の記憶容量を低減することができる。
As described above, the encoder 100 c in this embodiment includes the nonvolatile storage unit 14 and the adjustment information generation unit 64. The nonvolatile storage unit 14 stores partial adjustment information that is adjustment information corresponding to a part of the plurality of light receiving elements (31 to 36). The adjustment information generation unit 64 generates adjustment information determined for each light receiving element (31 to 36) based on the partial adjustment information stored in the nonvolatile storage unit. And the adjustment control part 60 adjusts a detection signal for every light receiving element (31-36) based on the adjustment information defined for every light receiving element (31-36) produced | generated by the adjustment information generation part 64. FIG.
Thereby, the encoder 100c in this embodiment can reduce erroneous detection of the position of the driven body, as in the first embodiment. Therefore, the encoder 100c in this embodiment can improve the reliability of detecting position information. Furthermore, since the encoder 100c in the present embodiment does not need to store adjustment information corresponding to all the light receiving elements in the nonvolatile storage unit 14, the storage capacity of the nonvolatile storage unit 14 can be reduced.

[第5の実施形態]
次に、第5の実施形態におけるエンコーダ100dについて説明する。
図9は、本実施形態によるエンコーダ100dを示すブロック図である。
この図において、図1と同一の構成については同一の符号を付し、その説明を省略する。
第5の実施形態におけるエンコーダ100dは、不揮発性記憶部14に調整情報を記憶させる調整情報設定部15を備える点が第1の実施形態と異なる。
以下、第5の実施形態におけるエンコーダ100dの第1の実施形態とは異なる点について説明する。
[Fifth Embodiment]
Next, an encoder 100d in the fifth embodiment will be described.
FIG. 9 is a block diagram showing the encoder 100d according to the present embodiment.
In this figure, the same components as those in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted.
The encoder 100d according to the fifth embodiment is different from the first embodiment in that the encoder 100d includes an adjustment information setting unit 15 that stores adjustment information in the nonvolatile storage unit 14.
Hereinafter, differences from the first embodiment of the encoder 100d in the fifth embodiment will be described.

図9において、エンコーダ100dは、符号板2、受光部3、切替部4、信号変換部5、信号処理部6、光源10、ドライバ部11、アンプ(12,13)、不揮発性記憶部14、及び調整情報設定部15を備えている。   In FIG. 9, the encoder 100d includes a code plate 2, a light receiving unit 3, a switching unit 4, a signal converting unit 5, a signal processing unit 6, a light source 10, a driver unit 11, an amplifier (12, 13), a nonvolatile storage unit 14, And an adjustment information setting unit 15.

調整情報設定部15(設定部)は、第1の実施形態における設定装置200の調整情報設定部210と同様の機能を有している。調整情報設定部15は、例えば、6つの受光素子31〜36の検出信号に基づいて二値化された二値化信号がそれぞれHレベル(論理状態“1”)になるように、符号板2の位置を変更させる。なお、例えば、調整情報設定部15は、メンテナンスモード等における低速回転中の場合に、駆動装置DRなどからの指令値に基づいて、6つの受光素子31〜36の検出信号に基づいて二値化された二値化信号がそれぞれHレベル(論理状態“1”)になるように、符号板2の位置を変更させる。調整情報設定部15は、ABS相検出信号の信号線であるノードN1と、アンプ51の出力信号線であるノードN2の電圧レベルとを受光素子(31〜36)ごとに計測し、計測結果に基づいて、受光素子(31〜36)ごとの調整情報を定める。すなわち、調整情報設定部15は、ノードN1の電圧とノードN2の電圧とを受光素子(31〜36)ごとに計測し、計測結果に基づいて、受光素子(31〜36)ごとの調整情報を生成する。調整情報設定部15は、受光素子(31〜36)ごとに生成した調整情報を不揮発性記憶部14に記憶させる。さらに、調整情報設定部15は、ノードN1の電圧とノードN2の電圧とを受光素子(31〜36)ごとに計測し、設定した調整情報が正しく設定されているかを確認にしてもよい。   The adjustment information setting unit 15 (setting unit) has the same function as the adjustment information setting unit 210 of the setting device 200 in the first embodiment. For example, the adjustment information setting unit 15 is configured so that the binarized signals binarized based on the detection signals of the six light receiving elements 31 to 36 are each at the H level (logic state “1”). Change the position of. For example, the adjustment information setting unit 15 binarizes based on the detection signals of the six light receiving elements 31 to 36 based on a command value from the driving device DR or the like during low-speed rotation in the maintenance mode or the like. The position of the code plate 2 is changed so that the binarized signals thus obtained are each at the H level (logic state “1”). The adjustment information setting unit 15 measures the voltage level of the node N1 that is the signal line of the ABS phase detection signal and the voltage level of the node N2 that is the output signal line of the amplifier 51 for each of the light receiving elements (31 to 36). Based on this, adjustment information for each light receiving element (31 to 36) is determined. That is, the adjustment information setting unit 15 measures the voltage of the node N1 and the voltage of the node N2 for each light receiving element (31 to 36), and based on the measurement result, the adjustment information for each light receiving element (31 to 36). Generate. The adjustment information setting unit 15 causes the nonvolatile storage unit 14 to store adjustment information generated for each light receiving element (31 to 36). Further, the adjustment information setting unit 15 may measure the voltage of the node N1 and the voltage of the node N2 for each light receiving element (31 to 36) to confirm whether the set adjustment information is set correctly.

このように、本実施形態におけるエンコーダ100dは、検出信号(ABS測定信号、及び増幅後のABS測定信号)を計測して、当該計測結果に基づいて調整情報を定める調整情報設定部15を備えている。
これにより、本実施形態におけるエンコーダ100dは、自装置で定期的に校正処理(キャリブレーション処理)を行うことができる。そのため、本実施形態におけるエンコーダ100dは、光源10又は受光素子31〜36の経年劣化(経年変化)によるバラツキなどによって、被駆動体の位置の誤検出が発生し易くなることを低減することができる。したがって、本実施形態におけるエンコーダ100cは、位置情報を検出する信頼性を高めることができる。
Thus, the encoder 100d in the present embodiment includes the adjustment information setting unit 15 that measures the detection signal (ABS measurement signal and amplified ABS measurement signal) and determines adjustment information based on the measurement result. Yes.
Thereby, the encoder 100d in this embodiment can perform a calibration process (calibration process) regularly with an own apparatus. Therefore, the encoder 100d according to the present embodiment can reduce the possibility of erroneous detection of the position of the driven body due to variations due to aging (aging) of the light source 10 or the light receiving elements 31 to 36. . Therefore, the encoder 100c in this embodiment can improve the reliability of detecting position information.

[第6の実施形態]
次に、上述の実施形態におけるエンコーダ100(100a〜100d)を備える駆動装置(モータ装置、アクチュエータ)について説明する。
図10は、本実施形態における駆動装置DRの概略図である。本実施形態における駆動装置DRは、入力軸IAXを回転させるモータMTRと、入力軸IAX(回転子9)に設けられたエンコーダ100(100a〜100d)と、を備える。すなわち、駆動装置DRは、エンコーダ100(100a〜100d)と、入力軸IAX(被駆動体)を駆動するモータMTR(駆動部)と、を備えている。
[Sixth Embodiment]
Next, a drive device (motor device, actuator) including the encoder 100 (100a to 100d) in the above-described embodiment will be described.
FIG. 10 is a schematic diagram of the driving device DR in the present embodiment. The drive device DR in the present embodiment includes a motor MTR that rotates the input shaft IAX, and an encoder 100 (100a to 100d) provided on the input shaft IAX (rotor 9). That is, the driving device DR includes an encoder 100 (100a to 100d) and a motor MTR (driving unit) that drives the input shaft IAX (driven body).

エンコーダ100(100a〜100d)は、入力軸IAX(被駆動体)の回転位置(角度位置)を検出し、駆動装置DRを制御する上位のコントローラに対して回転位置を含む情報をエンコーダ信号として出力する。上位のコントローラは、エンコーダ100(100a〜100d)から受信したエンコーダ信号をもとに、駆動装置DRを制御する。本実施形態におけるエンコーダ100(100a〜100d)は入力軸IAXの回転位置の誤検出を低減することができるため、本実施形態における駆動装置DRはモータMTRの入力軸IAXを高精度に位置制御することができる。また、本実施形態における駆動装置DRは、位置制御における信頼性を高めることができる。   The encoder 100 (100a to 100d) detects the rotational position (angular position) of the input shaft IAX (driven body), and outputs information including the rotational position as an encoder signal to a host controller that controls the driving device DR. To do. The host controller controls the drive device DR based on the encoder signal received from the encoder 100 (100a to 100d). Since the encoder 100 (100a to 100d) in the present embodiment can reduce erroneous detection of the rotational position of the input shaft IAX, the driving device DR in the present embodiment controls the position of the input shaft IAX of the motor MTR with high accuracy. be able to. Further, the driving device DR in the present embodiment can improve the reliability in position control.

なお、本実施形態における駆動装置DRは、図11に示すように、モータMTRの入力軸IAXに減速機RG(例、遊星歯車式機構)を設ける構成としてもよい。この場合、本実施形態におけるエンコーダ100(100a〜100d)は、その減速機RGの出力軸OAXに配置するようにしてもよいし、モータMTRの入力軸IAXと減速機RGの出力軸OAXとの両方に配置するようにしてもよい。   In addition, as shown in FIG. 11, the drive device DR in the present embodiment may have a configuration in which a reduction gear RG (eg, a planetary gear mechanism) is provided on the input shaft IAX of the motor MTR. In this case, the encoder 100 (100a to 100d) in this embodiment may be arranged on the output shaft OAX of the reduction gear RG, or between the input shaft IAX of the motor MTR and the output shaft OAX of the reduction gear RG. You may make it arrange | position to both.

なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で変更可能である。
例えば、上記の各実施形態において、エンコーダ100(100a〜100d)は、符号板2が透過型のパターンを備え形態について説明したが、反射型のパターンを備える形態でもよい。また、エンコーダ100(100a〜100d)は、検出素子が光学式である場合について説明したが、これに限定されるものではなく、磁気式の検出素子を用いる形態でもよい。また、エンコーダ100(100a〜100d)は、ロータリータイプのエンコーダである場合について説明したが、リニアタイプのエンコーダに適用する形態でもよい。この場合、符号板2は、スケールに対応し、回転子はステージなどの被駆動体に対応する。
The present invention is not limited to the above embodiments, and can be modified without departing from the spirit of the present invention.
For example, in each of the above-described embodiments, the encoder 100 (100a to 100d) has been described with respect to the configuration in which the code plate 2 includes the transmission pattern, but the encoder 100 may include a reflection pattern. Further, the encoder 100 (100a to 100d) has been described with respect to the case where the detection element is an optical type. However, the present invention is not limited to this, and a form using a magnetic detection element may be used. Moreover, although the encoder 100 (100a-100d) demonstrated the case where it was a rotary type encoder, the form applied to a linear type encoder may be sufficient. In this case, the code plate 2 corresponds to a scale, and the rotor corresponds to a driven body such as a stage.

また、上記の各実施形態において、受光素子31〜36の検出信号の不均一(バラツキ)を信号変換部5(5a,5b)により調整する形態を説明したが、検出信号が受光素子31〜36から信号処理部6に至る経路のうちのいずれかにおいて、検出信号の不均一(バラツキ)を低減するように調整する形態であれば、他の形態でもよい。例えば、エンコーダ100(100a〜100d)は、信号変換部5(5a,5b)とは別に、検出信号の不均一を低減するように調整する調整部を備える形態でもよい。また、上記の各実施形態において、調整信号の波形や増幅した信号の波形は、一部又は全部に反転増幅回路を用いて信号の極性が上記の各実施形態とは異なる波形にしてもよい。   Further, in each of the above-described embodiments, the mode in which the nonuniformity (variation) of the detection signals of the light receiving elements 31 to 36 is adjusted by the signal conversion unit 5 (5a, 5b) has been described. As long as it adjusts so that the nonuniformity (variation) of a detection signal may be reduced in any one of the paths from to the signal processing unit 6, other forms may be used. For example, the encoder 100 (100a to 100d) may include an adjustment unit that adjusts the detection signal non-uniformity separately from the signal conversion unit 5 (5a, 5b). In each of the above-described embodiments, the waveform of the adjustment signal or the waveform of the amplified signal may be a waveform having a signal polarity different from that of each of the above-described embodiments by using an inverting amplifier circuit in part or in whole.

また、上記の第1から第3の実施形態において、検出信号の調整方法を、それぞれが単独に用いる形態を説明したが、第1から第3の実施形態のうちの2つ以上を組み合わせて用いる形態でもよい。例えば、第1の実施形態と第2の実施形態とを組み合わせて用いる形態(ゲインとDCオフセットとを組み合わせて変更する形態)でもよい。また、例えば、第2の実施形態と第3の実施形態とを組み合わせて用いる形態(オフセットと二値化の閾値とを組み合わせて変更する形態)でも良いし、他の組み合わせを用いる形態でもよい。   In the first to third embodiments, the detection signal adjustment method has been described as being used independently, but two or more of the first to third embodiments are used in combination. Form may be sufficient. For example, a mode in which the first embodiment and the second embodiment are used in combination (a mode in which gain and DC offset are combined and changed) may be used. In addition, for example, a mode in which the second embodiment and the third embodiment are used in combination (a mode in which an offset and a binarization threshold are combined and changed) may be used, or a mode in which another combination is used.

また、上記の第4及び第5の実施形態は、第1の実施形態に適用する形態を説明したが、第2の実施形態又は第3の実施形態に適用する形態でもよい。また、第4の実施形態と、第5の実施形態とを組み合わせて適用する形態でもよい。   Moreover, although the said 4th and 5th embodiment demonstrated the form applied to 1st Embodiment, the form applied to 2nd Embodiment or 3rd Embodiment may be sufficient. Moreover, the form which applies combining 4th Embodiment and 5th Embodiment may be sufficient.

また、上記の各実施形態において、エンコーダ100(100a〜100d)は、切替部4を備える形態を説明したが、切替部4を備えずに、検出素子(受光素子)の数に等しいアンプ51(51a、51b)及び二値化部52(52a)を備える形態でもよい。   In each of the above embodiments, the encoder 100 (100a to 100d) has been described as having the switching unit 4. However, the amplifier 51 (equal to the number of detection elements (light receiving elements)) without the switching unit 4 is provided. 51a and 51b) and the binarization part 52 (52a) may be provided.

また、上記の各実施形態では、エンコーダ100(100a〜100d)に適用する形態を説明したが、レゾルバ装置などの位置検出装置に適用する形態でもよい。
また、本実施形態における駆動装置DRは、例えば、アームなどを有する多関節ロボットや自動車(例、電気自動車)などのロボット装置に設けられてもよい。
Further, in each of the above embodiments, the form applied to the encoder 100 (100a to 100d) has been described. However, the form applied to a position detection device such as a resolver device may be used.
In addition, the driving device DR in the present embodiment may be provided in a robot device such as an articulated robot having an arm or the like or a car (eg, an electric car).

また、上記の各実施形態において、エンコーダ100(100a〜100d)の各部は専用のハードウェアにより実現されるものであってもよく、また、メモリ及びCPU(中央処理装置)を備えて、プログラムによって実現されてもよい。   Further, in each of the above embodiments, each unit of the encoder 100 (100a to 100d) may be realized by dedicated hardware, and includes a memory and a CPU (central processing unit), and is controlled by a program. It may be realized.

上述のエンコーダ100(100a〜100d)は内部に、コンピュータシステムを有している。そして、上述したエンコーダ100(100a〜100d)の処理過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしてもよい。   The above-described encoder 100 (100a to 100d) has a computer system therein. The processing steps of the encoder 100 (100a to 100d) described above are stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer reading and executing this program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

2…符号板、4…切替部、5…信号変換部、7…位置検出部、9…回転子、15…調整情報設定部、21…アブソリュートパターン、31,32,33,34,35,36…受光素子、51,51a,51b…アンプ、52,52a…二値化部、60…調整制御部、64…調整情報生成部、100,100a,100b,100c,100d…エンコーダ、DR…駆動装置   DESCRIPTION OF SYMBOLS 2 ... Code board, 4 ... Switching part, 5 ... Signal conversion part, 7 ... Position detection part, 9 ... Rotor, 15 ... Adjustment information setting part, 21 ... Absolute pattern, 31, 32, 33, 34, 35, 36 Light receiving element 51, 51a, 51b ... Amplifier, 52, 52a ... Binarization unit, 60 ... Adjustment control unit, 64 ... Adjustment information generation unit, 100, 100a, 100b, 100c, 100d ... Encoder, DR ... Drive device

Claims (12)

被駆動体の位置情報を示すパターンを有する符号板と、
前記符号板の前記パターンを検出する複数の検出素子と、
前記複数の検出素子それぞれが検出した検出信号を二値化信号に変換する変換部と、
前記検出素子ごとに定められた調整情報に基づいて、前記変換部に前記検出信号を前記検出素子ごとに調整させる調整制御部と、
前記二値化信号に基づいて、前記被駆動体の位置を検出する位置検出部と
を備えることを特徴とするエンコーダ。
A code plate having a pattern indicating position information of the driven body;
A plurality of detection elements for detecting the pattern of the code plate;
A conversion unit that converts a detection signal detected by each of the plurality of detection elements into a binarized signal;
Based on adjustment information determined for each detection element, an adjustment control unit that causes the conversion unit to adjust the detection signal for each detection element;
An encoder comprising: a position detection unit configured to detect a position of the driven body based on the binarized signal.
前記複数の検出素子のうち、いずれの検出素子が前記検出信号を出力するかを切り替える切替部を備え、
前記調整制御部は、
前記切替部により切り替えられた検出素子に対応する前記調整情報に基づいて、前記切り替えられた検出素子から出力された前記検出信号を前記変換部に調整させる
ことを特徴とする請求項1に記載のエンコーダ。
A switching unit for switching which detection element outputs the detection signal among the plurality of detection elements,
The adjustment control unit
The control unit according to claim 1, wherein the conversion unit adjusts the detection signal output from the switched detection element based on the adjustment information corresponding to the detection element switched by the switching unit. Encoder.
前記調整制御部は、
前記調整情報に基づいて、前記複数の検出素子それぞれが検出した複数の前記検出信号の出力特性を一致させるように、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項1又は請求項2に記載のエンコーダ。
The adjustment control unit
The detection signal is adjusted by the converter so that the output characteristics of the plurality of detection signals detected by the plurality of detection elements are matched based on the adjustment information. Item 3. The encoder according to item 2.
前記出力特性には、前記検出信号の最大信号レベル又は前記検出信号の最小信号レベルが含まれ、
前記調整制御部は、
前記調整情報に基づいて、前記複数の検出信号における前記最大信号レベル又は前記最小信号レベルを一致させるように、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項3に記載のエンコーダ。
The output characteristics include a maximum signal level of the detection signal or a minimum signal level of the detection signal,
The adjustment control unit
4. The encoder according to claim 3, wherein the conversion unit is configured to adjust the detection signal so that the maximum signal level or the minimum signal level in the plurality of detection signals matches based on the adjustment information. 5. .
前記出力特性には、前記検出信号の最大信号レベルと前記検出信号の最小信号レベルとの平均値が含まれ、
前記調整制御部は、
前記調整情報に基づいて、前記複数の検出信号における前記平均値を一致させるように、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項3又は請求項4に記載のエンコーダ。
The output characteristic includes an average value of the maximum signal level of the detection signal and the minimum signal level of the detection signal,
The adjustment control unit
5. The encoder according to claim 3, wherein the conversion unit is configured to adjust the detection signal so that the average values of the plurality of detection signals are matched based on the adjustment information.
前記変換部は、
前記検出信号を増幅する増幅部と、
前記増幅部によって増幅された前記検出信号を前記二値化信号に変換する二値化部と
を備え、
前記調整制御部は、
前記調整情報に基づいて前記増幅部の利得を変更することにより、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項1から請求項5に記載のエンコーダ。
The converter is
An amplifying unit for amplifying the detection signal;
A binarization unit that converts the detection signal amplified by the amplification unit into the binarized signal;
The adjustment control unit
The encoder according to any one of claims 1 to 5, wherein the conversion unit is configured to adjust the detection signal by changing a gain of the amplification unit based on the adjustment information.
前記変換部は、
前記検出信号を増幅する増幅部と、
前記増幅部によって増幅された前記検出信号を前記二値化信号に変換する二値化部と
を備え、
前記調整制御部は、
前記調整情報に基づいて前記増幅部の直流オフセット電圧を変更することにより、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項1から請求項5のいずれか一項に記載のエンコーダ。
The converter is
An amplifying unit for amplifying the detection signal;
A binarization unit that converts the detection signal amplified by the amplification unit into the binarized signal;
The adjustment control unit
The encoder according to any one of claims 1 to 5, wherein the conversion unit is configured to adjust the detection signal by changing a DC offset voltage of the amplification unit based on the adjustment information. .
前記変換部は、
前記検出信号を増幅する増幅部と、
前記増幅部によって増幅された前記検出信号を所定の閾値電圧に基づいて前記二値化信号に変換する二値化部と
を備え、
前記調整制御部は、
前記調整情報に基づいて前記二値化部の前記所定の閾値電圧を変更することにより、前記変換部に前記検出信号を調整させる
ことを特徴とする請求項1又は請求項2に記載のエンコーダ。
The converter is
An amplifying unit for amplifying the detection signal;
A binarization unit that converts the detection signal amplified by the amplification unit into the binarization signal based on a predetermined threshold voltage, and
The adjustment control unit
The encoder according to claim 1 or 2, wherein the conversion unit is configured to adjust the detection signal by changing the predetermined threshold voltage of the binarization unit based on the adjustment information.
前記検出素子ごとに定められた前記調整情報を記憶する記憶部を備え、
前記調整制御部は、
前記記憶部に記憶されている前記調整情報に基づいて、前記検出信号を前記検出素子ごとに調整させる
ことを特徴とする請求項1から請求項8のいずれか一項に記載のエンコーダ。
A storage unit that stores the adjustment information determined for each detection element;
The adjustment control unit
The encoder according to any one of claims 1 to 8, wherein the detection signal is adjusted for each of the detection elements based on the adjustment information stored in the storage unit.
前記複数の検出素子のうちの一部に対応する前記調整情報である部分調整情報を記憶する記憶部と、
前記記憶部に記憶されている前記部分調整情報に基づいて、前記検出素子ごとに定められた前記調整情報を生成する調整情報生成部と
を備え、
前記調整制御部は、
前記調整情報生成部によって生成された前記検出素子ごとに定められた前記調整情報に基づいて、前記検出信号を前記検出素子ごとに調整させる
ことを特徴とする請求項1から請求項9のいずれか一項に記載のエンコーダ。
A storage unit that stores partial adjustment information that is the adjustment information corresponding to a part of the plurality of detection elements;
An adjustment information generating unit that generates the adjustment information determined for each detection element based on the partial adjustment information stored in the storage unit, and
The adjustment control unit
The detection signal is adjusted for each of the detection elements based on the adjustment information determined for each of the detection elements generated by the adjustment information generation unit. The encoder according to one item.
前記検出信号を計測して、当該計測結果に基づいて前記調整情報を定める設定部を備える
ことを特徴とする請求項1から請求項10のいずれか一項に記載のエンコーダ。
The encoder according to any one of claims 1 to 10, further comprising: a setting unit that measures the detection signal and determines the adjustment information based on the measurement result.
請求項1から請求項11のいずれか一項に記載のエンコーダと、
前記被駆動体を駆動する駆動部と
を備えることを特徴とする駆動装置。
The encoder according to any one of claims 1 to 11,
And a driving unit that drives the driven body.
JP2011273286A 2011-12-14 2011-12-14 Encoder and driver Pending JP2013124909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011273286A JP2013124909A (en) 2011-12-14 2011-12-14 Encoder and driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011273286A JP2013124909A (en) 2011-12-14 2011-12-14 Encoder and driver

Publications (1)

Publication Number Publication Date
JP2013124909A true JP2013124909A (en) 2013-06-24

Family

ID=48776243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011273286A Pending JP2013124909A (en) 2011-12-14 2011-12-14 Encoder and driver

Country Status (1)

Country Link
JP (1) JP2013124909A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016540202A (en) * 2013-11-05 2016-12-22 レニショウ パブリック リミテッド カンパニーRenishaw Public Limited Company Position measurement encoder calibration
JP2019124569A (en) * 2018-01-16 2019-07-25 株式会社ミツトヨ measuring device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016540202A (en) * 2013-11-05 2016-12-22 レニショウ パブリック リミテッド カンパニーRenishaw Public Limited Company Position measurement encoder calibration
JP2019124569A (en) * 2018-01-16 2019-07-25 株式会社ミツトヨ measuring device
JP7018322B2 (en) 2018-01-16 2022-02-10 株式会社ミツトヨ measuring device

Similar Documents

Publication Publication Date Title
JP5424629B2 (en) Position measuring apparatus and method for measuring absolute position
US8825439B2 (en) Multiturn rotary encoder
TWI691702B (en) Method and apparatus for configurable photodetector array patterning for optical encoders
EP1600741A2 (en) Pulse width modulation based digital incremental encoder
US7903262B2 (en) Optical position measuring arrangement
JP2013124909A (en) Encoder and driver
JP5115419B2 (en) Optical encoder
CN106029474B (en) The method of the angle reference position of power steering system is determined according to the rising edge of exponential signal and failing edge
JPS6310767B2 (en)
CN101013573A (en) Image information detecting device
JP5842334B2 (en) Encoder device and drive device
JPH08111060A (en) Optical rotary encoder
JP6842680B2 (en) Encoder, servo motor, servo system
JP2018081088A (en) Encoder and method for operating encoder
US11448530B2 (en) Encoder, servo motor including the encoder, and servo system including the encoder
JP4737609B2 (en) Encoder
JP5343680B2 (en) Encoder
US20050219971A1 (en) Method and apparatus for recovering rfzc signal to correct phase
JP2013221795A (en) Encoder and driving device
TW202026599A (en) Absolute optical encoders using programmable photodetector array
TWI390183B (en) High-precision absolute type encoder apparatus and method for operating the same
JP2000205894A (en) Encoder
JP2006284521A (en) Encoder
JP6466642B2 (en) Encoder
JP7239891B2 (en) Encoder device and its control method, drive device, stage device, and robot device