JP2019132730A - Encoder and control method for encoder - Google Patents

Encoder and control method for encoder Download PDF

Info

Publication number
JP2019132730A
JP2019132730A JP2018015709A JP2018015709A JP2019132730A JP 2019132730 A JP2019132730 A JP 2019132730A JP 2018015709 A JP2018015709 A JP 2018015709A JP 2018015709 A JP2018015709 A JP 2018015709A JP 2019132730 A JP2019132730 A JP 2019132730A
Authority
JP
Japan
Prior art keywords
detection
signal
detection unit
scale
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018015709A
Other languages
Japanese (ja)
Other versions
JP7066264B2 (en
Inventor
彰秀 木村
Akihide Kimura
彰秀 木村
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.)
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Original Assignee
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
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 Mitutoyo Corp, Mitsutoyo Kiko Co Ltd filed Critical Mitutoyo Corp
Priority to JP2018015709A priority Critical patent/JP7066264B2/en
Publication of JP2019132730A publication Critical patent/JP2019132730A/en
Application granted granted Critical
Publication of JP7066264B2 publication Critical patent/JP7066264B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an encoder with which it is possible to reliably discriminate between a signal fluctuation due to an error factor that the encoder has and a signal fluctuation due to the sticking of a contaminant to a scale and detect the abnormality of the scale.SOLUTION: An encoder 1 comprises: a scale 2; detection means 4 relatively moving along the scale 2 and equipped with a plurality of detection elements 400; calculation means 5 for calculating the amount of relative movement of the scale 2 and the detection means 4 on the basis of a signal. When a prescribed detection element 400 is assumed to be a first detection unit 41 and the other detection element 400 different from the first detection unit 41 is assumed to be a second detection unit 42, the detection means 5 includes a measurement signal calculation unit 52 for calculating a measurement signal using a signal form each of the detection units 41, 42, an extraction unit 53 for extracting an abnormality determination signal for determining the abnormality of the scale 2 from the measurement signal, and an abnormality determination unit 54 for determining from the abnormality determination signal whether or not the scale has abnormality.SELECTED DRAWING: Figure 3

Description

本発明は、エンコーダおよびエンコーダの制御方法に関する。   The present invention relates to an encoder and an encoder control method.

従来、測定方向に沿って目盛を有するスケールと、スケールに沿って相対移動するとともにスケールを介した信号を検出する検出手段と、信号に基づきスケールと検出手段との相対移動量を算出する算出手段と、を備えるエンコーダが知られている。
このようなエンコーダは、使用することにより使用環境中の塵や金属粉などの汚染物質がスケールに付着することがある。スケールに付着した汚染物質は、検出手段が検出する信号を劣化させ、測定精度を低下させる場合がある。このため、使用者は、定期的にエンコーダを備える測定器や工作機械などを停止して、スケールに付着した汚染物質の有無を確認しなければならない。スケールに付着した汚染物質の有無は、使用者が確認するまで把握することができず、確認のために手間がかかるという問題がある。
Conventionally, a scale having a graduation along the measurement direction, a detection unit that relatively moves along the scale and detects a signal through the scale, and a calculation unit that calculates a relative movement amount between the scale and the detection unit based on the signal Are known.
When such an encoder is used, contaminants such as dust and metal powder in the usage environment may adhere to the scale. Contaminants adhering to the scale may degrade the signal detected by the detection means and reduce the measurement accuracy. For this reason, the user must periodically stop measuring instruments and machine tools equipped with encoders and check for the presence or absence of contaminants attached to the scale. The presence or absence of contaminants attached to the scale cannot be grasped until the user confirms it, and there is a problem that it takes time and effort for confirmation.

これに対して、例えば特許文献1に記載された光電式エンコーダ(エンコーダ)は、メインスケール(スケール)と、メインスケールに対して相対変位可能に対向配置されたインデックススケールと、メインスケールに対するインデックススケールの相対変位量に応じて位相の異なる複数の周期信号を出力するとともに、複数の周期信号のうち同相の複数の周期信号を出力する複数の受光素子(検出手段)と、複数の信号安定度判定手段と、信号合成回路と、を備える。   On the other hand, for example, a photoelectric encoder (encoder) described in Patent Document 1 includes a main scale (scale), an index scale disposed so as to be relatively displaceable with respect to the main scale, and an index scale with respect to the main scale. Outputs a plurality of periodic signals having different phases according to the relative displacement amount of the light, and outputs a plurality of periodic signals having the same phase among the plurality of periodic signals, and a plurality of signal stability determinations. Means and a signal synthesis circuit.

複数の信号安定度判定手段は、複数の受光素子が出力する周期信号を入力して異常がないと判定された周期信号のみを出力する。信号合成回路は、複数の信号安定度判定手段により出力された周期信号を合成して1つの周期信号を生成する。光電式エンコーダは、複数の信号安定度判定手段によりメインスケールに汚染物質が付着していない(異常がない)と判定された周期信号のみを用いて、信号合成回路にて相対変位量(1つの周期信号)を生成する。
したがって、光電式エンコーダは、異常がない周期信号から相対移動量を得るため、測定精度の低下を抑制することができる。また、使用者は、複数の信号安定度判定手段により異常があると判定されたときだけメインスケールを確認すればよいため、確認のための手間を軽減することができる。
The plurality of signal stability determination means input only the periodic signals output from the plurality of light receiving elements, and output only the periodic signals determined to have no abnormality. The signal synthesis circuit synthesizes the periodic signals output from the plurality of signal stability determination means to generate one periodic signal. The photoelectric encoder uses only a periodic signal determined by a plurality of signal stability determination means that no contaminant is attached to the main scale (no abnormality), and a relative displacement amount (one Periodic signal).
Therefore, since the photoelectric encoder obtains the relative movement amount from the periodic signal having no abnormality, it is possible to suppress a decrease in measurement accuracy. In addition, since the user only has to check the main scale when it is determined that there is an abnormality by a plurality of signal stability determination means, it is possible to reduce the labor for confirmation.

特開2003−65803号公報JP 2003-65803 A

しかしながら、特許文献1に記載された光電式エンコーダでは、複数の信号安定度判定手段は、汚染物質による光遮蔽から異常の有無を判定している。
ここで、エンコーダは、スケールの材質や製造工程に起因するスケールのうねり、スケールと検出手段とのアライメントのずれ、光源劣化による信号増加または信号低下(信号変動)、スケールが有する反射率のムラ等の誤差因子を有している。誤差因子による信号増加や信号低下といった信号変動は、スケールに付着した所定の大きさより小さな汚染物質による信号変動とほぼ同様の信号変動となる。また、エンコーダは、あらかじめこの誤差因子を打ち消すための補正手段を備えている。
However, in the photoelectric encoder described in Patent Document 1, the plurality of signal stability determination means determine the presence or absence of abnormality from light shielding by a contaminant.
Here, the encoder has a scale waviness caused by the material of the scale and the manufacturing process, misalignment between the scale and the detecting means, signal increase or signal decrease (signal fluctuation) due to light source deterioration, unevenness of reflectance of the scale, etc. It has the error factor. Signal fluctuations such as signal increase and signal reduction due to error factors are substantially the same signal fluctuations as signal fluctuations due to contaminants smaller than a predetermined size attached to the scale. In addition, the encoder is provided with correction means for canceling out this error factor in advance.

このため、スケールに付着した汚染物質が所定の大きさより小さい場合、誤差因子による信号変動と、汚染物質が付着したことによる信号変動と、を区別することができず、汚染物質が付着したことによる信号変動を誤差因子による信号変動として補正してしまうことがある。したがって、エンコーダは、スケールに汚染物質が付着したことによる異常を検出することができないことがあるという問題がある。   For this reason, when the contaminant attached to the scale is smaller than the predetermined size, it is not possible to distinguish between the signal fluctuation due to the error factor and the signal fluctuation due to the contaminant being attached. The signal fluctuation may be corrected as a signal fluctuation due to an error factor. Therefore, there is a problem that the encoder may not be able to detect an abnormality caused by a contaminant attached to the scale.

本発明の目的は、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを確実に区別し、スケールの異常を検出することができるエンコーダを提供することである。   An object of the present invention is to provide an encoder capable of reliably distinguishing between a signal variation due to an error factor of the encoder and a signal variation due to contaminants adhering to the scale and detecting an abnormality of the scale.

本発明のエンコーダは、測定方向に沿って並設される目盛を有するスケールと、スケールに沿って相対移動するとともに目盛を介した信号を測定方向に沿って並設される複数の検出素子にて検出する検出手段と、信号に基づきスケールと検出手段との相対移動量を算出する算出手段と、を備えるエンコーダであって、検出手段は、複数の検出素子を含むとともに測定方向に沿って並設される複数の検出群を備え、複数の検出群は、測定方向に沿って並設される複数の検出部を備え、複数の検出部は、所定の検出素子を第1検出部とし、第1検出部とは異なる他の検出素子を第2検出部とした場合に、算出手段は、第1検出部と第2検出部とのそれぞれから信号を検出する信号検出部と、信号検出部にて検出された信号を用いて測定信号を算出する測定信号算出部と、測定信号算出部により算出された測定信号からスケールの異常を判定する異常判定信号を抽出する抽出部と、異常判定信号からスケールに異常があるか否かを判定する異常判定部と、を備えることを特徴とする。   The encoder of the present invention includes a scale having a scale arranged in parallel along the measurement direction, and a plurality of detection elements that are relatively moved along the scale and that are arranged in parallel along the measurement direction. An encoder comprising: a detecting means for detecting; and a calculating means for calculating a relative movement amount between the scale and the detecting means based on the signal, wherein the detecting means includes a plurality of detecting elements and is arranged in parallel along the measuring direction. The plurality of detection groups include a plurality of detection units arranged in parallel along the measurement direction, and the plurality of detection units have a predetermined detection element as a first detection unit, When another detection element different from the detection unit is used as the second detection unit, the calculation means includes a signal detection unit that detects a signal from each of the first detection unit and the second detection unit, and a signal detection unit. Calculate the measurement signal using the detected signal A measurement signal calculation unit, an extraction unit for extracting an abnormality determination signal for determining abnormality of the scale from the measurement signal calculated by the measurement signal calculation unit, and an abnormality for determining whether the scale is abnormal from the abnormality determination signal And a determination unit.

ここで、エンコーダに誤差因子がなく、スケールへの汚染物質の付着もない場合、異常判定信号は、一様な信号として検出される。また、エンコーダが誤差因子を有している場合、異常判定信号は、信号変動による変動成分を定常的に有した状態で検出される。これに対して、スケールに汚染物質が付着した場合、異常判定信号は、変動成分を一時的に有した状態で検出される。
このため、異常判定部は、異常判定信号において変動成分が定常的(エンコーダの誤差因子)か、一時的(スケールへの汚染物質の付着)か、を判定し、変動成分が一時的なものである場合、スケールに異常があると判定する。
また、複数の検出部は、測定方向に沿って並設される複数の検出素子のうち、異常判定信号の算出に用いる信号を検出する検出素子の位置および数を特定するものである。
Here, when there is no error factor in the encoder and no contaminants adhere to the scale, the abnormality determination signal is detected as a uniform signal. In addition, when the encoder has an error factor, the abnormality determination signal is detected in a state in which a fluctuation component due to signal fluctuation is steadily included. On the other hand, when a contaminant adheres to the scale, the abnormality determination signal is detected in a state where the fluctuation component is temporarily included.
For this reason, the abnormality determination unit determines whether the fluctuation component is stationary (encoder error factor) or temporary (contamination of contaminants on the scale) in the abnormality determination signal, and the fluctuation component is temporary. If there is, it is determined that there is an abnormality in the scale.
In addition, the plurality of detection units specify positions and numbers of detection elements that detect signals used for calculation of the abnormality determination signal among the plurality of detection elements arranged in parallel along the measurement direction.

このため、本発明によれば、信号検出部は、第1検出部および第2検出部から少なくとも2相の信号を検出することができる。そして、信号検出部にて検出された第1検出部と第2検出部のそれぞれからの信号に基づき、測定信号算出部にて測定信号を算出する。抽出部は、測定信号からスケールの異常を判定する異常判定信号を抽出し、異常判定部は、異常判定信号から、スケールに異常があるか否か、すなわち、変動成分が定常的か一時的か、を判定し、変動成分が一時的なものである場合、スケールに異常があると判定する。
したがって、エンコーダは、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを確実に区別し、スケールの異常を検出することができる。
Therefore, according to the present invention, the signal detection unit can detect at least two-phase signals from the first detection unit and the second detection unit. Then, based on the signals from the first detection unit and the second detection unit detected by the signal detection unit, the measurement signal calculation unit calculates the measurement signal. The extraction unit extracts an abnormality determination signal for determining abnormality of the scale from the measurement signal, and the abnormality determination unit determines whether or not the scale is abnormal from the abnormality determination signal, that is, whether the fluctuation component is steady or temporary. If the fluctuation component is temporary, it is determined that there is an abnormality in the scale.
Therefore, the encoder can reliably discriminate between the signal fluctuation due to the error factor of the encoder and the signal fluctuation due to the contaminant adhering to the scale, and detect the abnormality of the scale.

