JP4425112B2 - Encoder - Google Patents

Encoder Download PDF

Info

Publication number
JP4425112B2
JP4425112B2 JP2004316209A JP2004316209A JP4425112B2 JP 4425112 B2 JP4425112 B2 JP 4425112B2 JP 2004316209 A JP2004316209 A JP 2004316209A JP 2004316209 A JP2004316209 A JP 2004316209A JP 4425112 B2 JP4425112 B2 JP 4425112B2
Authority
JP
Japan
Prior art keywords
light
operation direction
optical
scale plate
encoder
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.)
Active
Application number
JP2004316209A
Other languages
Japanese (ja)
Other versions
JP2006126060A (en
Inventor
克宜 松井
晴義 豊田
直久 向坂
行信 杉山
誠一郎 水野
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.)
Hamamatsu Photonics KK
Original Assignee
Hamamatsu Photonics KK
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 Hamamatsu Photonics KK filed Critical Hamamatsu Photonics KK
Priority to JP2004316209A priority Critical patent/JP4425112B2/en
Priority to PCT/JP2005/018301 priority patent/WO2006038591A1/en
Priority to US11/664,497 priority patent/US7781726B2/en
Priority to EP05788325.8A priority patent/EP1816441B1/en
Publication of JP2006126060A publication Critical patent/JP2006126060A/en
Application granted granted Critical
Publication of JP4425112B2 publication Critical patent/JP4425112B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、光学式のエンコーダに関するものである。   The present invention relates to an optical encoder.

従来における光学式のエンコーダとして、次のようなものが特許文献1に記載されている。すなわち、異なる種類の回折格子からなる格子窓が所定の距離置きに複数形成された光学スケールに対して光を照射し、格子窓によって回折された回折光のパターンを2次元イメージセンサで撮像する。そして、撮像された回折光のパターンに基づいて格子窓を特定すると共に、画像中における回折光のパターンの位置に基づいて光学スケールの動作方向における格子窓の位置を特定し、光学スケールの動作距離を検出する。
特公平8−10145号公報
As a conventional optical encoder, Patent Document 1 describes the following. That is, light is irradiated onto an optical scale in which a plurality of grating windows made of different types of diffraction gratings are formed at predetermined distances, and a pattern of diffracted light diffracted by the grating windows is imaged by a two-dimensional image sensor. Then, the grating window is specified based on the imaged pattern of diffracted light, and the position of the grating window in the operating direction of the optical scale is specified based on the position of the diffracted light pattern in the image. Is detected.
Japanese Patent Publication No.8-10145

しかしながら、上述したようなエンコーダにあっては、光学スケールの動作距離検出の分解能は高いものの、2次元イメージセンサを用いているためフレームメモリが必要となるなど、装置が複雑化してしまうという問題がある。   However, in the encoder as described above, although the resolution of the optical scale operating distance detection is high, the use of a two-dimensional image sensor requires a frame memory. is there.

そこで、本発明は、このような事情に鑑みてなされたものであり、スケール板の動作角度や動作距離等の絶対値を簡単な構成で精度良く検出することができるエンコーダを提供することを目的とする。   Therefore, the present invention has been made in view of such circumstances, and an object of the present invention is to provide an encoder that can accurately detect an absolute value such as an operating angle or an operating distance of a scale plate with a simple configuration. And

上記目的を達成するために、本発明に係るエンコーダは、所定の動作方向に可動するスケール板と、スケール板において動作方向に沿ったライン上に複数形成され、動作方向に垂直な方向に光伝播部及び光非伝播部が1次元配列されて構成された光中継部と、光中継部に向けて光を投光する光源装置と、光源装置により投光された光を光中継部を介して受光するように配置され、動作方向、及び動作方向に垂直な方向に複数の画素が2次元配列されて構成された受光領域を有して、動作方向、及び動作方向に垂直な方向のそれぞれについて入射光強度の1次元分布を示す光強度プロファイルデータを出力する光検出装置とを備え、光中継部のそれぞれは、光伝播部及び光非伝播部の1次元配列のパターンが互いに異なっており、隣り合う光中継部間では、光伝播部及び光非伝播部の1次元配列のパターンが1箇所異なっていることを特徴とする。   In order to achieve the above object, an encoder according to the present invention includes a scale plate movable in a predetermined operation direction, and a plurality of scale plates formed on a line along the operation direction in the scale plate, and transmits light in a direction perpendicular to the operation direction. And a light non-propagating unit arranged one-dimensionally, an optical repeater configured to project light toward the optical repeater, and light projected by the light source device via the optical repeater It has a light receiving area that is arranged to receive light and is configured by two-dimensionally arranging a plurality of pixels in an operation direction and a direction perpendicular to the operation direction, and each of the operation direction and the direction perpendicular to the operation direction And a light detection device that outputs light intensity profile data indicating a one-dimensional distribution of incident light intensity, and each of the optical repeaters has a different pattern of the one-dimensional arrangement of the light propagation part and the light non-propagation part, Adjacent light The interval between sets, characterized in that the pattern of the one-dimensional array of light propagation portion and a light non-transmissible portion is different locations 1.

