A description will now be given by way of the drawings with respect to some embodiments of the signal processing circuit for optical encoder according to the invention.
A first embodiment of the signal processing circuit for optical encoder according to the invention will now be described.
An output of the operational amplifier 102a is connected to one terminal of a resistor 105a having a resistance value R2 of which the other terminal is connected to an inverting input terminal of an operational amplifier 104a. An output of the operational amplifier 102a′ is connected to one terminal of a resistor 105a′ having a resistance value R2 of which the other terminal is connected to a non-inverting input terminal of the operational amplifier 104a. It should be noted that a resistor 106-1a having a resistance value R3 is connected between the inverting input terminal and the output terminal of the operational amplifier 104a while a resistor 106-2a having a resistance value R3 is connected between the non-inverting input terminal and the reference potential (ground potential), and the output terminal of the operational amplifier 104a is connected to an encoder signal output terminal 107a.
Further, an output of the operational amplifier 102b is connected to one terminal of a resistor 105b having a resistance value R2 of which the other terminal is connected to an inverting input terminal of an operational amplifier 104b. An output of the operational amplifier 102b′ is connected to one terminal of a resistor 105b′ having a resistance value R2 of which the other terminal is connected to a non-inverting input terminal of the operational amplifier 104b. It should be noted that a resistor 106-1b having a resistance value R3 is connected between the inverting input terminal and the output terminal of the operational amplifier 104b while a resistor 106-2b having a resistance value R3 is connected between the non-inverting input terminal and the reference potential (ground potential), and the output terminal of the operational amplifier 104b is connected to an encoder signal output terminal 107b.
Further, the outputs of the operational amplifiers 102a, 102a′, 102b, and 102b′ are respectively connected to one terminal of resistors 109a, 109a′, 109b, and 109b′ each having a resistance value R4 of which the other terminal are connected to an inverting input terminal of an operational amplifier 108. A non-inverting input terminal of the operational amplifier 108 is connected to a reference potential (ground potential), and a resister 110 having a resistance value R4/4 is connected between the inverting input terminal and the output terminal thereof.
An output terminal of the operational amplifier 108 is connected to a DC signal monitoring circuit 111 and to a gain regulating amplifier 112, and an output of the DC signal monitoring circuit 111 is transmitted as control signal to the gain regulating amplifier 112. The DC signal monitoring circuit 111 is composed of a differential amplifier where DC voltage signal from the operational amplifier 108 is compared with a target reference DC voltage to generate a difference signal. Such difference signal is transmitted as control signal to the gain regulating amplifier 112. An output of the gain regulating amplifier 112 is connected to a non-inverting input terminal of the operational amplifier 113, and an inverting input terminal of the operational amplifier 113 is connected to one terminal of a resistor 114 having a resistance value R5 of which the other terminal is connected to a reference potential (ground potential). An output of the operational amplifier 113 is connected to the gate terminal of a transistor 115 of which the source terminal is connected to the inverting input terminal of the operational amplifier 113.
The drain terminal of the transistor 115 is connected to an input terminal of a current mirror circuit 116, and an output terminal of the current mirror circuit 116 is connected to an input terminal of a current mirror circuit 117 which has four output terminals. Each output terminal of the current mirror circuit 117 is respectively connected to the anode terminal of the photodiodes 101a, 101a′, 101b, and 101b′.
The operational amplifier 102a and resistor 103a, the operational amplifier 102a′ and resistor 103a′, the operational amplifier 102b and resistor 103b, and the operational amplifier 102b′ and resistor 103b′ respectively constitute IV conversion circuits 118a, 118a′, 118b, and 118b′ at which photo current signals outputted from photodiodes 101a, 101a′, 101b, and 101b′ are respectively converted into voltage signals to be outputted. The operational amplifier 104a, resistors 105a, 105a′, 106-1a, and 106-2a constitute a differential amplification circuit 119a which obtains and amplifies the differential signal between the respective output voltage signals of the IV conversion circuits 118a and 118a′. The operational amplifier 104b, and resistors 105b, 105b′, 106-1b, and 106-2b constitute a differential amplification circuit 119b which obtains and amplifies the differential signal between the respective output voltage signals of the IV conversion circuits 118b and 118b′.
The operational amplifier 108, resistors 109a, 109a′, 109b, and 109b′, and resistor 110 constitute a DC signal detection circuit 119 which adds up the output voltage signals of the respective IV conversion circuits 118a, 118a′, 118b, and 118b′ to detect DC component of the optical signals. The gain regulating amplifier 112, operational amplifier 113, resistor 114, transistor 115, and current mirror circuit 116 constitute a VI conversion circuit 120 which converts DC voltage signal into a current value and outputs it as a suppressing current. The DC signal monitoring circuit 111, VI conversion circuit 120, and current mirror circuit 117 constitute a suppressing current generation circuit 121 which supplies the suppressing current for suppressing the DC component to anode terminals that are the photo current output terminals of the photodiodes 101a, 101a′, 101b, and 101b′ in accordance with the value of the DC component.
An operation will now be described of thus constructed signal processing circuit for optical encoder according to the first embodiment. From the photodiodes 101a, 101a′, 101b, and 101b′ in
Here, supposing Ia, Ia′, Ib, and Ib′ as AC current components of photo current generated by difference in light/dark of the lights incident respectively on the photodiodes 101a, 101a′, 101b, and 101b′, and Idc as DC current component generated by dark current and the continuously incident light or in other words a background light, the voltage signals Va, Va′, Vb, and Vb′ outputted from each IV conversion circuit 118a, 118a′, 118b, and 118b′ are respectively expressed by the expressions (3) to (6).
Va=−R
1 (Ia+Idc−If) (3)
Va′=−R
1(Ia′+Idc−If) (4)
Vb=−R
1(Ib+Idc−If) (5)
Vb′=−R
1(Ib′+Idc−If) (6)
Next, the voltage signals Va and Va′ outputted from the IV conversion circuits 118a, 118a′ are inputted to the differential amplification circuit 119a, and the voltage signals Vb and Vb′ outputted from the IV conversion circuits 118b, 118b′ are similarly inputted to the differential amplification circuit 119b so that these are respectively differentiated and amplified. The signals operated and amplified at each of the differential amplification circuits 119a, 119b are respectively outputted to the encoder signal output terminals 107a and 107b. The encoder signals VAout, VBout to be outputted to the respective encoder signal output terminals 107a, 107b are obtained by the following expressions (7), (8).
where Ia=−Ia′, Ib=−Ib′, since Ia and Ia′, and Ib and Ib′ are the signals shifted in phase by ½ period from each other. The expressions (7), (8) thus become the following expressions (9), (10) so that encoder signals VAout and VBout having a phase difference of ¼ period are generated.
VAout=2R1R3/R2·Ia (9)
VBout=2R1R3/R2·Ib (10)
Now, the output voltage signals Va, Va′, Vb, Vb′ of the IV conversion circuits 118a, 118a′, 118b, 118b′ are inputted to the DC signal detection circuit 119 so as to be operated. Since the DC signal detection circuit 119 is formed as a summing amplifier having an input resistance R4 and feedback resistance R4/4, the following expression (11) where Vdc is output voltage is obtained from the expressions (3) to (6).
Here, of the AC components of each photo current, there is a shift in phase of ½ period from each other between 1a and 1a′, and between 1b and 1b′. Accordingly, the following expression (12) is obtained.
Ia+Ia′+Ib+Ib′=0 (12)
Vdc=R
1(Idc−If) (13)
As can be seen from the above expression (13), in consequence, the DC signal detection circuit 119 is to detect DC component of the signals flowing out from the photodiodes.
Next, the DC voltage signal Vdc detected at the DC signal detection circuit 119 is inputted to the suppressing current generation circuit 121. At the suppressing current generation circuit 121, the DC voltage signal Vdc is inputted to the DC signal monitoring circuit 111 and to the gain regulating amplifier 112 of the VI conversion circuit 120 so that it is amplified by the gain regulating amplifier 112 under control of the DC signal monitoring circuit 111. Supposing the gain as α and output voltage of the gain regulating amplifier 112 as VG, the output voltage VG of the gain regulating amplifier 112 is obtained by the following expression (14).
VG=α Vdc=α R
1(Idc−If) (14)
The DC voltage signal multiplied by α is converted into the suppressing current If as shown in the following expression (15) by the VI conversion circuit 120.
If=VG/R
5
=α·R
1
/R
5·(Idc−If) (15)
Rearranging (15), the following expression (16) is obtained.
If{α/(R5/R1+α)}·Idc (16)
where, especially when R1=R5 is put, the suppressing current If is represented by the following expression (17).
If=α/(1+α)·Idc (17)
The suppressing current If, which is an output current of the VI conversion circuit 120, is copied by the current mirror circuit 117, and is supplied to the anode terminals of the photodiodes 101a, 101a′, 101b, and 101b′ as an output of the suppressing current generation circuit 121. From (3) to (6), and (17) of the above, thus, the voltage signals Va, Va′, Vb, and Vb′ outputted from the IV conversion circuits 118a, 118a′, 118b, and 118b′ are respectively represented by the following expressions (18) to (21).
Va=−R
1
Ia−R
1/(1+α)·Idc (18)
Va′=−R
1
Ia′−R
1/(1+α)·Idc (19)
Vb=−R
1
Ib−R
1/(1+α)·Idc (20)
Vb′=−R
1
Ib′−R
1/(1+α)·Idc (21)
Further, from (13) and (16), the DC voltage signal Vdc is obtained as in the following expression (22).
Vdc=R
1/(1+α)·Idc (22)
In the first embodiment as the above, the DC voltage signal Vdc, which is an output voltage of the DC signal detection circuit 119, is monitored by comparing it with the reference DC voltage provided at the DC signal monitoring circuit 111. If the DC voltage signal Vdc is greater than the reference voltage DC, i.e., the DC component of photo current is large, the gain α at the gain regulating amplifier 112 is made higher by control of the DC signal monitoring circuit 111 to increase the suppressing current If. If, on the other hand, the DC voltage signal Vdc is smaller, i.e., the DC component of photo current is small, the gain α of the gain regulating amplifier 112 is lowered to decrease the suppressing current If. In this manner, even when DC component of the photo current photoelectrically converted at the photodiode is large, distortion of the output voltage of the IV conversion circuit is avoided so that the IV conversion circuit can be operated in an optimum operation range. Accordingly, stable and accurate signal processing of optical encoder can be effected.
A description will now be given by way of
An operation of thus constructed second embodiment will now be described. Similarly to the first embodiment, the DC voltage signal Vdc detected at the DC signal detection circuit 119 is inputted to the suppressing current generation circuit 121. At the suppressing current generation circuit 121, the DC voltage signal Vdc is inputted to the DC signal monitoring circuit 111 and to the VI conversion circuit 120. The DC voltage signal Vdc is then converted into the suppressing current If as in the following expression (23) by the VI conversion circuit 120 which has the variable resistor 214 where the resistance value R5 is changed by control of the DC signal monitoring circuit 111.
If=Vdc/R
5
=R
1
/R
5·(Idc−If) (23)
Rearranging (23), the following expression (24) is obtained.
If=R
1/(R5+R1)·Idc (24)
The suppressing current If, which is an output current of the VI conversion circuit 120, is copied by the current mirror circuit 117 and is supplied to the anode terminals of the photodiodes 101a, 101a′, 101b, and 101b′ as output of the suppressing current generation circuit 121. From (3) to (6), and (24) of the above, thus, the voltage signals Va, Va′, Vb, and Vb′ outputted from the IV conversion circuits 118a, 118a′, 118b, and 118b′ are respectively represented by the following expressions (25) to (28).
Va=−R
1
Ia−R
1
R
5/(R5+R1)·Idc (25)
Va′=−R
1
Ia′−R
1
R
5/(R5+R1)·Idc (26)
Vb=−R
1
Ib−R
1
R
5/(R5+R1)·Idc (27)
Vb′=−R
1
Ib′−R
1
R
5/(R5+R1)·Idc (28)
Further, from (13) and (24), the DC voltage signal Vdc is represented by the following expression (29).
Vdc=R
1
R
5/(R5+R1)·Idc (29)
In the second embodiment as the above, the DC voltage signal Vdc, which is an output voltage of the DC signal detection circuit 119, is monitored by the DC signal monitoring circuit 111 similarly to the first embodiment. If the DC voltage signal Vdc is large, i.e., the DC component of photo current is large, the resistance value of the variable resistor 214 of the VI conversion circuit 120 is set to a smaller value under instruction from the DC signal monitoring circuit 111 to increase the suppressing current If. If, on the other hand, the DC voltage signal Vdc is small, i.e., the DC component of photo current is small, the resistance value of the variable resistor 214 is set to a larger value to decrease the suppressing current If. In this manner, even when DC component of the photo current photoelectrically converted at the photodiode is large, distortion of the output voltage of the IV conversion circuit is avoided so that the IV conversion circuit can be operated in an optimum operation range. Accordingly, a stable and accurate signal processing of optical encoder can be effected.
As has been described by way of the above embodiments, according to the first and second aspects of the invention, DC component of photo currents is detected at the DC signal detection circuit, and, if the DC component of the photo currents is small, a suppressing current from the suppressing current generation circuit for suppressing DC component is made smaller, while the suppressing current for suppressing DC component is increased when DC component of the photo currents is large. Failure of the output voltage of the IV conversion circuit by the amount of photo currents is thereby avoided and the IV conversion circuit can be operated in an optimal operation range so that the signal processing for optical encoder can be effected in a stable manner.
According to the third aspect, an output voltage of the DC signal detection circuit is monitored by the DC signal monitoring circuit, and, if the output voltage is small, i.e., DC component of the photo currents is small, the gain of the gain regulating amplifier is lowered to make the suppressing current smaller, while the gain of the gain regulating amplifier is made higher to increase the suppressing current when the DC component of the photo currents is large. Failure of the output voltage of the IV conversion circuit by the amount of photo currents is thereby avoided and the IV conversion circuit can be operated in an optimal operation range so that the signal processing for optical encoder can be effected in a stable manner.
According to the fourth aspect, an output voltage of the DC signal detection circuit is monitored by the DC signal monitoring circuit, and, if the output voltage thereof is small, i.e., DC component of the photo currents is small, the resistance value of a variable resistor of VI amplifier is set to a higher level under an instruction from the DC signal monitoring circuit to make the suppressing current smaller, while the resistance value of the variable resistor is set to a lower value to increase the suppressing current when the output voltage is high, i.e., DC component of the photo currents is large. Failure of the output voltage of the IV conversion circuit by the amount of photo currents is thereby avoided and the IV conversion circuit can be operated in an optimal operation range so that the signal processing for optical encoder can be effected in a stable manner.
Number | Date | Country | Kind |
---|---|---|---|
2006-252259 | Sep 2006 | JP | national |