Optical encoder

Abstract: Disclosed is a Talbot's interference type optical encoder constructed so as not to cause a measurement error due to a signal distortion as much as possible. A semiconductor laser is installed so that a vertical transverse mode is set in a direction vertical to a moving direction of a diffraction grating as a scale. Further, a stop for regulating light beams from a light source is prepared. An aperture of this stop assumes such a configuration that a dimension bearing in a direction along the moving direction of the diffraction grating as the scale is set equal to or shorter than a dimension bearing in a direction vertical to the moving direction of the diffraction grating as the scale. Distortions of signals obtained are thereby reduced. A comparison level in signal processing can be centered in an amplitude, and, as a result, an occurrence of error can be prevented.

Description: The present invention generally relates to an encoder and, more particularly, to an optical encoder which uses the Talbot's interference principle. Figs. 1A and 1B show principles of a conventional encoder based on the Talbot's interference principle (US-A-5 323 001 ; EP-A-0 439 804). A light source generally designated at 1 in Fig. 1A consists of a semiconductor laser. A collimator lens 2 converts light beams emitted from the semiconductor laser 1 into plane waves which are incident on a diffraction grating 3 with a period P. Based on the Talbot's interference principle, the light beams diffracted by the diffraction grating 3 form interference fringes having the same period P as that of the diffraction grating at given intervals immediately after the diffraction grating 3. The interference fringes are shown in Fig. 1B. Fig. 1B illustrates sections D +1 , D 0 , D -1 of +1st order, 0th order and -1st order diffracted light beams each traveling from the diffraction grating 3. The interference fringes are formed in a region indicated by W in the Figure. An image of the interference fringes is called a Fourier image, and this phenomenon is termed a Talbot's effect. A spacing L between the diffraction grating 3 and a diffraction grating 4 having a distribution of transmittances with the same period as that of the diffraction grating 3 is set such as: L = N · P 2 / λ , where λ is the wavelength of the light source, P is the period of the diffraction grating, and N is the natural number. The diffraction grating 3 moves in a g-direction, whereby dark and bright output signals can be fetched via a photosensor 5 disposed in rear of the grating 4. Thus, pulse signals are generated by an unillustrated signal processing system. A g-directional displacement quantity of the diffraction grating 3 is detected by counting the pulse signals. The photosensor 5 may be in some cases replaced with two pieces of photodetectors A, B to obtain 2-phase sine wave signals. There arises, however, the following problems inherent in the optical encoder which uses the Talbot's interference principle in the prior art. Fig. 2 shows the 2-phase signals obtained by the optical encoder described above and rectangular wave signals generated therefrom and assuming two phases A, B. A direction in which the semiconductor laser serving as a light source is installed- i.e., a vertical transverse mode of the beam emitted from the semiconductor laser coincides with an x-direction (namely, the g-direction) in which the diffraction grating 3 moves. In this case, a waveform in an intensity distribution of the Fourier image formed identically with the grating 4 assumes, as illustrated in, e.g., Fig. 2, a more rounded shape on a dark-side m than on a bright-side M. When setting a comparator level (slice level) C for generating square waves having HIGH and LOW levels at equal intervals from signals taking this configuration, it follows that a setting position is not centered in a signal amplitude but shifts to the dark-side m. Referring to, e.g., Fig. 2, when the comparator level is set at an amplitude center C 0 of the signal, a HIGH-to-LOW ratio, i.e., a duty, of the square wave becomes such as HIGH < LOW. A duty ratio can not therefore be set to 1 : 1. Further, when employing 2-phase square waves, a HIGH-to-HIGH interval or a HIGH-to-LOW interval of these 2-phase signals is narrowed; or, in other terms, a b or d interval is narrower than an a or c interval with respect to phase differences a, b, c, d between a HIGH and a LOW of the pulse. This conduces to a defect wherein an allowance is lost in an attempt to perform multi-splitting of the signal, i.e., interpolation processing. Moreover, if the comparator level setting position deviates from the center (comparator level C) of the signal amplitude, there exists a possibility in which the rectangular pulses may not be generated if the amplitude fluctuates due to this deviation and amplitude alternation. Namely, it may happen that the dark-side signal having a smaller amplitude with respect to the comparison level C does not exceed the comparator level because of the fluctuation in amplitude. Such a distortion in waveform is produced owing to the following causes. A Fourier image is produced due to an interference between the +1st order diffracted light and the 0th order diffracted light or between the -1st order diffracted light and the 0th order diffracted light. It is therefore necessary to increase a region to the greatest possible degree where the +1st or -1st order diffracted light is superposed on the 0th order diffracted light on the diffraction grating 4. Turning to Fig. 1B, however, a superposed region of sections D +1 , D -1 of the ±1st order diffracted light beams is large. Formed in this region are fringes having an interval which is half as small as an interference fringe interval of the Fourier image. It follows that these fringes exert an adverse influence as noises on a detection signal. The following problems further arise. Fig. 3 is an explanatory view showing a layout of an optical system of the present apparatus. The collimator lens 2 is omitted in Fig. 3. According to the prior art apparatus, the auto power control (APC) oriented photodiode chip 6 is, as shown in Fig. 3, attached in the x-direction of the light source 1. An internal reflection light or the like traveling toward the surface of this chip 6 is reflected by this surface towards a z-direction. In this case, the light is mixed as a flare in the A-side of photosensor 5, with the result that unnecessary DO components are given to output signals (2-phase signals SA, SB) of the photo detectors A, B as shown in Fig. 4. Moreover, GB-A-971 504 discloses a displacement measuring apparatus, wherein monochromatic light is irradiated on two diffraction gratings which are disposed, being substantially opposed in parallel. Moiré interference fringes formed by each of the light beams which are transmittingly diffracted by the two diffraction gratings, are formed onto a focal plane of a lens. There are a photoelectrical element for forming a signal according to a period by a single pitch of diffraction grating and a light-receiving element for forming a signal in which the period is further divided, in the focal plane. Furthermore, Optics and Laser Technology 17(1985) No. 2, 89-95 discloses a measurement technique wherein the displacement of two gratings having the same pitch is measured by mainly utilizing the zeroth order diffraction beam. In order to compensate a variation of the gap between the two diffraction gratings, an averaging method is used, wherein the two gratings are tilted so that the range of gaps between the gratings includes the Fourier image distance 2p 2 /λ. In addition, EP-A-0 378 773 discloses an apparatus for detecting a rotational displacement amount from a signal of light beams which are interfered by directing a diffracted light beam in a first grating scanning area of a rotating radiant grating to an opposing second grating scanning area on the circumference by using a deflection grating. This apparatus is operated so that only diffracted light beams whose diffraction orders are mutually neighboring are interfered, whereby signals whose modulation degrees are mutually different can be obtained. It is a primary object of the present invention, which has been devised in view of the problems inherent in the prior art described above, to provide an optical encoder constructed so as not to cause a measurement error due to a signal distortion as much as possible. According to the present invention, the object is achieved by an optical encoder for obtaining information on a displacement of a diffraction grating by detecting light beams via said diffraction grating, comprising an irradiating means for emitting light beams, assuming a non-circular shape in section, this sectional shape herein bearing in a longitudinal direction, a first diffraction grating receiving the light beams from said irradiating means, and a second diffraction grating on which interference fringes produced by diffracted light beams of said first diffraction grating on the basis of the Talbot's interference principle are projected, wherein said irradiating means are adapted to emit light beams such that the longitudinal direction thereof is set to substantially coincide with a direction of grating line of said first diffraction grating. BRIEF DESCRIPTION OF THE DRAWINGS Other objects and advantages of the present invention will become apparent during the following discussion in conjunction with the accompanying drawings, in which: Figs. 1A and 1B are views showing a basic construction of a Talbot's interference type encoder; Fig. 2 is an explanatory diagram showing signals in a conventional Talbot's interference type encoder; Fig. 3 is an explanatory view illustrating a layout of an optical system in the conventional Talbot's interference type encoder; Fig. 4 is an explanatory diagram showing signals in the conventional Talbot's interference type encoder; Fig. 5 is an explanatory view illustrating a layout of an optical system of a Talbot's interference type encoder in a first embodiment of this invention; Fig. 6 is an explanatory diagram showing signals in the first embodiment; Fig. 7 is an explanatory view illustrating a part of the Talbot's interference type encoder in a second embodiment of this invention; Fig. 8 is an explanatory diagram showing signals in the second embodiment; Fig. 9A is a view illustrating a layout in the second embodiment; Figs. 9B to 9E are explanatory views showing effects of an explanatory example, which is not according to the present invention; Figs. 9F through 9I are explanatory views showing effects of the second embodiment; and Fig. 10 is an explanatory view showing still another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Fig. 5 is an explanatory view showing an optical encoder in accordance with a first embodiment of the present invention. A general construction of the present apparatus is the same as that shown in Figs. 1A, 1B, and hence its explanation and illustration will be omitted. The collimator lens is also omitted for simplicity in Fig. 5. Further, the same members as those in Figs. 1A and 1B are marked with the like numerals and symbols. The symbol 1A represents a section of a beam emitted from a light source 1. In this apparatus, an installing direction of a semiconductor laser conceived as a light source, namely, a vertical transverse mode of the beam emitted from the semiconductor laser coincides with a y-direction vertical to a direction in which a diffraction grating 3 moves. For this reason, it is possible to reduce an x-directional sectional diameter of the beam of each order on a diffraction grating 4. The semiconductor laser 1 is set in such a direction, thereby forming a Fourier image on the diffraction grating 4. Fig. 6 shows shapes of waveforms of detection signals obtained at that time by photodetectors A, B in contrast with Fig. 2. In an apparatus in accordance with this embodiment, as shown therein, waveform distortions of 2-phase signals on a dark-side m are more relieved than those on a bright-side M. Namely, as compared with the prior art, the x-directional (the moving direction g of the diffraction grating) beam diameter is regulated on the basis of the layout given above. A superposed region of ±1st order light beams shown in Fig. 1B can be thereby restrained small. It is possible to reduce the distortions of the signal waveforms due to noises caused from this superposed region. This leads to improvements in terms of the above-mentioned duty ratio and a phase difference as well. Besides, a comparator level can be set in the vicinity of the center of a signal amplitude. Therefore, even if the amplitude fluctuates, an allowance is ensured between the signal and the comparator level. This can make it difficult to cause a non-generating phenomenon of the square waves. Additionally, according further to the apparatus in this embodiment, a photodiode chip 6 for auto power control (APC) is, as illustrated in Fig. 5, attached to the light source 1 in a y-direction. Therefore, the reflected light from this surface travels in a z-direction. Even when mixed as a flare in a photosensor 5, this flare deviates in the y-direction. The flare is, even if incident, mixed substantially evenly in photodetectors A, B arranged in the x-direction. Accordingly, an influence to impart unnecessary DC components to output signals of the photodetectors A, B is exerted equally on both of the photodetectors. Alternatively, the influence can be eliminated by adequately keeping a distance between the photodetectors A and B. Fig. 7 is an explanatory view of the optical encoder in a second embodiment of this invention but illustrates in perspective only a portion in the vicinity of a collimator lens 2. Other configurations are the same as those in Figs. 1A and 1B. The present apparatus is provided with a stop 8 for regulating the x-directional beam diameter on the beam outgoing side of the collimator lens 2. Fig. 8 shows, comparatively with Fig. 2, shapes of the waveforms of the detection signals obtained from the respective photodetectors when a Fourier image is projected on the diffraction grating 4 in the case of regulating that x-directional beam diameter. As in the same way shown in Fig. 6, the distortions of the waveforms on the dark-side m are more relieved than those on the bright-side M. This will be demonstrated by Figs. 9A to 9I. Fig. 9A is a view illustrating a layout in a second embodiment, and the same members in Figs. 1A, 1B and 5 are marked with the like numerals and symbols. Supposing that a section of the beam coming from the collimator lens 2 when the stop 8 is not inserted takes a shape as shown in, e.g., Fig. 9B in this optical layout, the sections D +1 , D 0 , D -1 of the diffracted light beams of the respective orders on the diffraction grating at this time are illustrated in Fig. 9C. Increased in this case is a region (indicated by oblique lines) wherein ±1st order diffracted light beams are superposed. Interference fringes of a spatial frequency different from the period of the diffraction grating are formed in this region. Therefore, high-frequency components are superposed on the output signals, thereby producing distortions in the shapes of the waveforms. In contrast with this, if a stop 8 for regulating the beam diameter is inserted as shown in Fig. 9D which is an explanatory example which is not according to the present invention, though a loss of light quantity is induced, as illustrated in Fig. 9E, the superposed region of the ±1st order diffracted light beams can be diminished. Contrastingly in this embodiment, an aperture of the stop 8 takes such a rectangular shape that an x-directional length is small, whereas a y-directional length is large in order to minimize the loss in the light quantity. Fig. 9G illustrates a superposed state of the diffracted light beams of the respective orders on the diffraction grating 4 in this case. Thus, the superposed region of the ±1st order diffracted light beams can be reduced. Besides, a signal light quantity can be increased by taking a large region (indicated by the oblique lines) where the Fourier image is formed. The x-directional beam diameter is regulated in this manner, thereby improving the duty ratio and phase difference described before. In addition, the comparator level can be set in the vicinity of the center of the signal amplitude. Even when the amplitude fluctuates, the allowance is ensured between the signal and the comparator level, with the result that the non-generating phenomenon of the square waves becomes hard to appear. At the same time, the y-directional beam diameter is enlarged enough to prevent the loss of the light quantity. The S/N ratio is further increased by augmenting the signal light quantity. Fig. 9H shows a configurational example of the aperture of the stop 8. If defined 2D, T as respectively the x- and y-directional diameters, L be the spacing between the diffraction gratings 3 and 4, λ be the wavelength of the beam from the light source 1 and P1 be the grating pitch of the diffraction grating 3. D = L • tan  = sin (1 / P1) When the conditions given above are satisfied, as shown in Fig. 9I, it is possible to maximize an area of the region where the Fourier image is produced in such a state that the mutually superposed region of the ± 1st order diffracted light beams on the diffraction grating 4 is theoretically absolutely disappeared. However, if in such a range that the signals are not so influenced, there is substantially no problem even when constructed to deviate from this formula. In accordance with the first embodiment shown in Fig. 5, the stop 8 illustrated in Fig. 7 may be installed as done in the second embodiment. In this instance, it is desirable that the x-directional beam diameter can be further regulated. Shown in the embodiment discussed above are the movable diffraction grating 3 and the grating 4 fixedly located a distance L apart therefrom and exhibiting the transmittance distribution with the same period as that of the diffraction grating 3. As shown in Fig. 10, however, the above-mentioned diffraction gratings 3, 4 may be connected on a circle, thus forming a cylindrical diffraction grating 9 having a diameter L. In this case, the diffraction grating 9 is rotated about a rotary shaft 10 in a g-direction. A bright/dark output signal which is twice the diffraction grating period can be obtained in the photosensor 5. In this case also, the same effects as the above-mentioned are acquired by placing the semiconductor laser 1 as illustrated in Fig. 5 and further installing the stop 8, as shown in Fig. 7, on the light beam outgoing side of the collimator lens 2 or by performing these two arrangements. As stated above, even an encoder for detecting a rotational quantity effectively functions as a means for shaping the waveform in accordance with the gist of this embodiment. Besides, the same effects are, as a matter of course, obtained even by such an arrangement that a cylindrical lens is employed in place of the stop to change a sectional shape of the light beam. As discussed above, according to the present invention, the optical encoder involving the use of the Talbot's interference principle is capable of improving the duty ratio and the phase difference. In addition, the comparator level can be set in the vicinity of the center of the signal amplitude, and, therefore, the allowance is ensured between the signal and the comparator level. The occurrence of the non-generating phenomenon of the square waves can be thereby made difficult. It is apparent that, in this invention, a wide range of different working modes can be formed based on the invention without deviating from the scope of the invention. This invention is not restricted by its specific working modes except being limited by the appended claims.