このエンコーダにおいては、スケール板において動作方向に沿ったライン上に複数形成された光中継部のそれぞれは、光伝播部及び光非伝播部の1次元配列のパターンが互いに異なっている。これにより、その1次元配列のパターンをコードとして、例えば、スケール板の動作角度や動作距離等の絶対値(動作絶対値)の情報を各光中継部に付与すれば、動作方向に垂直な方向についての光強度プロファイルデータに基づいて、光源装置により投光された光を光検出装置に対して中継した光中継部を識別し、識別された光中継部から基本となる動作絶対値を求めることができる。更に、動作方向についての光強度プロファイルデータに基づいて、受光領域中の基準位置に対する識別された光中継部の位置を算出し、算出された位置から基本となる動作絶対値を補正して、より詳細な動作絶対値を求めることができる。このように、動作方向、及び動作方向に垂直な方向のそれぞれについて入射光強度の1次元分布を示す光強度プロファイルデータを出力する光検出装置を用いることによって、スケール板の動作角度や動作距離等の絶対値を簡単な構成で精度良く検出することが可能になる。なお、光源装置により投光された光を光検出装置に対して中継した光中継部が同時に複数存在する場合でも、隣り合う光中継部間では、光伝播部及び光非伝播部の1次元配列のパターンが1箇所異なっていることから、動作方向に垂直な方向についての光強度プロファイルデータに基づくその複数の光中継部の識別が妨げられることはない。   In this encoder, each of the plurality of optical repeaters formed on the line along the operation direction on the scale plate has a different one-dimensional array pattern of the light propagation part and the light non-propagation part. Accordingly, if the information of absolute values (operation absolute values) such as the operation angle and the operation distance of the scale plate is given to each optical repeater using the one-dimensional array pattern as a code, for example, the direction perpendicular to the operation direction Based on the light intensity profile data for, the light relay unit that relays the light projected by the light source device to the light detection device is identified, and the basic operation absolute value is obtained from the identified light relay unit Can do. Furthermore, based on the light intensity profile data for the operation direction, the position of the identified optical repeater relative to the reference position in the light receiving area is calculated, the basic operation absolute value is corrected from the calculated position, and more Detailed operation absolute values can be obtained. As described above, by using the light detection device that outputs the light intensity profile data indicating the one-dimensional distribution of the incident light intensity in each of the operation direction and the direction perpendicular to the operation direction, the operation angle and the operation distance of the scale plate, etc. The absolute value of can be detected with a simple configuration with high accuracy. In addition, even when there are a plurality of optical repeaters that simultaneously relay the light projected by the light source device to the light detection device, a one-dimensional array of light propagation portions and light non-propagation portions is provided between adjacent light repeaters. Therefore, the identification of the plurality of optical repeaters based on the light intensity profile data in the direction perpendicular to the operation direction is not hindered.

また、動作方向に垂直な方向についての光強度プロファイルデータに基づいて、光源装置により投光された光を光検出装置に対して中継した光中継部を識別した後、動作方向についての光強度プロファイルデータに基づいて、受光領域中の基準位置に対する光中継部の位置を算出し、光中継部の位置からスケール板の動作絶対値を求める処理部を備えることが好ましい。このような処理部を備えることにより、上述したようにして、スケール板の動作角度や動作距離等の絶対値を容易に検出することが可能になる。   In addition, based on the light intensity profile data in the direction perpendicular to the operation direction, after identifying the light relay unit that relays the light projected by the light source device to the light detection device, the light intensity profile in the operation direction It is preferable to include a processing unit that calculates the position of the optical repeater relative to the reference position in the light receiving area based on the data, and obtains the operation absolute value of the scale plate from the position of the optical repeater. By providing such a processing unit, as described above, it is possible to easily detect absolute values such as the operating angle and operating distance of the scale plate.

また、光検出装置は、光源装置により投光された光を1個又は2個の光中継部を介して受光するように配置されていることが好ましい。これにより、スケール板の動作角度や動作距離等の絶対値を検出するに際し、その処理を単純化することができる。   Moreover, it is preferable that the light detection device is disposed so as to receive the light projected by the light source device via one or two light repeaters. Thereby, when detecting absolute values such as the operating angle and the operating distance of the scale plate, the processing can be simplified.

本発明に係るエンコーダによれば、スケール板の動作角度や動作距離等の絶対値を簡単な構成で精度良く検出することができる。   According to the encoder of the present invention, absolute values such as the operating angle and operating distance of the scale plate can be accurately detected with a simple configuration.

以下、本発明に係るエンコーダの好適な実施形態について、図面を参照して詳細に説明する。なお、各図において同一又は相当部分には同一の符号を付し、重複する説明を省略する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of an encoder according to the invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and redundant description is omitted.

図1に示されるように、エンコーダ1は、いわゆるアブソリュート型のロータリエンコーダであり、測定対象物(図示せず)に連結される回転軸2を備えている。この回転軸2には、円板状のスケール板3が固定されており、このスケール板3は、回転軸2の回転に伴って回転する。この回転方向をスケール板3の動作方向αとする。図2に示されるように、スケール板3において動作方向αに沿ったラインL1上には、回転軸2を中心として等角度置きに光中継部4が複数形成されている。   As shown in FIG. 1, the encoder 1 is a so-called absolute rotary encoder, and includes a rotating shaft 2 connected to a measurement object (not shown). A disc-shaped scale plate 3 is fixed to the rotary shaft 2, and the scale plate 3 rotates as the rotary shaft 2 rotates. This rotation direction is defined as an operation direction α of the scale plate 3. As shown in FIG. 2, a plurality of light repeaters 4 are formed on the scale plate 3 on the line L <b> 1 along the operation direction α at equal angles around the rotation axis 2.

光中継部4は、図3に示されるように、光透過孔として形成された光透過部(光伝播部)5及び光遮断部(光非伝播部)6が動作方向αに垂直な方向に1次元配列されて構成されている。光透過部5は、光を透過させることによって光を伝播し、光遮断部6は、光を反射又は吸収することによって光を伝播しない。そして、光中継部4のそれぞれは、光透過部5及び光遮断部6の1次元配列のパターンが互いに異なっており、隣り合う光中継部4,4間では、光透過部5及び光遮断部6の1次元配列のパターンが1箇所異なっている。   As shown in FIG. 3, the optical repeater 4 includes a light transmission part (light propagation part) 5 and a light blocking part (light non-propagation part) 6 formed as light transmission holes in a direction perpendicular to the operation direction α. A one-dimensional array is used. The light transmitting unit 5 propagates light by transmitting light, and the light blocking unit 6 does not propagate light by reflecting or absorbing light. Each of the optical repeaters 4 has a different one-dimensional pattern of the light transmitting portion 5 and the light blocking portion 6, and the light transmitting portion 5 and the light blocking portion between the adjacent light repeating portions 4 and 4. The one-dimensional array pattern 6 is different in one place.

