Encoders provide a measurement of the position of a component in a system relative to some predetermined reference point. Encoders are typically used to provide a closed-loop feedback system to a motor or other actuator. For example, a shaft encoder outputs a digital signal that indicates the position of the rotating shaft relative to some known reference position that is not moving. A linear encoder measures the distance between the present position of a moveable carriage and a reference position that is fixed with respect to the moveable carriage as the moveable carriage moves along a predetermined path.
Optical encoders utilize a light source and a photodetector to measure changes in the relative position of the carrier that includes an encoding pattern. In a transmissive encoder, the carrier includes a pattern consisting of a series of alternating opaque and transparent bands. The light source is located on one side of the carrier on which this pattern is located, and the photodetector is located on the other side of the carrier. The light source and photodetector are fixed relative to one another, and the carrier moves between the light source and the photodetector such that the light reaching the photodetector is interrupted by the opaque regions of the pattern. The position of the carrier is determined by measuring the transitions between the light and dark regions observed by the photodetector.
In a reflective encoder, the light source and photodetector are located on the same side of the carrier, and the encoding pattern consists of alternating reflective and absorbing bands. The light source is positioned such that light from the light source is reflected onto the photodetector when the light is reflected from the reflective bands.
Transmissive encoders have a number of advantages over reflective encoders in terms of tolerance, cost of code strips, and contrast ratios. In a transmissive encoder, the light from the light source is collimated before it reaches the carrier, and hence, the light leaving the carrier is also collimated. The detection assembly needs only to image this collimated light onto the detector surface.
In a reflective encoder, the distance between the carrier and the detector is critical as either the pattern itself or the light source as seen in the reflected light from the reflective bands is imaged into the detector. Hence, if there is an error in the carrier to detector module distance, the image will be out of focus and errors will result. In addition, the bands for reflective encoders have a contrast ratio determined by the ratio of the reflectance of the reflective and absorptive regions. This ratio tends to be less than the ratio of the absorbance of the clear and opaque regions of a transmissive code strip.
Unfortunately, transmissive encoders require that the two separate components, the light source and photodetector, be mounted and aligned with one another at the time of assembly of the encoder. This increases the burden on the manufacturer of the final product that incorporates the encoder. Reflective encoders, in contrast, are constructed from a single emitter-receiver element that is packaged together with the various optical components for imaging the light source onto the photodetector. Hence, the manufacturer only has to mount and align one component. Ideally, the manufacturer would like to have a reflective encoder that has the relaxed tolerances associated with a transmissive encoder.
The present invention includes an encoder having a carrier that passes through an opening in a mounting body. The carrier includes an encoding region having a plurality of clear and opaque regions, the carrier having first and second surfaces. The clear and opaque regions of the carrier pass through the opening in the mounting body when the carrier moves relative to the mounting body. A light emitter generates a light signal that passes through the carrier, the light emitter being located adjacent to the first side of the carrier and separated therefrom. A light reflector is attached to the mounting body at a position such that the light reflector directs the light signal through the second surface of the carrier. A photodetector measures light leaving the first surface of the carrier when one of the clear regions passes through the light signal as the carrier moves relative to the mounting body. The photodetector is located on the same side of the carrier as the light emitter. The light emitter and photodetector can be attached to the mounting body. The light reflector can include one or more mirrors positioned such that collimated light generated by the light emitter passes through the carrier at right angles.
The manner in which the present invention provides its advantages can be more easily understood with reference to
The detector can include an imaging lens 25 that images the collimated light onto the photodiode. Lens 25 can be used to adjust the size of the light bands to match the size of the photodiode or photodiodes in the detector. When used in this manner, the photodetector is placed at a point between the carrier and the focal point of lens 25. The distance between the photodetector and the lens determines the size of the code pattern image on the photodetector.
In general, the collimator is constructed from two separate sub-modules that are provided to the manufacturer of the completed encoder. The first sub-module includes the light source consisting of emitter 11 and lens 24. The second sub-module consists of photodetector 13 and lens 25. Since the light is collimated, the only critical distances are those between emitter 11 and lens 24 and between lens 25 and photodetector 13. These distances can be controlled to a high level of precision by the sub-module manufacturer. Hence, the tolerances that need to be maintained by the encoder manufacturer are substantially reduced in transmissive designs.
The present invention combines the benefits of the single module feature of a reflective encoder with the advantages of a transmissive encoder. The present invention can be used to construct both rotational encoders in which the carrier is a code disk and linear encoders in which the carrier is a code strip. To simplify the following discussion, the present invention will first be explained in terms of rotational encoders. The manner in which the present invention is used to construct a linear encoder will then be discussed in more detail.
Refer now to
Code disk 41 has an area at the middle and a series of clear and opaque bands in a region 44 along its outer edge. An exemplary transparent band is shown at 42, and an exemplary opaque band is shown at 43. Code disk 41 rotates about shaft 46. The present invention includes an encoder having a carrier that passes through an opening in a mounting body. The carrier includes an encoding region having a plurality of clear and opaque regions, the carrier having first and second surfaces. The clear and opaque regions of the carrier pass through the opening in the mounting body when the carrier moves relative to the mounting body. A light emitter generates a light signal that passes through the carrier, the light emitter being located adjacent to the first side of the carrier and separated therefrom. A light reflector is attached to the mounting body at a position such that the light reflector directs the light signal through the second surface of the carrier. A photodetector measures light leaving the first surface of the carrier when one of the clear regions passes through the light signal as the carrier moves relative to the mounting body. The photodetector is located on the same side of the carrier as the light emitter. The light emitter and photodetector can be attached to the mounting body. The light reflector can include one or more mirrors positioned such that collimated light generated by the light emitter passes through the code strip at right angles. The central region of code strip 41 between shaft 46 and the plurality of opaque bands is also transparent in this embodiment. In the view shown in
Refer now to
The upper surface of gap 48 includes a mirror 57. Mirror 57 reflects the collimated light 58 generated by light emitter 51 back down through the band region of code disk 41. Mirror 57, in effect, creates a virtual image of a collimated light source above code disk 41. Hence, encoder 40 behaves substantially the same as a conventional transmissive encoder while allowing the light emitter and photodetector to be packaged in a single emitter-detector module 55 that is mounted on mounting body 56. It should be noted that the distance between code disk 41 and emitter-detector module 55 is not critical, since the various lens that have critical spacings with respect to the light emitter and photodetector are packaged in emitter-detector module 55.
The angle of incidence of the collimated light on code disk 41 is preferably 90 degrees to better simulate a collimated source directly above photodetector 52. The arrangement shown in
Refer now to
While the arrangement shown in
Refer now to
The above-described embodiments of the present invention have been directed to shaft encoders in which the angle of rotation of a shaft such as shaft 46 shown in
In the above-described embodiments of the present invention, the encoding pattern carrier includes a top and bottom surface and the emitter-detector module is placed under the code strip while the reflector is positioned above the top surface. However, these designations are arbitrary. Embodiments of the present invention in which the emitter-detector module is placed above the carrier and the reflector below the code strip can also be constructed in a manner analogous to that described above.
The light emitters used in the above embodiments of the present invention are typically an LED with a collimating lens. However, it will be appreciated that other forms of light emitter can be utilized. For example, semiconductor lasers provide collimated light signals without the need for a collimating lens.
Similarly, the photodetectors discussed in the above embodiments are typically constructed from photodiodes. However, it will be appreciated that other forms of photodetector can be utilized provided the photodetector provides an electrical signal that measures the amount of light received by the photodetector. For example, semiconductor-based photodetectors based on phototransistors can be utilized.
The above-described embodiments of the present invention utilize a single photodetector for measuring the light passing through the encoding pattern carrier. However, embodiments of the present invention that utilize multiple photodetectors positioned such that the resulting signals provide a measure of the direction of travel of the carrier and/or interpolate the distance traveled to an accuracy greater than that of a single band on the carrier can also be utilized in place of the single photodetector described above. Such detector arrangements are known to the art, and hence, will not be described in detail here. For the purposes of the present discussion, it is sufficient to note that such detectors operate by forming an image of the code pattern on the surface of a detector array having a plurality of adjacent photodetectors whose areas correspond to the bands in the encoding pattern image that is projected onto the individual photodetectors.
Various modifications to the present invention will become apparent to those skilled in the art from the foregoing description and accompanying drawings. Accordingly, the present invention is to be limited solely by the scope of the following claims.