この際、複数の検出素子は、目盛に対応して並設され、複数の検出群は、複数の検出部として第1検出部と第2検出部と第3検出部と第4検出部とを備え、第1検出部は、複数の検出素子とし、第2検出部は、第1検出部とは異なる他の複数の検出素子とするとともに第1検出部とは180度位相がずれた位置に配置される複数の検出素子とし、第3検出部は、第2検出部とは異なる他の複数の検出素子とし、第4検出部は、第3検出部とは異なる他の複数の検出素子とするとともに第3検出部とは180度位相がずれた位置に配置される複数の検出素子とした場合に、信号検出部は、第1検出部と第2検出部と第3検出部と第4検出部とのそれぞれから信号を検出し、測定信号算出部は、第1検出部からの信号および第2検出部からの信号に基づいて第1測定信号を算出するとともに、第3検出部からの信号および第4検出部からの信号に基づいて第2測定信号を算出し、抽出部は、第1測定信号および第2測定信号から異常判定信号を抽出し、異常判定部は、異常判定信号からスケールにおいて異常があるか否かを判定することが好ましい。   At this time, the plurality of detection elements are arranged in parallel corresponding to the scale, and the plurality of detection groups include the first detection unit, the second detection unit, the third detection unit, and the fourth detection unit as the plurality of detection units. The first detection unit is a plurality of detection elements, the second detection unit is a plurality of other detection elements different from the first detection unit, and is 180 degrees out of phase with the first detection unit. A plurality of detection elements arranged, the third detection unit is a plurality of other detection elements different from the second detection unit, and the fourth detection unit is a plurality of other detection elements different from the third detection unit. In addition, when the third detection unit is a plurality of detection elements arranged at positions 180 degrees out of phase, the signal detection unit includes the first detection unit, the second detection unit, the third detection unit, and the fourth detection unit. A signal is detected from each of the detection units, and the measurement signal calculation unit is configured to output a signal from the first detection unit and a signal from the second detection unit. The first measurement signal is calculated based on the signal, the second measurement signal is calculated based on the signal from the third detection unit and the signal from the fourth detection unit, and the extraction unit includes the first measurement signal and the second measurement signal. It is preferable that the abnormality determination signal is extracted from the abnormality determination unit and the abnormality determination unit determines whether there is an abnormality in the scale from the abnormality determination signal.

ここで、第1検出部から検出される信号をA相信号とし、第2検出部から検出され、A相信号とは180度位相がずれた信号をa相信号とし、第3検出部から検出される信号をB相信号とし、第4検出部から検出され、B相信号とは180度位相がずれた信号をb相信号とする。   Here, the signal detected from the first detector is an A-phase signal, detected from the second detector, and a signal that is 180 degrees out of phase with the A-phase signal is an a-phase signal and detected from the third detector. This signal is a B-phase signal, and a signal that is detected by the fourth detector and is 180 degrees out of phase with the B-phase signal is a b-phase signal.

このような構成によれば、信号検出部は、複数の検出部から検出された信号に基づき、測定信号算出部は、第1検出部からの信号(A相信号)および第2検出部からの信号(a相信号)に基づいて第1測定信号を算出するとともに、第3検出部からの信号(B相信号)および第4検出部からの信号(b相信号)に基づいて第2測定信号を算出する。抽出部は、第1測定信号および第2測定信号から異常判定信号を抽出し、異常判定部は、異常判定信号からスケールにおいて異常があるか否かを判定することができる。このとき、2つの信号に基づいて算出された測定信号から抽出される異常判定信号は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダは、高感度の異常判定信号を用いることで、より確実に、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを区別し、スケールの異常を検出することができる。   According to such a configuration, the signal detection unit is based on signals detected from the plurality of detection units, and the measurement signal calculation unit is configured to output the signal from the first detection unit (A phase signal) and the second detection unit. The first measurement signal is calculated based on the signal (a phase signal), and the second measurement signal is calculated based on the signal (B phase signal) from the third detection unit and the signal (b phase signal) from the fourth detection unit. Is calculated. The extraction unit extracts an abnormality determination signal from the first measurement signal and the second measurement signal, and the abnormality determination unit can determine whether there is an abnormality in the scale from the abnormality determination signal. At this time, the abnormality determination signal extracted from the measurement signal calculated based on the two signals is an abnormality determination signal with higher sensitivity than the abnormality determination signal based on the two-phase signal. Therefore, the encoder uses a highly sensitive abnormality determination signal to more reliably distinguish between signal fluctuations due to error factors of the encoder and signal fluctuations due to contaminants adhering to the scale, and detect abnormalities in the scale. can do.

この際、測定信号算出部は、第1検出部からの信号および第2検出部からの信号を差動演算して第1測定信号を算出するとともに、第3検出部からの信号および第4検出部からの信号を差動演算して第2測定信号を算出することが好ましい。   At this time, the measurement signal calculation unit calculates the first measurement signal by performing a differential operation on the signal from the first detection unit and the signal from the second detection unit, and the signal from the third detection unit and the fourth detection. It is preferable to calculate the second measurement signal by performing a differential operation on the signal from the unit.

このような構成によれば、測定信号算出部は、第1検出部からの信号および第2検出部からの信号を差動演算して第1測定信号を算出し、第3検出部からの信号および第4検出部からの信号を差動演算して第2測定信号を算出することができる。このとき、差動演算により算出された測定信号から抽出される異常判定信号は、差動演算を用いずに算出された測定信号から抽出される異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダは、高感度の異常判定信号を用いることで、より確実に、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを区別し、スケールの異常を検出することができる。   According to such a configuration, the measurement signal calculation unit calculates the first measurement signal by performing a differential operation on the signal from the first detection unit and the signal from the second detection unit, and the signal from the third detection unit. The second measurement signal can be calculated by performing a differential operation on the signal from the fourth detection unit. At this time, the abnormality determination signal extracted from the measurement signal calculated by the differential calculation is an abnormality determination signal having higher sensitivity than the abnormality determination signal extracted from the measurement signal calculated without using the differential calculation. . Therefore, the encoder uses a highly sensitive abnormality determination signal to more reliably distinguish between signal fluctuations due to error factors of the encoder and signal fluctuations due to contaminants adhering to the scale, and detect abnormalities in the scale. can do.

この際、複数の検出素子は、目盛に対応して並設され、複数の検出群は、複数の検出部として第1検出部と第2検出部と第3検出部とを備え、第1検出部は、複数の検出素子とし、第2検出部は、第1検出部とは異なる他の複数の検出素子とするとともに第1検出部とは120度位相がずれた位置に配置される複数の検出素子とし、第3検出部は、第1検出部と第2検出部とは異なる他の複数の検出素子とするとともに第2検出部とは120度位相がずれた位置に配置される複数の検出素子とした場合に、信号検出部は、第1検出部と第2検出部と第3検出部とのそれぞれから信号を検出し、測定信号算出部は、第1検出部からの信号と、第2検出部からの信号と、第3検出部からの信号と、に基づいて第1測定信号および第2測定信号を算出し、抽出部は、第1測定信号および第2測定信号から異常判定信号を抽出し、異常判定部は、異常判定信号からスケールにおいて異常があるか否かを判定することが好ましい。   In this case, the plurality of detection elements are arranged side by side corresponding to the scale, and the plurality of detection groups include a first detection unit, a second detection unit, and a third detection unit as the plurality of detection units, and the first detection unit The unit is a plurality of detection elements, the second detection unit is a plurality of other detection elements different from the first detection unit, and a plurality of the detection units are arranged at positions 120 degrees out of phase with the first detection unit. The third detection unit is a plurality of other detection elements different from the first detection unit and the second detection unit, and a plurality of the third detection units are arranged at positions that are 120 degrees out of phase with the second detection unit. When the detection element is used, the signal detection unit detects signals from each of the first detection unit, the second detection unit, and the third detection unit, and the measurement signal calculation unit includes the signal from the first detection unit, The first measurement signal and the second measurement signal are calculated based on the signal from the second detection unit and the signal from the third detection unit. And, the extraction unit extracts the abnormality determination signal from the first measurement signal and the second measurement signal, the abnormality determination unit preferably determines whether or not there is an abnormality in the scale from the abnormality determination signal.

このような構成によれば、信号検出部は、3相信号を検出することができる。そして、測定信号算出部は、3相信号から第1測定信号および第2測定信号を算出する。このとき、3相信号に基づき算出された測定信号から抽出される異常判定信号は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダは、高感度の異常判定信号を用いることで、より確実に、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを区別し、スケールの異常を検出することができる。   According to such a configuration, the signal detection unit can detect a three-phase signal. Then, the measurement signal calculation unit calculates the first measurement signal and the second measurement signal from the three-phase signal. At this time, the abnormality determination signal extracted from the measurement signal calculated based on the three-phase signal is a higher sensitivity abnormality determination signal than the abnormality determination signal based on the two-phase signal. Therefore, the encoder uses a highly sensitive abnormality determination signal to more reliably distinguish between signal fluctuations due to error factors of the encoder and signal fluctuations due to contaminants adhering to the scale, and detect abnormalities in the scale. can do.

この際、第3検出部は、第1検出部と第2検出部とは異なる他の複数の検出素子とするとともに第1検出部とは90度位相がずれた位置に配置される複数の検出素子とし、第4検出部は、第1検出部と第2検出部と第3検出部とは異なる他の複数の検出素子とするとともに第2検出部とは90度位相がずれた位置に配置され、かつ、第3検出部とは180度位相がずれた位置に配置される複数の検出素子とすることが好ましい。   In this case, the third detection unit is a plurality of other detection elements different from the first detection unit and the second detection unit, and a plurality of detections arranged at positions 90 degrees out of phase with the first detection unit. The fourth detection unit is a plurality of other detection elements different from the first detection unit, the second detection unit, and the third detection unit, and is arranged at a position that is 90 degrees out of phase with the second detection unit. In addition, it is preferable that the third detection unit be a plurality of detection elements arranged at positions 180 degrees out of phase.

このような構成によれば、第1検出部から第4検出部は、それぞれ90度ずつ位相がずれた位置に配置されることになる。そして、信号検出部は、4相信号を検出することができる。この際、4相信号に基づき差動演算により算出された異常判定信号は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダは、高感度の異常判定信号を用いることで、より確実に、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを区別し、スケールの異常を検出することができる。
また、エンコーダは、例えば測定方向に沿って連続して設けられる複数の検出素子を第1検出部から第4検出部とすることができるため、異常判定信号の算出のために必要な信号を取得する検出手段について、容易に設計をすることができる。
According to such a configuration, the first detection unit to the fourth detection unit are arranged at positions that are each 90 degrees out of phase. And the signal detection part can detect a 4-phase signal. At this time, the abnormality determination signal calculated by the differential operation based on the four-phase signal is an abnormality determination signal having higher sensitivity than the abnormality determination signal based on the two-phase signal. Therefore, the encoder uses a highly sensitive abnormality determination signal to more reliably distinguish between signal fluctuations due to error factors of the encoder and signal fluctuations due to contaminants adhering to the scale, and detect abnormalities in the scale. can do.
In addition, since the encoder can change, for example, a plurality of detection elements provided continuously along the measurement direction from the first detection unit to the fourth detection unit, a signal necessary for calculating the abnormality determination signal is obtained. About the detection means to do, it can design easily.

この際、第1検出部および第2検出部は、同数の検出素子とし、第3検出部および第4検出部は、同数の検出素子とすることが好ましい。   At this time, it is preferable that the first detection unit and the second detection unit have the same number of detection elements, and the third detection unit and the fourth detection unit have the same number of detection elements.

このような構成によれば、信号検出部は、第1検出部および第2検出部から同じ強度の信号を検出することができ、第3検出部および第4検出部から同じ強度の信号を検出することができる。すなわち、A相信号およびa相信号と、B相信号およびb相信号と、をそれぞれ差動演算する際に、互いに同じ強度の信号同士を差動演算することができる。したがって、エンコーダは、第1検出部および第2検出部と、第3検出部および第4検出部と、がそれぞれ異なる数の検出素子とした場合よりも高感度の異常判定信号を用いることができるため、より確実に、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを区別し、スケールの異常を検出することができる。   According to such a configuration, the signal detection unit can detect signals of the same intensity from the first detection unit and the second detection unit, and detect signals of the same intensity from the third detection unit and the fourth detection unit. can do. That is, when the A-phase signal and the a-phase signal, and the B-phase signal and the b-phase signal are differentially calculated, signals having the same intensity can be differentially calculated. Therefore, the encoder can use the abnormality determination signal with higher sensitivity than when the first detection unit and the second detection unit, and the third detection unit and the fourth detection unit have different numbers of detection elements. Therefore, it is possible to more reliably discriminate between the signal fluctuation due to the error factor of the encoder and the signal fluctuation due to the contaminant adhering to the scale, and to detect the abnormality of the scale.

この際、複数の検出部は、それぞれ同数の検出素子とすることが好ましい。   In this case, it is preferable that the plurality of detection units be the same number of detection elements.