ここでは、回転軸2を中心として等角度置きに8個の光中継部4がラインL1上に配置されているものとする。このとき、光中継部4のそれぞれについて光透過部5及び光遮断部6の1次元配列のパターンを互いに異ならせるためには、3ビットのコードを利用すればよく、隣り合う光中継部4,4間について光透過部5及び光遮断部6の1次元配列のパターンを1箇所異ならせるためには、いわゆるグレイコードを利用すればよい。つまり、光透過部5を「1」、光遮断部6を「0」として光中継部4をコードで表すと、図3において右から順に「000」,「001」,「011」,「010」,「110」,「111」,「101」,「100」となる。   Here, it is assumed that eight optical repeaters 4 are arranged on the line L1 at equal angles around the rotation axis 2. At this time, in order to make the patterns of the one-dimensional array of the light transmitting unit 5 and the light blocking unit 6 different from each other for each of the optical repeating units 4, a 3-bit code may be used. In order to make the pattern of the one-dimensional array of the light transmitting portion 5 and the light blocking portion 6 different between the four positions, a so-called gray code may be used. That is, when the light transmission unit 5 is “1”, the light blocking unit 6 is “0”, and the optical repeater unit 4 is represented by a code, “000”, “001”, “011”, “010” are sequentially shown from the right in FIG. ”,“ 110 ”,“ 111 ”,“ 101 ”,“ 100 ”.

更に、スケール板3において、動作方向αに垂直な方向に沿って光中継部4を通るラインL2上で、且つ動作方向αに沿ったラインL3上には、光中継部4との間に1個の光遮断部6を挟んで基準光透過部(基準光伝播部)7が光透過孔として形成されている。   Further, on the scale plate 3, a line 1 between the optical repeater 4 and the line L <b> 2 passing through the optical repeater 4 along the direction perpendicular to the operation direction α and the line L <b> 3 along the operation direction α is 1 to the scale plate 3. A reference light transmission part (reference light propagation part) 7 is formed as a light transmission hole across the light blocking parts 6.

また、図1に示されるように、エンコーダ1は、ラインL1上に配置された光中継部4に向けて平行光を投光するLED等からなる光源装置8と、スケール板3を挟んで光源装置8と対向するように配置されたプロファイルセンサ(光検出装置)9とを備えている。プロファイルセンサ9は、光源装置8により投光された光のうち光中継部4の光透過部5を透過した光を受光して(換言すれば、光源装置8により投光された光を光中継部4を介して受光して)、光強度プロファイルデータを処理部11に出力する。   As shown in FIG. 1, the encoder 1 includes a light source device 8 composed of an LED or the like that projects parallel light toward the optical repeater 4 disposed on the line L <b> 1, and a scale plate 3. A profile sensor (light detection device) 9 is provided so as to face the device 8. The profile sensor 9 receives light transmitted through the light transmission unit 5 of the optical relay unit 4 among the light projected by the light source device 8 (in other words, optically relays the light projected by the light source device 8). The light intensity profile data is output to the processing unit 11 by receiving light via the unit 4.

ここで、プロファイルセンサ9の構成について説明する。図4に示されるように、プロファイルセンサ9は、受光領域100、第1信号処理部110及び第2信号処理部120を有している。受光領域100は、動作方向α(ラインL1の接線方向)、及び動作方向αに垂直な方向に2次元配列されたM×N個の画素により構成されており、第m行第n列の位置にある画素には2つのフォトダイオードPDX,m,n及びPDY,m,nが形成されている。なお、M,Nのそれぞれは2以上の整数であり、mは1以上M以下の任意の整数、nは1以上N以下の任意の整数である。各フォトダイオードPDX,m,n,PDY,m,nのアノード端子は接地されている。第n列にあるM個のフォトダイオードPDX,1,n〜PDX,M,nのカソード端子は、共通の配線LX,nにより第1信号処理部110と接続されている。第m行にあるN個のフォトダイオードPDY,m,1〜PDY,m,Nのカソード端子は、共通の配線LY,mにより第2信号処理部120と接続されている。 Here, the configuration of the profile sensor 9 will be described. As shown in FIG. 4, the profile sensor 9 includes a light receiving region 100, a first signal processing unit 110, and a second signal processing unit 120. The light receiving region 100 is configured by M × N pixels two-dimensionally arranged in the operation direction α (tangential direction of the line L1) and in a direction perpendicular to the operation direction α, and the position of the m-th row and the n-th column. Two photodiodes PD X, m, n and PD Y, m, n are formed in the pixel in FIG. Each of M and N is an integer of 2 or more, m is an arbitrary integer of 1 to M, and n is an arbitrary integer of 1 to N. The anode terminals of the photodiodes PD X, m, n and PD Y, m, n are grounded. The cathode terminals of the M photodiodes PD X, 1, n to PD X, M, n in the n-th column are connected to the first signal processing unit 110 by a common wiring L X, n . The cathode terminal of the m in the row N photodiodes PD Y, m, 1 -PD Y, m, N are connected common line L Y, and the second signal processing unit 120 by m.

