Abstract:
A brightness sensing circuit for providing a binary electrical signal for indicating whether incident light exceeds a certain brightness. The circuit&#39;s light detector is a photodiode, whose output is amplified by a first current mirror. The circuit has a reference current source, whose output is amplified by a second current mirror. Both currents are delivered to a common node, whose voltage level transitions from low to high when the amplified input current exceeds the amplified reference current. This node is connected to the gate input of a CMOS inverter, which provides a binary output.

Description:
This application is a continuation of application Ser. No. 08/002,310, filed Jan. 8, 1993 now abandoned. 
    
    
     TECHNICAL FIELD OF THE INVENTION 
     This invention relates to electro-optical circuits, and more particularly to a circuit for determining when light radiated from a source exceeds a certain brightness. 
     BACKGROUND OF THE INVENTION 
     In some applications of visible light sources, it may be desirable to know when light radiated from the source exceeds a certain brightness. If it is known when the brightness is exceeded, controls such as source regulation or shut-off can be implemented. 
     Optical applications are becoming increasingly combined with semiconductor control circuits. Also, even some of the optical circuits are capable of being realized with semiconductor fabrication techniques. An example of using semiconductor techniques to fabricate an optoelectrical device is the fabrication of spatial light modulators, especially those known as &#34;deformable mirror devices&#34; or &#34;digital micro-mirror devices&#34;. These devices consist of an array of tiny micro-mechanical mirror elements, which are movable between at least two positions and reflect light to an image frame if positioned so that light is reflected in that direction. The mirror elements are controlled and individually addressed with electrodes. The mirror elements, as well as the addressing circuit, can be manufactured on a single semiconductor substrate. 
     Various types of light detectors are available that can be used to detect light and to generate some sort of signal if the brightness exceeds a certain level. However, it would be advantageous to have such a circuit that could be easily implemented as an integrated circuit, together with other circuitry. If the circuit were simple and small, it could be implemented as a control subcircuit on a larger opto-electrical device. 
     U.S. Pat. No. 5,179,274, issued Jan. 12, 1993, entitled &#34;Method for Controlling Operation of Optical Systems and Devices&#34; describes a logic circuit that uses two photo transistors to detect a low limit and a high limit of illumination. A need exists for an alternative circuit that uses only one photosensitive device to detect an upper limit. 
     SUMMARY OF THE INVENTION 
     A first aspect of the invention is a circuit for providing an electrical signal to indicate when incident light exceeds a certain level of brightness. A photodiode detects incident light and generates an input current. A first current mirror receives and amplifies this input current and delivers the amplified input current to an intermediate node. A current source provides a reference current. A second current mirror receives and amplifies this reference current and delivers the amplified reference current to the intermediate node. An inverter receives a gate current from the intermediate node if the amplified input current exceeds the amplified reference current, and thereby provides a binary output depending on that relationship. 
     A technical advantage of the invention is that it may be easily fabricated as an integrated circuit, either as a stand alone device or as a peripheral control circuit for some other device. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 illustrates a brightness sensing circuit in accordance with the invention. 
     FIG. 2 illustrates a deformable mirror device that includes the brightness sensing circuit of FIG. 1. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     FIG. 1 illustrates a brightness-sensing circuit 10 in accordance with the invention. Circuit 10 comprises a photodiode 12, six transistors 14a-14f, and a current source 16. Each of these elements may be fabricated using MOS (metal oxide semiconductor) fabrication techniques. Although this description is in terms of MOS devices, in particular MOSFET&#39;s, it should be understood that the same circuit 10 could also be implemented with bipolar transistor devices. 
     As indicated in FIG. 1, various connections are made to a common ground, which may be the substrate of a semiconductor device. A voltage source is connected at V DD  to provide a standard power source as is appropriate for the particular transistors being used. For example, a 5 volt power source might be used for MOS devices. 
     In general terms, circuit 10 generates a &#34;high&#34; or &#34;low&#34; signal at node C, with the value at node C depending on whether the brightness of light incident on photodiode 12 is above a predetermined threshold. The signal at node C can be used as a binary code, which may be used to make a decision whether to shut off the incident light, or which may be simply stored for historical purposes. Alternatively, a binary signal can be delivered to an automatic control circuit (not shown in FIG. 1). 
     Photodiode 12 may be any conventional photodiode device. It may be a discrete device, or may be fabricated as part of an integrated circuit that contains all of circuit 10. The anode of photodiode 12 is connected to the substrate or other common ground. Its cathode is connected to a current comparator comprised of transistors 14a-14d, and then to an inverter comprised of transistors 14e and 14f. 
     All transistors 14a-14f are MOSFETs (MOS field effect transistors). Their drain, source, and gate connections are indicated in FIG. 1. Transistors 14a, 14b, and 14e are p-channel type transistors; transistors 14c, 14d, and 14f are n-channel type. Although not shown in FIG. 1, in the case where circuit 10 is an integrated circuit, substrate connections are to the transistor sources. 
     The current from photodiode 12 is received into a current mirror consisting of transistors 14a and 14b. 
     As is the case with conventional MOSFET current mirrors, the amount of current mirrored by transistor 14b is a function of the relative size of transistors 14a and 14b, i.e., their relative channel width and channel length. Transistor 14b provides an amplified input current at node B. 
     Current source 16 generates a current, I Ref . The amount of current provided by current source 16 is set so that, as explained below, at a desired threshold of the amplified input current, there is a transition in the voltage level at node B. Ideally, current source 16 is adjustable, so that circuit 10 can be set for different thresholds. The current reference 16, can be integrated as a part of circuit 10, or can be provided as an externally generated input. 
     The current from current source 16 is received into a current mirror consisting of transistors 14c and 14d. Transistor 14c provides an amplified reference current to node B. 
     Transistors 14e and 14f have a gate input current that is determined by the voltage at node B. They form a CMOS inverter, such that a high voltage at node B results in a low voltage at node C, and vice versa. 
     In operation, incident light, L I , illuminates the surface of circuit 10. All devices are shielded from the light except for photodiode 12. The shielding can be accomplished using a metal fabrication level. Photodiode 12 receives this incident light, and in response, generates a current, I p , which is amplified by transistor 14b to node B. The current from current source 16, I Ref , is amplified by transistor 14c to node B. When the current from transistor 14b exceeds the current from transistor 14c, the voltage level at node B goes &#34;high&#34;. This provides a gate input current to the inverter formed by transistors 14e and 14f. In response to the gate input current, the output at node C undergoes a transition from a high state to a low state. 
     As an example of using circuit 10, it is desired to use circuit 10 to indicate when the brightness level of L I  exceeds 2000 lumens. The size and other properties of the particular photodiode 12, which is 17 microns square, indicate that this level of brightness will cause an I P  of approximately 5 microamps. This estimation may vary according to the quantum efficiency of the particular diode 12, but can be predicted or experimentally obtained using known techniques. The current mirror ratios, and the current-generating capability of current source 16 are selected so that when I P  exceeds 5 microamps, the current from transistor 14b will be greater than the current from transistor 14c at node B. This will cause the voltage at node B to go high, and cause the binary output at node C to go low. 
     FIG. 2 illustrates circuit 10 as a subcircuit of a deformable mirror device (DMD) 20. The pixel element array and its addressing circuit 22 are fabricated on a substrate 24. Circuit 10 is fabricated on the same substrate 24, as a peripheral control circuit. In operation, circuit 10 receives the same incident light, L I , as does the pixel element array 22. The reflected light, L R , is desired to remain under a certain threshold. The relationship between L I  and L R  is some ratio, depending on the quantum efficiency of the pixel element array 22. Thus, a certain value of L I   can be predicted to result in a certain value of L R , and circuit 10 may be used to determine if the value of L I  will result in an L R  that is above the threshold. 
     If the light reflected from DMD 20 exceeds the threshold, the voltage at node C goes high in the manner described above in connection with FIG. 1. This signal can be communicated to a control circuit 28, and used to shut off operation of the DMD 20. For example, control circuit 28 might include a master clock, whose operation could be stopped by a signal from circuit 10. 
     Other Embodiments 
     Although the invention has been described with reference to specific embodiments, this description is not meant to be construed in a limiting sense. Various modifications of the disclosed embodiments, as well as alternative embodiments, will be apparent to persons skilled in the art. It is, therefore, contemplated that the appended claims will cover all modifications that fall within the true scope of the invention.