このような構成によれば、複数の検出部は、それぞれ同数の検出素子とすることで、信号検出部は、それぞれの検出部から同じ強度の信号を検出することができる。すなわち、測定信号算出部は、例えばこれらの信号に対して差動演算をすることで、複数の検出部の検出素子の数がそれぞれ異なる場合に検出された信号と比較してノイズの少ない第1測定信号および第2測定信号を算出することができる。
したがって、エンコーダは、より高感度にて、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを確実に区別し、スケールの異常を検出することができる。
According to such a configuration, each of the plurality of detection units has the same number of detection elements, so that the signal detection unit can detect signals having the same intensity from the respective detection units. That is, the measurement signal calculation unit performs, for example, a differential operation on these signals, so that the first signal with less noise than the signals detected when the number of detection elements of the plurality of detection units is different from each other. A measurement signal and a second measurement signal can be calculated.
Therefore, the encoder can detect the abnormality of the scale with higher sensitivity by reliably distinguishing between the signal fluctuation due to the error factor of the encoder and the signal fluctuation due to the contaminant adhering to the scale.

また、測定信号算出部は、例えば3相信号に基づき第1測定信号および第2測定信号を算出する場合、複数の検出部の検出素子の数がそれぞれ異なる場合に検出された信号と比較してノイズの少ない第1測定信号および第2測定信号を算出することができる。
したがって、エンコーダは、より高感度にて、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを確実に区別し、スケールの異常を検出することができる。
また、複数の検出部は、それぞれ同数の検出素子とすることで、検出手段を容易に設計することができる。
In addition, for example, when the first measurement signal and the second measurement signal are calculated based on a three-phase signal, the measurement signal calculation unit compares the signals detected when the number of detection elements of the plurality of detection units is different from each other. The first measurement signal and the second measurement signal with less noise can be calculated.
Therefore, the encoder can detect the abnormality of the scale with higher sensitivity by reliably distinguishing between the signal fluctuation due to the error factor of the encoder and the signal fluctuation due to the contaminant adhering to the scale.
In addition, the detection means can be easily designed by using the same number of detection elements for each of the plurality of detection units.

この際、複数の検出群は、複数の検出素子の総数がそれぞれ異なることが好ましい。   In this case, the plurality of detection groups preferably have different total numbers of the plurality of detection elements.

ここで、ある検出群と同じ大きさ(ある検出群の測定方向に沿った長さと同じ長さ)の汚染物質がスケールに付着した場合、ある検出群における複数の検出部のそれぞれからは同様の信号が検出されるため、抽出部にて抽出される異常判定信号には変動成分は発生しない。このため、エンコーダは、汚染物質の有無(スケールの異常)を検出することができないことがあるという問題がある。   Here, when a contaminant having the same size as a certain detection group (the same length as the length along the measurement direction of the certain detection group) adheres to the scale, the same applies from each of the plurality of detection units in the certain detection group. Since the signal is detected, no fluctuation component is generated in the abnormality determination signal extracted by the extraction unit. For this reason, there is a problem that the encoder may not be able to detect the presence or absence of contamination (scale abnormality).

しかしながら、このような本発明によれば、複数の検出群は、複数の検出素子の総数がそれぞれ異なることで、ある検出群では検出することができない大きさの汚染物質がスケールに付着したとしても、他の検出群にてその汚染物質を検出することができる。すなわち、複数の検出素子の総数がそれぞれの検出群にて異なることで、汚染物質を検出できる面積もそれぞれの検出群にて異なるため、エンコーダは、様々な大きさの汚染物質に対応することができる。したがって、エンコーダは、汚染物質がスケールに付着したか否かの判定および汚染物質の検出感度を向上させることができる。   However, according to the present invention, the plurality of detection groups have different total numbers of the plurality of detection elements, so that even if contaminants having a size that cannot be detected by a certain detection group adhere to the scale. The contaminants can be detected by other detection groups. That is, since the total number of the plurality of detection elements is different in each detection group, and the area in which the contaminant can be detected is also different in each detection group, the encoder can cope with contaminants of various sizes. it can. Therefore, the encoder can improve the determination of whether or not the contaminant has adhered to the scale and the detection sensitivity of the contaminant.

この際、複数の検出群は、測定方向に沿ったそれぞれの検出群の長さの基準をLとした場合に、複数の検出群における検出群の長さLは、それぞれ異なるとともに、1を含んで互いに公約数がなく、測定方向に沿った検出手段の長さ以上の公倍数とならない検出群の長さLの組み合わせにて配置されていることが好ましい。   At this time, the plurality of detection groups have different detection group lengths L and include 1 when the reference of the length of each detection group along the measurement direction is L. It is preferable that they are arranged in combinations of detection group lengths L that do not have common divisors and do not become a common multiple greater than the length of the detection means along the measurement direction.

ここで、例えば、複数の検出群は、測定方向に沿ったそれぞれの検出群の長さの基準をLとした場合に、測定方向に沿った汚染物質の長さが検出群の長さ4Lと同じ長さであった場合、長さが2Lの検出群と長さが4Lの検出群は、汚染物質を検出することができず、検出感度のヌケが生じることがあるという問題がある。   Here, for example, when the reference of the length of each detection group along the measurement direction is L, the length of the contaminant along the measurement direction is 4L of the detection group. When the lengths are the same, the detection group having a length of 2L and the detection group having a length of 4L cannot detect the contaminants, and there is a problem that the detection sensitivity may be lost.

しかしながら、このような本発明によれば、複数の検出群は、測定方向に沿ったそれぞれの検出群の長さの基準をLとした場合に、複数の検出群における検出群の長さは、それぞれ異なるとともに、1を含んで互いに公約数がなく、測定方向に沿った検出手段の長さ以上の公倍数とならない検出群の長さLの組み合わせにて配置されていることで、汚染物質の長さにより検出感度のヌケが生じることを抑制することができる。   However, according to the present invention as described above, when the plurality of detection groups has a reference length of each detection group along the measurement direction as L, the lengths of the detection groups in the plurality of detection groups are: The length of the pollutant is different by being arranged in combination with the detection group length L which is different from each other and does not have a common divisor including 1 and does not become a common multiple of the length of the detection means along the measurement direction. As a result, it is possible to suppress the occurrence of missing detection sensitivity.

この際、本発明のエンコーダは、スケールに光を照射する光源と、スケールを介した光を受光し信号を検出する検出手段と、を備える光学式エンコーダであることが好ましい。   In this case, the encoder of the present invention is preferably an optical encoder that includes a light source that irradiates light to the scale, and detection means that receives light through the scale and detects a signal.

このような構成によれば、光学式エンコーダは、本発明のエンコーダを容易に実装することができる。   According to such a configuration, the optical encoder can easily mount the encoder of the present invention.

本発明のエンコーダの制御方法は、測定方向に沿って並設される目盛を有するスケールと、スケールに沿って相対移動するとともに目盛を介した信号を測定方向に沿って並設される複数の検出素子にて検出する検出手段と、信号に基づきスケールと検出手段との相対移動量を算出する算出手段と、を備えるエンコーダの制御方法であって、検出手段は、複数の検出素子を含むとともに測定方向に沿って並設される複数の検出群を備え、複数の検出群は、測定方向に沿って並設される複数の検出部を備え、複数の検出部は、所定の検出素子を第1検出部とし、第1検出部とは異なる他の検出素子を第2検出部とした場合に、算出手段は、第1検出部と第2検出部とのそれぞれから信号を検出する信号検出工程と、信号検出部にて検出された信号を用いて測定信号を算出する測定信号算出工程と、測定信号算出部により算出された測定信号からスケールの異常を判定する異常判定信号を抽出する抽出工程と、異常判定信号からスケールに異常があるか否かを判定する異常判定工程と、を備えることを特徴とする。   The encoder control method according to the present invention includes a scale having a scale arranged in parallel along the measurement direction, and a plurality of detections that are relatively moved along the scale and signals that pass through the scale are arranged in parallel along the measurement direction. An encoder control method comprising: a detecting means for detecting by an element; and a calculating means for calculating a relative movement amount between the scale and the detecting means based on a signal. The detecting means includes a plurality of detecting elements and performs measurement. A plurality of detection groups arranged in parallel along the direction, the plurality of detection groups include a plurality of detection units arranged in parallel along the measurement direction, and the plurality of detection units include a predetermined detection element as a first When the detection unit is a detection unit different from the first detection unit and the second detection unit is used as the second detection unit, the calculation means detects a signal from each of the first detection unit and the second detection unit; The signal detected by the signal detector A measurement signal calculation step for calculating a measurement signal using the measurement signal, an extraction step for extracting an abnormality determination signal for determining abnormality of the scale from the measurement signal calculated by the measurement signal calculation unit, and whether there is an abnormality in the scale from the abnormality determination signal An abnormality determination step of determining whether or not.

本発明によれば、エンコーダの制御方法は、信号検出工程にて検出された第1検出部と第2検出部のそれぞれからの信号に基づき、測定信号算出工程にて測定信号を算出する。そして、抽出工程は、測定信号からスケールの異常を判定する異常判定信号を抽出し、異常判定工程は、異常判定信号からスケールに異常があるか否か、すなわち、変動成分が定常的か一時的か、を判定し、変動成分が一時的なものである場合、スケールに異常があると判定する。
したがって、エンコーダの制御方法は、エンコーダが有する誤差因子による信号変動とスケールに汚染物質が付着したことによる信号変動とを確実に区別し、スケールの異常を検出することができる。
According to the present invention, the encoder control method calculates the measurement signal in the measurement signal calculation step based on the signals from the first detection unit and the second detection unit detected in the signal detection step. Then, the extraction step extracts an abnormality determination signal for determining an abnormality of the scale from the measurement signal, and the abnormality determination step determines whether or not there is an abnormality in the scale from the abnormality determination signal, that is, the fluctuation component is steady or temporary. If the fluctuation component is temporary, it is determined that there is an abnormality in the scale.
Therefore, the encoder control method can reliably distinguish between a signal variation due to an error factor of the encoder and a signal variation due to contaminants adhering to the scale, thereby detecting an abnormality in the scale.

第1実施形態に係るエンコーダを示す斜視図The perspective view which shows the encoder which concerns on 1st Embodiment. 前記エンコーダにおける検出手段を示す図The figure which shows the detection means in the encoder 前記エンコーダにおける算出手段を示すブロック図Block diagram showing calculation means in the encoder 前記エンコーダにおける異常検出方法を示すフローチャートFlowchart showing an abnormality detection method in the encoder 前記エンコーダにおける算出手段により算出された信号を示す図The figure which shows the signal calculated by the calculation means in the encoder 第2実施形態に係るエンコーダにおける検出手段を示す図The figure which shows the detection means in the encoder which concerns on 2nd Embodiment. 前記エンコーダにおける算出手段を示すブロック図Block diagram showing calculation means in the encoder 第3実施形態に係るエンコーダにおける検出手段を示す図The figure which shows the detection means in the encoder which concerns on 3rd Embodiment. 前記エンコーダにおける検出手段にて検出される信号を示す図The figure which shows the signal detected by the detection means in the said encoder

〔第1実施形態〕
以下、本発明の第1実施形態を図1から図5に基づいて説明する。
図1は、第1実施形態に係るエンコーダを示す斜視図である。
エンコーダ1は、図1に示すように、長尺状のスケール2と、スケール2に光を照射する光源3と、スケール2に沿って相対移動するとともにスケール2を介した光を受光し信号を検出する検出手段4と、を備える光学式エンコーダである。
[First Embodiment]
A first embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 is a perspective view showing an encoder according to the first embodiment.
As shown in FIG. 1, the encoder 1 has a long scale 2, a light source 3 that irradiates light to the scale 2, a relative movement along the scale 2, and light received through the scale 2 to receive a signal. It is an optical encoder provided with the detection means 4 to detect.

スケール2は、測定方向に沿って並設される目盛である複数の回折格子21を有する。スケール2は、透光性のガラスにて形成される。なお、スケール2は、ガラスに限らず、任意の透光性の部材により形成されていてもよい。
光源3は、スケール2の一面に向かって平行光を照射する。光源3は、例えばLED(Light Emitting Diode)である。なお、光源3はLEDに限らず、任意の光源であってもよい。
The scale 2 has a plurality of diffraction gratings 21 that are scales arranged in parallel along the measurement direction. The scale 2 is made of translucent glass. Note that the scale 2 is not limited to glass, and may be formed of any translucent member.
The light source 3 irradiates parallel light toward one surface of the scale 2. The light source 3 is, for example, an LED (Light Emitting Diode). The light source 3 is not limited to an LED, and may be an arbitrary light source.