第1信号処理部110は、図5に示されるように、シフトレジスタ111、積分回路112及びN個のスイッチSW〜SWを有している。各スイッチSWの一端は配線LX,nに接続されており、各スイッチSWの他端は共通の配線を介して積分回路112の入力端に接続されている。また、各スイッチSWは、シフトレジスタ111から出力される制御信号に基づいて順次に閉じる。積分回路112は、アンプA、容量素子C及びスイッチSWを有している。容量素子C及びスイッチSWは、互いに並列的に接続されて、アンプAの入力端子と出力端子との間に設けられている。スイッチSWが閉じると、容量素子Cが放電されて、積分回路112から出力される電圧値が初期化される。スイッチSWが開いて、スイッチSWが閉じると、配線LX,nに接続されている第n列のM個のフォトダイオードPDX,1,n〜PDX,M,nそれぞれの光入射に応じて発生した電荷の総和が積分回路112に入力し、その電荷が容量素子Cに蓄積されて、この蓄積電荷量に応じた電圧値V(n)が積分回路112から出力される。第2信号処理部120も、第1信号処理部110と同様の構成を有し、同様の動作をする。 As illustrated in FIG. 5, the first signal processing unit 110 includes a shift register 111, an integration circuit 112, and N switches SW 1 to SW N. One end of each switch SW n is connected to the wiring L X, n , and the other end of each switch SW n is connected to the input end of the integrating circuit 112 via a common wiring. Each switch SW n is sequentially closed based on a control signal output from the shift register 111. The integrating circuit 112 includes an amplifier A, a capacitive element C, and a switch SW. The capacitive element C and the switch SW are connected in parallel to each other and are provided between the input terminal and the output terminal of the amplifier A. When the switch SW is closed, the capacitive element C is discharged, and the voltage value output from the integrating circuit 112 is initialized. Switch SW is opened, the switch SW n is closed, the wiring L X, M-number of photodiodes of the n columns being connected to n PD X, 1, n ~PD X, M, n on each of the light incident The sum total of the generated charges is input to the integration circuit 112, the charge is stored in the capacitive element C, and the voltage value V X (n) corresponding to the stored charge amount is output from the integration circuit 112. The second signal processing unit 120 also has the same configuration as the first signal processing unit 110 and performs the same operation.

以上のように構成されたプロファイルセンサ9は、受光領域100における動作方向α(ラインL1の接線方向)について入射光強度の1次元分布を示す第1光強度プロファイルデータV(n)を第1信号処理部110から出力すると共に、動作方向αに垂直な方向について入射光強度の1次元分布を示す第2光強度プロファイルデータV(m)を第2信号処理部120から出力することができる。処理部11には、これら第1光強度プロファイルデータV(n)及び第2光強度プロファイルデータV(m)が入力される。 The profile sensor 9 configured as described above receives first light intensity profile data V X (n) indicating a one-dimensional distribution of incident light intensity with respect to the operation direction α (the tangential direction of the line L1) in the light receiving region 100 as the first. The second light intensity profile data V Y (m) indicating the one-dimensional distribution of the incident light intensity in the direction perpendicular to the operation direction α can be output from the second signal processor 120 while being output from the signal processor 110. . The first light intensity profile data V X (n) and the second light intensity profile data V Y (m) are input to the processing unit 11.

なお、プロファイルセンサ9は、光源装置8により投光された光を1個又は2個の光中継部4を介して受光するように配置されている。つまり、図6に示されるように、受光領域100の動作方向αに沿った幅をWとし、隣り合う光中継部4,4の動作方向αに沿った距離をDとすると、W/2<D<Wの関係式を満たす。これにより、受光領域100上には、1個又は2個の光中継部4が常に位置することになる。   The profile sensor 9 is disposed so as to receive the light projected by the light source device 8 via one or two light repeaters 4. That is, as shown in FIG. 6, if the width along the operation direction α of the light receiving region 100 is W and the distance along the operation direction α of the adjacent optical repeaters 4 and 4 is D, W / 2 < The relational expression D <W is satisfied. As a result, one or two optical repeaters 4 are always located on the light receiving region 100.

次に、処理部11における処理手順について、図6を参照して説明する。   Next, a processing procedure in the processing unit 11 will be described with reference to FIG.

まず、動作方向αについての第1光強度プロファイルデータV(n)に基づいて所定の閾値th1を超えた領域の数が算出され、受光領域100上に位置する光中継部4の数が判断される。 First, the number of areas exceeding a predetermined threshold th1 is calculated based on the first light intensity profile data V X (n) for the operating direction α, and the number of optical repeaters 4 located on the light receiving area 100 is determined. Is done.

続いて、動作方向αに垂直な方向についての第2光強度プロファイルデータV(m)に基づいて基準光透過部7の重心位置が算出され、その重心位置が基準位置yとされる。なお、基準光透過部7の重心位置の算出に際しては、光中継部4との間に1個の光遮断部6を挟んで基準光透過部7が形成されているため、第2光強度プロファイルデータV(m)に基づいて基準光透過部7の重心位置を正確に算出することができる。 Subsequently, the center of gravity position of the reference light transmitting unit 7 is calculated based on the second light intensity profile data V Y (m) in the direction perpendicular to the operation direction α, and the center of gravity position is set as the reference position y 0 . When calculating the position of the center of gravity of the reference light transmitting portion 7, the second light intensity profile is formed because the reference light transmitting portion 7 is formed with one light blocking portion 6 interposed between the light repeating portion 4. Based on the data V Y (m), the position of the center of gravity of the reference light transmitting portion 7 can be accurately calculated.

