(1) Field of the Invention
This invention relates generally to infrared transmitter light-emitting diodes (LEDs) and relates more specifically to a circuit driving infrared transmitter LEDs with temperature compensation.
(2) Description of the Prior Art
The usage of infrared transmitter and receivers is getting more and more popular and is known for numerous different applications and includes a transmitter (such as an infrared light emitting diode (LED)), which transmits light in the infrared range, and an optical receiver (phototransistor or photodiode or photoresistor), which converts the optical infrared signal into a proportional electrical signal. However, the transmitter (infrared LED, for instance) and the receiver being used (phototransistor, for instance) are highly temperature-dependent in their electro-optical properties. Without suitable temperature compensation, temperature fluctuations would be interpreted as fluctuations of information transmitted and would lead to incorrect results. Furthermore a constant current through an infrared LED is mandatory to maintain a light efficiency.
It is a challenge for the designers of infrared transmitter diodes to maintain a constant current through a LED and ensure an effective temperature compensation for the infrared LED.
There are known patents or patent publications dealing with drivers for infrared LEDs
U.S. patent (U.S. Pat. No. 4,956,591 to Schierbeek et al) proposes a control for a moisture sensing assembly, adapted for mounting on the inner surface of a vehicle window or windshield to control vehicle accessories such as windshield wipers, maximizes the window area being sensed in relationship to the size of the assembly and provides immunity to interference from environmental influences. In the preferred embodiment, moisture on the outer window surface is detected by first and second moisture sensors each including infrared energy radiating diodes and radiant energy detectors which detect and process radiant energy to produce a moisture signal that is a function of the moisture on the window. A synchronizing circuit intermittently actuates the radiating diode for the two sensors individually and alternating at equally spaced intervals. The synchronizing circuit also inhibits the radiant energy detectors from processing the radiant energy signal except when the corresponding radiating diodes are emitting energy in order to prevent interference from the other radiating diodes and environmental influences. The synchronizing circuit includes a pair of oscillators, which include capacitors and coupling devices that coordinate the discharging of the capacitors in a manner that provides equal intervals between alternating output pulses from the oscillators.
U.S. patent (U.S. Pat. No. 6,781,539 to Matsui) discloses a remote control transmitter for operating an electronic appliance with an infrared ray, which is easy-to-operate and inexpensive. The remote control transmitter does not change the illumination of an illuminating device even when an operation key is manipulated. The remote control transmitter has a voltage control circuit including a diode having substantially the same power consumption as an infrared ray output means, and a control transistor connected parallel to the diode for turning on and off according to the electric signal from a microcomputer. Since a current flowing in the diode is controlled by the control transistor, a constant voltage is always applied to the driving circuit for lighting up the illuminating device regardless of a manipulation of the operation key.
U.S. patent Publication (U.S. Pat. No. 5,790,615 to Beale et al.) describes an infrared transmitter circuit causing an output current to flow to a light emission diode via a current mirror circuit constituted of three transistors by using a current supplied from a power source circuit, so that the light emission diode emits light. When a voltage V1 varied by charging a capacitor with a current flowing from the power source circuit exceeds a reference voltage (voltage V2), an output of a comparator resets a D flip-flop, so that an output of the D flip-flop varies to “0”. Thus, an output of a NAND gate to which that output and a transmission signal are inputted causes a transistor (N-channel FET) to turn ON so as to stop operation of the current mirror circuit, and causes a transistor (P-channel FET) to turn OFF so as to cut a connection between the power source circuit and a power source line. Thus, it is possible to reduce power consumption in operation of a protection circuit, which stops supplying the output current to the light emission diode.
A principal object of the present invention is to achieve systems and methods using a voltage/current converter to drive one or more transmitter diodes with a constant output light from the LEDs over temperature.
A further object of the invention is to achieve accurate LED forward voltage measurement at accurate current ratios.
A further object of the invention is to extract temperature dependency of the LED voltage and digitally compensate it then.
A further object of the invention is to use a continuous time differential resistive divider to sample the LED forward voltage
A further object of the invention is to use a programmable current source with accurate ratio outputs to generate the LED forward voltage.
A further object of the invention is to use a correction to the programmable current source to eliminate the resistor divider current.
A further object of the invention is to apply it for a rain sensing system
Moreover an object of the invention is to use an auto-zero switch to allow offsets to be cancelled in the measurement system.
Furthermore an object of the invention is to use a constant current drive of the LED with a voltage/current (V/I) converter, using an external NPN transistor and sense resistor.
Finally an object of the invention is to use a combination of coarse, 128, and fine, 1024, step DAC's to generate the reference voltage for the V/I output stage.
In accordance with the objects of this invention a method for a circuit for driving an infrared transmitter LED with temperature compensation has been achieved. The method invented comprises, firstly, the steps of (1) providing of one or more LED diodes, a battery voltage, an analog-to-digital converter, a LED driver comprising a resistive digital-to-analog converter structure controlling a current through the diodes, a circuit to measure a battery voltage and a difference of forward diode voltages, a programmable current sink, a circuit for offset cancellation, and a circuit for resistor load compensation, (2) calibrating the analog-to-digital converter by canceling an offset between a battery voltage and a forward voltage of said one or more LEDs, and (3) determining if the battery voltage is in an acceptable range. Furthermore the method invented comprises the steps of (4) determining temperature dependency of the forward voltage of said one or more LEDs by comparing the forward voltages when switching a drive current between two constant current values; and (5) adjusting a driver current of said one or more LEDs according to the temperature dependency determined.
In accordance with the objects of this invention a circuit for driving one or more infrared transmitter LEDs with temperature compensation has been disclosed. The circuit invented comprises, firstly, a LED transmitter drive circuitry generating a drive current for said one or more LEDs, wherein the drive current is adjusted for temperature variations by an output of a analog-to-digital converter, a programmable current sink circuitry, wherein said programmable current sink provides a drive current for said LEDs having two constant values wherein a difference of forward voltages of the LEDs is used to determine a temperature dependency of said forward voltage, and a circuitry for measuring a battery voltage and said difference of forward voltages of the LEDs. Furthermore the circuit comprises a circuitry for compensating a resistor load, wherein the resistor load is caused by resistive voltage dividers used by said circuitry for measuring a battery voltage and said difference of forward voltages of the LEDs, an analog-to-digital converter converting said measurements of the battery voltage and said difference of forward voltages of the LEDs to digital values and a Digital Signal Processor controlling an operation of the circuit for driving one or more infrared transmitter LEDs with temperature compensation
In the accompanying drawings forming a material part of this description, there is shown:
Systems and methods for circuits for driving infrared LEDs with a constant current with temperature compensation are disclosed. A preferred embodiment of the invention is part of a rain sensing system but the invention could be applied to a number of other applications as well especially for all applications requiring to maintain a constant light efficiency of the LEDs. An on-chip Digital Signal Processor (DSP) controls the operation in order to compensate the temperature dependency of the transmitter LED.
A constant drive current, IDIODE, is generated by a voltage/current (U/I) converter comprising an external resistor 5, having as a non-limiting example a resistance of 2Ω, and an external n-p-n bipolar transistor 4.
An error amplifier 6 controls the gate of the transistor 4. The error amplifier 6 comprises in the preferred embodiment of the invention a 3.3V CMOS input differential stage and a 5V CMOS output current stage having 25 mA drive capability. Obviously other voltages or currents for the error amplifier are also possible.
The error amplifier 6 has three inputs, a control voltage Vctl_fine, a signal Vctl_on, and a voltage across said resistor 5.
The signal Vctl_on is OFF during measuring the LED junction temperature of the transmitting diodes 2 and 3. The measurement is done by applying two constant current values (ID1, ID2) from the current sink:
The following equation shows:
N×ΔVDIODE=N×VDIODE(ID1)−N×VDIODE(ID2)=N×(kT/q)×ln [ID1/ID2],
wherein N equals the number of transmitting diodes, in the example of the preferred embodiment described N=2.
The voltage drop N×ΔVDIODE across the transmitting diodes 2 and 3 is used as feedback to regulate a constant current IDIODE. The control voltage is the combination of the buffered dual ladder resistive DAC structure 7 from a fixed reference voltage, Vref. The coarse ladder DAC 8 comprises in a preferred embodiment of the invention as a non-limiting example 128-resistors which generates an output in steps of Vref/128. The second fine ladder DAC 9 comprises in a preferred embodiment of the invention as a non-limiting example 1024 resistors generating the Vctl_fine voltage for the output V/I stage. All resistors are in the preferred embodiment of polisilicon type. Other types of resistors can be used as well
In the preferred embodiment of the invention the input of a first buffer amplifier 10 is Vref. The control voltage Vct_coarse has a range between Vref/128 and Vref using a selector Sel_coarse [6:0].
The 6-bit coarse DAC 8 and 10-bit fine DAC 9 are a linear resistor string and binary selection type, which guarantees a monotonous output. The input is a constant voltage, Vref=1.083-V. The two output voltages are ‘Vctl_coarse’ and ‘Vctl_fine’. The following equations define the voltages generated:
Cgain {=b0*20+b1*21+ . . . +bN-1*2(N-1}=0 . . . 63, N=6} is the binary input code of the 6-bit coarse DAC and Vref=1.083-V is the input voltage of the 6-bit coarse ADC. The output voltage of the 6-bit coarse DAC, Vctl_coarse, is generated by
Fgain {=b0*20+b1*21+ . . . +bN-1*2(N-1)=0 . . . 1023, N=10} is the binary input code of the 10-bit fine DAC and Vctl_coarse is the input voltage of the 10-bit fine ADC. The output voltage of the 10-bit fine DAC, Vctl_fine, is generated by
The LED current is generated by
With a 2Ω sense resistor 5 used in a preferred embodiment of the invention, this gives a maximum LED current of 541 mA.
Furthermore
Furthermore it should be noted that the circuits for measurement and load compensation are all integrated with the LED driver circuit in one integrated circuit (IC):
The junction temperature of the diodes 2 and 3 determines the light efficiency of the transmitter diodes. Therefore the temperature dependency of the diode voltage must be measured and compensated by adjusting the driver current of the U/I converter, i.e. the base current of the transistor 4.
The technique of measuring the LED junction temperature is done by comparing the difference in the forward diode voltage at different current densities. This difference signal is proportional to the absolute Kelvin temperature and can be written as
ΔVDIODE=VDIODE(ID1)−VDIODE(ID2)=(kT/q)*ln [ID1/ID2],
where ID1 and ID2 are different diode currents, k is Bolzmann's constant, q is the electronic charge, and T is the temperature in degrees Kelvin.
Therefore the ΔVDIODE(T) is extracted by measuring the forward voltage of the diode when switching the drive currents between two constant values, ID1 and ID2. As the system comprises in a preferred embodiment two LEDs 2 and 3 in series, this generates a 2×ΔVDIODE signal. A fixed drive current ratio of e.g. 8 (ID1/ID2), will give a 2×ΔVDIODE voltage signal of e.g. 106 mV at room temperature. However, in the system of
The output of the two dividers 20 and 21 are each buffered by an amplifier 22 or correspondently 23 configured in unity gain which drives the input of the ADC conversion circuit 24. This generates e.g. an 11-bit digital result of the differential voltage input.
In order to generate the forward voltage on the LED's an internal programmable current sink 12 is used.
The accurate matching of MOS devices allows an accurate sink current ratio to be generated. In the design of
However the LED current will also have the resistive potential divider loading as well, which needs to be cancelled (as this current varies with battery voltage and resistor temperature/process changes).
Three measurements are available by configuration of the two resistive dividers 20 and 21, shown in
With the above circuitry, the temperature dependency of the transmitter LED is measured in 2 steps with an ADC conversion time, TCONV=32 μsec. The output signal DOUT of the ADC converter 24 is a measure for the temperature dependency of the transmitter diodes. The signal compensates the current IDIODE for temperature variations via the programmable current sink 12.
The LED is transmitted with minimum width, 32 μs, in every ms. The dode voltage forward (VF) measurement is performed directly after every LED transmission in order to compensate the temperature dependency for next LED transmission. The offset cancellation is, as ‘zero’ calibration, part of the VF measurement.
While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
09368031 | Sep 2009 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
4733217 | Dingwall | Mar 1988 | A |
4956591 | Schierbeek et al. | Sep 1990 | A |
5790615 | Beale et al. | Aug 1998 | A |
6040669 | Hog | Mar 2000 | A |
6329923 | Hog | Dec 2001 | B2 |
6331819 | Hog | Dec 2001 | B1 |
6698892 | Peterson | Mar 2004 | B2 |
6781539 | Matsui | Aug 2004 | B2 |
7948455 | Han et al. | May 2011 | B2 |
20020121901 | Hoffman | Sep 2002 | A1 |
20060066255 | Lee et al. | Mar 2006 | A1 |
20080130695 | Riddle et al. | Jun 2008 | A1 |
20090039860 | Suzuki et al. | Feb 2009 | A1 |
20090174338 | Muramatsu | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
10214421 | Oct 2003 | DE |
102007034606 | Jan 2009 | DE |
0 913 896 | May 1999 | EP |
WO 2009049959 | Apr 2009 | WO |
WO 2009095854 | Aug 2009 | WO |
Number | Date | Country | |
---|---|---|---|
20110062895 A1 | Mar 2011 | US |