光源3がスケール2に照射した平行光は、複数の回折格子21により図示しない複数の回折光に回折される。複数の回折光は、干渉することにより、測定方向に沿って複数の回折格子21の配置ピッチに対応した周期で明暗を繰り返す干渉縞を生成する。なお、以下の説明において、「位相」とは、特に言及がない限り、複数の回折格子21によって生成される干渉縞の周期についての位相を意味するものとする。
また、以下の説明において、スケール2の長手方向であり測定方向をX方向として説明する場合がある。
The parallel light irradiated to the scale 2 by the light source 3 is diffracted into a plurality of diffracted lights (not shown) by the plurality of diffraction gratings 21. The plurality of diffracted lights interfere to generate interference fringes that repeat light and dark at a period corresponding to the arrangement pitch of the plurality of diffraction gratings 21 along the measurement direction. In the following description, “phase” means the phase of the period of interference fringes generated by the plurality of diffraction gratings 21 unless otherwise specified.
Moreover, in the following description, it is a longitudinal direction of the scale 2 and the measurement direction may be described as the X direction.

検出手段4は、測定方向(X方向)に沿って並設される複数の検出素子400を備える。複数の検出素子400は、スケール2における複数の回折格子21の配置ピッチに対応して、X方向に沿って配置ピッチPにて並設されている。複数の検出素子400には、PDA(Photo Diode Array)が用いられる。PDAは、複数の干渉縞を一度に測定することができる性質を持つ検出器である。なお、複数の検出素子400は、PDAに限らず、PSD(Position Sensitive Detector)やCCD(Charge-Coupled Device)等の任意の検出器を用いてもよい。
また、光源3と検出手段4とは、スケール2を挟んで互いに重なるように向かい合せて設置されている。検出手段4は、スケール2の複数の回折格子21を介した光源3からの光を受光し、光によって検出手段4(複数の検出素子400)上に生成された干渉縞から信号を検出する。
The detection means 4 includes a plurality of detection elements 400 arranged in parallel along the measurement direction (X direction). The plurality of detection elements 400 are arranged in parallel at the arrangement pitch P along the X direction corresponding to the arrangement pitch of the plurality of diffraction gratings 21 on the scale 2. PDAs (Photo Diode Array) are used for the plurality of detection elements 400. The PDA is a detector having a property capable of measuring a plurality of interference fringes at a time. The plurality of detection elements 400 are not limited to PDAs, and any detector such as a PSD (Position Sensitive Detector) or a CCD (Charge-Coupled Device) may be used.
The light source 3 and the detection means 4 are installed facing each other so as to overlap each other with the scale 2 interposed therebetween. The detection unit 4 receives light from the light source 3 via the plurality of diffraction gratings 21 of the scale 2 and detects signals from interference fringes generated on the detection unit 4 (a plurality of detection elements 400) by the light.

図2は、前記エンコーダにおける検出手段を示す図である。
検出手段4は、図2に示すように、複数の検出素子400を含むとともにX方向に沿って並設される複数の検出群40を備える。検出手段4は、X方向に沿って複数の検出群40を周期的に配置している。
複数の検出群40は、X方向に沿って並設される複数の検出部41〜44を備える。複数の検出群40は、複数の検出部41〜44として、第1検出部41と第2検出部42と第3検出部43と第4検出部44とを備える。
FIG. 2 is a diagram showing detection means in the encoder.
As shown in FIG. 2, the detection means 4 includes a plurality of detection groups 40 including a plurality of detection elements 400 and arranged in parallel along the X direction. The detection unit 4 periodically arranges a plurality of detection groups 40 along the X direction.
The plurality of detection groups 40 include a plurality of detection units 41 to 44 arranged in parallel along the X direction. The plurality of detection groups 40 include a first detection unit 41, a second detection unit 42, a third detection unit 43, and a fourth detection unit 44 as the plurality of detection units 41 to 44.

第1検出部41は、複数の検出素子400とし、第2検出部42は、第1検出部41とは異なる他の複数の検出素子400とするとともに第1検出部41とは180度位相がずれた位置に配置される複数の検出素子400としている。そして、第3検出部43は、第1検出部41と第2検出部42とは異なる他の複数の検出素子400とするとともに第1検出部41とは90度位相がずれた位置に配置される複数の検出素子400とし、第4検出部44は、第1検出部41と第2検出部42と第3検出部43とは異なる他の複数の検出素子400とするとともに第2検出部42とは90度位相がずれた位置に配置され、かつ、第3検出部43とは180度位相がずれた位置に配置される複数の検出素子400としている。   The first detection unit 41 includes a plurality of detection elements 400, the second detection unit 42 includes a plurality of other detection elements 400 different from the first detection unit 41, and has a 180-degree phase with respect to the first detection unit 41. A plurality of detection elements 400 are arranged at shifted positions. The third detection unit 43 is a plurality of other detection elements 400 different from the first detection unit 41 and the second detection unit 42, and is arranged at a position 90 degrees out of phase with the first detection unit 41. The fourth detection unit 44 includes a plurality of detection elements 400 different from the first detection unit 41, the second detection unit 42, and the third detection unit 43, and the second detection unit 42. Is a plurality of detection elements 400 that are arranged at positions that are 90 degrees out of phase and that are arranged at positions that are 180 degrees out of phase with the third detector 43.

複数の検出部41〜44は、それぞれ同数の検出素子400とし、本実施形態では、複数の検出部41〜44は、それぞれ4個ずつの検出素子400としている。
複数の検出部41〜44は、検出手段4における検出群40において、X方向に沿って1/4ずつずれて配置されている。これにより、複数の検出部41〜44からは、1/4周期ずつ位相がずれた信号が検出される。そして、第1検出部41からはA相信号が検出され、第2検出部42からはA相信号とは180度位相がずれたa相信号が検出され、第3検出部43からはA相信号とは90度位相がずれたB相信号が検出され、第4検出部44からはB相信号とは180度位相がずれたb相信号が検出される。
The plurality of detection units 41 to 44 are the same number of detection elements 400, and in the present embodiment, the plurality of detection units 41 to 44 are each four detection elements 400.
The plurality of detection units 41 to 44 are arranged in the detection group 40 of the detection unit 4 so as to be shifted by ¼ along the X direction. As a result, a signal whose phase is shifted by ¼ period is detected from the plurality of detection units 41 to 44. The first detection unit 41 detects an A phase signal, the second detection unit 42 detects an a phase signal that is 180 degrees out of phase with the A phase signal, and the third detection unit 43 detects an A phase signal. A B phase signal that is 90 degrees out of phase with the signal is detected, and a b phase signal that is 180 degrees out of phase with the B phase signal is detected from the fourth detector 44.

検出手段4は、複数の検出群40のX方向に沿った長さの基準をLとし、複数の検出素子400の配置ピッチをPとしている。この際、複数の検出素子400の配置ピッチPは4μmに設計され、検出群40の長さLは200μmに設計されていることが好ましい。   In the detection means 4, the reference of the length along the X direction of the plurality of detection groups 40 is L, and the arrangement pitch of the plurality of detection elements 400 is P. At this time, the arrangement pitch P of the plurality of detection elements 400 is preferably designed to be 4 μm, and the length L of the detection group 40 is preferably designed to be 200 μm.

図3は、前記エンコーダにおける算出手段を示すブロック図である。
エンコーダ1は、図3に示すように、信号に基づきスケール2と検出手段4との相対移動量を算出する算出手段5と、異常報知部6と、をさらに備える。算出手段5は、信号検出部51と、測定信号算出部52と、抽出部53と、異常判定部54と、を備える。
FIG. 3 is a block diagram showing calculation means in the encoder.
As shown in FIG. 3, the encoder 1 further includes a calculation unit 5 that calculates a relative movement amount between the scale 2 and the detection unit 4 based on the signal, and an abnormality notification unit 6. The calculation means 5 includes a signal detection unit 51, a measurement signal calculation unit 52, an extraction unit 53, and an abnormality determination unit 54.

信号検出部51は、第1検出部41と第2検出部42と第3検出部43と第4検出部44のそれぞれから信号を検出する。具体的には、信号検出部51は、第1検出部41からA相信号を検出し、第2検出部42からa相信号を検出し、第3検出部43からB相信号を検出し、第4検出部44からb相信号を検出する。   The signal detection unit 51 detects signals from the first detection unit 41, the second detection unit 42, the third detection unit 43, and the fourth detection unit 44. Specifically, the signal detection unit 51 detects the A phase signal from the first detection unit 41, detects the a phase signal from the second detection unit 42, detects the B phase signal from the third detection unit 43, The b-phase signal is detected from the fourth detection unit 44.

測定信号算出部52は、第1検出部41からの信号および第2検出部42からの信号を差動演算して第1測定信号を算出するとともに、第3検出部43からの信号および第4検出部44からの信号を差動演算して第2測定信号を算出する。
具体的には、測定信号算出部52は、A相信号とa相信号とを差動演算して相対移動量を算出するための第1測定信号を算出する。また、測定信号算出部52は、B相信号とb相信号とを差動演算して相対移動量を算出するための第2測定信号を算出する。
The measurement signal calculation unit 52 calculates a first measurement signal by performing a differential operation on the signal from the first detection unit 41 and the signal from the second detection unit 42, and the signal from the third detection unit 43 and the fourth signal. The signal from the detection unit 44 is differentially calculated to calculate the second measurement signal.
Specifically, the measurement signal calculation unit 52 calculates a first measurement signal for calculating a relative movement amount by performing a differential operation on the A-phase signal and the a-phase signal. In addition, the measurement signal calculation unit 52 calculates a second measurement signal for calculating a relative movement amount by performing a differential operation on the B-phase signal and the b-phase signal.

抽出部53は、第1測定信号および第2測定信号から異常判定信号を抽出する。具体的には、抽出部53は、第1測定信号および第2測定信号に対してローパスフィルタを用いることで異常判定信号を抽出する。異常判定信号は、第1測定信号および第2測定信号よりも長い周期を有する。   The extraction unit 53 extracts an abnormality determination signal from the first measurement signal and the second measurement signal. Specifically, the extraction unit 53 extracts an abnormality determination signal by using a low-pass filter for the first measurement signal and the second measurement signal. The abnormality determination signal has a longer period than the first measurement signal and the second measurement signal.

異常判定部54は、異常判定信号からスケール2において異常があるか否かを判定する。ここで、スケール2においての異常とは、スケール2に汚染物質が付着することである。すなわち、異常判定部54は、スケール2に汚染物質が付着しているか否かを判定する。
異常報知部6は、異常判定部54によりスケール2において異常があると判定された場合、使用者にスケール2の異常を報知する。異常報知部6は、例えばブザー等である。なお、異常報知部は、ブザーに限らず、ディスプレイに警告を表示したり、表示灯(LED)を点滅させる等、使用者に異常を報知することができれば、どのようなものであってもよい。
The abnormality determination unit 54 determines whether there is an abnormality in the scale 2 from the abnormality determination signal. Here, the abnormality in the scale 2 is that contaminants adhere to the scale 2. That is, the abnormality determination unit 54 determines whether or not a contaminant is attached to the scale 2.
When the abnormality determination unit 54 determines that there is an abnormality in the scale 2, the abnormality notification unit 6 notifies the user of the abnormality in the scale 2. The abnormality notification unit 6 is, for example, a buzzer. The abnormality notifying unit is not limited to a buzzer, and any abnormality may be used as long as it can notify the user of an abnormality such as displaying a warning on a display or blinking an indicator lamp (LED). .

図4は、前記エンコーダにおける異常検出方法を示すフローチャートであり、図5は、前記エンコーダにおける算出手段により算出された信号を示す図である。具体的には、図5(A)は、検出手段4を示す図であり、図5(B)は、第1検出部41〜第4検出部44から検出される各信号であり、図5(C)は、第1測定信号および第2測定信号であり、図5(D)は、異常判定信号である。
以下、エンコーダ1の制御方法およびスケール2における異常検出方法について、図4,5を参照して説明する。
FIG. 4 is a flowchart showing an abnormality detection method in the encoder, and FIG. 5 is a diagram showing signals calculated by calculation means in the encoder. Specifically, FIG. 5 (A) is a diagram showing the detection means 4, and FIG. 5 (B) is each signal detected from the first detector 41 to the fourth detector 44, and FIG. (C) is a 1st measurement signal and a 2nd measurement signal, FIG.5 (D) is an abnormality determination signal.
Hereinafter, the control method of the encoder 1 and the abnormality detection method in the scale 2 will be described with reference to FIGS.

図4に示すように、エンコーダ1は、先ず、スケール2の複数の回折格子21を介した第1検出部41と第2検出部42と第3検出部43と第4検出部44とのそれぞれからの信号を信号検出部51にて検出する信号検出工程を実行する(ステップST01)。   As shown in FIG. 4, the encoder 1 first includes a first detection unit 41, a second detection unit 42, a third detection unit 43, and a fourth detection unit 44 via the plurality of diffraction gratings 21 of the scale 2. A signal detection step of detecting a signal from the signal at the signal detector 51 is executed (step ST01).

図5(A),(B)に示すように、信号検出部51が信号検出工程を実行すると、複数の検出部41〜44に対応して、図5(B)の信号が検出される。具体的には、(1)は第1検出部41からの信号S1であり、(2)は第3検出部43からの信号S2であり、(3)は第2検出部42からの信号S3であり、(4)は第4検出部44からの信号S4である。(1)〜(4)において信号が減衰している部分Eは、スケール2に図示しない汚染物質が付着したことによるものである。   As shown in FIGS. 5A and 5B, when the signal detection unit 51 executes the signal detection process, the signals in FIG. 5B are detected corresponding to the plurality of detection units 41 to 44. Specifically, (1) is a signal S1 from the first detector 41, (2) is a signal S2 from the third detector 43, and (3) is a signal S3 from the second detector 42. (4) is a signal S4 from the fourth detector 44. A portion E where the signal is attenuated in (1) to (4) is due to a contaminant (not shown) adhering to the scale 2.