そして、基準位置yを基準として、光中継部4において重心間距離p置きに現れる光透過部5又は光遮断部6のコードが以下の演算によりjビット(j=1,2,3)読み取られる。
(1)受光領域100上に位置する光中継部4の数が1個の場合
code(j)=f(V(y))=f(V(y+(j+1)×p))
if (V(y)>th2) then f(V(y))=1;
else f(V(y))=0;
(2)受光領域100上に位置する光中継部4の数が2個の場合
code(j)=f(V(y))=f(V(y+(j+1)×p))
if (V(y)>th3) then f(V(y))=2;
if (V(y)>th2) and (V(y)<th3) then f(V(y))=1;
if (V(y)<th2) then f(V(y))=0;
ここで、f(V(y))は閾値関数である。また、th2,th3は、光源装置8、プロファイルセンサ9の受光感度等から予め決定される閾値であり、閾値th2は、動作方向αに沿って光透過部5が1個存在する場合の明るさの判断基準として定められ、閾値th3は、動作方向αに沿って光透過部5が2個存在する場合の明るさの判断基準として定められる。
Then, with reference to the reference position y 0 , the code of the light transmitting part 5 or the light blocking part 6 appearing at every other center-of-gravity distance p 1 in the optical repeater 4 is j bits (j = 1, 2, 3) Read.
(1) When the number of the optical repeaters 4 located on the light receiving area 100 is one
code (j) = f (V Y (y j )) = f (V Y (y 0 + (j + 1) × p 1 ))
if (V Y (y j )> th2) then f (V Y (y j )) = 1;
else f (V Y (y j )) = 0;
(2) When the number of optical repeaters 4 located on the light receiving area 100 is two
code (j) = f (V Y (y j )) = f (V Y (y 0 + (j + 1) × p 1 ))
if (V Y (y j) > th3) then f (V Y (y j)) = 2;
if (V Y (y j )> th2) and (V Y (y j ) <th3) then f (V Y (y j )) = 1;
if (V Y (y j ) <th2) then f (V Y (y j )) = 0;
Here, f (V Y (y j )) is a threshold function. Further, th2 and th3 are thresholds determined in advance from the light receiving sensitivity of the light source device 8 and the profile sensor 9, and the threshold th2 is the brightness when one light transmission part 5 exists along the operation direction α. The threshold th3 is determined as a criterion for determining brightness when there are two light transmission parts 5 along the operation direction α.

以上の演算により、例えば、図6に示される場合に得られる出力値は「120」となる。このように、隣り合う光中継部4,4の出力値が「120」となるのは、エンコーダ1において1組しかない。つまり、受光領域100上に位置する光中継部4のコードは「010」及び「110」である。そして、光中継部4のコードの配列(図3において右から順に「000」,「001」,「011」,…,「100」)を処理部11が記憶しているため、図6において右側の光中継部4のコードが「010」、左側の光中継部4のコードが「110」と一意に識別される。   With the above calculation, for example, the output value obtained in the case shown in FIG. 6 is “120”. Thus, only one set in the encoder 1 has the output value of the adjacent optical repeaters 4 and 4 being “120”. That is, the codes of the optical repeater 4 located on the light receiving area 100 are “010” and “110”. Since the processing unit 11 stores the code arrangement (“000”, “001”, “011”,..., “100” in order from the right in FIG. 3) of the optical repeater 4, the right side in FIG. The code of the optical repeater 4 is uniquely identified as “010”, and the code of the left optical repeater 4 is uniquely identified as “110”.

続いて、スケール板3の動作角度の算出が以下のように行われる。初めに、動作方向αについての第1光強度プロファイルデータV(n)に基づいて、閾値th1を超えた領域の重心位置posが次の演算により算出される。なお、動作方向αにおける受光領域100の中心位置を重心位置posの原点(基準位置)とする。
pos=1次モーメント/0次モーメント
1次モーメント=Σ(V(n)×n) (V(n)>th1の連続する領域に対して)
0次モーメント=Σ(V(n)) (V(n)>th1の連続する領域に対して)
Subsequently, the operation angle of the scale plate 3 is calculated as follows. First, based on the first light intensity profile data V X (n) for the movement direction α, the center-of-gravity position pos of the region exceeding the threshold th1 is calculated by the following calculation. The center position of the light receiving region 100 in the operation direction α is set as the origin (reference position) of the center of gravity position pos.
pos = first moment / 0-order moment first moment = Σ (V X (n) × n) (V X (n)> for successive regions of th1)
0th-order moment = Σ (V X (n)) (for a continuous region where V X (n)> th1)

そして、この演算により算出された重心位置posから、スケール板3の動作角度θが次の演算により算出される。なお、動作方向αにおける受光領域100の中心位置にコード「000」の光中継部4の重心位置が一致した状態を0度とする。
θ=(コード順+pos/p)×(360/コード数)
ここで、pは、隣り合う光中継部4,4の重心間距離である。また、コード順は、図3において右から順に「000」が「0」、「001」が「1」、「011」が「2」、…、「100」が「7」である。
Then, from the center of gravity position pos calculated by this calculation, the operating angle θ of the scale plate 3 is calculated by the following calculation. A state where the center of gravity of the optical repeater 4 with the code “000” coincides with the center position of the light receiving region 100 in the operation direction α is defined as 0 degree.
theta = (code order + pos / p 2) × ( 360 / number of codes)
Here, p 2 is the distance between the centers of gravity of adjacent optical repeater unit 4,4. Further, in the code order, “000” is “0”, “001” is “1”, “011” is “2”,..., “100” is “7” in order from the right in FIG.

具体例として、図6に示される場合において、コード「010」の光中継部4の重心位置がpos=+150(画素)、コード「110」の光中継部4の重心位置がpos=−250(画素)、隣り合う光中継部4,4の重心間距離がp=400(画素)であるとき、コード「010」の光中継部4の重心位置posに基づけば、スケール板3の動作角度θは次のようになる。
θ=(3+150/400)×(360/8)=152度
As a specific example, in the case shown in FIG. 6, the barycentric position of the optical repeater 4 with the code “010” is pos = + 150 (pixels), and the barycentric position of the optical repeater 4 with the code “110” is pos = −250 ( Pixel), when the distance between the centroids of the adjacent optical repeaters 4 and 4 is p 2 = 400 (pixel), based on the centroid position pos of the optical repeater 4 of the code “010”, the operating angle of the scale plate 3 θ is as follows.
θ = (3 + 150/400) × (360/8) = 152 degrees

一方、コード「110」の光中継部4の重心位置posに基づけば、スケール板3の動作角度θは次のようになる。
θ=(4+(−250)/400)×(360/8)=152度
On the other hand, based on the barycentric position pos of the optical repeater 4 of the code “110”, the operating angle θ of the scale plate 3 is as follows.
θ = (4 + (− 250) / 400) × (360/8) = 152 degrees

このように、受光領域100上に2個の光中継部4が位置する場合には、どちらの光中継部4の重心位置posに基づいてもスケール板3の動作角度θを算出することができる。   As described above, when the two optical repeaters 4 are located on the light receiving region 100, the operating angle θ of the scale plate 3 can be calculated based on the center of gravity position pos of any of the optical repeaters 4. .

