Optical Encoder and Control Device
The optical encoder addresses distortion and individual differences in incremental signals by using grating patterns with specific spacing and positioning to smooth shadows, resulting in a compact and accurate design.
Patent Information
- Application Number
- JP2020164698
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-05-08
- Filing Date
- 2020-09-30
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2040-09-30
AI Technical Summary
Optical encoders using moire detection methods face issues with distortion and individual differences in incremental signals due to the shadow of high-frequency lattice patterns, leading to a complex configuration and larger size when telecentric lenses are used.
The optical encoder design includes a light source, first and second grating patterns with different periods, and a light-receiving element, where the third grating pattern is positioned apart to smooth the shadow of the third grating pattern, with a spread of luminous flux between 0.30 and 1.85 times the period of the shadow, and the light-receiving element detects second moire fringes to reduce distortion and individual differences.
This configuration results in a more compact and highly accurate optical encoder with reduced distortion and individual differences in incremental signals, maintaining signal stability despite manufacturing errors and environmental factors.
Smart Images

Figure 0007532176000021 
Figure 0007532176000022 
Figure 0007532176000023
Abstract
Description
[Technical field]
[0001] The present invention relates to an optical encoder and a control device. [Background technology]
[0002] As an optical encoder, there is an encoder that uses a moiré detection method, which detects moiré fringes formed by placing a grating pattern with a slightly different period from the scale pattern in front of a light receiving element (see Patent Document 1). Since the period of the moiré fringes is significantly larger than the period of the scale pattern, an encoder that uses a moiré detection method can obtain an incremental signal with high resolution by using a large light receiving element.
[0003] However, if the shadow of a high-frequency grid pattern is reflected on the moiré fringes, this can cause distortion and individual differences in the incremental signal. Therefore, in the encoder described in Patent Document 1, the numerical aperture of the telecentric lens is reduced to lower the resolving power, so that the shadow of the high-frequency grid pattern is not resolved. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2007-248299 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, when an optical component such as a telecentric lens is included in an encoder, the encoder becomes complicated in structure and becomes large in size.
[0006] SUMMARY OF THE PRESENT EMBODIMENTS Accordingly, an object of the present invention is to provide an optical encoder that is smaller and has higher accuracy. [Means for solving the problem]
[0007] According to one aspect of the present invention for solving the above-mentioned problems, an optical encoder includes a light source, a first grating pattern of a first period into which light from the light source is incident, a second grating pattern of a second period into which light from the first grating pattern is incident, a third grating pattern of a third period different from the second period into which light from the second grating pattern is incident, and a light receiving element that receives light from the third grating pattern, wherein, because the second period and the third period are different, first moiré fringes including a shadow of the third grating pattern are formed on an exit surface of the third grating pattern, and the third grating pattern and the light receiving element are disposed apart from each other, so that the light receiving element receives second moiré fringes in which the shadow of the third grating pattern is smoothed against the first moiré fringes, and first-order diffracted light from the third grating pattern propagates through a space from the third grating pattern to the light receiving element. The first-order diffracted light The spread d of the light beam is 0.30 or more and 1.85 or less with respect to the period P of the shadow of the third grating pattern projected onto the light receiving element. As a result, the shadow of the third grating pattern included in the second moire fringes is smoothed. It is characterized by: Effect of the Invention
[0010] According to the present invention, it is possible to provide a smaller, more accurate optical encoder. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a schematic diagram showing an optical encoder. [Diagram 2] FIG. 2 is a schematic diagram showing a cross-sectional structure of an optical encoder. [Diagram 3] FIG. 2 is a schematic plan view of a sensor unit of an optical encoder as viewed from the scale side. [Figure 4] FIG. 2 is a diagram showing an arrangement of light receiving elements. [Diagram 5] FIG. 2 is a development diagram of an optical path of an optical encoder. [Figure 6] FIG. 4 is a diagram showing a scale pattern. [Figure 7] 1A and 1B are diagrams showing moire fringes formed on the exit surface of an index grating pattern. [Figure 8] 1A and 1B are diagrams illustrating changes in moire fringes due to diffraction. [Figure 9] 11A and 11B are diagrams illustrating amplitude variations due to the influence of a shadow of an index grating pattern. [Figure 10] FIG. 13 is a diagram showing the amplitude of each phase due to the influence of the shadow of the light source grid pattern. [Figure 11] 11 is a diagram showing the relationship between a light receiving element array and the shadow of a grid pattern. FIG. [Figure 12] 11 is a diagram showing the relationship between a light receiving element array and the shadow of a grid pattern. FIG. [Figure 13] 11 is a diagram showing the relationship between a light receiving element array and the shadow of a grid pattern. FIG. [Figure 14] 11 is a diagram showing the relationship between a light receiving element array and the shadow of a grid pattern. FIG. [Figure 15] 11A and 11B are diagrams illustrating the relationship between a plurality of light receiving element groups and the shadows of a grid pattern. [Figure 16] FIG. [Figure 17] FIG. 13 is a diagram showing the relationship between index I and Lissajous distortion. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0013] Fig. 1 shows the configuration of an optical encoder (hereinafter simply referred to as an encoder). The encoder is a rotary encoder having a sensor unit 10 attached to a fixed part of an apparatus (not shown), and a scale 20 attached to a movable part of the apparatus and rotatably movable relative to the sensor unit 10. Note that the scale 20 may be attached to the fixed part of the apparatus, and the sensor unit 10 may be attached to the movable part. In other words, it is sufficient that the sensor unit 10 and the scale 20 are capable of moving relative to each other.
[0014] 1 does not show the sensor unit 10 and the gratings formed on the scale 20. Light from the sensor unit 10 is indicated by a dashed line and is irradiated onto the measurement area of the scale 20. The movement direction of the scale 20 in the measurement area of the scale 20 is the X direction in FIG. 1. In the following description, the movement direction of the scale 20 relative to the sensor unit 10 (X direction in FIG. 1), i.e., the relative movement direction between the scale 20 and the sensor unit 10, is referred to as the position detection direction. Also, in this embodiment, the scale 20 is a reflective scale, but it may be a transmissive scale.
[0015] Fig. 2 shows the cross-sectional structure of an optical encoder as viewed from the X-axis side of Fig. 1. Fig. 3 shows a plan view of a sensor unit 10. The sensor unit 10 is an integrated light receiving and emitting sensor unit in which a light source 11 made up of an LED that emits divergent light and a light receiving IC 13 having a light receiving element array 12 are mounted in the same package.
[0016] A light source grating pattern 14 serving as a first grating pattern is provided in the optical path from the light source 11 to the scale 20, and the first grating pattern is formed as a transmission type diffraction grating with a pattern of light transmitting portions and light blocking portions alternately arranged in the position detection direction. In addition, an index grating pattern 15 serving as a third grating pattern is provided in the optical path from the scale 20 to the light receiving element array 12, between the scale 20 and the light receiving element array 12. The index grating pattern 15 is also formed as a transmission type diffraction grating with a pattern of light transmitting portions and light blocking portions alternately arranged in the position detection direction.
[0017] The light source grating pattern 14 and the index grating pattern 15 are each provided by forming a chrome film that serves as a light-shielding portion on one surface of the cover glass 16. The cover glass 16 provided with the light source grating pattern 14 and the index grating pattern 15 is bonded to a substrate 18 on which the light source 11 and the light-receiving IC 13 are mounted by a light-transmitting resin 17. This optically integrates the cover glass 16, the light source 11, and the light-receiving IC 13. Although a UV-curable resin or a thermosetting resin may be used as the light-transmitting resin 17, this is not a limitation as long as the resin has light-transmitting properties. The sensor unit 10 does not include large optical components such as a telecentric lens, and is small and lightweight.
[0018] The light source grating pattern 14 has a first period P1, the scale pattern 21 has a second period P2, and the index grating pattern 15 has a third period P3 that is slightly different from the second period.
[0019] Diverging light beams emitted from the LEDs serving as light sources 11 form a light source array including a plurality of mutually incoherent secondary point light sources by passing through light source lattice pattern 14. The diverging light beams emitted from light source lattice pattern 14 are incident on scale pattern 21. Note that although the secondary point light sources are formed by combining the LEDs with light source lattice pattern 14, a current confinement type LED, a semiconductor laser, or the like may be arranged instead as an effective point light source.
[0020] The light receiving element array 12 is configured by arranging a plurality of light receiving elements in the position detection direction (X direction) for detecting the intensity distribution of light reflected by the scale pattern 21 as the second grating pattern provided on the scale 20. FIG. 4 shows a schematic diagram of the light receiving element array. The light receiving element array 12 is configured by arranging 32 light receiving elements in a line in the position detection direction. The center-to-center distance (adjacent element pitch) Xpd between two adjacent light receiving elements in the position detection direction is, for example, 64 μm. The 32 light receiving elements are cyclically assigned in the order of A(+) phase, B(+) phase, A(-) phase, and B(-) phase, and the light receiving elements of these four phases form one group (one group), and eight groups of such groups are periodically provided. The eight light receiving elements of the same phase are electrically connected to each other, and the outputs (currents) are added together and input to an IV conversion amplifier (electrical circuit) provided for each phase in the subsequent stage. Among the light receiving elements belonging to the same phase, the center-to-center distance (fourth period) P4 between the two light receiving elements closest to each other in the position detection direction is 256 (=64×4) μm. In other words, the width of the light receiving element assembly is 256 μm.
[0021] The A(+) and A(-) phases are combined by a downstream differential circuit (electrical circuit) included in the light receiving IC 13 to generate an A phase signal. Similarly, the B(+) and B(-) phases are combined by a downstream differential circuit (not shown) included in the light receiving IC 13 to generate a B phase signal. Finally, the light receiving IC 13 outputs A phase and B phase waveform signals (incremental signals) that are approximately 90° out of phase with each other.
[0022] Fig. 5 shows a development of the optical path of the encoder. In Fig. 5, reflection at the scale pattern 21 is shown developed as if it were transmission. Distance L1 from the light source grating pattern 14 to the scale pattern 21 is equal to distance L2 from the scale pattern 21 to the index grating pattern 15, or is set within a range that can be regarded as being equal. Note that distances L0, L1, L2, and L3 are effective optical path lengths, which are values obtained by dividing the physical distance by the refractive index. Because the cover glass 16 and the light-transmitting resin 17 have a refractive index greater than 1, the effective optical path length is smaller than the physical distance (spacing).
[0023] FIG. 6 shows a portion of the scale pattern 21 formed on the scale 20. The scale pattern 21 is a phase grating pattern. In FIG. 6, the gray areas represent concave portions and the white areas represent convex portions, and the scale is designed so that the phase difference caused by the steps is approximately half a wavelength. The scale 20 is made of glass, and a reflective film is formed on the surface. Centered on the reading center radius r0, an area with a width W0 / 2 in the outer circumferential direction includes an area A1, and an area with a width W0 / 2 in the inner circumferential direction includes an area A2. Since the scale 20 is a rotary scale, the scale period expressed in distance changes depending on the radius. If the number of gratings on the scale is N, the reading center radius and the design period P2 of the scale correspond to each other by the following formula. 2πr0=NP2 (1)
[0024] On the other hand, the period Tp of the scale expressed in angle and the period P2 of the scale expressed in distance have the following relationship:
[0025]
number
[0026] In the pattern of region A1, patterns with recess widths of Tp / 3 and 2Tp / 3 are repeatedly arranged in the radial direction. Furthermore, the widths of the recesses of adjacent patterns in the position detection direction are interchanged. Meanwhile, in the pattern of recesses of region A2, patterns with a width of Tp / 2 are repeatedly arranged in the radial direction, shifted by Tp / 6 in the position detection direction. Furthermore, the direction of shift is opposite between adjacent patterns in the position detection direction.
[0027] The radial grating period for both the patterns in area A1 and area A2 is designed to be such that ±1st order diffracted light in the radial direction is hardly incident on the light receiving element array 12. This prevents harmonic noise components from being mixed into the signal. By forming areas A1 and A2 into the pattern shown in Figure 6, it is possible to suppress the generation of 3rd order diffracted light that reduces the alignment tolerance. In addition, even if a manufacturing error occurs in the pattern, it is possible to suppress the generation of 0th order diffracted light that causes distortion of the incremental signal.
[0028] A houndstooth pattern is provided in region B, where the radius is greater than r0+w0 / 2. The patterns adjacent to each other in the position detection direction are arranged such that the positions of the recesses are shifted by half a period in the radial direction. The width of each recess is designed to be Tp / 3. Similarly, a houndstooth pattern is provided in region C, where the radius is smaller than r0-w0 / 2. In region C, the patterns adjacent to each other in the position detection direction are also arranged such that the positions of the recesses are shifted by half a period in the radial direction. The width of each recess is designed to be Tp / 3.
[0029] The radial grating period for both the patterns in region B and region C is designed to be such that ±1st order diffracted light in the radial direction is incident on the light-receiving element array 12. By making region B and region C into such a houndstooth pattern, it is possible to collect more light on the light-receiving element array 12 and improve the light utilization efficiency.
[0030] The +1st order diffracted light and -1st order diffracted light in the position detection direction of the scale pattern 21 interfere with each other on the entrance surface of the index grating pattern 15, forming interference fringes with a period P2. Since the period P3 of the index grating pattern 15 is different from the period P2 of the interference fringes, moiré fringes (first moiré fringes) are formed on the exit surface of the index grating pattern 15. FIG. 7 shows the moiré fringes (light intensity distribution) on the exit surface of the index grating pattern 15. The light intensity distribution is a distribution in which the shadow of the index grating pattern 15 is superimposed on moiré fringes having a coarse spatial period Pm. The spatial period Pm of the moiré fringes can be expressed by the following equation, where ABS(x) is a function representing the absolute value of x.
[0031]
number
[0032] The light transmitted through the index grating pattern 15 propagates through the space from the index grating pattern 15 to the light receiving element array 12, forming moiré fringes (second moiré fringes) on the light receiving surface of the light receiving element array 12, which receives the light. The light intensity distribution of the second moiré fringes is a distribution in which the shadow of the index grating pattern 15 is superimposed on moiré fringes having a coarse spatial period Pm'. Since the light source 11 is a diverging light source, the period Pm' of the moiré fringes is magnified by M3 times more than the period Pm of the moiré fringes. Here, the image magnification M3 is expressed by the following equation.
[0033]
number
[0034] Therefore, the period Pm' of the moire fringes and the period P3' of the shadow of the index grating pattern 15 formed on the light receiving surface of the light receiving element array 12 are as follows:
[0035]
number
[0036]
number
[0037] When the period Pm' of the moire fringes on the light-receiving element array 12 matches the width (period) P4 of the collection of light-receiving elements, the amplitude of the signal output from the light-receiving element array 12 is approximately maximum.
[0038] On the other hand, the shadow of the index grating pattern 15 with the period P3' projected onto the light receiving element array 12 becomes a high frequency component, which distorts the waveform of the output signal and reduces the amplitude.
[0039] Furthermore, if the cover glass 16 is misaligned due to manufacturing errors, the positions of the light source grid pattern 14 and the index grid pattern 15 relative to the light receiving element array 12 change. As a result, the shadow of the index grid pattern 15 projected onto the light receiving element array 12 also moves, which affects the output of each light receiving element depending on whether more of the shadow is projected onto the A(+) phase, B(+) phase, A(-) phase, or B(-) phase. For this reason, if there is variation in the position of the cover glass 16 among multiple manufactured encoders, this can result in large individual differences in the signal waveform.
[0040] [First embodiment] Therefore, in this embodiment, the optical diffraction effect of the index grating pattern 15 is utilized to smooth the shadow of the index grating pattern 15 projected onto the light-receiving element array 12.
[0041] If the wavelength of the light source 11 is λ, the diffraction angle θ of the first-order diffracted light by the index grating pattern 15 is expressed by the following equation using the period P3 of the index grating pattern 15.
[0042]
number
[0043] Since light is diffracted by the index grating pattern 15, the light beam spreads as it propagates through the space from the index grating pattern 15 to the light-receiving element array 12. The light beam spread d3 of the +1st order diffracted light and the -1st order diffracted light of the index grating pattern 15 is expressed by the following equation using the distance L3 from the index grating pattern 15 to the light-receiving element array 12. The light beam spread d3 is proportional to the distance L3. d3=2L3tanθ (8)
[0044] FIG. 8 is a schematic diagram showing how the second moiré fringes on the photodiode array 12 change when the ratio of the light beam spread d3 to the period P3' of the shadow of the index grating pattern projected onto the photodiode array 12 changes.
[0045] When the exit surface of the index grating pattern 15 and the light receiving surface of the light receiving element array 12 coincide (d3 / P3′=0.0), the second moire fringes on the light receiving element array 12 contain high-contrast high-frequency components due to the shadow of the index grating pattern 15.
[0046] The distance L3 from the index grating pattern 15 to the light receiving surface of the light receiving element array 12 is increased to d3 / P3'=0.5. In this case, the high frequency components (shadows of the index grating pattern 15) contained in the second moiré fringes on the light receiving element array 12 are slightly smoothed, and the contrast of the high frequency components decreases. As a result, the distortion of the signal waveform and the individual differences are reduced.
[0047] Furthermore, when the distance L3 becomes large and d3 / P3'=1.0, the ±1st order light illuminates the center of the shadow of the index grating pattern 15, smoothing the light intensity distribution of the shadow to the maximum extent possible. As a result, the contrast of the high frequency components contained in the second moiré fringes on the light receiving element array 12 is significantly reduced, suppressing distortion of the signal waveform and individual differences.
[0048] Furthermore, when the distance L3 increases and d3 / P3' = 1.5, the contrast of the high-frequency components contained in the second moiré fringes becomes slightly greater compared to when d3 / P3' = 1.0, but the high-frequency components are slightly smoothed compared to when d3 / P3' = 0.0.
[0049] Furthermore, when the distance L3 becomes large and d3 / P3'=2.0, the ±1st order light illuminates the center of the transmission portion (bright portion) of the index grating pattern 15, reinforcing the light in the bright portion. On the other hand, the shadow portion is not illuminated by the ±1st order light, and the dark portion remains dark. As a result, the shadow of the index grating pattern 15 is projected with high contrast onto the light receiving element array 12. This results in distortion of the signal waveform and individual differences.
[0050] A case will be described where the ratio of the light beam spread d3 to the period P3' of the shadow of the index grating pattern 15 projected onto the light receiving element array 12 changes. Fig. 9 shows an example of the result of calculating how much variation (individual difference) in the amplitude of the output from the light receiving element array occurs due to the positional deviation of the cover glass 16 in this case. The horizontal axis of Fig. 9 represents the light beam spread d3 / period P3' of the shadow of the index grating pattern 15, and the vertical axis represents the variation in the amplitude of the output from the light receiving element array.
[0051] It can be seen that when the first moiré fringes formed on the exit surface of the index grating pattern are detected by the light receiving element array 12 (when d3 / P3' = 0.0), a large variation in amplitude of about 15% occurs. On the other hand, it can be seen that the variation in amplitude can be reduced to approximately 10% or less by setting the ratio of the light beam spread d3 to the period P3' of the shadow of the third grating pattern projected on the light receiving surface of the light receiving element array 12 to be 0.15 to 1.85 or 2.15 or more.
[0052] More preferably, it can be seen that the individual difference in amplitude can be reduced to approximately 5% or less by setting the ratio of the spread d3 of the light beam to the period P3' of the shadow of the third grating pattern projected on the light receiving surface of the light receiving element array 12 at 0.25 to 1.75 or at least 2.25. In this way, the light receiving element array 12 detects the second moiré fringes in which the shadow of the index grating pattern 15 projected on the light receiving element array 12 is smoothed more than the first moiré fringes, thereby reducing the variation in amplitude.
[0053] On the other hand, if the light beam spread d3 becomes too large, the second moiré fringes (contrast) used for position detection by the encoder are also smoothed. For example, if the light beam spread d3 coincides with the moiré fringe period Pm', the second moiré fringes are smoothed and the contrast drops to almost zero. For this reason, it is preferable that the light beam spread d3 caused by the first-order diffracted light of the third grating pattern propagating through the space from the third grating pattern to the light receiving element array 12 has a ratio of 1 / 2 or less, preferably 1 / 4 or less, to the moiré fringe period Pm'.
[0054] Next, the effect of the shadow of the light source lattice pattern 14 projected onto the light receiving element array 12 will be described. Light that has passed through the light source lattice pattern 14 propagates through the space from the light source lattice pattern 14 to the light receiving element array 12, and the shadow of the light source lattice pattern 14 is projected onto the light receiving element array 12. Because the light source 11 is a diverging light source, the period P1' of the shadow of the light source lattice pattern 14 projected onto the light receiving element array 12 is magnified by M1 times more than the period P1 of the light source lattice pattern 14. Here, image magnification M1 is expressed by the following equation.
[0055]
number
[0056] Therefore, the period P1' of the shadow of the light source grid pattern 14 projected onto the light receiving element array 12 is expressed by the following equation.
[0057]
number
[0058] When the period P1 of the shadow of the light source lattice pattern 14 projected onto the light receiving element array 12 is 0.5 times the width P4 of the light receiving element assembly (when P1' / P4=0.5), the amplitude difference between the A phase and the B phase can become large. In this case, for example, when the A(+) phase and the A(-) phase are in shadow, the amplitude of the A phase decreases compared to the B phase. Conversely, when the B(+) phase and the B(-) phase are in shadow, the amplitude of the B phase decreases compared to the A phase. When the light source lattice pattern 14 is misaligned with respect to the light receiving element array 12 due to manufacturing errors, this can result in large individual differences in the amplitude of the A phase and the B phase.
[0059] Fig. 10 shows an example of the results of calculating how the amplitudes of phase A and phase B change when the ratio of period P1' of the shadow of light source lattice pattern 14 projected onto light receiving element array 12 to width P4 of the light receiving element collection changes. The horizontal axis of Fig. 10 represents period P1' of the shadow of light source lattice pattern 14 / width P4 of the light receiving element collection, and the vertical axis represents the amplitudes of phase A and phase B of the light receiving element array.
[0060] When the period P1' of the shadow of the light source lattice pattern 14 projected onto the light receiving element array 12 is 0.5 times the width P4 of the light receiving element collection (P1' / P4=0.5), the amplitude difference between phase A and phase B is large at ±7%. On the other hand, it can be seen that when the ratio of the period of the shadow of the light source lattice pattern 14 projected onto the light receiving element array 12 to the width P4 of the light receiving element collection is 0.475 or less or 0.525 or more, the amplitude difference between phase A and phase B can be reduced to approximately 1.5% or less.
[0061] In this embodiment, the light receiving element array 12 outputs four-phase signals whose phases differ from each other by approximately 90°. However, the present invention is not limited to this configuration. For example, the light receiving element array may output three-phase (A-phase, B-phase, C-phase) signals whose phases differ from each other by approximately 120°. In this case, when the period of the shadow of the light source lattice pattern 14 projected on the light receiving element array 12 is 1 times the width (fourth period) of the light receiving element assembly (P1' / P4=1), the amplitude difference between the A-phase, B-phase, and C-phase may become large. This is because the shadow of the light source lattice pattern 14 may be selectively projected onto the light receiving element of a specific phase. The period of the shadow of the light source lattice pattern 14 projected on the light receiving element array 12 is shifted from the fourth period to a ratio of preferably 0.95 or less or 1.05 or more. As a result, the shadow of the light source lattice pattern 14 is distributed and projected onto the light receiving elements of the three phases, so that the amplitude difference between the A-phase, B-phase, and C-phase may be reduced. EXAMPLES
[0062] In the first embodiment, the period of the light source grating pattern 14 is 20 μm, the period of the scale pattern 21 is 20 μm, and the period of the index grating pattern 15 is 21.92 μm. The spatial distance from the cover glass 16 to the scale 20 is 1.0 mm, the thickness of the cover glass 16 is 0.7 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.6 mm. The optical encoder of the first embodiment provides an incremental signal with a period of 10 μm.
[0063] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.40 mm, L1 1.47 mm, L2 1.47 mm, and L3 0.40 mm, respectively. Therefore, the image magnifications are M1 9.33 and M3 1.12, and the period P1' of the shadow of the light source grating pattern 14 projected onto the light-receiving element array 12 is 187 μm, and the period P3' of the shadow of the index grating pattern 15 is 24.6 μm. The period Pm of the moiré fringes formed on the exit surface of the index grating pattern 15 is 229 μm, and the period Pm' of the moiré fringes formed on the light-receiving surface of the light-receiving element array 12 is 256 μm.
[0064] The wavelength λ of the light source 11 is 650 nm, and the spread d3 of the light beam caused by the first-order diffracted light by the index grating pattern 15 propagating through the space from the index grating pattern 15 to the light receiving element array 12 is 23.7 μm. Therefore, the ratio of the spread d3 of the light beam to the period P3' of the shadow of the index grating pattern 15 projected onto the light receiving surface of the light receiving element array 12 is 0.97. Therefore, the high-frequency components contained in the second moiré fringes are sufficiently smoothed. In other words, the distance between the index grating pattern 15 and the light receiving element array is set so that the high-frequency components contained in the second moiré fringes are smoothed.
[0065] Furthermore, the ratio of the light beam spread d3 to the moire fringe period Pm' is 0.09, and the moire fringes used for position detection are not extremely smoothed, and moire fringes with sufficiently high contrast are formed on the light receiving element array 12.
[0066] Furthermore, the ratio of the period P1' of the shadow of the light source lattice pattern 14 projected onto the light receiving surface of the light receiving element array 12 to the width P4 of the light receiving element group is 0.73, the amplitude difference between phase A and phase B is small, and the signal waveform is stable regardless of manufacturing errors. In other words, the light receiving element array 12 receives the second moire fringes in a state in which the period P1' of the shadow of the light source lattice pattern 14 is shifted from the half period of the light receiving element group. Here, the period of the light source lattice pattern 14 is set to be shifted from the half period of the light receiving element group.
[0067] As described above, according to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of the incremental signal and individual differences are reduced. EXAMPLES
[0068] In Example 2, the period of the light source grating pattern 14 is 10 μm, the period of the scale pattern 21 is 10 μm, and the period of the index grating pattern 15 is 9.57 μm. The spatial distance from the cover glass 16 to the scale 20 is 0.7 mm, the thickness of the cover glass 16 is 0.5 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.6 mm. The optical encoder of Example 2 produces an incremental signal with a period of 5 μm.
[0069] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.40 mm, L1 1.03 mm, L2 1.03 mm, and L3 0.40 mm, respectively. Therefore, the image magnifications are M1 7.17 and M3 1.16, and the period P1' of the shadow of the light source grating pattern 14 projected onto the light-receiving element array 12 is 71.7 μm, and the period P3' of the shadow of the index grating pattern 15 is 11.1 μm. The period Pm of the moiré fringes formed on the exit surface of the index grating pattern 15 is 220 μm, and the period Pm' of the moiré fringes formed on the light-receiving surface of the light-receiving element array 12 is 256 μm.
[0070] The wavelength λ of the light source 11 is 632 nm, and the spread d3 of the light beam generated by the first-order diffracted light by the index grating pattern 15 propagating through the space from the index grating pattern 15 to the light receiving element array 12 is 53.0 μm. Therefore, the ratio of the spread d3 of the light beam to the period P3' of the shadow of the index grating pattern 15 projected onto the light receiving surface of the light receiving element array 12 is 4.8. Therefore, the high frequency components contained in the second moiré fringes are sufficiently smoothed.
[0071] Furthermore, the ratio of the light beam spread d3 to the moire fringe period Pm' is 0.21, and the moire fringes used for position detection are not extremely smoothed, and moire fringes with sufficiently high contrast are formed on the light receiving element array 12.
[0072] In addition, the ratio of the period P1' of the shadow of the light source lattice pattern 14 projected onto the light receiving surface of the light receiving element array 12 to the width P4 of the light receiving element group is 0.28, the amplitude difference between phase A and phase B is small, and the signal waveform is stable regardless of manufacturing errors.
[0073] As described above, according to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of the incremental signal and individual differences are reduced. EXAMPLES
[0074] In Example 3, the period of the light source grating pattern 14 is 4 μm, the period of the scale pattern 21 is 4 μm, and the period of the index grating pattern 15 is 4.07 μm. The spatial distance from the cover glass 16 to the scale 20 is 0.7 mm, the thickness of the cover glass 16 is 0.5 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.5 mm. The optical encoder of Example 3 produces an incremental signal with a period of 2 μm.
[0075] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.33 mm, L1 1.03 mm, L2 1.03 mm, and L3 0.33 mm, respectively. Therefore, the image magnifications are M1 8.20 and M3 1.14, and the period P1' of the shadow of the light source grating pattern 14 projected onto the light-receiving element array 12 is 32.8 μm, and the period P3' of the shadow of the index grating pattern 15 is 4.64 μm. The period Pm of the moiré fringes formed on the exit surface of the index grating pattern 15 is 225 μm, and the period Pm' of the moiré fringes formed on the light-receiving surface of the light-receiving element array 12 is 256 μm.
[0076] The wavelength λ of the light source 11 is 460 nm, and the light beam spread d3 caused by the first-order diffracted light by the index grating pattern 15 propagating through the space from the index grating pattern 15 to the light receiving element array 12 is 75.8 μm. Therefore, the ratio of the light beam spread d3 to the period P3' of the shadow of the index grating pattern 15 projected onto the light receiving surface of the light receiving element array 12 is 16.3, and the high-frequency components contained in the second moiré fringes are sufficiently smoothed. In addition, the ratio of the light beam spread d3 to the period Pm' of the moiré fringes is 0.30, and the moiré fringes are not extremely smoothed, and moiré fringes with sufficiently high contrast are formed on the light receiving element array 12.
[0077] In addition, the ratio of the period P1' of the shadow of the light source lattice pattern 14 projected onto the light receiving surface of the light receiving element array 12 to the width P4 of the light receiving element group is 0.13, the amplitude difference between phase A and phase B is small, and the signal waveform is stable regardless of manufacturing errors.
[0078] As described above, according to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of the incremental signal and individual differences are reduced.
[0079] The shadow of the grid pattern projected onto the light-receiving element array 12 can distort the waveform of the output signal from the light-receiving element array. Specifically, when the ratio of the center-to-center distance D of adjacent light-receiving elements to the period P of the shadow of the grid pattern formed on the light-receiving element array is close to n-1 / 2 (n is a natural number), the Lissajous distortion becomes large.
[0080] The reason for this will be explained using Figure 11. Figures 11 and 12 show an example in which the ratio D / P of the center-to-center distance D of adjacent light-receiving elements to the period P of the shadows of the grid pattern formed on the light-receiving element array is n-1 / 2 (n=3), i.e., 2.5.
[0081] When the phase of the shadow of the grid pattern with respect to the light receiving element is in the state shown in Fig. 11(a), the A(+) phase and A(-) phase light receiving elements have three peaks (areas where the illuminance is maximized due to the light passing through) and two valleys (areas where the illuminance is minimized due to the light being blocked) of the shadow of the grid pattern. On the other hand, the B(+) phase and B(-) phase light receiving elements have two peaks and three valleys of the shadow of the grid pattern. Therefore, the intensity (amount of light) of the light incident on the A(+) phase and A(-) phase light receiving elements is greater than the intensity (amount of light) of the light incident on the B(+) phase and B(-) phase light receiving elements. Therefore, the amplitude of the signal wave detected by the A(+) phase and A(-) phase light receiving elements is greater than the amplitude of the signal wave detected by the B(+) phase and B(-) phase light receiving elements. As a result, as shown in FIG. 11(b), the Lissajous is distorted into an ellipse having its major axis in the 0° direction, rather than a perfect circle.
[0082] On the other hand, when the phase of the shadow of the grid pattern relative to the light receiving elements is in the state shown in Figure 12(a), the A(+) phase and A(-) phase light receiving elements have 2.5 peaks and 2.5 valleys of the shadow of the grid pattern. The B(+) phase and B(-) phase light receiving elements also have 2.5 peaks and 2.5 valleys of the shadow of the grid pattern. As a result, the amplitudes of the A phase and B phase are equal.
[0083] However, the center of gravity of the shadow intensity distribution of the A(+) and A(-) phase light receiving elements is to the left, whereas the center of gravity of the shadow intensity distribution of the B(+) and B(-) phase light receiving elements is to the right. This is essentially equivalent to arranging the A(+) and A(-) phase light receiving elements to the left and the B(+) and B(-) phase light receiving elements to the right. When the signal wave is in the state of FIG. 12(a), if the A(+) phase light receiving element shifts to the left, the received light intensity decreases, causing the phase to lag. On the other hand, if the B(+) phase light receiving element shifts to the right, the received light intensity decreases, causing the phase to advance. Similarly, in the A(-) phase, if the light receiving element shifts to the left, the received light intensity increases, causing the phase to lag, and in the B(-) phase, if the light receiving element shifts to the right, the received light intensity increases, causing the phase to advance.
[0084] To summarize the above, the phase of the signal wave detected by the A(+) and A(-) phase light receiving elements will be delayed compared to when there is no shadow, and the phase of the signal wave detected by the B(+) and B(-) phase light receiving elements will be advanced compared to when there is no shadow. As a result, the phase difference between A and B phases will deviate from 90°, and the Lissajous waveform will be distorted into an ellipse with its major axis in the 45° direction, as shown in Figure 12(b).
[0085] If the cover glass 16 is misaligned due to manufacturing errors, the positions of the light source grating pattern 14 and the index grating pattern 15 relative to the light receiving element array 12 change. As a result, the shadow of the grating pattern projected onto the light receiving element array 12 also moves, so if the position of the cover glass 16 varies, this can cause large individual differences in the signal waveform. In addition, if the shadow of the grating pattern shifts relative to the light receiving element due to environmental factors such as temperature, the signal waveform changes.
[0086] [Second embodiment] Therefore, in an optical encoder to which this embodiment is applied, at least one of the light source grating pattern 14 and the index grating pattern 15 satisfies the following condition: In other words, the ratio D / P of the center-to-center distance D of adjacent light-receiving elements to the period P of the shadow of the grating pattern formed on the light-receiving element array is in the range of n-1 / 4 to n+1 / 4 (n is any natural number).
[0087] 13 and 14 show an example in which the ratio of the center distance between adjacent light-receiving elements to the period of the shadow of the grid pattern formed on the light-receiving element array is 3. This satisfies the range of n-1 / 4 to n+1 / 4, in other words, 2.75 to 3.25, when n=3.
[0088] When the phase of the shadow of the grid pattern with respect to the light receiving element is in the state shown in Figure 13(a), the A(+) phase and A(-) phase light receiving elements have three peaks and three valleys of the shadow of the grid pattern, and the B(+) phase and B(-) phase light receiving elements also have three peaks and three valleys of the shadow of the grid pattern. Therefore, the light incident on the A(+) phase and A(-) phase light receiving elements is at the same level as the light incident on the B(+) phase and B(-) phase light receiving elements. Therefore, the amplitude of the signal wave detected by the A(+) phase and A(-) phase light receiving elements is at the same level as the amplitude of the signal wave detected by the B(+) phase and B(-) phase light receiving elements. As a result, the amplitudes of the A phase signal and the B phase signal become almost equal, and the Lissajous curve approaches a perfect circle, as shown in Figure 13(b).
[0089] When the phase of the shadow of the grid pattern with respect to the light receiving element is in the state shown in Figure 14(a), the A(+) and A(-) phase light receiving elements have three peaks and three valleys of the shadow of the grid pattern, and the B(+) and B(-) phase light receiving elements also have three peaks and three valleys of the shadow of the grid pattern. Therefore, the light incident on the A(+) and A(-) phase light receiving elements is at the same level as the light incident on the B(+) and B(-) phase light receiving elements. In addition, the center of gravity of the intensity distribution of the shadow of the grid pattern is shifted to the left in the A(+) and A(-) phase light receiving elements, and the center of gravity of the intensity distribution of the shadow of the grid pattern is also shifted to the left in the B(+) and B(-) phase light receiving elements. Therefore, the phase of the signal wave detected in each of the four phase light receiving elements is delayed compared to when there is no shadow of the grid pattern, but the phase difference of the signal detected between adjacent light receiving elements is maintained at around 90°. As a result, the amplitudes of the A-phase signal and the B-phase signal become nearly equal, and the phase difference becomes approximately 90°, so that the Lissajous curve approaches a perfect circle, as shown in FIG. 14(b).
[0090] [Third embodiment] In this embodiment, the fact that the Lissajous distortion can be reduced by shifting the phase of the shadow of the grid pattern between a plurality of light receiving element groups will be described with reference to FIG.
[0091] FIG. 15 is a diagram showing the relationship between the light receiving element array, the shadow of the grid pattern, and the signal waveform. The light receiving element array 12 of this embodiment is composed of eight light receiving element groups, numbered 1 to 8. For example, the second light receiving element group is disposed adjacent to each other between the first light receiving element group and the third light receiving element group. Each group is composed of A(+), B(+), A(-) and B(-) phase light receiving elements. The B(+) phase is disposed adjacent to each other between the A(+) and A(-) phases. The A(-) phase is disposed adjacent to each other between the B(+) and B(-) phases.
[0092] 15 shows an example in which the ratio D / P of the center distance D of adjacent light receiving elements to the period P of the shadow of the grating pattern formed on the light receiving element array is 1.53125 (corresponding to the shadow of the grating pattern being 41.796 μm). This value does not satisfy the range of n-1 / 4 to n+1 / 4 (n is a natural number).
[0093] Focusing on the first light receiving element group, the A(+) and A(-) phase light receiving elements have two peaks and one valley of the shadow of the grid pattern, while the B(+) and B(-) phase light receiving elements have one peak and two valleys of the shadow of the grid pattern. Therefore, the light incident on the A(+) and A(-) phase light receiving elements is larger than the light incident on the B(+) and B(-) phase light receiving elements. Therefore, the amplitude of the signal wave detected by the A(+) and A(-) phase light receiving elements is larger, and the amplitude of the signal wave detected by the B(+) and B(-) phase light receiving elements is smaller. As a result, if the incremental signal is detected only by the first light receiving element group, the Lissajous is distorted into an ellipse with its major axis in the 0° direction, as shown in Figure 16(a).
[0094] The ratio of the center distance between adjacent light receiving elements to the period of the shadow of the grid pattern formed on the light receiving element array is not exactly n-1 / 2 (n is a natural number), which causes a phase shift in the shadow of the grid pattern between the first light receiving element group and the other light receiving element groups.
[0095] The phase difference ΔΦ of the shadow of the grid pattern on adjacent photodiode groups is expressed by the following formula (11), where PD is the center-to-center distance between adjacent photodiode groups, P' is the period of the shadow of the grid pattern on the photodiode array, and round(x) is a function that rounds off to the first decimal place.
[0096]
number
[0097] For example, if the shadow of the grating pattern is 41.796 μm, the phase difference between the shadows of the grating pattern in adjacent light receiving element groups is π / 4. Therefore, the phase of the shadow of the grating pattern in the mth (m=1 to 8) light receiving element group is shifted by π / 4(m-1).
[0098] In this example, the phase of the shadow of the grid pattern is shifted by π in the fifth light receiving element group. In other words, the phase of the shadow of the grid pattern is inverted between the first and fifth groups. Therefore, when focusing on the fifth light receiving element group, the A(+) and A(-) phase light receiving elements have one peak and two valleys in the shadow of the grid pattern, while the B(+) and B(-) phase light receiving elements have two peaks and one valley in the shadow of the grid pattern. As a result, the light incident on the A(+) and A(-) phase light receiving elements is smaller than the light incident on the B(+) and B(-) phase light receiving elements. Therefore, the amplitude of the signal wave detected by the A(+) and A(-) phase light receiving elements becomes smaller, and the amplitude of the signal wave detected by the B(+) and B(-) phase light receiving elements becomes larger. As a result, if incremental signals are detected only by the fifth light receiving element group, the Lissajous curve will be distorted into an ellipse with its major axis in the 90° direction, as shown in FIG. 16(e).
[0099] When detected by only the first group of light receiving elements, the Lissajous is an ellipse that is long in the horizontal direction, and when detected by only the fifth group of light receiving elements, the Lissajous is an ellipse that is long in the vertical direction. Therefore, when the signals from both are added together in the light receiving IC 13, a Lissajous signal that is close to a perfect circle is obtained.
[0100] Next, if we look at the third group of light-receiving elements, the phase of the shadow of the grid pattern shifts by π / 2. The A(+) and A(-) phase light-receiving elements have 1.5 peaks and 1.5 valleys of the shadow of the grid pattern, and the B(+) and B(-) phase light-receiving elements also have 1.5 peaks and 1.5 valleys of the shadow of the grid pattern. However, while the center of gravity of the intensity distribution of the shadow of the grid pattern is to the left in the A(+) and A(-) phase light-receiving elements, the center of gravity of the intensity distribution of the shadow of the grid pattern is to the right in the B(+) and B(-) phase light-receiving elements. As a result, the sensitivity centers of the A(+) and A(-) phase light-receiving elements are to the left, and the sensitivity centers of the B(+) and B(-) phase light-receiving elements are to the right. This is equivalent to placing the A(+) and A(-) phase light receiving elements, which have uniform sensitivity, on the left, and the B(+) and B(-) phase light receiving elements, which have uniform sensitivity, on the right. Therefore, the phase of the signal wave detected by the A(+) and A(-) phase light receiving elements is delayed, and the phase of the signal wave detected by the B(+) and B(-) phase light receiving elements is advanced. As a result, the phase difference between A and B phases is shifted from 90°, and the Lissajous curve is distorted into an ellipse with its major axis in the 45° direction, as shown in Figure 16(c).
[0101] Next, if we look at the seventh group of light-receiving elements, the phase of the shadow of the grid pattern shifts by 3π / 2. The A(+) and A(-) phase light-receiving elements have 1.5 peaks and 1.5 valleys in the shadow of the grid pattern, and the B(+) and B(-) phase light-receiving elements also have 1.5 peaks and 1.5 valleys in the shadow of the grid pattern. However, while the center of gravity of the shadow intensity distribution of the A(+) and A(-) phase light-receiving elements is to the right, the center of gravity of the shadow intensity distribution of the B(+) and B(-) phase light-receiving elements is to the left. As a result, the sensitivity centers of the A(+) and A(-) phase light-receiving elements are to the right, and the sensitivity centers of the B(+) and B(-) phase light-receiving elements are to the left. This is equivalent to placing the A(+) and A(-) phase light receiving elements, which have uniform sensitivity, to the right, and the B(+) and B(-) phase light receiving elements, which have uniform sensitivity, to the left. Therefore, the phase of the signal wave detected by the A(+) and A(-) phase light receiving elements leads, and the phase of the signal wave detected by the B(+) and B(-) phase light receiving elements lags. As a result, the phase difference between A and B phases deviates from 90°, and the Lissajous curve is distorted into an ellipse with its major axis in the 135° direction, as shown in Figure 16(g).
[0102] The Lissajous when detected by only the third light receiving element group is an ellipse with its major axis in the 45° direction, and the Lissajous when detected by only the seventh light receiving element group is an ellipse with its major axis in the 135° direction. Therefore, when both signals are added together in the light receiving IC 13, a Lissajous signal that is close to a perfect circle is obtained.
[0103] When we look at the second light receiving element group, the phase of the shadow of the grid pattern shifts by π / 4. This is between the first light receiving element group and the third light receiving element group. Therefore, the Lissajous curve is an ellipse with its major axis in the 22.5° direction, as shown in FIG. 16(b). Similarly, when we look at the sixth light receiving element group, the phase of the shadow of the grid pattern shifts by 5π / 4. This is between the fifth light receiving element group and the seventh light receiving element group. Therefore, the Lissajous curve is an ellipse with its major axis in the 112.5° direction, as shown in FIG. 16(f). When the signals of the second light receiving element group and the sixth light receiving element group are added together in the light receiving IC 13, a Lissajous signal close to a perfect circle is obtained.
[0104] The Lissajous curve generated by the fourth light-receiving element group is an ellipse as shown in Fig. 16(d). The Lissajous curve generated by the eighth light-receiving element group is an ellipse as shown in Fig. 16(h). Therefore, when the signals from the fourth and eighth light-receiving element groups are added together in the light-receiving IC 13, a Lissajous signal that is close to a perfect circle is obtained.
[0105] As a result, by adding together the signals from two different groups of light-receiving elements (the first and fifth, second and sixth, third and seventh, and fourth and eighth groups of light-receiving elements) in which the phase of the shadow of the grid pattern is inverted, a Lissajous signal that is close to a perfect circle can be obtained.
[0106] Here, we define an index I expressed by the following equation (12), where PD is the center-to-center distance between adjacent photodetector groups, P' is the period of the shadow of the grid pattern on the photodetector array, round(x) is a function that rounds off to the first decimal place, and N is the number of photodetector groups.
[0107]
number
[0108] Here, the index I indicates how much the phase of the grid pattern shadow differs between different light receiving element groups. When I=0, the grid pattern shadows are in phase between all light receiving element groups. When I=1, the grid pattern shadows are out of phase between the mth group and the (N / 2+m)th group. For example, when I=1 and the number of light receiving element groups N is 8, the grid pattern shadows are out of phase between the first and fifth, second and sixth, third and seventh, and fourth and eighth light receiving element groups. When I=2, the grid pattern shadows are out of phase between the mth group and the (N / 4+m)th group. For example, when I=2 and the number of light receiving element groups N is 8, the grid pattern shadows are out of phase between the first and third, second and fourth, fifth and seventh, and sixth and eighth light receiving element groups.
[0109] FIG. 17 is a graph showing the results of calculations of how the Lissajous distortion changes with respect to the index I. When I=0, that is, when the shadows of the lattice pattern are in phase between all light receiving element groups, large Lissajous distortion occurs. When I is an integer, the shadows of the lattice pattern are in opposite phase between different light receiving element groups, so the Lissajous distortion is zero. By adding up the outputs of multiple light receiving element groups under the condition of I≧3 / 4, the Lissajous distortion is reduced to 30% or less compared to the case where there is only one light receiving element group (I=0). In the optical encoder to which this embodiment is applied, at least one of the light source lattice pattern and the index lattice pattern satisfies the condition of I≧3 / 4.
[0110] In the second and third embodiments, the light receiving element array 12 outputs four-phase signals whose phases differ from each other by approximately 90°. However, the present invention is not limited to this configuration, and for example, the light receiving element array may output three-phase (A-phase, B-phase, and C-phase) signals whose phases differ from each other by approximately 120°. EXAMPLES
[0111] In Example 4, the period of the light source grating pattern 14 is 6 μm, the period of the scale pattern 21 is 6 μm, and the period of the index grating pattern 15 is 5.85 μm. The spatial distance from the cover glass 16 to the scale 20 is 1.2 mm, the thickness of the cover glass 16 is 1.0 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.6 mm. The optical encoder of Example 4 produces an incremental signal with a period of 3 μm.
[0112] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.40 mm, L1 1.87 mm, L2 1.87 mm, and L3 0.40 mm, respectively. Therefore, the image magnifications are M1 11.33 and M3 1.10, and the period P'1 of the shadow of the light source grating pattern projected onto the light-receiving element array 12 is 68.0 μm, and the period P'3 of the shadow of the index grating pattern is 6.42 μm. The period Pm of the first moiré fringes formed on the exit surface of the index grating pattern 15 is 233.4 μm, and the period P'm of the second moiré fringes formed on the detection surface of the light-receiving element array 12 is 256 μm.
[0113] Due to manufacturing errors, the effective optical path lengths of L1 and L2 have a tolerance of ±0.15 mm, and the effective optical path lengths of L0 and L3 have a tolerance of ±0.033 mm. Table 1 shows the value of the ratio D / P of the center-to-center distance D of adjacent light receiving elements to the period P of the shadow of the light source lattice pattern 14 formed on the light receiving element array within the manufacturing error range. The ratio is in the range of 0.82 to 1.07, and satisfies n-1 / 4 or more and n+1 / 4 or less (n is a natural number).
[0114] [Table 1]
[0115] [Table 2]
[0116] Table 2 shows the value of the ratio D / P of the center-to-center distance D of adjacent light receiving elements to the period P of the shadow of the index grating pattern 15 formed on the light receiving element array within the above-mentioned manufacturing error range. The ratio is 9.84 to 10.10, and satisfies n-1 / 4 to n+1 / 4 (n is a natural number). In this way, the following condition is satisfied in both the light source grating pattern and the index grating pattern. In other words, since the ratio of the center-to-center distance D of adjacent light receiving elements to the period of the shadow of the grating pattern formed on the light receiving element array is n-1 / 4 to n+1 / 4 (n is a natural number), the Lissajous distortion is reduced even if there is a manufacturing error.
[0117] According to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of incremental signals and individual differences are reduced. EXAMPLES
[0118] In Example 5, the period of the light source grating pattern 14 is 16 μm, the period of the scale pattern 21 is 16 μm, and the period of the index grating pattern 15 is 17.18 μm. The spatial distance from the cover glass 16 to the scale 20 is 1.0 mm, the thickness of the cover glass 16 is 0.7 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.5 mm. The optical encoder of this example produces an incremental signal with a period of 8 μm.
[0119] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.33 mm, L1 1.47 mm, L2 1.47 mm, and L3 0.33 mm, respectively. Therefore, the image magnifications are M1 10.8 and M3 1.10, and the period P'1 of the shadow of the light source grating pattern projected onto the light-receiving element array 12 is 172.8 μm, and the period P'3 of the shadow of the index grating pattern is 18.94 μm. The period Pm of the first moiré fringes formed on the exit surface of the index grating pattern 15 is 232.3 μm, and the period P'm of the second moiré fringes formed on the detection surface of the light-receiving element array 12 is 256 μm.
[0120] Due to manufacturing errors, the effective optical path lengths of L1 and L2 have a tolerance of ±0.15 mm, and the effective optical path lengths of L0 and L3 have a tolerance of ±0.067 mm. Table 3 shows the value of the ratio D / P of the center-to-center distance D of adjacent light receiving elements to the period P of the shadow of the light source lattice pattern 14 formed on the light receiving element array within the manufacturing error range. The ratio is in the range of 0.28 to 0.47, and does not satisfy the range of n-1 / 4 to n+1 / 4 (n is a natural number).
[0121] [Table 3]
[0122] [Table 4]
[0123] Table 4 shows the value of the ratio D / P of the center distance D of adjacent light receiving elements to the period P of the shadow of the index grating pattern 15 formed on the light receiving element array within the above-mentioned manufacturing error range. The ratio is 3.29 to 3.46, which does not satisfy n-1 / 4 or more and n+1 / 4 or less (n is a natural number). Thus, in both the light source grating pattern and the index grating pattern, the ratio of the center distance D of adjacent light receiving elements to the period of the shadow of the grating formed on the light receiving element array does not satisfy n-1 / 4 or more and n+1 / 4 or less (n is a natural number). For this reason, if an incremental signal is detected from only a single light receiving element group, the Lissajous may be distorted.
[0124] [Table 5]
[0125] [Table 6]
[0126] Table 5 shows the values of index I for the shadow of the light source grating pattern 14 formed on the light receiving element array within the above-mentioned range of manufacturing error. The values of index I are 1.06 to 3.85, satisfying I≧3 / 4. Table 6 shows the values of index I for the shadow of the index grating pattern 15 formed on the light receiving element array within the above-mentioned range of manufacturing error. The values of index I are 0.87 to 3.85, satisfying I≧3 / 4.
[0127] In this way, since I≧3 / 4 is satisfied in both the light source grating pattern and the index grating pattern, the phase of the shadows of the grating patterns shifts between different light receiving element groups, thereby reducing Lissajous distortion even if there is a manufacturing error.
[0128] As described above, according to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of the incremental signal and individual differences are reduced. EXAMPLES
[0129] In Example 6, the period of the light source grating pattern 14 is 20 μm, the period of the scale pattern 21 is 20 μm, and the period of the index grating pattern 15 is 18.37 μm. The spatial distance from the cover glass 16 to the scale 20 is 1.0 mm, the thickness of the cover glass 16 is 0.7 mm, and the distance from the light source 11 and the light receiving element array 12 to the cover glass 16 is 0.7 mm. The optical encoder of Example 3 produces an incremental signal with a period of 10 μm.
[0130] The refractive index of the cover glass 16 and the light-transmitting resin 17 is 1.5, and the effective optical path lengths are L0 0.47 mm, L1 1.47 mm, L2 1.47 mm, and L3 0.47 mm, respectively. Therefore, the image magnifications are M1 8.29 and M3 1.14, and the period P'1 of the shadow of the light source grating pattern projected onto the light-receiving element array 12 is 165.7 μm, and the period P'3 of the shadow of the index grating pattern is 20.9 μm. The period Pm of the first moiré fringes formed on the exit surface of the index grating pattern 15 is 225.1 μm, and the period P'm of the second moiré fringes formed on the detection surface of the light-receiving element array 12 is 256 μm.
[0131] Due to manufacturing errors, the effective optical path lengths of L1 and L2 have a tolerance of ±0.15 mm, and the effective optical path lengths of L0 and L3 have a tolerance of ±0.067 mm. Table 7 shows the ratio of the center-to-center distance between adjacent light receiving elements to the period of the shadow of the light source lattice pattern 14 formed on the light receiving element array within the manufacturing error range. The ratio is in the range of 0.32 to 0.46, and does not satisfy the range of n-1 / 4 to n+1 / 4 (n is a natural number). For this reason, if an incremental signal is detected from only a single light receiving element group, the Lissajous may be distorted.
[0132] [Table 7]
[0133] [Table 8]
[0134] [Table 9]
[0135] Table 8 shows the value of the ratio D / P of the center-to-center distance D of adjacent light receiving elements to the period P of the shadow of the index grating pattern 15 formed on the light receiving element array within the above-mentioned manufacturing error range. The ratio is 2.98 to 3.14, and satisfies n-1 / 4 to n+1 / 4 (n is a natural number). Therefore, the Lissajous distortion caused by the shadow of the index grating pattern is reduced.
[0136] Table 9 shows the values of index I for the shadow of the light source lattice pattern 14 formed on the light receiving element array within the range of the above manufacturing error. The values of index I are 1.24 to 3.93, which satisfies I≧3 / 4. In this way, since the light source lattice pattern satisfies I≧3 / 4, the phase of the shadow of the lattice pattern shifts between different light receiving element groups, thereby reducing Lissajous distortion even if there is a manufacturing error.
[0137] As described above, according to the optical encoder to which this embodiment is applied, it is possible to provide a small-sized moire detection type optical encoder in which distortion of the incremental signal and individual differences are reduced.
[0138] Although the rotary encoder has been described in the above embodiment, the present invention is not limited to this and can also be applied to a linear encoder. The encoder can be used to detect the rotation angle and position of an object. The position and angle (displacement) detected as the detection result by the encoder are used to control the displacement by a controller (control unit) that controls an actuator (drive unit) such as a motor. In addition, as a control device to which the encoder of this embodiment is applied, there is a robot equipped with an actuator that drives the joints of the robot and an encoder that measures the rotation angle of the actuator. There is also a galvano scanner that has a motor and an encoder that measures the rotation angle of the motor's rotation shaft. There is also a stage device equipped with a linear motor that drives a stage and an encoder that measures the position of the stage.
Claims
1. Light source and A first lattice pattern of the first period into which light from the aforementioned light source is incident, The second lattice pattern of the second period, into which light from the first lattice pattern is incident, A third lattice pattern with a third period different from the second period, into which light from the second lattice pattern is incident, A light-receiving element that receives light from the third lattice pattern, In an optical encoder having, As the second period and the third period differ, a first moiré pattern including the shadow of the third grid pattern is formed on the injection surface of the third grid pattern. By arranging the third grid pattern and the light-receiving element separately, the light-receiving element receives a second moiré fringe in which the shadow of the third grid pattern is smoothed relative to the first moiré fringe. An optical encoder characterized in that the spread d of the light beam of the primary diffracted light from the third lattice pattern, caused by the propagation of the primary diffracted light from the third lattice pattern through the space from the third lattice pattern to the photodetector, is 0.30 to 1.85 with respect to the period P of the shadow of the third lattice pattern projected onto the photodetector, thereby smoothing the shadow of the third lattice pattern contained in the second moiré fringe.
2. The optical encoder according to claim 1, characterized in that the spread d of the light beam of the primary diffracted light from the third lattice pattern, due to the propagation of the primary diffracted light from the third lattice pattern through the space from the third lattice pattern to the photodetector, is 1 / 2 or less of the period of the moiré fringe used for position detection among the second moiré fringe.
3. The optical encoder according to claim 2, characterized in that the spread d of the light beam is 1 / 4 or less of the period of the moiré fringes.
4. Light source and A first lattice pattern of the first period into which light from the aforementioned light source is incident, The second lattice pattern of the second period, into which light from the first lattice pattern is incident, A third lattice pattern with a third period different from the second period, into which light from the second lattice pattern is incident, A photodetector array that receives light from the third lattice pattern, In an optical encoder having, The aforementioned photodetector array is a photodetector array in which a plurality of photodetectors that output signals with different phases from each other are arranged periodically as a group, When the period of the light intensity distribution of the shadow of the first grid pattern on the light-receiving surface of the light-receiving element array is shifted with respect to half a period or the period of one group of light-receiving elements, the light-receiving element array receives moiré fringes from the third grid pattern. The aforementioned photodetector array is arranged periodically as a group of three photodetectors that output three-phase signals with a phase difference of 120° from each other. An optical encoder characterized in that the period of the light intensity distribution of the shadow of the first grid pattern on the light-receiving surface of the light-receiving element array is 0.25 or less, 0.30 to 0.70, 0.75 to 0.95, 1.05 to 1.5, or 2.0 or more relative to the period of one group of light-receiving elements.
5. Light source and A first lattice pattern of the first period into which light from the aforementioned light source is incident, The second lattice pattern of the second period, into which light from the first lattice pattern is incident, A third lattice pattern with a third period different from the second period, into which light from the second lattice pattern is incident, A photodetector array that receives light from the third lattice pattern, In an optical encoder having, The aforementioned photodetector array is a photodetector array in which a plurality of groups of photodetectors, each of which outputs signals with different phases from one another, are arranged periodically, and the array comprises a first photodetector group and a second photodetector group. The signals from the first group of photodetectors and the signals from the second group of photodetectors are added together and output. An optical encoder characterized in that, in the first group of light-receiving elements and the second group of light-receiving elements, at least one of the shadows of the first grid pattern and the shadows of the third grid pattern are projected at different phases from each other.
6. The optical encoder according to claim 5, characterized in that, in the first group of light-receiving elements and the second group of light-receiving elements, at least one of the shadows of the first grid pattern and the shadows of the third grid pattern are projected with their phases inverted relative to each other.
7. Let P' be the period of shadow of the first grid pattern or the third grid pattern on the light-receiving element array, PD be the distance between the centers of adjacent first and second light-receiving element groups, round(x) be a function rounded to the first decimal place, and N be the number of light-receiving element groups, satisfying the following equation. [Math 1] The optical encoder according to feature 5.
8. An optical encoder according to any one of claims 1 to 7, A control device characterized by having a control unit that controls the displacement of an object based on the detection result of the optical encoder.
Citation Information
Patent Citations
Method and equipment for measuring displacement
JP1995181009A
Optical displacement sensor
JP1995306011A
Photoelectric incremental type encoder
JP2007248299A
Optical absolute value encoder
JP2009019876A
Optical encoder
JP2011075581A
