摘要 |
PURPOSE:To generate a stable sensor output by comparing the difference between the maximum and minimum value of the output of a photosensor with a value determined on the basis of a noise level and controlling a lamp. CONSTITUTION:When the difference between the maximum and minimum values M is larger than the necessary value determined on the basis of the noise level, the output of an output port P is set to ''1'' or the positive maximum value or ''0'' for the negative maximum value. When the difference between the maximum and minimum value is smaller than the necessary value and the minimum value is positive, the difference between the maximum value and necessary value is further checked. When negative, on the other hand, the output of the output port P is set to ''0''. When the output of the output port P is ''0'', the contact point potential of a resistor R1-R2 drops and the bias of a transistor (TR)T2 becomes shallow to increase the quantity of light of the lamp L. When the output of the output port P is ''1'', the contact point potential of the resistor R1-R2 rises and the bias of the TRT2 becomes deep to decrease the quantity of light of the lamp L.
|