以上説明したように、エンコーダ1においては、スケール板3において動作方向αに沿ったラインL1上に複数形成された光中継部4のそれぞれは、光透過部5及び光遮断部6の1次元配列のパターンが互いに異なっている。これにより、その1次元配列のパターンをコードとして、動作方向αに垂直な方向についての第2光強度プロファイルデータV(m)に基づき、受光領域100上に位置する光中継部4を処理部11で識別することができる。更に、動作方向αについての第1光強度プロファイルデータV(n)に基づき、受光領域100中の基準位置に対する識別された光中継部4の重心位置を算出し、その重心位置からスケール板3の詳細な動作角度を算出することができる。このように、プロファイルセンサ9を用いることで、2次元イメージセンサを用いる際に必要となるフレームメモリ等が不要となり、スケール板3の動作角度を簡単な構成で精度良く検出することが可能になる。しかも、プロファイルセンサ9を用いることで、同じ画素数であれば、2次元イメージセンサを用いた場合に比べ処理時間を大幅に短縮化することが可能になる。 As described above, in the encoder 1, each of the plurality of optical repeaters 4 formed on the line L <b> 1 along the operation direction α in the scale plate 3 is a one-dimensional array of the light transmitting unit 5 and the light blocking unit 6. The patterns are different from each other. Thus, the optical repeater 4 located on the light receiving region 100 is processed based on the second light intensity profile data V Y (m) in the direction perpendicular to the operation direction α using the one-dimensional array pattern as a code. 11 for identification. Further, based on the first light intensity profile data V X (n) for the operation direction α, the center position of the identified optical repeater 4 with respect to the reference position in the light receiving region 100 is calculated, and the scale plate 3 is calculated from the center position. The detailed operation angle can be calculated. As described above, by using the profile sensor 9, a frame memory or the like required when using the two-dimensional image sensor is not required, and the operating angle of the scale plate 3 can be accurately detected with a simple configuration. . In addition, by using the profile sensor 9, if the number of pixels is the same, the processing time can be significantly shortened compared to the case of using a two-dimensional image sensor.

なお、図6に示されるように、受光領域100上に2個の光中継部4が同時に位置する場合でも、隣り合う光中継部4,4間では、光透過部5及び光遮断部6の1次元配列のパターンが1箇所異なっていることから、動作方向αに垂直な方向についての第2光強度プロファイルデータV(m)に基づくその2個の光中継部4の識別が妨げられることはない。 As shown in FIG. 6, even when two optical repeaters 4 are simultaneously located on the light receiving region 100, between the adjacent optical repeaters 4 and 4, the light transmitting portion 5 and the light blocking portion 6 are not connected. Since the one-dimensional array pattern is different at one place, the identification of the two optical repeaters 4 based on the second light intensity profile data V Y (m) in the direction perpendicular to the operation direction α is hindered. There is no.

また、エンコーダ1においては、光源装置8により投光された光を1個又は2個の光中継部4を介して受光するようにプロファイルセンサ9が配置されている。これにより、スケール板3の動作角度を算出するに際し、その処理を単純化することができる。   In the encoder 1, a profile sensor 9 is disposed so as to receive the light projected by the light source device 8 via one or two light repeaters 4. Thereby, when calculating the operating angle of the scale plate 3, the process can be simplified.

本発明は、上述した実施形態に限定されるものではない。   The present invention is not limited to the embodiment described above.

例えば、上記実施形態に係るエンコーダ1は、スケール板3が回転動作を行い、その回転方向をスケール板3の動作方向αとして光中継部4がスケール板3に複数形成されて構成されたロータリエンコーダであったが、本発明に係るエンコーダは、スケール板が直線動作を行い、その直線方向をスケール板の動作方向として光中継部がスケール板に複数形成されて構成されたリニアエンコーダであってもよい。   For example, the encoder 1 according to the embodiment described above is a rotary encoder in which the scale plate 3 rotates and the rotation direction is the operation direction α of the scale plate 3 and a plurality of optical repeaters 4 are formed on the scale plate 3. However, the encoder according to the present invention may be a linear encoder in which the scale plate performs a linear operation, and a plurality of optical repeaters are formed on the scale plate with the linear direction as the operation direction of the scale plate. Good.

また、上記実施形態に係るエンコーダ1は、光源装置8により投光された光のうち光中継部4の光透過部5を透過した光を受光するようにプロファイルセンサ9が配置されて構成された透過型のエンコーダであったが、本発明に係るエンコーダは、光源装置により投光された光のうち光中継部の光伝播部により回折又は散乱等された光を受光するようにプロファイルセンサが配置されて構成された反射型のエンコーダであってもよい。すなわち、本発明に係るエンコーダは、光源装置により投光された光を光中継部を介して受光するようにプロファイルセンサが配置されて構成されたものであればよい。   In addition, the encoder 1 according to the above-described embodiment is configured by the profile sensor 9 being arranged so as to receive light transmitted through the light transmission unit 5 of the optical relay unit 4 among the light projected by the light source device 8. Although the encoder according to the present invention is a transmission type encoder, the profile sensor is arranged so as to receive light diffracted or scattered by the light propagation unit of the optical relay unit among the light projected by the light source device. A reflection type encoder configured as described above may be used. In other words, the encoder according to the present invention only needs to be configured so that the profile sensor is arranged so as to receive the light projected by the light source device via the optical repeater.

