The invention relates generally to light emitting diodes (LEDs) and, more particularly, to using LEDs to measure light intensity.
Turning to
Some examples of conventional circuits are: U.S. Patent Pre-Grant Publ. No. 2006/0072319; and PCT Publ. No. WO2003083818.
An embodiment of the present invention, accordingly, provides an apparatus. The apparatus comprises a plurality of light emitting diodes (LEDs) coupled in series with one another; a pulse width modulation (PWM) switch that is coupled to at least one of the LEDs; and a controller having: a sample switch that is coupled to at least one of the LEDs; a measurement circuit that is coupled to the sample switch; a sample-and-hold (S/H) circuit that is coupled to the measurement circuit; an integrator that is coupled to the S/H circuit; and a PWM generator that is coupled to the integrator, the PWM switch, and the sample switch, wherein the PWM generator controls the PWM and sample switches.
In accordance with an embodiment of the present invention, the PWM generator further comprises: a comparator that is coupled to the integrator; a logic circuit that is coupled to the comparator, the PWM switch, and the sample switch; and a signal generator that is coupled to the integrator, the comparator, and the logic circuit.
In accordance with an embodiment of the present invention, the logic circuit further comprises: a logic gate that is coupled to the comparator and the comparator; a latch that is coupled to the logic gate, the signal generator, and the sample switch; and an inverter that is coupled between the latch and the PWM switch.
In accordance with an embodiment of the present invention, the controller provides a reference signal to the integrator, a sawtooth signal to the comparator, a reset signal to the logic gate, and a sample set signal to the latch.
In accordance with an embodiment of the present invention, the logic gate is a NAND gate.
In accordance with an embodiment of the present invention, the latch is a reset-set (RS) latch.
In accordance with an embodiment of the present invention, the measurement circuit further comprises: a resistor that is coupled to the sample switch; and an amplifier that is coupled to the resistor.
In accordance with an embodiment of the present invention, a method is provided. The comprises deactivating an LED; generating a voltage from a current that corresponds to the persistence of the LED; integrating the voltage so as to generate an integrated voltage; comparing the integrated voltage to a threshold; and activating the LED once the integrated voltage is less than the threshold.
In accordance with an embodiment of the present invention, the LED further comprises a plurality of LEDs, and wherein the step of measuring further comprises measuring the voltage that corresponds to the persistence of at least one of the LEDs.
In accordance with an embodiment of the present invention, the threshold is a sawtooth signal.
In accordance with an embodiment of the present invention, the step of deactivating further comprises: generating a sample pulse; and deactivating the plurality of LEDs in response to the sample pulse.
In accordance with an embodiment of the present invention, the voltage is a cycle voltage for the period between the deactivation and activation of the plurality of LEDs, and wherein the step of generating the voltage further comprises: activating a measuring circuit in response to the sample pulse; and sampling-and-holding the cycle voltage so as to generate an average voltage; and wherein the step of integrating further comprises integrating the average voltage.
In accordance with an embodiment of the present invention, the step of activating further comprises: generating a reset pulse in synchronization with the sample pulse; logically combining the reset pulse with the result of the step of comparing; and deactivating the measurement circuit.
In accordance with an embodiment of the present invention, the step of logically combining further comprises NANDing the reset pulse with the result of the step of comparing.
In accordance with an embodiment of the present invention, an apparatus is provided. The apparatus comprises means for deactivating a plurality of LEDs; means for generating a voltage from a current that corresponds to the persistence of at least one of the LEDs; means for integrating the voltage so as to generate an integrated voltage; means for comparing the integrated voltage to a threshold; and means for activating the LED once the integrated voltage is less than the threshold.
In accordance with an embodiment of the present invention, the threshold is a sawtooth signal.
In accordance with an embodiment of the present invention, the means for deactivating further comprises: means for generating a sample pulse; and means for deactivating the plurality of LEDs in response to the sample pulse.
In accordance with an embodiment of the present invention, the voltage is a cycle voltage for the period between the deactivation and activation of the plurality of LEDs, and wherein the means for generating the voltage further comprises: means for activating a measuring circuit in response to the sample pulse; and means for sampling-and-holding the cycle voltage so as to generate an average voltage; and wherein the step of integrating further comprises integrating the average voltage.
In accordance with an embodiment of the present invention, the means for activating further comprises: means for generating a reset pulse in synchronization with the sample pulse; means for logically combining the reset pulse with the result of the step of comparing; and means for deactivating the measurement circuit.
In accordance with an embodiment of the present invention, the means for logically combining further comprises means for NANDing the reset pulse with the result of the step of comparing.
In accordance with an embodiment of the present invention,
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Refer now to the drawings wherein depicted elements are, for the sake of clarity, not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views.
Turning to
To be able to take advantage of this property, the controller 203 uses the semiconductor as photodiode while the LED (i.e., LED1) is “glowing.” At time T1 of the example shown in
As shown in the examples of
Having thus described the present invention by reference to certain of its preferred embodiments, it is noted that the embodiments disclosed are illustrative rather than limiting in nature and that a wide range of variations, modifications, changes, and substitutions are contemplated in the foregoing disclosure and, in some instances, some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6400101 | Biebl et al. | Jun 2002 | B1 |
7919936 | Liu et al. | Apr 2011 | B2 |
20060072319 | Dziekan et al. | Apr 2006 | A1 |
20100033109 | Liu et al. | Feb 2010 | A1 |
20120319609 | Choi et al. | Dec 2012 | A1 |
Number | Date | Country |
---|---|---|
WO03083818 | Oct 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20130154483 A1 | Jun 2013 | US |