次に、図4に示すように、測定信号算出部52は、第1検出部41からの信号(A相信号、図5(B)における信号S1)および第2検出部42からの信号(a相信号、図5(B)における信号S3)を差動演算して第1測定信号を算出するとともに、第3検出部43からの信号(B相信号、図5(B)における信号S2)および第4検出部44からの信号(b相信号、図5(B)における信号S4)を差動演算して第2測定信号を算出する測定信号算出工程を実行する(ステップST02)。   Next, as shown in FIG. 4, the measurement signal calculation unit 52 includes a signal from the first detection unit 41 (A phase signal, signal S1 in FIG. 5B) and a signal from the second detection unit 42 (a The phase signal, the signal S3 in FIG. 5B, is differentially calculated to calculate the first measurement signal, and the signal from the third detector 43 (the phase B signal, the signal S2 in FIG. 5B) and A measurement signal calculation step of calculating a second measurement signal by performing a differential operation on the signal (b-phase signal, signal S4 in FIG. 5B) from the fourth detection unit 44 is executed (step ST02).

図5(C)に示すように、(5)は第1測定信号S5であり、(6)は第2測定信号S6である。第1測定信号S5および第2測定信号S6は、測定信号としての振幅(細かい振幅)を有しているが、図5(B)の汚染物質が付着したことにより信号が減衰している部分Eに対応して、測定信号全体としても振幅(緩やかな振幅)を有している。   As shown in FIG. 5C, (5) is the first measurement signal S5, and (6) is the second measurement signal S6. The first measurement signal S5 and the second measurement signal S6 have the amplitude (fine amplitude) as the measurement signal, but the portion E where the signal is attenuated due to the adhering contaminant in FIG. 5B. Correspondingly, the measurement signal as a whole also has an amplitude (gradual amplitude).

続いて、図4に示すように、抽出部53は、第1測定信号S5および第2測定信号S6からローパスフィルタを用いて異常判定信号を抽出する抽出工程を実行する(ステップST03)。
図5(D)に示すように、(7)は第1測定信号S5から抽出された異常判定信号S7であり、(8)は第2測定信号S6から抽出された異常判定信号S8である。
Subsequently, as illustrated in FIG. 4, the extraction unit 53 performs an extraction process of extracting an abnormality determination signal from the first measurement signal S5 and the second measurement signal S6 using a low-pass filter (step ST03).
As shown in FIG. 5D, (7) is the abnormality determination signal S7 extracted from the first measurement signal S5, and (8) is the abnormality determination signal S8 extracted from the second measurement signal S6.

図4に示すように、異常判定信号S7,S8が抽出されると(ステップST03)、異常判定部54は、異常判定信号S7,S8からスケール2において異常があるか否かを判定する異常判定工程を実行する(ステップST04)。異常判定部54は、図5(D)に示すように、異常判定信号S7,S8に変動成分Nがあるか否かにより、異常を判定する。   As shown in FIG. 4, when abnormality determination signals S7 and S8 are extracted (step ST03), abnormality determination unit 54 determines whether there is an abnormality in scale 2 from abnormality determination signals S7 and S8. A process is executed (step ST04). As shown in FIG. 5D, the abnormality determination unit 54 determines abnormality depending on whether or not the abnormality determination signals S7 and S8 have a fluctuation component N.

図4に示すように、異常判定部54がスケール2において異常があると判定した場合(ステップST04でYES)、異常報知部6は、スケール2に汚染物質が付着していることを使用者に報知する異常報知工程を実行する(ステップST05)。異常判定部54がスケール2において異常がないと判定した場合(ステップST04でNO)、異常判定部54は、スケール2において異常があると判定されるまで異常判定工程を実行する(ステップST04)。   As shown in FIG. 4, when the abnormality determination unit 54 determines that there is an abnormality in the scale 2 (YES in step ST04), the abnormality notification unit 6 informs the user that the contaminant is attached to the scale 2. An abnormality notifying step for notifying is executed (step ST05). When abnormality determination unit 54 determines that there is no abnormality in scale 2 (NO in step ST04), abnormality determination unit 54 executes an abnormality determination step until it is determined that there is an abnormality in scale 2 (step ST04).

このような本実施形態によれば、以下の作用・効果を奏することができる。
(1)エンコーダ1において、異常判定部54は、異常判定信号S7,S8からスケールに異常があるか否か、すなわち、変動成分Nが定常的か一時的か、を判定し、変動成分Nが一時的なものである場合、スケール2に異常があると判定する。
したがって、エンコーダ1は、エンコーダ1が有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを確実に区別し、スケール2の異常を検出することができる。
According to the present embodiment as described above, the following operations and effects can be achieved.
(1) In the encoder 1, the abnormality determination unit 54 determines whether or not there is an abnormality in the scale from the abnormality determination signals S7 and S8, that is, whether the fluctuation component N is steady or temporary. If it is temporary, it is determined that the scale 2 is abnormal.
Therefore, the encoder 1 can reliably discriminate between the signal fluctuation caused by the error factor of the encoder 1 and the signal fluctuation caused by the contaminants adhering to the scale 2 and detect the abnormality of the scale 2.

(2)差動演算により算出された測定信号S5,S6から抽出される異常判定信号S7,S8は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。また、信号検出部51は、4相信号を検出することができる。このとき、4相信号に基づき差動演算により算出された測定信号S5,S6から抽出される異常判定信号S7,S8は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダ1は、高感度の異常判定信号S7,S8を用いることで、より確実に、エンコーダ1が有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを区別し、スケール2の異常を検出することができる。 (2) The abnormality determination signals S7 and S8 extracted from the measurement signals S5 and S6 calculated by the differential calculation are abnormality determination signals with higher sensitivity than the abnormality determination signal based on the two-phase signal. Further, the signal detector 51 can detect a four-phase signal. At this time, the abnormality determination signals S7 and S8 extracted from the measurement signals S5 and S6 calculated by the differential calculation based on the four-phase signal are abnormality determination signals having higher sensitivity than the abnormality determination signal based on the two-phase signal. is there. Therefore, the encoder 1 uses the high-sensitivity abnormality determination signals S7 and S8 to more reliably discriminate between the signal fluctuation due to the error factor of the encoder 1 and the signal fluctuation due to the contaminant adhering to the scale 2. An abnormality of scale 2 can be detected.

(3)測定信号算出部52は、差動演算をすることにより、差動演算を用いずに算出された測定信号から抽出される異常判定信号よりも高感度の異常判定信号S7,S8を算出することができる。
(4)エンコーダ1は、X方向に沿って連続して設けられる複数の検出素子400を第1検出部41から第4検出部44とすることができるため、また、複数の検出部41〜44は、それぞれ同数の検出素子400とすることで、異常判定信号S7,S8の算出のために必要な信号を取得する検出手段4について、容易に設計をすることができる。
(3) The measurement signal calculation unit 52 calculates the abnormality determination signals S7 and S8 having higher sensitivity than the abnormality determination signal extracted from the measurement signal calculated without using the differential operation by performing a differential operation. can do.
(4) Since the encoder 1 can change the plurality of detection elements 400 provided continuously along the X direction from the first detection unit 41 to the fourth detection unit 44, the plurality of detection units 41 to 44. By using the same number of detection elements 400, it is possible to easily design the detection means 4 that acquires signals necessary for calculating the abnormality determination signals S7 and S8.

(5)測定信号算出部52は、A相信号およびa相信号と、B相信号およびb相信号と、をそれぞれ差動演算する際に、互いに同じ強度の信号同士を差動演算することができる。したがって、エンコーダ1は、第1検出部41および第2検出部42と、第3検出部43および第4検出部44と、がそれぞれ異なる数の検出素子400とした場合よりも高感度の異常判定信号S7,S8を用いることができるため、より確実に、エンコーダ1が有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを区別し、スケール2の異常を検出することができる。 (5) The measurement signal calculation unit 52 may differentially calculate signals having the same intensity when performing differential calculations on the A phase signal and the a phase signal, and the B phase signal and the b phase signal, respectively. it can. Therefore, the encoder 1 has a higher sensitivity abnormality determination than when the first detection unit 41 and the second detection unit 42 and the third detection unit 43 and the fourth detection unit 44 have different numbers of detection elements 400, respectively. Since the signals S7 and S8 can be used, the signal fluctuation caused by the error factor of the encoder 1 and the signal fluctuation caused by the contamination on the scale 2 are more reliably distinguished, and the abnormality of the scale 2 is detected. Can do.

(6)複数の検出部41〜44は、それぞれ同数の検出素子400とすることで、信号検出部51は、それぞれの検出部41〜44から同じ強度の信号S1〜S4を検出することができる。すなわち、測定信号算出部52は、これらの信号S1〜S4に対して差動演算をすることで、複数の検出部41〜44の検出素子400の数が異なる場合に検出された信号と比較してノイズの少ない第1測定信号S5および第2測定信号S6を算出することができる。
したがって、エンコーダ1は、より高感度にて、エンコーダ1が有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを区別し、スケール2の異常を検出することができる。
(7)エンコーダ1は、光学式エンコーダに容易に実装することができる。
(6) Since the plurality of detection units 41 to 44 have the same number of detection elements 400, the signal detection unit 51 can detect signals S1 to S4 having the same intensity from the detection units 41 to 44, respectively. . That is, the measurement signal calculation unit 52 performs a differential operation on these signals S1 to S4, and compares them with signals detected when the number of detection elements 400 of the plurality of detection units 41 to 44 is different. Thus, the first measurement signal S5 and the second measurement signal S6 with less noise can be calculated.
Therefore, the encoder 1 can detect an abnormality of the scale 2 by distinguishing between the signal fluctuation due to the error factor of the encoder 1 and the signal fluctuation caused by the contamination attached to the scale 2 with higher sensitivity.
(7) The encoder 1 can be easily mounted on an optical encoder.

〔第2実施形態〕
以下、本発明の第2実施形態を図6および図7に基づいて説明する。なお、以下の説明では、既に説明した部分については、同一符号を付してその説明を省略する。
[Second Embodiment]
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. In the following description, parts that have already been described are assigned the same reference numerals and description thereof is omitted.

図6は、第2実施形態に係るエンコーダにおける検出手段を示す図である。
前記第1実施形態のエンコーダ1における検出手段4の複数の検出群40は、図2に示すように、複数の検出部41〜44を備え、複数の検出部41〜44は、X方向に沿って1/4ずつずれて配置されていた。また、検出部41〜44からは、1/4周期ずつ位相がずれた信号が検出されていた。
FIG. 6 is a diagram showing detection means in the encoder according to the second embodiment.
As shown in FIG. 2, the plurality of detection groups 40 of the detection unit 4 in the encoder 1 of the first embodiment includes a plurality of detection units 41 to 44, and the plurality of detection units 41 to 44 are along the X direction. And shifted by ¼. In addition, from the detection units 41 to 44, signals whose phases are shifted by ¼ period were detected.

本実施形態では、図6に示すように、エンコーダ1Aにおける検出手段4Aでは、複数の検出群40Aは、複数の検出部41A〜43Aとして第1検出部41Aと第2検出部42Aと第3検出部43Aとを備え、第1検出部41Aは、複数の検出素子400とし、第2検出部42Aは、第1検出部41Aとは異なる他の複数の検出素子400とするとともに第1検出部41Aとは120度位相がずれた位置に配置される複数の検出素子400とし、第3検出部43Aは、第1検出部41Aと第2検出部42Aとは異なる他の複数の検出素子400とするとともに第2検出部42Aとは120度位相がずれた位置に配置される複数の検出素子400とする点で前記第1実施形態と異なる。   In the present embodiment, as shown in FIG. 6, in the detection means 4A in the encoder 1A, the plurality of detection groups 40A include a first detection unit 41A, a second detection unit 42A, and a third detection unit as the plurality of detection units 41A to 43A. 43A, the first detection unit 41A includes a plurality of detection elements 400, the second detection unit 42A includes a plurality of other detection elements 400 different from the first detection unit 41A, and the first detection unit 41A. Is a plurality of detection elements 400 arranged at positions shifted by 120 degrees, and the third detection unit 43A is a plurality of other detection elements 400 different from the first detection unit 41A and the second detection unit 42A. In addition, the second detector 42A differs from the first embodiment in that a plurality of detector elements 400 are arranged at positions shifted by 120 degrees in phase.

複数の検出部41A〜43Aは、それぞれ同数の検出素子400とし、本実施形態では、複数の検出部41A〜43Aは、それぞれ4個ずつの検出素子400としている。
複数の検出部41A〜43Aは、検出手段4Aにおける検出群40Aにおいて、X方向に沿って1/3ずつずれて配置されている。これにより、複数の検出部41A〜43Aからは、1/3周期ずつ位相がずれた信号が検出される。そして、第1検出部41Aと第2検出部42Aと第3検出部43Aとからは、それぞれ120度ずつ位相がずれた信号が検出される。
The plurality of detection units 41A to 43A are the same number of detection elements 400, and in the present embodiment, the plurality of detection units 41A to 43A are each four detection elements 400.
The plurality of detection units 41A to 43A are arranged with a shift of 1/3 along the X direction in the detection group 40A in the detection unit 4A. As a result, a signal whose phase is shifted by 1/3 period is detected from the plurality of detection units 41A to 43A. Then, signals having a phase shift of 120 degrees are detected from the first detection unit 41A, the second detection unit 42A, and the third detection unit 43A.

また、前記第1実施形態では、図3に示すように、算出手段5は、複数の検出部41〜44のそれぞれから信号を検出する信号検出部51と、第1検出部41からの信号および第2検出部42からの信号を差動演算して第1測定信号を算出するとともに、第3検出部43からの信号および第4検出部44からの信号を差動演算して第2測定信号を算出する測定信号算出部52と、を備えていた。   In the first embodiment, as shown in FIG. 3, the calculation means 5 includes a signal detection unit 51 that detects a signal from each of the plurality of detection units 41 to 44, a signal from the first detection unit 41, and The signal from the second detector 42 is differentially calculated to calculate the first measurement signal, and the signal from the third detector 43 and the signal from the fourth detector 44 are differentially calculated to obtain the second measurement signal. And a measurement signal calculation unit 52 for calculating.

図7は、前記エンコーダにおける算出手段を示すブロック図である。
本実施形態では、算出手段5Aは、第1検出部41Aと第2検出部42Aと第3検出部43Aとのそれぞれから信号を検出する信号検出部51Aと、第1検出部41Aからの信号と、第2検出部42Aからの信号と、第3検出部43Aからの信号と、から第1測定信号および第2測定信号を算出する測定信号算出部52Aと、を備える点で前記第1実施形態と異なる。
具体的には、測定信号算出部52Aは、第1検出部41Aと第2検出部42Aと第3検出部43Aとのそれぞれから検出された3相信号を2相信号へと変換する。測定信号算出部52Aは、3相信号から2相信号に変換された信号から第1測定信号および第2測定信号を算出する。
FIG. 7 is a block diagram showing calculation means in the encoder.
In the present embodiment, the calculation means 5A includes a signal detection unit 51A that detects signals from the first detection unit 41A, the second detection unit 42A, and the third detection unit 43A, and a signal from the first detection unit 41A. The first embodiment in that it includes a measurement signal calculation unit 52A that calculates a first measurement signal and a second measurement signal from a signal from the second detection unit 42A and a signal from the third detection unit 43A. And different.
Specifically, the measurement signal calculation unit 52A converts a three-phase signal detected from each of the first detection unit 41A, the second detection unit 42A, and the third detection unit 43A into a two-phase signal. The measurement signal calculation unit 52A calculates the first measurement signal and the second measurement signal from the signal converted from the three-phase signal to the two-phase signal.

このような本実施形態においても、前記第1実施形態における(1),(4)〜(7)と同様の作用、効果を奏することができる他、以下の作用、効果を奏することができる。
(8)信号検出部51Aは、3相信号を検出することができる。測定信号算出部52Aは、3相信号から第1測定信号および第2測定信号を算出する。このとき、3相信号に基づき算出された測定信号から抽出される異常判定信号は、2相の信号に基づく異常判定信号よりも高感度の異常判定信号である。したがって、エンコーダ1Aは、高感度の異常判定信号を用いることで、より確実に、エンコーダ1Aが有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを区別し、スケール2の異常を検出することができる。
Also in this embodiment, in addition to the same operations and effects as (1) and (4) to (7) in the first embodiment, the following operations and effects can be achieved.
(8) The signal detection unit 51A can detect a three-phase signal. The measurement signal calculation unit 52A calculates the first measurement signal and the second measurement signal from the three-phase signal. At this time, the abnormality determination signal extracted from the measurement signal calculated based on the three-phase signal is a higher sensitivity abnormality determination signal than the abnormality determination signal based on the two-phase signal. Therefore, the encoder 1A uses the high-sensitivity abnormality determination signal to more reliably distinguish between the signal fluctuation caused by the error factor of the encoder 1A and the signal fluctuation caused by the contamination attached to the scale 2, and the scale 2 Abnormalities can be detected.

(9)複数の検出部41A〜43Aにおいてそれぞれ同数の検出素子400とすることで、測定信号算出部52Aは、3相信号に基づき第1測定信号および第2測定信号を算出する場合、複数の検出部41A〜43Aの検出素子400の数が異なる場合に検出された信号と比較してノイズの少ない第1測定信号および第2測定信号を算出することができる。
したがって、エンコーダ1Aは、より高感度にて、エンコーダ1Aが有する誤差因子による信号変動とスケール2に汚染物質が付着したことによる信号変動とを確実に区別し、スケール2の異常を検出することができる。
(9) By using the same number of detection elements 400 in each of the plurality of detection units 41A to 43A, the measurement signal calculation unit 52A calculates a plurality of measurement signals when calculating the first measurement signal and the second measurement signal based on the three-phase signal. It is possible to calculate the first measurement signal and the second measurement signal with less noise compared to the signal detected when the number of detection elements 400 of the detection units 41A to 43A is different.
Therefore, the encoder 1A can detect the abnormality of the scale 2 by reliably distinguishing between the signal fluctuation due to the error factor of the encoder 1A and the signal fluctuation due to the contaminant adhering to the scale 2 with higher sensitivity. it can.

〔第3実施形態〕
以下、本発明の第3実施形態を図8および図9に基づいて説明する。なお、以下の説明では、既に説明した部分については、同一符号を付してその説明を省略する。
[Third Embodiment]
Hereinafter, a third embodiment of the present invention will be described with reference to FIGS. In the following description, parts that have already been described are assigned the same reference numerals and description thereof is omitted.

図8は、第3実施形態に係るエンコーダにおける検出手段を示す図である。
前記第1実施形態のエンコーダ1における検出手段4では、図2に示すように、複数の検出部41〜44はそれぞれ4個ずつの検出素子400であるとし、複数の検出群40のX方向に沿った長さの基準をLとし、X方向に沿って周期的に配置していた。
FIG. 8 is a diagram showing detection means in the encoder according to the third embodiment.
In the detection means 4 in the encoder 1 of the first embodiment, as shown in FIG. 2, each of the plurality of detection units 41 to 44 includes four detection elements 400, and the plurality of detection groups 40 are arranged in the X direction. The reference of the length along was set to L, and was periodically arranged along the X direction.

本実施形態のエンコーダ1Bにおける検出手段4Bでは、図8に示すように、複数の検出群40Ba〜40Bcは、第1検出群40Baと、第2検出群40Bbと、第3検出群40Bcと、を備え、複数の検出素子400の総数がそれぞれ異なる点で前記第1実施形態と異なる。また、複数の検出群40Ba〜40Bcは、X方向に沿ったそれぞれの検出群40Ba〜40Bcの長さの基準をLとした場合に、複数の検出群40Ba〜40Bcにおける各検出群の長さLは、それぞれ異なるとともに、1を含んで互いに公約数がなく、X方向に沿った検出手段4Bの長さ以上の公倍数とならない検出群40Ba〜40Bcの長さLの組み合わせにて配置されている点で前記第1実施形態と異なる。   In the detection means 4B in the encoder 1B of the present embodiment, as shown in FIG. 8, the plurality of detection groups 40Ba to 40Bc include a first detection group 40Ba, a second detection group 40Bb, and a third detection group 40Bc. And different from the first embodiment in that the total number of the plurality of detection elements 400 is different. The plurality of detection groups 40Ba to 40Bc has a length L of each detection group in the plurality of detection groups 40Ba to 40Bc, where L is a reference for the length of each detection group 40Ba to 40Bc along the X direction. Are different from each other, have a common divisor including 1 and are arranged in combinations of lengths L of the detection groups 40Ba to 40Bc that do not become a common multiple of the length of the detection means 4B along the X direction. This is different from the first embodiment.

図9は、前記エンコーダにおける検出手段にて検出される信号を示す図である。
具体的には、例えばスケール2に第2検出群40Bbと同じ大きさの汚染物質Tが付着した場合(図8参照)、第1検出群40Baおよび第2検出群40Bbの各検出部41Ba〜44Ba,41Bb〜44Bbからの信号に基づく異常判定信号には、汚染物質Tによる変動成分は出現しない。図9(A)に示すように、例えば、汚染物質Tの大きさが2Lのとき、第1検出群40Baおよび第2検出群40Bbの信号変動はない(検出感度がない)状態となる。
FIG. 9 is a diagram showing signals detected by the detecting means in the encoder.
Specifically, for example, when a contaminant T having the same size as the second detection group 40Bb adheres to the scale 2 (see FIG. 8), each of the detection units 41Ba to 44Ba of the first detection group 40Ba and the second detection group 40Bb. , 41Bb to 44Bb, no fluctuation component due to the pollutant T appears in the abnormality determination signal based on the signals. As shown in FIG. 9A, for example, when the size of the contaminant T is 2L, the first detection group 40Ba and the second detection group 40Bb have no signal fluctuation (no detection sensitivity).

しかしながら、第3検出群40Bcは、第1検出群40Baおよび第2検出群40Bbとは異なる総数の複数の検出素子400を有し、第1検出群40Baおよび第2検出群40Bbより大きい検出面積を有しているため、汚染物質Tを検出することができる。したがって、X方向に沿って様々な長さLを有する複数の検出群40Ba〜40Bcを設定することで、エンコーダ1Bは、さまざまな大きさの汚染物質に対応し、検出感度のヌケが生じることを防ぐことができる。   However, the third detection group 40Bc has a different total number of detection elements 400 from the first detection group 40Ba and the second detection group 40Bb, and has a larger detection area than the first detection group 40Ba and the second detection group 40Bb. Therefore, the contaminant T can be detected. Therefore, by setting a plurality of detection groups 40Ba to 40Bc having various lengths L along the X direction, the encoder 1B can cope with various sizes of contaminants, and the detection sensitivity may be lost. Can be prevented.

また、それぞれの検出群40Ba〜40Bcの長さの基準をLとした場合に、複数の検出群40Ba〜40Bcにおける検出群の長さLは、1を含んで互いに公約数がなく、検出手段4の長さ以上の公倍数とならない検出群40Ba〜40Bcの長さLの組み合わせであることが好ましい。例えば、図9(B)に示すように、Lについて、L、2.5L、3.3Lと設定し、1を含んで互いに公約数がないLの組み合わせ、すなわち、互いに素になる長さLの組み合わせにすることにより、複数の検出群40Ba〜40Bcにて汚染物質が検出できないという検出感度のヌケが生じることを防ぐことができる。   Further, when the reference of the length of each of the detection groups 40Ba to 40Bc is L, the detection group length L of the plurality of detection groups 40Ba to 40Bc includes 1 and has no common divisor, and the detection means 4 It is preferable to be a combination of the lengths L of the detection groups 40Ba to 40Bc that do not become a common multiple of the length of. For example, as shown in FIG. 9B, L is set to L, 2.5L, 3.3L, and a combination of L including 1 and having no common divisor, that is, a length L that is relatively prime. By using this combination, it is possible to prevent the detection sensitivity from leaking that the contaminant cannot be detected by the plurality of detection groups 40Ba to 40Bc.

換言すれば、検出手段4Bの長さ以上の公倍数とならない検出群40Ba〜40Bcの長さLの組み合わせとし、公倍数ができるだけ少なくなるような長さLの組み合わせとすることで、検出手段4Bは、検出感度をランダム化することができる。したがって、検出手段4Bは、小さな汚染物質や例えば前記第1実施形態における同じ長さLの複数の検出群40を備える検出手段4(図2参照)が検出できない汚染物質にも対応することができ、汚染物質の検出感度のヌケが生じることを防ぐことができる。よって、エンコーダ1Bは、測定精度の低下を抑制することができる。   In other words, the detection means 4B is a combination of the lengths L of the detection groups 40Ba to 40Bc that do not become the common multiple of the length of the detection means 4B, and the combination of the lengths L that minimizes the common multiple as much as possible. The detection sensitivity can be randomized. Therefore, the detection means 4B can cope with small contaminants and, for example, contaminants that cannot be detected by the detection means 4 (see FIG. 2) including the plurality of detection groups 40 having the same length L in the first embodiment. It is possible to prevent the occurrence of contamination detection sensitivity leakage. Therefore, the encoder 1B can suppress a decrease in measurement accuracy.

このような本実施形態においても、前記第1実施形態における(1)〜(7)と同様の作用、効果を奏することができる他、以下の作用、効果を奏することができる。
(10)複数の検出群40Ba〜40Bcは、複数の検出素子400の総数がそれぞれ異なることで、汚染物質Tを検出できる面積も異なるため、エンコーダ1Bは、様々な大きさの汚染物質Tに対応することができる。したがって、エンコーダ1Bは、汚染物質Tがスケール2に付着したか否かの判定および汚染物質Tの検出感度を向上させることができる。
(11)複数の検出群40Ba〜40Bcは、X方向に沿ったそれぞれの検出群40Ba〜40Bcの長さの基準をLとした場合に、複数の検出群40Ba〜40Bcにおける検出群の長さLは、それぞれ異なるとともに、1を含んで互いに公約数がなく、X方向に沿った検出手段4Bの長さ以上の公倍数とならない検出群の長さLの組み合わせにて配置されていることで、汚染物質Tの長さにより検出感度のヌケが生じることを抑制することができる。
Also in this embodiment, in addition to the same operations and effects as (1) to (7) in the first embodiment, the following operations and effects can be achieved.
(10) Since the plurality of detection groups 40Ba to 40Bc are different in the total number of the plurality of detection elements 400 and have different areas where the contaminant T can be detected, the encoder 1B supports the contaminants T of various sizes. can do. Therefore, the encoder 1B can improve the determination of whether or not the contaminant T has adhered to the scale 2 and the detection sensitivity of the contaminant T.
(11) The plurality of detection groups 40Ba to 40Bc has a length L of the detection group in the plurality of detection groups 40Ba to 40Bc, where L is a reference for the length of each detection group 40Ba to 40Bc along the X direction. Are arranged in combinations of detection group lengths L that are different from each other and have no common divisor including 1 and do not become a common multiple of the length of the detection means 4B along the X direction. It is possible to suppress the occurrence of missing detection sensitivity depending on the length of the substance T.

〔実施形態の変形〕
なお、本発明は、前記各実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。
例えば、前記各実施形態では、エンコーダ1,1A〜1Bは光学式エンコーダであり、リニアエンコーダである場合を説明したが、エンコーダはリニアエンコーダではなくロータリーエンコーダであってもよく、また、光学式エンコーダではなく電磁誘導式や静電容量式などの他の方式のエンコーダであってもよい。要するに、エンコーダは、検出器の形式や検出方式等は特に限定されるものではない。
[Modification of Embodiment]
The present invention is not limited to the above-described embodiments, and modifications, improvements, and the like within the scope that can achieve the object of the present invention are included in the present invention.
For example, in each of the embodiments described above, the encoders 1 and 1A to 1B are optical encoders and are linear encoders. However, the encoders may be rotary encoders instead of linear encoders, and optical encoders. Instead, an encoder of another type such as an electromagnetic induction type or a capacitance type may be used. In short, the encoder is not particularly limited in the type of detector, detection method, and the like.

前記各実施形態では、抽出部53は、第1測定信号および第2測定信号に対してローパスフィルタを用いることで異常判定信号を抽出していたが、抽出部は、ローパスフィルタではなく、フーリエ変換を用いて算出されたスペクトルを異常判定信号として抽出してもよい。この際、異常判定部は、スペクトルの大きさから汚染物質を判定してもよい。要するに、抽出部は、異常判定信号を抽出することができれば、どのような手法を用いて異常判定信号を抽出してもよい。   In each of the above embodiments, the extraction unit 53 extracts the abnormality determination signal by using a low-pass filter for the first measurement signal and the second measurement signal. However, the extraction unit is not a low-pass filter but a Fourier transform. The spectrum calculated by using may be extracted as an abnormality determination signal. At this time, the abnormality determination unit may determine the contaminant from the size of the spectrum. In short, the extraction unit may extract the abnormality determination signal using any technique as long as it can extract the abnormality determination signal.

前記第各実施形態では、複数の検出部41〜44,41A〜43A,41B〜44Bの検出素子400はそれぞれ同数(4個ずつ等)であったが、複数の検出部において検出素子は同数でなくてもよい。すなわち、第1検出部および第2検出部は、同数の検出素子400とし、第3検出部および第4検出部は、同数の検出素子400としてもよいし、複数の検出部においてそれぞれ異なる数の検出素子としてもよい。
要するに、信号検出部が信号を検出することができ、抽出部が異常判定信号を抽出することができれば、複数の検出部においてどのように検出素子の数を設定してもよい。
In the first embodiment, the number of detection elements 400 of the plurality of detection units 41 to 44, 41A to 43A, and 41B to 44B is the same number (four each, etc.), but the same number of detection elements are used in the plurality of detection units. It does not have to be. That is, the first detection unit and the second detection unit may be the same number of detection elements 400, and the third detection unit and the fourth detection unit may be the same number of detection elements 400, or a plurality of detection units may have different numbers. It is good also as a detection element.
In short, as long as the signal detection unit can detect the signal and the extraction unit can extract the abnormality determination signal, the number of detection elements may be set in any of the plurality of detection units.

前記第1実施形態では、第1検出部41の複数の検出素子400と第3検出部43の複数の検出素子400とは異なり、第2検出部42の複数の検出素子400と第4検出部44の複数の検出素子400とは異っていたが、第1検出部41と第3検出部43は、同一の検出素子400としてもよいし、第2検出部42と第4検出部44は、同一の検出素子400としてもよい。要するに、測定信号算出部において、ある信号と、180度位相がずれた信号とを差動演算することで測定信号を算出することができれば、複数の検出部は、同一の検出素子を複数の検出部としてもよい。   In the first embodiment, unlike the plurality of detection elements 400 of the first detection unit 41 and the plurality of detection elements 400 of the third detection unit 43, the plurality of detection elements 400 and the fourth detection unit of the second detection unit 42 are used. The first detection unit 41 and the third detection unit 43 may be the same detection element 400, or the second detection unit 42 and the fourth detection unit 44 may be different from each other. The same detection element 400 may be used. In short, if the measurement signal can be calculated by performing a differential operation on a certain signal and a signal that is 180 degrees out of phase in the measurement signal calculation unit, the plurality of detection units detect a plurality of the same detection elements. It is good also as a part.

前記第1実施形態では、測定信号算出部52は、複数の検出部41〜44からの4相信号を差動演算することで第1測定信号および第2測定信号を算出し、前記第2実施形態では、測定信号算出部52Aは、複数の検出部41A〜43Aからの3相信号を2相信号に変換し第1測定信号および第2測定信号を算出していたが、測定信号算出部は、差動演算や3相信号を2相信号に変換する方法を用いず、他の演算方法により、測定信号を算出してもよい。要するに、測定信号算出部は、信号検出部にて検出された信号を用いて測定信号を算出することができれば、どのような方法を用いて測定信号を算出してもよい。   In the first embodiment, the measurement signal calculation unit 52 calculates the first measurement signal and the second measurement signal by performing a differential operation on the four-phase signals from the plurality of detection units 41 to 44, and the second embodiment. In the embodiment, the measurement signal calculation unit 52A converts the three-phase signals from the plurality of detection units 41A to 43A into the two-phase signals and calculates the first measurement signal and the second measurement signal. However, the measurement signal calculation unit The measurement signal may be calculated by another calculation method without using the differential calculation or the method of converting the three-phase signal to the two-phase signal. In short, the measurement signal calculation unit may calculate the measurement signal using any method as long as the measurement signal can be calculated using the signal detected by the signal detection unit.

前記第3実施形態では、複数の検出群40Ba〜40Bcは、第1検出群40Baと、第2検出群40Bbと、第3検出群40Bcと、を備えていたが、第1検出群と第2検出群だけを備えていてもよいし、第4検出群や第5検出群を備えていてもよい。要するに、複数の検出群は、複数の検出素子を含むとともに測定方向に沿って並設されていればよい。
また、前記第3実施形態では、図8に示すように、第1検出群40Baの長さをLとし、第2検出群40Bbの長さを2Lとし、第3検出群40Bcの長さを4Lとしていたが、例えば、第1検出群の長さを4Lとし、第2検出群の長さをLとし、第3検出群の長さを2Lとしてもよい。要するに、複数の検出群は、複数の検出素子の総数がそれぞれ異なり、互いに異なる長さであればよい。
In the third embodiment, the plurality of detection groups 40Ba to 40Bc include the first detection group 40Ba, the second detection group 40Bb, and the third detection group 40Bc. Only the detection group may be provided, or the fourth detection group and the fifth detection group may be provided. In short, the plurality of detection groups need only include a plurality of detection elements and be arranged in parallel along the measurement direction.
In the third embodiment, as shown in FIG. 8, the length of the first detection group 40Ba is L, the length of the second detection group 40Bb is 2L, and the length of the third detection group 40Bc is 4L. However, for example, the length of the first detection group may be 4L, the length of the second detection group may be L, and the length of the third detection group may be 2L. In short, the plurality of detection groups have different total numbers of the plurality of detection elements and may have different lengths.

前記第1実施形態では、検出素子400は4μmに設計され、検出群Lは200μmに設計されていたが、検出素子および検出群は、任意の大きさに設計してもよい。   In the first embodiment, the detection element 400 is designed to be 4 μm and the detection group L is designed to be 200 μm. However, the detection element and the detection group may be designed to have an arbitrary size.

以上のように、本発明は、エンコーダおよびエンコーダの制御方法に好適に利用できる。   As described above, the present invention can be suitably used for an encoder and an encoder control method.

1,1A〜1B エンコーダ
2 スケール
3 光源
4,4A〜4B 検出手段
5,5A 算出手段
51,51A 信号検出部
52,52A 測定信号算出部
53 抽出部
54 異常判定部
40,40A〜40B 検出群
41,41A〜41B 第1検出部
42,42A〜42B 第2検出部
43,43A〜43B 第3検出部
44,44A〜44B 第4検出部
DESCRIPTION OF SYMBOLS 1,1A-1B Encoder 2 Scale 3 Light source 4, 4A-4B Detection means 5, 5A Calculation means 51, 51A Signal detection part 52, 52A Measurement signal calculation part 53 Extraction part 54 Abnormality determination part 40, 40A-40B Detection group 41 , 41A to 41B First detection unit 42, 42A to 42B Second detection unit 43, 43A to 43B Third detection unit 44, 44A to 44B Fourth detection unit

Claims (11)

測定方向に沿って並設される目盛を有するスケールと、前記スケールに沿って相対移動するとともに前記目盛を介した信号を測定方向に沿って並設される複数の検出素子にて検出する検出手段と、前記信号に基づき前記スケールと前記検出手段との相対移動量を算出する算出手段と、を備えるエンコーダであって、
前記検出手段は、
複数の前記検出素子を含むとともに測定方向に沿って並設される複数の検出群を備え、
前記複数の検出群は、測定方向に沿って並設される複数の検出部を備え、
前記複数の検出部は、
所定の前記検出素子を第1検出部とし、
前記第1検出部とは異なる他の前記検出素子を第2検出部とした場合に、
前記算出手段は、
前記第1検出部と前記第2検出部とのそれぞれから信号を検出する信号検出部と、
前記信号検出部にて検出された前記信号を用いて測定信号を算出する測定信号算出部と、
前記測定信号算出部により算出された測定信号から前記スケールの異常を判定する異常判定信号を抽出する抽出部と、
前記異常判定信号から前記スケールに異常があるか否かを判定する異常判定部と、を備えることを特徴とするエンコーダ。
A scale having a scale arranged in parallel along the measurement direction, and a detecting means that detects relative to the scale along the scale and detects signals via the scale by a plurality of detection elements arranged in parallel along the measurement direction. And a calculation means for calculating a relative movement amount between the scale and the detection means based on the signal,
The detection means includes
A plurality of detection groups including a plurality of the detection elements and arranged in parallel along the measurement direction,
The plurality of detection groups include a plurality of detection units arranged in parallel along the measurement direction,
The plurality of detection units are:
The predetermined detection element is a first detection unit,
When the other detection element different from the first detection unit is a second detection unit,
The calculating means includes
A signal detection unit for detecting signals from each of the first detection unit and the second detection unit;
A measurement signal calculation unit that calculates a measurement signal using the signal detected by the signal detection unit;
An extraction unit for extracting an abnormality determination signal for determining abnormality of the scale from the measurement signal calculated by the measurement signal calculation unit;
An encoder for determining whether there is an abnormality in the scale from the abnormality determination signal.
請求項1に記載されたエンコーダにおいて、
前記複数の検出素子は、前記目盛に対応して並設され、
前記複数の検出群は、前記複数の検出部として第1検出部と第2検出部と第3検出部と第4検出部とを備え、
前記第1検出部は、複数の前記検出素子とし、
前記第2検出部は、前記第1検出部とは異なる他の複数の前記検出素子とするとともに前記第1検出部とは180度位相がずれた位置に配置される複数の前記検出素子とし、
前記第3検出部は、前記第2検出部とは異なる他の複数の前記検出素子とし、
前記第4検出部は、前記第3検出部とは異なる他の複数の前記検出素子とするとともに前記第3検出部とは180度位相がずれた位置に配置される複数の前記検出素子とした場合に、
前記信号検出部は、前記第1検出部と前記第2検出部と前記第3検出部と前記第4検出部とのそれぞれから信号を検出し、
前記測定信号算出部は、前記第1検出部からの信号および前記第2検出部からの信号に基づいて第1測定信号を算出するとともに、前記第3検出部からの信号および前記第4検出部からの信号に基づいて第2測定信号を算出し、
前記抽出部は、前記第1測定信号および前記第2測定信号から異常判定信号を抽出し、
前記異常判定部は、前記異常判定信号から前記スケールにおいて異常があるか否かを判定することを特徴とするエンコーダ。
The encoder according to claim 1,
The plurality of detection elements are juxtaposed corresponding to the scale,
The plurality of detection groups include a first detection unit, a second detection unit, a third detection unit, and a fourth detection unit as the plurality of detection units,
The first detection unit is a plurality of the detection elements,
The second detection unit is a plurality of the detection elements different from the first detection unit and a plurality of the detection elements arranged at positions 180 degrees out of phase with the first detection unit,
The third detection unit is a plurality of other detection elements different from the second detection unit,
The fourth detection unit is a plurality of other detection elements different from the third detection unit, and a plurality of the detection elements arranged at positions that are 180 degrees out of phase with the third detection unit. In case,
The signal detection unit detects signals from each of the first detection unit, the second detection unit, the third detection unit, and the fourth detection unit,
The measurement signal calculation unit calculates the first measurement signal based on the signal from the first detection unit and the signal from the second detection unit, and the signal from the third detection unit and the fourth detection unit. Calculating a second measurement signal based on the signal from
The extraction unit extracts an abnormality determination signal from the first measurement signal and the second measurement signal,
The said abnormality determination part determines whether there is abnormality in the said scale from the said abnormality determination signal, The encoder characterized by the above-mentioned.
請求項2に記載されたエンコーダにおいて、
前記測定信号算出部は、前記第1検出部からの信号および前記第2検出部からの信号を差動演算して第1測定信号を算出するとともに、前記第3検出部からの信号および前記第4検出部からの信号を差動演算して第2測定信号を算出することを特徴とするエンコーダ。
The encoder according to claim 2,
The measurement signal calculation unit calculates a first measurement signal by performing a differential operation on the signal from the first detection unit and the signal from the second detection unit, and the signal from the third detection unit and the first 4. An encoder characterized in that a second measurement signal is calculated by differentially calculating a signal from a detection unit.
請求項1に記載されたエンコーダにおいて、
前記複数の検出素子は、前記目盛に対応して並設され、
前記複数の検出群は、前記複数の検出部として第1検出部と第2検出部と第3検出部とを備え、
前記第1検出部は、複数の前記検出素子とし、
前記第2検出部は、前記第1検出部とは異なる他の複数の前記検出素子とするとともに前記第1検出部とは120度位相がずれた位置に配置される複数の前記検出素子とし、
前記第3検出部は、前記第1検出部と前記第2検出部とは異なる他の複数の前記検出素子とするとともに前記第2検出部とは120度位相がずれた位置に配置される複数の前記検出素子とした場合に、
前記信号検出部は、前記第1検出部と前記第2検出部と前記第3検出部とのそれぞれから信号を検出し、
前記測定信号算出部は、前記第1検出部からの信号と、前記第2検出部からの信号と、前記第3検出部からの信号と、に基づいて第1測定信号および第2測定信号を算出し、
前記抽出部は、前記第1測定信号および前記第2測定信号から異常判定信号を抽出し、
前記異常判定部は、前記異常判定信号から前記スケールにおいて異常があるか否かを判定することを特徴とするエンコーダ。
The encoder according to claim 1,
The plurality of detection elements are juxtaposed corresponding to the scale,
The plurality of detection groups include a first detection unit, a second detection unit, and a third detection unit as the plurality of detection units,
The first detection unit is a plurality of the detection elements,
The second detection unit is a plurality of the detection elements different from the first detection unit and a plurality of the detection elements arranged at a position 120 degrees out of phase with the first detection unit,
The third detection unit is a plurality of other detection elements different from the first detection unit and the second detection unit, and a plurality of third detection units are arranged at positions that are 120 degrees out of phase with the second detection unit. When the detection element is used,
The signal detection unit detects signals from each of the first detection unit, the second detection unit, and the third detection unit,
The measurement signal calculation unit calculates the first measurement signal and the second measurement signal based on the signal from the first detection unit, the signal from the second detection unit, and the signal from the third detection unit. Calculate
The extraction unit extracts an abnormality determination signal from the first measurement signal and the second measurement signal,
The said abnormality determination part determines whether there is abnormality in the said scale from the said abnormality determination signal, The encoder characterized by the above-mentioned.
請求項2または請求項3に記載されたエンコーダにおいて、
前記第3検出部は、
前記第1検出部と前記第2検出部とは異なる他の複数の前記検出素子とするとともに前記第1検出部とは90度位相がずれた位置に配置される複数の前記検出素子とし、
前記第4検出部は、
前記第1検出部と前記第2検出部と前記第3検出部とは異なる他の複数の前記検出素子とするとともに前記第2検出部とは90度位相がずれた位置に配置され、かつ、前記第3検出部とは180度位相がずれた位置に配置される複数の前記検出素子とすることを特徴とするエンコーダ。
The encoder according to claim 2 or claim 3,
The third detector is
The first detection unit and the second detection unit are a plurality of other detection elements different from each other, and the first detection unit is a plurality of detection elements arranged at a phase shifted by 90 degrees,
The fourth detector is
The first detection unit, the second detection unit, and the third detection unit are a plurality of other detection elements different from each other and arranged at a position that is 90 degrees out of phase with the second detection unit, and The encoder according to claim 3, wherein the third detection unit includes a plurality of detection elements arranged at positions shifted in phase by 180 degrees.
請求項2と請求項3と請求項5とのいずれかに記載されたエンコーダにおいて、
前記第1検出部および前記第2検出部は、同数の前記検出素子とし、
前記第3検出部および前記第4検出部は、同数の前記検出素子とすることを特徴とするエンコーダ。
In the encoder according to any one of claims 2, 3 and 5,
The first detection unit and the second detection unit are the same number of the detection elements,
The third detection unit and the fourth detection unit include the same number of detection elements.
請求項1から請求項6のいずれかに記載されたエンコーダにおいて、
前記複数の検出部は、
それぞれ同数の前記検出素子とすることを特徴とするエンコーダ。
The encoder according to any one of claims 1 to 6,
The plurality of detection units are:
An encoder characterized by having the same number of detection elements.
請求項1から請求項7に記載されたエンコーダにおいて、
複数の前記検出群は、複数の前記検出素子の総数がそれぞれ異なることを特徴とするエンコーダ。
The encoder according to any one of claims 1 to 7,
The encoder, wherein the plurality of detection groups have different total numbers of the plurality of detection elements.
請求項1から請求項8に記載されたエンコーダにおいて、
複数の前記検出群は、
測定方向に沿ったそれぞれの前記検出群の長さの基準をLとした場合に、
複数の前記検出群における前記検出群の長さLは、
それぞれ異なるとともに、1を含んで互いに公約数がなく、測定方向に沿った前記検出手段の長さ以上の公倍数とならない前記検出群の長さLの組み合わせにて配置されていることを特徴とするエンコーダ。
The encoder according to any one of claims 1 to 8,
The plurality of detection groups are:
When the reference of the length of each detection group along the measurement direction is L,
The length L of the detection group in the plurality of detection groups is
They are different from each other, have a common divisor including 1 and are arranged in a combination of the lengths L of the detection groups that do not become a common multiple of the length of the detection means along the measurement direction. Encoder.
請求項1から請求項9のいずれかに記載されたエンコーダにおいて、
前記スケールに光を照射する光源と、前記スケールを介した光を受光し信号を検出する検出手段と、を備える光学式エンコーダであることを特徴とするエンコーダ。
The encoder according to any one of claims 1 to 9,
An encoder comprising: a light source that irradiates light to the scale; and a detection unit that receives light through the scale and detects a signal.
測定方向に沿って並設される目盛を有するスケールと、前記スケールに沿って相対移動するとともに前記目盛を介した信号を測定方向に沿って並設される複数の検出素子にて検出する検出手段と、前記信号に基づき前記スケールと前記検出手段との相対移動量を算出する算出手段と、を備えるエンコーダの制御方法であって、
前記検出手段は、
複数の前記検出素子を含むとともに測定方向に沿って並設される複数の検出群を備え、
前記複数の検出群は、測定方向に沿って並設される複数の検出部を備え、
前記複数の検出部は、
所定の前記検出素子を第1検出部とし、
前記第1検出部とは異なる他の前記検出素子を第2検出部とした場合に、
前記算出手段は、
前記第1検出部と前記第2検出部とのそれぞれから信号を検出する信号検出工程と、
前記信号検出部にて検出された前記信号を用いて測定信号を算出する測定信号算出工程と、
前記測定信号算出部により算出された測定信号から前記スケールの異常を判定する異常判定信号を抽出する抽出工程と、
前記異常判定信号から前記スケールに異常があるか否かを判定する異常判定工程と、を備えることを特徴とするエンコーダの制御方法。
A scale having a scale arranged in parallel along the measurement direction, and a detecting means that detects relative to the scale along the scale and detects signals via the scale by a plurality of detection elements arranged in parallel along the measurement direction. And a calculation means for calculating a relative movement amount between the scale and the detection means based on the signal, and an encoder control method comprising:
The detection means includes
A plurality of detection groups including a plurality of the detection elements and arranged in parallel along the measurement direction,
The plurality of detection groups include a plurality of detection units arranged in parallel along the measurement direction,
The plurality of detection units are:
The predetermined detection element is a first detection unit,
When the other detection element different from the first detection unit is a second detection unit,
The calculating means includes
A signal detection step of detecting signals from each of the first detection unit and the second detection unit;
A measurement signal calculation step of calculating a measurement signal using the signal detected by the signal detection unit;
An extraction step of extracting an abnormality determination signal for determining abnormality of the scale from the measurement signal calculated by the measurement signal calculation unit;
And an abnormality determination step of determining whether or not the scale has an abnormality from the abnormality determination signal.
JP2018015709A 2018-01-31 2018-01-31 Encoder and encoder control method Active JP7066264B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018015709A JP7066264B2 (en) 2018-01-31 2018-01-31 Encoder and encoder control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018015709A JP7066264B2 (en) 2018-01-31 2018-01-31 Encoder and encoder control method

Publications (2)

Publication Number Publication Date
JP2019132730A true JP2019132730A (en) 2019-08-08
JP7066264B2 JP7066264B2 (en) 2022-05-13

Family

ID=67545973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018015709A Active JP7066264B2 (en) 2018-01-31 2018-01-31 Encoder and encoder control method

Country Status (1)

Country Link
JP (1) JP7066264B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5302944A (en) * 1991-07-22 1994-04-12 Curtis Stephen J Method and apparatus for the monitoring of the operation of linear and rotary encoders
JP2000065604A (en) * 1998-08-26 2000-03-03 Omron Corp Encoder
JP2011247879A (en) * 2010-04-28 2011-12-08 Mitsutoyo Corp Optical encoder
JP2017003430A (en) * 2015-06-10 2017-01-05 ファナック株式会社 Rotational angle detector capable of detecting entry of foreign matter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5302944A (en) * 1991-07-22 1994-04-12 Curtis Stephen J Method and apparatus for the monitoring of the operation of linear and rotary encoders
JP2000065604A (en) * 1998-08-26 2000-03-03 Omron Corp Encoder
JP2011247879A (en) * 2010-04-28 2011-12-08 Mitsutoyo Corp Optical encoder
JP2017003430A (en) * 2015-06-10 2017-01-05 ファナック株式会社 Rotational angle detector capable of detecting entry of foreign matter

Also Published As

Publication number Publication date
JP7066264B2 (en) 2022-05-13

Similar Documents

Publication Publication Date Title
JP5887064B2 (en) Optical encoder
EP2385354B1 (en) Optical encoder having contamination and defect resistant signal processing
JP5641746B2 (en) Photoelectric encoder
JP5616741B2 (en) Encoder
EP1980824A1 (en) Absolute position length-measurement type encoder
JP5112989B2 (en) Photoelectric encoder
CN105806372A (en) Encoder
US10768026B2 (en) Optical element
CN1979096B (en) Optical-electricity encoder
EP2369304B1 (en) Photoelectric encoder
US8493569B2 (en) Optical encoder readhead configuration with phosphor layer
JP2008292483A (en) Scale for encoder, and encoder
JP2013113634A (en) Linear encoder
US7690567B2 (en) Scanning unit for scanning a measuring standard
JP2006071535A (en) Displacement detector
JP2019132730A (en) Encoder and control method for encoder
CN103090799A (en) Displacement Detecting Device, Displacement Detecting Method, And Computer-readable Medium
US7552873B2 (en) Transmissive optical encoder
CN108362317A (en) Position-measurement device
JP2016050886A (en) Optical linear encoder
JP6196539B2 (en) Optical encoder
WO2014132631A1 (en) Absolute encoder
Zhou et al. Two-dimensional Moiré fringe linear grating ruler with spatial multiplexing
JP2014098666A (en) Incremental encoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220329

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220413

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220426

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220426

R150 Certificate of patent or registration of utility model

Ref document number: 7066264

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150