Claims: An optical encoder for obtaining information on a displacement of a diffraction grating by detecting light beams via said diffraction grating, comprising: irradiating means for emitting light beams assuming a non-circular shape in section, this sectional shape herein bearing in a longitudinal direction; a first diffraction grating (3) receiving the light beams from said irradiating means; and a second diffraction grating (4) on which interference fringes produced by diffracted light beams of said first diffraction grating (3) on the basis of the Talbot's interference principle are projected, characterized in that said irradiating means are adapted to emit light beams such that the longitudinal direction thereof is set to substantially coincide with a direction of grating line of said first diffraction grating (3). An optical encoder according to claim 1, characterized in that said irradiating means include a semiconductor laser (1), and said semiconductor laser (1) is disposed so that a vertical transverse mode of the beams emitted is set in a direction substantially vertical to a moving direction of said first diffraction grating (3). An optical encoder according to claim 1, characterized in that said irradiating means comprise: a light source (1) and a regulating means (8) for regulating sectional shapes of the light beams from said light source (1), wherein said first diffraction grating (3) receives the light beams via said regulating means (8), and said regulating means (8) regulates the sectional shapes of the light beams so that a length in relation to the moving direction of said first diffraction grating (3) is shorter than a length in relation to the direction vertical to the moving direction. The optical encoder according to claim 2 or 3, characterized in that said first and second diffraction gratings (3,4) are connected on a circle to form a cylindrical diffraction grating. The optical encoder according to claim 3, further comprising a collimator lens (2), characterized in that said regulating means (8) is installed on the outgoing side of said collimator lens (2). The optical encoder according to claim 3, characterized in that said regulating means (8) is a rectangular stop whose longitudinal direction is vertical to the moving direction.

Inventors: IGAKI MASAHIKO, NYUI MASARU, IGAKI, MASAHIKO, NYUI, MASARU, Igaki, Masahiko, c/o Canon K.K., Nyui, Masaru, c/o Canon K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: G01D5
IPC codes: G01D5