The present application claims priority under 35 U.S.C. §119 of Japanese Application No. 2010-229953, filed on Oct. 12, 2010, the disclosure of which is expressly incorporated by reference herein in its entirety.
1. Field of the Invention
The present invention relates to an origin location detection circuit in an encoder. The encoder includes a scale on which an origin pattern indicating an origin is provided, and a detection head relatively displaceable with respect to the scale. The origin location detection circuit includes a comparator for generating an origin signal indicating a location of the origin from an output voltage signal, which is output from a detector of the detection head and has been affected by involvement of the origin pattern. In particular, the present invention relates to an origin location detection circuit capable of improving reproducibility of a detection location of the origin signal even when there is fluctuation in a DC component of the output voltage signal.
2. Description of Related Art
Conventionally, a detection method of an origin location in a photoelectric encoder, such as the one disclosed in Japanese Patent Laid-Open Publication No. 2000-97726, has been proposed. In such a detection method of the origin location, for example, when an LED as a light source and a phototransistor as a light receiver (detector) are used, an origin location detection circuit as illustrated in
However, as illustrated by a dashed line in
It is also conceivable to follow the fluctuation in the DC component by using a high pass filter disclosed in Japanese Patent Laid-Open Publication No. 2007-240348. In this case, a frequency component obtained when detecting an origin signal using the high pass filter of Japanese Patent Laid-Open Publication No. 2007-240348 must be separated from a frequency component related to the DC component. However, in a case where a location of an origin is actually completely unknown during power-on, a detection operation is extremely slowly performed when detecting the origin location of an encoder, which is not limited to a photoelectric type. In such a case, a frequency component obtained when detecting an origin signal contains a significantly low frequency component. Therefore, it is difficult to separate the frequency component obtained when detecting an origin signal using the above described high pass filter and the frequency component related to the DC component. That is, using the technology of Japanese Patent Laid-Open Publication No. 2007-240348, it is difficult to surely avoid the detection location deviation of the origin signal.
The present invention has been devised to address the above describe circumstances. A purpose of the present invention is to provide an origin location detection circuit capable of surely improving reproducibility of the detection location of the origin signal even when fluctuation exists in the DC component of the output voltage signal which is output from the detector and which has been affected by involvement of the origin pattern.
One aspect of the present invention is an origin location detection circuit in an encoder. The encoder includes a scale on which an origin pattern indicating an origin is provided and a detection head relatively displaceable with respect to the scale. The origin location detection circuit includes a comparator for generating an origin signal indicating a location of the origin from an output voltage signal which is output from a detector of the detection head and which has been affected by involvement of the origin pattern; a DC voltage detection circuit smoothing the output voltage signal; and a differential amplifier circuit performing differential amplification of the output voltage signal and a DC voltage signal output from the DC voltage detection circuit. In this origin location detection circuit, a differential amplifier signal of the differential amplifier circuit is input to the comparator. By providing such an origin location detection circuit, the above purpose is achieved. An operation charging the output voltage signal during a specific period of time is also included in “smoothing the output voltage signal”.
According to another aspect of the present invention, the encoder is a photoelectric encoder, which includes a light source and a light receiver, the light source irradiating the origin pattern with light, and the light receiver, as the detector, receiving light from the origin pattern.
According to another aspect of the present invention, the DC voltage detection circuit includes a low pass filter configured with a resistor and a capacitor, the resistor allowing the output voltage signal to pass, and the capacitor being connected between an output end of the resistor and the ground.
According to another aspect of the present invention, the DC voltage detection circuit further includes an OP amplifier wired in a form of a voltage follower at a rear side of the low pass filter, and the DC voltage signal is output from the OP amplifier.
According to another aspect of the present invention, the DC voltage detection circuit includes an analog switch and a capacitor at a front side, and an OP amplifier at a rear side of the capacitor, the analog switch allowing the output voltage signal to pass, the capacitor being connected between an output end of the analog switch and the ground, the OP amplifier being wired in a form of a voltage follower. On/Off of the analog switch is controlled using a power-on reset signal that resets the encoder, and the DC voltage signal is output from the OP amplifier.
According to the present invention, improvement in reproducibility of the detection location of the origin signal surely becomes possible, even when fluctuation exists in the DC component of the output voltage signal, which is output from the detector and which has been affected by involvement of the origin pattern.
The present invention is further described in the detailed description which follows, in reference to the noted plurality of drawings by way of non-limiting examples of exemplary embodiments of the present invention, in which like reference numerals represent similar parts throughout the several views of the drawings, and wherein:
The particulars shown herein are by way of example and for purposes of illustrative discussion of the embodiments of the present invention only and are presented in the cause of providing what is believed to be the most useful and readily understood description of the principles and conceptual aspects of the present invention. In this regard, no attempt is made to show structural details of the present invention in more detail than is necessary for the fundamental understanding of the present invention, the description is taken with the drawings making apparent to those skilled in the art how the forms of the present invention may be embodied in practice.
In the following, with reference to the drawings, an embodiment of the present invention is explained in detail.
First, a configuration of an encoder having an origin location detection circuit according to a first embodiment of the present invention is explained in the following using
As
As
As
Further, provided in the detection head 120 are an origin location detection circuit and a location detection circuit. The origin location detection circuit processes an output voltage signal φZ, which is output from the light receiver 126 of the origin unit 122 and has been affected by involvement of the origin pattern 112, to generate and output an origin signal PZ indicating a location of an origin. The location detection circuit processes an output from the light receiving array to obtain a relative location. Here, explanation of the location detection circuit is omitted. As
As
Specifically, as
The low pass filter is configured with a resistor R5, which is connected in series with the output voltage signal φZ to allow the output voltage signal φZ to pass, and a capacitor C1, which is connected between an output end of the resistor R5 and the ground (GND) (connected in parallel with the output voltage signal φZ). The low pass filter has a cutoff frequency fc (Equation (1)) for cutting fluctuation in the output voltage signal φZ at the origin location. In the present embodiment, as Equation (2) indicates, the product of the resistor R5 and the capacitor C1, which define the cutoff frequency fc, are set to be greater than a phototransistor output signal duration Tzw shown in
The OP amplifier U1 at a rear side of the capacitor C1 is wired in a form of a voltage follower in which an inverting input terminal of the OP amplifier U1 is directly connected to an output terminal of the OP amplifier U1. A non-inverting input terminal of the OP amplifier U1 is connected to the output end of the resistor R5. From the output terminal of the OP amplifier U1, a DC voltage signal Zdc is output. The OP amplifier U1, ideally, has an infinite input impedance and a zero output impedance. Therefore, the OP amplifier U1 is able to separate a connection between impedances of the circuits before and after the OP amplifier U1.
As
R3=R6, R4=R7 (4)
As
As
A limiting resistor R1 is connected between an LED, which is the light source 124, and the ground. A load resistor R2 is connected between an emitter terminal of a phototransistor, which is the light receiver 126, and the ground.
Next, operation of the origin location detection circuit is explained using
When light from the light source 124 irradiates the origin pattern 112 of the scale 110, light is reflected only by a reflection pattern portion, and, at the phototransistor, which is the light receiver 126, an electrical current corresponding to an amount of light received flows from the emitter terminal of the phototransistor to the resistor R2. A voltage across the resistor R2 becomes the output voltage signal φZ illustrated in
The output voltage signal φZ is branched. One portion of the branched output voltage signal φZ is input to the DC voltage detection circuit 128. The output voltage signal φZ is smoothed by the low pass filter at the front side of the DC voltage detection circuit 128, and only the DC component of the output voltage signal φZ is input to the non-inverting input terminal of the OP amplifier U1 at the rear side. In this case, the OP amplifier U1 is wired in a form of a voltage follower. Therefore, the DC component applied to the non-inverting input terminal of the OP amplifier U1 is output as is from the output terminal of the OP amplifier U1 as the DC voltage signal Zdc (=DC component) illustrated in
Another portion of the branched output voltage signal φZ is input to one input terminal of the differential amplifier circuit 130. The DC voltage signal Zdc is input to another input terminal. Here, as described above, even when the output voltage signal φZ fluctuates, the DC voltage signal Zdc also fluctuates with a nearly identical fluctuation range (ΔφZ≈ΔZdc). Therefore, even when the output voltage signal φZ fluctuates, the differential amplifier signal Zout (
The differential amplifier signal Zout and the threshold voltage Zsh are input to the comparator 132, and the signal ZP as illustrated in
As described above, the present embodiment includes, unprecedentedly, the DC voltage detection circuit 128 smoothing the output voltage signal φZ, and the differential amplifier circuit 130 performing differential amplification of the output voltage signal φZ and the DC voltage signal Zdc. Therefore, even when there is fluctuation (ΔZdc) in the DC component of the output voltage signal φZ, generated under the influence of degradation of the LED and the phototransistor, fluctuation in ambient temperature, fluctuation in power-supply voltage VDD, location changes over time of the scale 110 and the detection head 120, and the like, the differential amplifier signal Zout output from the differential amplifier circuit 130 via the DC voltage detection circuit 128 can be formed as a signal rising up from 0 V, measured relative to 0 V. That is, in the present embodiment, improvement can be achieved in the reproducibility of the detection location of the origin signal PZ (which is not periodic, but isolated) obtained from the differential amplifier signal Zout.
In this case, the encoder 100 is a photoelectric encoder, and includes the light source 124 irradiating the origin pattern 112 with light, and the light receiver 126 as a detector receiving light from the origin pattern 112. Moreover, the light source 124 is an LED, and the light receiver 126 is an NPN type phototransistor. Therefore, even both of the light source 124 and the light receiver 126 show large temperature dependency, the influence of the temperature dependency can be eliminated and the origin location detection circuit can be made of small size and at low cost.
Further, the DC voltage detection circuit 128 includes the low pass filter configured with the resistor R5, which allows the output voltage signal φZ to pass, and the capacitor C1, which is connected between the output end of the resistor R5 and the ground. Therefore, the DC component (DC voltage signal Zdc) of the output voltage signal φZ can be extracted using a simple and small circuit. In addition, the DC detection circuit 128 includes the OP amplifier U1 wired in a form of voltage follower at the rear side of the capacitor C1. The DC voltage signal Zdc is output from the OP amplifier U1. That is, the OP amplifier U1 is able to separate a connection between impedances of the circuits before and after the OP amplifier U1. Therefore, for example, the resistor R5 and the capacitor C1 that define the low pass filter can be simply and optimally specified, without being restricted by the resistors R6 and R7 of the differential amplifier circuit 130.
That is, according to the present embodiment, improvement surely becomes possible in the reproducibility of the detection location of the origin signal PZ, even when fluctuation exists in the DC component of the output voltage signal φZ, which is output from the light receiver 126 and has been affected by involvement of the origin pattern 112.
With respect to the present invention, the first embodiment has been described. However, the present invention is not limited to the first embodiment. That is, improvements and modifications in design are possible within the scope without departing from the spirit of the present invention.
For example, in the first embodiment, the DC voltage detection circuit 128 includes a combination of the low pass filter and the voltage follower using the OP amplifier U1. However, the present invention is not limited to this. For example, a second embodiment as illustrated in
In the present embodiment, the power-on reset signal POR is output from a power-on reset circuit provided in a control machine outside the encoder (however, the power-on reset circuit may also be provided inside the encoder). As
The OP amplifier U3 wired in a form of a voltage follower performs the same function as the OP amplifier U1 described in the first embodiment. That is, the OP amplifier U3 can output the charging voltage Zc2 as the DC voltage signal Zdc without affecting the charging voltage Zc2 (≈the DC voltage signal Zdc) charged on the capacitor C2.
That is, in the present embodiment, the power-on reset circuit is generally always provided, and the power-on reset signal output from the power-on reset circuit can be diverted. Therefore, the DC voltage detection circuit 228 can be configured to be simple and small-scaled. In the present embodiment, the DC voltage signal Zdc can be renewed each time the power-on reset signal POR is generated. That is, when the encoder is powered on, or even after the encoder is powered on when the power-on reset signal POR is being regularly output, the DC voltage signal Zdc can be regularly renewed. That is, in response to the renewal of the DC voltage signal Zdc, an origin location that follows the fluctuation in the output voltage signal φZ can be obtained, and improvement in the reproducibility of the detection location of the origin signal PZ surely becomes possible.
Further, in the first embodiment, the DC voltage signal is output via the OP amplifier U1, which is wired in a form of a voltage follower. However, the present invention is not limited to this. The OP amplifier U1 may be absent. In that case, the number of parts can be reduced, thereby promoting cost reduction and downsizing of the origin location detection circuit.
Further, in the above described embodiment, the slit at the one place that is permeable in the origin pattern is used to indicate the origin location. However, the present invention is not limited to this. For example, it is also possible that a plurality of origin locations are provided; it is also possible that only an origin location reflects light; and it is also possible that an edge, not a slit, is used to indicate an origin location.
Further, in the above described embodiment, the NPN type phototransistor is used as the light receiver. However, the present invention is not limited to this. For example, as the light receiver, it is possible to use a PNP type phototransistor, a photodiode, or the like.
Further, in the above described embodiment, the origin location detection circuit according to the present invention is applied to the reflection type photoelectric linear encoder (of a separate type). However, the present invention is not limited to this. For example, the present invention is also applicable to a reflection type photoelectric linear encoder of an integrated type. Or, as in a third embodiment illustrated in
Further, in the above embodiment, the present invention is applied to an incremental scale which is provided with an INC pattern configured with an optical lattice arranged at regular intervals. However, the present invention is not limited to this, but is also applicable to an absolute scale and the like, the absolute scale using a pseudo-random code and the like.
Further, the above described embodiment has been explained using the photoelectric linear encoder having a linear scale. However, the present invention is not limited to this. For example, the encoder may be a capacitive encoder or an electromagnetic inductive encoder. At the same time, the scale is not limited to a linear scale. The present invention is also applicable to a disc-shaped rotary encoder.
The origin location detection circuit according to the present invention is applicable to not only a photoelectric encoder, but also various encoders in which an origin location detection circuit is required.
It is noted that the foregoing examples have been provided merely for the purpose of explanation and are in no way to be construed as limiting of the present invention. While the present invention has been described with reference to exemplary embodiments, it is understood that the words which have been used herein are words of description and illustration, rather than words of limitation. Changes may be made, within the purview of the appended claims, as presently stated and as amended, without departing from the scope and spirit of the present invention in its aspects. Although the present invention has been described herein with reference to particular structures, materials and embodiments, the present invention is not intended to be limited to the particulars disclosed herein; rather, the present invention extends to all functionally equivalent structures, methods and uses, such as are within the scope of the appended claims.
The present invention is not limited to the above described embodiments, and various variations and modifications may be possible without departing from the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2010-229953 | Oct 2010 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4152579 | Feinland | May 1979 | A |
4636079 | Rieder et al. | Jan 1987 | A |
4678908 | LaPlante | Jul 1987 | A |
6285023 | Uehira | Sep 2001 | B1 |
6342697 | Nagai et al. | Jan 2002 | B1 |
7034948 | Tamiya et al. | Apr 2006 | B2 |
7541852 | Johnson | Jun 2009 | B2 |
Number | Date | Country |
---|---|---|
19913139 | Sep 1999 | DE |
19945167 | Mar 2000 | DE |
0145698 | Jun 1985 | EP |
2000-97726 | Apr 2000 | JP |
2007-240348 | Sep 2007 | JP |
Entry |
---|
Germany Office action, dated Mar. 27, 2013 along with an english translation thereof. |
Number | Date | Country | |
---|---|---|---|
20120085896 A1 | Apr 2012 | US |