The present invention will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not intended to limit the present invention, and wherein:
The present invention will be described in detail below according to embodiments shown in the figures.
As shown in
In
In this optical encoder, light from the light-emitting element passes through the slits 102a and 102b and is detected by the eight photodiodes 103a to 103h. The light-emitting element usually consists of a single element so as to be a single light source. On the other hand, the eight photodiodes 103a to 103h each having a width which is one-eighth of the pitch P are provided as the light-receiving elements so as to be able to detect the directions and speed of movement of the movable member 101. The eight photodiodes 103a to 103h are arranged to be adjacent to each other in the direction of arrangement of the slits 102a and 102b with one-eighth the pitch P, namely with a pitch of P/8.
In this optical encoder, when the movable member 101 moves in either of the directions of movement, the signals A1+, A1−, A2+, A2−, A3+, A3−, A4+, and A4− caused by photocurrents are produced in the photodiodes 103a to 103h, respectively, as shown in
The two signals A1+ and A1− which are different in phase by 180 degrees from each other are input to the subtracter 11. The two signals A3+ and A3− which are different in phase by 180 degrees from each other are input to the subtracter 12. The two signals A2+ and A2− which are different in phase by 180 degrees from each other are input to the subtracter 13. The two signals A4+ and A4− which are different in phase by 180 degrees from each other are input to the subtracter 14. As described later, each of the subtracters 11 to 14 has a comparison circuit.
The subtracter 11 makes a comparison (subtraction) between the signals A1+ and A1− to output a signal {(A1+)-(A1−)} to the adders 21 and 22. The subtracter 12 makes a comparison (subtraction) between the signals A3+ and A3− to output a signal {(A3+)−(A3−)} to the adder 21 and output a signal {(A3−)−(A3+)} to the adder 22. The subtracter 13 makes a comparison (subtraction) between the signals A2+ and A2− to output a signal {(A2+)−(A2−)} to the adders 23 and 24. The subtracter 14 makes a comparison (subtraction) between the signals A4+ and A4− to output a signal {(A4+)−(A4−)} to the adder 23 and output a signal {(A4−)−(A4+)} to the adder 24.
Two signals [}(A1+)−(A1−)}+{(A3+)−(A3−)}] and [−{(A1+)−(A1−)}−{(A3+)−(A3−)}] outputted from the adder 21 are input to the comparator 31, which performs A/D conversion on the basis of these two signals. Two signals [{(A1+)−(A1−)}+{(A3−)−(A3+)}] and [{(A1−)−(A1+)}+{(A3+)−(A3−)}] outputted from the adder 22 are input to the comparator 32, which performs A/D conversion on the basis of these two signals.
Two signals [{(A2+)−(A2−)}+{(A4+)−(A4−)}] and [−{(A2+)−(A2−)}+{(A4+)−(A4−)}] outputted from the adder 23 are input to the comparator 33, which performs A/D conversion on the basis of these two signals. Two signals [{(A2+)−(A2−)}+{(A4−)−(A4+)}] and [−{(A2+)−(A2−)}+{(A4+)−(A4−)}] outputted from the adder 24 are input to the comparator 34, which performs A/D conversion on the basis of these two signals.
The output signals of the comparators 31 and 32 are input to the exclusive-or circuit 41, the output signal of which is input to the output circuit 51. Furthermore, the output signals of the comparators 33 and 34 are input to the exclusive-or circuit 42, the output signal of which is input to the output circuit 52. Each of the output circuits 51 and 52 performs waveform shaping of an inputted signal to output an encoder signal.
In the first embodiment, the subtracter 11 to which the signals A1+ and A1− are input has an adjustable resistor R11 as shown in
The first embodiment has been described in connection with the case in which of the four subtracters 11 to 14 as the signal processing circuits, the subtracter 11 has an adjustable resistor R11. However, the basic circuit configurations of the four subtracters 11 to 14 are similar, so that, alternatively, the subtracter 12 may have an adjustable resistor. Alternatively, each of the subtracters 11 and 12 may have an adjustable resistor, or at least one of the subtracters 13 and 14 may have an adjustable resistor.
Next, a second embodiment of the optical encoder according to the present invention will be described with reference to
In the second embodiment, as is apparent from
In the second embodiment, the transistor Tr31 of the subtracter 111 shown in
In the adder 221, the transistors Tr41 and Tr42 output a current which is converted to a voltage by the resistor R31, and the transistors Tr39 and Tr40 output a current which is converted to a voltage by the resistor R32. In the adder 222, the transistors Tr37 and Tr38 output a current which is converted to a voltage by the resistor R33, and the transistors Tr35 and Tr36 output a current which is converted to a voltage by the resistor R34.
As a result of this, the adder 221 outputs a signal [{(A1+)−(A1−)}+{(A3+)−(A3−)}] from its output terminal T31, and outputs a signal [−{(A1+)−(A1−)}−{(A3+)−(A3−)}] from its output terminal T32.
In the adder 221, of the two output resistors R31 and R32, the output resistor R31 is an adjustable resistor of which the resistance value is adjustable, so that the offset of the two signals can be reduced. Thus, variations in the duty ratio of the output signal of the comparator 31 serving as the A/D converting section can be reduced, and thereby an accurate and stable encoder operation is achieved.
Furthermore, the adder 222 outputs a signal [−{(A1−)−(A1+)}−{(A3+)−(A3−)}] from its output terminal T33, and outputs a signal [{(A1−)−(A1+)}+{(A3+)−(A3−)}] from its output terminal T34. In the adder 222, of the two output resistors R33 and R34, the output resistor R34 is an adjustable resistor of which the resistance value is adjustable, so that the offset of the two signals can be reduced. Thus, variations in the duty ratio of the output signal of the comparator 32 serving as the A/D converting section can be reduced, and thereby an accurate and stable encoder operation is achieved.
The second embodiment includes two adders corresponding to the adders 23 and 24 of the first embodiment, and these two adders have circuit configurations similar to those of the two adders 221 and 222 shown in
Next, a third embodiment of the optical encoder according to the present invention will be described with reference to
As shown in
On the other hand, as shown in
In the third embodiment, of the subtracters 311 and 312 and the adders 321 and 322, only the subtracter 311 has an adjustable resistor R42. In other words, in the third embodiment, the subtracter 311 in a stage before the adders 321 and 322 has one adjustable resistor R42 instead of the adjustable resistors R31 and R34 included in the adders 221 and 222 of the second embodiment. For this reason, according to the third embodiment, the number of adjustable resistors can be reduced as compared with the second embodiment.
Next, a fourth embodiment of the optical encoder according to the present invention will be described with reference to
In the fourth embodiment, as shown in
In the fourth embodiment, the emitter resistors of the transistors TR73 and TR74 which switch on and off in the output sections of the comparators 31 and 32 are adjustable, so that the differences between the on-times and the off-times can be adjusted, and thereby the duty ratios of output signals can be brought near to an ideal state.
Also in the comparators 33 and 34, the emitter resistors of the transistors of the output sections are adjustable as in the comparators 31 and 32, so that the differences between the on-times and the off-times can be adjusted, and thereby the duty ratios of output signals can be brought near to an ideal state.
Next, a fifth embodiment of the optical encoder according to the present invention will be described with reference to
In the fifth embodiment, the resistance values of the adjustable resistors R91 and R92 in the hysteresis producing areas of the comparators 31 and 32 are adjusted, so that the saturation states of the transistors Tr91 and Tr92 vary, and thereby the hysteresis widths can be adjusted. As a result of this, the duty ratios of digital signals, which are comparator output signals, can be adjusted, and therefore the duty ratios of the digital signals are prevented from deviating from an ideal state when an offset has occurred in the optical system or the circuit system.
Not only the comparators 31 and 32 but also the comparators 33 and 34 include resistance-adjustable resistors in their respective hysteresis producing areas, so that the saturation states of the transistors vary, and therefore the hysteresis widths of the comparators can be adjusted.
(Example of Output Circuit)
Next, an example of the output circuits 51 and 52 as the digital signal section for processing digital signals in the first to fifth embodiments of the optical encoder according to the present invention will be described below with reference to
In this output circuit, the rise time, tr, and fall time, tf, of a digital signal can be adjusted with the adjustable capacitance C101 and the adjustable resistor R101, and thereby the duty ratio of the digital signal can be adjusted and variations in the duty ratio of the digital signal can be reduced.
In the exclusive-or circuits 41 and 42 which are logical operation sections in
Furthermore, electronic equipment including an optical encoder according to any one of the above embodiments is able to have an increased operation accuracy because of the steady optical encoder which has an excellent operational accuracy and few variations in the output signal even when the amount of received light varies.
Embodiments of the invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
P2006-241536 | Sep 2006 | JP | national |