また、受光領域100上に位置する光中継部4の数が2個の場合には、その2個の光中継部4の識別を次のように行うこともできる。まず、上記実施形態と同様に、動作方向αに垂直な方向についての第2光強度プロファイルデータV(m)に基づいて2個の光中継部4のコードの出力値を得る。続いて、動作方向αについての第1光強度プロファイルデータV(n)に対して複数の閾値(th1×1,th1×2,th1×3,th1×4)を設定し、その複数の閾値で閾値処理を行うことで、各光中継部4が有する光透過部5及び基準光透過部7の数を判断する。このように、受光領域100上に同時に位置する2個の光中継部4について、その2個の光中継部4のコードの出力値、並びに各光中継部4が有する光透過部5及び基準光透過部7の数が分かれば、その2個の光中継部4を識別することができる。 In addition, when the number of the optical repeaters 4 located on the light receiving region 100 is two, the two optical repeaters 4 can be identified as follows. First, as in the above embodiment, the code output values of the two optical repeaters 4 are obtained based on the second light intensity profile data V Y (m) in the direction perpendicular to the operation direction α. Subsequently, a plurality of threshold values (th1 × 1, th1 × 2, th1 × 3, th1 × 4) are set for the first light intensity profile data V X (n) for the operation direction α, and the plurality of threshold values are set. By performing the threshold processing in step S4, the numbers of the light transmission units 5 and the reference light transmission units 7 included in each optical relay unit 4 are determined. As described above, with respect to the two optical repeaters 4 simultaneously located on the light receiving region 100, the output values of the codes of the two optical repeaters 4, and the light transmitting portions 5 and the reference light that each optical repeater 4 has. If the number of transmission parts 7 is known, the two optical repeaters 4 can be identified.

具体例として、図6に示される場合、第2光強度プロファイルデータV(m)に基づく2個の光中継部4のコードの出力値は「120」となる。そして、図6において右側の光中継部4が有する光透過部5及び基準光透過部7の数は2個、左側の光中継部4が有する光透過部5及び基準光透過部7の数は3個となる。このように、隣り合う光中継部4,4の出力値が「120」となり、且つ右側の光中継部4が有する光透過部5及び基準光透過部7の数が2個、左側の光中継部4が有する光透過部5及び基準光透過部7の数が3個となるのは、エンコーダ1において1組しかない。従って、図6において右側の光中継部4のコードが「010」、左側の光中継部4のコードが「110」と一意に識別することができる。 As a specific example, in the case illustrated in FIG. 6, the code output values of the two optical repeaters 4 based on the second light intensity profile data V Y (m) are “120”. In FIG. 6, the number of the light transmission parts 5 and the reference light transmission parts 7 included in the right light relay part 4 is two, and the number of the light transmission parts 5 and the reference light transmission parts 7 included in the left light relay part 4 is as follows. There will be three. In this way, the output value of the adjacent optical repeaters 4 and 4 is “120”, and the right optical repeater 4 has two light transmitting units 5 and reference light transmitting units 7, and the left optical repeater. The encoder 1 has only one set in which the number of the light transmission parts 5 and the reference light transmission parts 7 included in the part 4 is three. Therefore, in FIG. 6, the code of the right optical repeater 4 can be uniquely identified as “010”, and the code of the left optical repeater 4 can be uniquely identified as “110”.

更に、受光領域100上に位置する光中継部4の数が2個の場合には、その2個の光中継部4の識別を次のように行うこともできる。まず、上記実施形態と同様に、動作方向αに垂直な方向についての第2光強度プロファイルデータV(m)に基づいて2個の光中継部4のコードの出力値を得る。続いて、第2光強度プロファイルデータV(m)と閾値th2との比較を行い、V(m)>th2であれば開口があることが分かる。ここで、隣りのコードとの差は必ず1箇所であるため、V(m)>th2の条件を満たすブロックのうちで、V(m)の最小のものが異なるコード(1)の位置ということで決定することができる。 Further, when the number of the optical repeaters 4 located on the light receiving region 100 is two, the two optical repeaters 4 can be identified as follows. First, as in the above embodiment, the code output values of the two optical repeaters 4 are obtained based on the second light intensity profile data V Y (m) in the direction perpendicular to the operation direction α. Subsequently, a comparison is made between the second light intensity profile data V Y (m) and the threshold value th2, and it can be seen that there is an opening if V Y (m)> th2. Here, since the difference from the adjacent code is always one place, among the blocks satisfying the condition of V Y (m)> th2, the position of the code (1) having the smallest V Y (m) is different. That can be decided.

本発明に係るエンコーダの一実施形態の構成図である。It is a block diagram of one Embodiment of the encoder which concerns on this invention. 図1に示されたエンコーダのスケール板の正面図である。It is a front view of the scale board of the encoder shown in FIG. 図1に示されたエンコーダの光中継部及び基準光透過部を示す図である。FIG. 2 is a diagram illustrating an optical repeater and a reference light transmission unit of the encoder illustrated in FIG. 1. 図1に示されたエンコーダのプロファイルセンサの構成図である。It is a block diagram of the profile sensor of the encoder shown by FIG. 図1に示されたエンコーダのプロファイルセンサに含まれる第1信号処理部の回路図である。It is a circuit diagram of the 1st signal processing part contained in the profile sensor of the encoder shown by FIG. 図1に示されたエンコーダにおける受光領域と光中継部との関係を示す図である。It is a figure which shows the relationship between the light reception area | region and optical repeater in the encoder shown by FIG.

符号の説明Explanation of symbols

1…エンコーダ、3…スケール板、4…光中継部、5…光透過部(光伝播部)、6…光遮断部(光非伝播部)、8…光源装置、9…プロファイルセンサ(光検出装置)、11…処理部、L1…ライン、α…動作方向。   DESCRIPTION OF SYMBOLS 1 ... Encoder, 3 ... Scale board, 4 ... Light relay part, 5 ... Light transmission part (light propagation part), 6 ... Light shielding part (light non-propagation part), 8 ... Light source device, 9 ... Profile sensor (light detection) Apparatus), 11... Processing unit, L1... Line, .alpha.

Claims (3)

所定の動作方向に可動するスケール板と、
前記スケール板において前記動作方向に沿ったライン上に複数形成され、前記動作方向に垂直な方向に光伝播部及び光非伝播部が1次元配列されて構成された光中継部と、
前記光中継部に向けて光を投光する光源装置と、
前記光源装置により投光された光を前記光中継部を介して受光するように配置され、前記動作方向、及び前記動作方向に垂直な方向に複数の画素が2次元配列されて構成された受光領域を有して、前記動作方向、及び前記動作方向に垂直な方向のそれぞれについて入射光強度の1次元分布を示す光強度プロファイルデータを出力する光検出装置とを備え、
前記光中継部のそれぞれは、前記光伝播部及び前記光非伝播部の1次元配列のパターンが互いに異なっており、
隣り合う前記光中継部間では、前記光伝播部及び前記光非伝播部の1次元配列のパターンが1箇所異なっていることを特徴とするエンコーダ。
A scale plate movable in a predetermined operating direction;
A plurality of optical repeaters formed on the scale plate on the line along the operation direction, the light propagation unit and the light non-propagation unit being arranged one-dimensionally in a direction perpendicular to the operation direction,
A light source device that projects light toward the optical relay unit;
A light receiving device that is arranged so as to receive light projected by the light source device via the optical relay unit, and is configured by two-dimensionally arranging a plurality of pixels in the operation direction and in a direction perpendicular to the operation direction. A light detection device that has a region and outputs light intensity profile data indicating a one-dimensional distribution of incident light intensity for each of the operation direction and the direction perpendicular to the operation direction;
Each of the optical repeaters is different from each other in the one-dimensional array pattern of the light propagation part and the light non-propagation part,
An encoder characterized in that a pattern of the one-dimensional array of the light propagation part and the light non-propagation part is different at one place between the adjacent optical relay parts.
前記動作方向に垂直な方向についての前記光強度プロファイルデータに基づいて、前記光源装置により投光された光を前記光検出装置に対して中継した前記光中継部を識別した後、前記動作方向についての前記光強度プロファイルデータに基づいて、前記受光領域中の基準位置に対する前記光中継部の位置を算出し、前記光中継部の位置から前記スケール板の動作絶対値を求める処理部を備えることを特徴とする請求項1記載のエンコーダ。   Based on the light intensity profile data in a direction perpendicular to the operation direction, after identifying the light relay unit that relays the light projected by the light source device to the light detection device, the operation direction A processing unit that calculates a position of the optical repeater with respect to a reference position in the light receiving region based on the light intensity profile data of the light, and obtains an operation absolute value of the scale plate from the position of the optical repeater. The encoder according to claim 1, wherein: 前記光検出装置は、前記光源装置により投光された光を1個又は2個の前記光中継部を介して受光するように配置されていることを特徴とする請求項1又は2記載のエンコーダ。   The encoder according to claim 1, wherein the light detection device is disposed so as to receive light projected by the light source device via one or two light repeaters. .
JP2004316209A 2004-10-04 2004-10-29 Encoder Active JP4425112B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2004316209A JP4425112B2 (en) 2004-10-29 2004-10-29 Encoder
PCT/JP2005/018301 WO2006038591A1 (en) 2004-10-04 2005-10-03 Encoder
US11/664,497 US7781726B2 (en) 2004-10-04 2005-10-03 Encoder including a light detecting device having two signal processing sections for pixels in a first and second direction
EP05788325.8A EP1816441B1 (en) 2004-10-04 2005-10-03 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004316209A JP4425112B2 (en) 2004-10-29 2004-10-29 Encoder

Publications (2)

Publication Number Publication Date
JP2006126060A JP2006126060A (en) 2006-05-18
JP4425112B2 true JP4425112B2 (en) 2010-03-03

Family

ID=36720938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004316209A Active JP4425112B2 (en) 2004-10-04 2004-10-29 Encoder

Country Status (1)

Country Link
JP (1) JP4425112B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3683375B2 (en) * 1997-04-10 2005-08-17 株式会社リコー Rotary encoder
GB9928483D0 (en) * 1999-12-03 2000-02-02 Renishaw Plc Opto-electronic scale reading apparatus
JP4603121B2 (en) * 2000-02-14 2010-12-22 大河内 禎一 Optical scale device and optical rotary scale device
JP4444469B2 (en) * 2000-08-07 2010-03-31 株式会社ミツトヨ Optical displacement measuring device

Also Published As

Publication number Publication date
JP2006126060A (en) 2006-05-18

Similar Documents

Publication Publication Date Title
US7781726B2 (en) Encoder including a light detecting device having two signal processing sections for pixels in a first and second direction
US7446306B2 (en) Photoelectric encoder having multiple light-receiving elements
US8039786B2 (en) Absolute position encoder obtains signals corresponding to individual imaging ranges of imaging optical systems
EP1767904B1 (en) Encoder
JPH0571984A (en) Absolute-position measuring apparatus
US10625525B2 (en) Automatic width detection
US10041815B2 (en) Photoelectric encoder having a two-level code pattern using three or more bit-combination patterns
JP4425112B2 (en) Encoder
JP4425108B2 (en) Encoder
JP3442869B2 (en) Optical absolute encoder
JP4425117B2 (en) Encoder
NL8701847A (en) DETECTION SYSTEM FOR A RADIATION PROFILE LINE.
US7183535B2 (en) Position-to-number electro-optical converter
EP0610198B1 (en) An optoelectronic measuring scale
JP2697159B2 (en) Absolute position detector
JPH05149809A (en) Optical type tactile sensor
US6818884B2 (en) Optoelectronic sensor having transparent cover shaped as light deflecting element
JPH06213682A (en) Absolute encoder
JPS5931116B2 (en) Intruding object detection device
JPH0854214A (en) Gap measuring method
GB2236847A (en) Incremental position transducer
JPH0372212A (en) Position detecting apparatus
JPH08285540A (en) Measuring instrument of object dimension
JPS6333603A (en) Optical position detector
JPH02240515A (en) Position detecting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070702

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: 20091208

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091208

R150 Certificate of patent or registration of utility model

Ref document number: 4425112

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121218

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131218

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250