The LM3402/02HV and LM3404/04HV are buck regulator derived controlled current sources designed to
drive a series string of high power, high brightness LEDs (HBLEDs) at forward currents of up to 0.5A
(LM3402/02HV) or 1.0A (LM3404/04HV). This evaluation board demonstrates the enhanced thermal
performance, fast dimming, and true constant LED current capabilities of the LM3402 and LM3404
devices.
2Circuit Performance with LM3404
This evaluation board (see Figure 1) uses the LM3404 to provide a constant forward current of 700 mA
±10% to a string of up to five series-connected HBLEDs with a forward voltage of approximately 3.4V
each from an input of 18V to 36V.
3Thermal Performance
User's Guide
SNVA342E–July 2008–Revised April 2013
The PSOP-8 package is pin-for-pin compatible with the SO-8 package with the exception of the thermal
pad, or exposed die attach pad (DAP). The DAP is electrically connected to system ground. When the
DAP is properly soldered to an area of copper on the top layer, bottom layer, internal planes, or
combinations of various layers, the θJAof the LM3404/04HV can be significantly lower than that of the SO8 package. The PSOP-8 evaluation board is two layers of 1oz copper each, and measures 1.25" x 1.95".
The DAP is soldered to approximately 1/2 square inch of top and two square inches of bottom layer
copper. Three thermal vias connect the DAP to the bottom layer of the PCB. A recommended DAP/via
layout is shown in Figure 2.
All trademarks are the property of their respective owners.
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
The LM3402/04 evaluation board includes two standard 94 mil turret connectors for the cathode and
anode connections to a LED array.
5Low Power Shutdown
The LM3402/04 can be placed into a low power shutdown state (IQtypically 90 µA) by grounding the DIM
terminal. During normal operation this terminal should be left open-circuit.
6Constant On Time Overview
The LM3402 and LM3404 are buck regulators with a wide input voltage range and a low voltage
reference. The controlled on-time (COT) architecture is a combination of hysteretic mode control and a
one-shot on-timer that varies inversely with input voltage. With the addition of a PNP transistor, the ontimer can be made to be inversely proportional to the input voltage minus the output voltage. This is one of
the application improvements made to this demonstration board that will be discussed later (improved
average LED current circuit).
The LM3402 / 04 were designed with a focus of controlling the current through the load, not the voltage
across it. A constant current regulator is free of load current transients, and has no need for output
capacitance to supply the load and maintain output voltage. Therefore, in this demonstration board in
order to demonstrate the fast transient capabilities, I have chosen to omit the output capacitor. With any
Buck regulator, duty cycle (D) can be calculated with the following equations.
Connecting to LED Array
The average inductor current equals the average LED current whether an output capacitor is used or not.
Figure 3. Buck Converter Inductor Current Waveform
A voltage signal, V
ground. V
is fed back to the CS pin, where it is compared against a 200 mV reference (V
SNS
comparator turns on the power MOSFET when V
, is created as the LED current flows through the current setting resistor, R
SNS
falls below V
SNS
. The power MOSFET conducts for a
REF
REF
). A
SNS
, to
controlled on-time, tON, set by an external resistor, RON.
(1)
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
Knowing the average LED current desired and the input and output voltages, the slopes of the currents
within the inductor can be calculated. The first step is to calculate the minimum inductor current (LED
current) point. This minimum level needs to be determined so that the average LED current can be
determined.
Figure 5. I
Figure 4. V
Current Waveform
SENSE
SNS
Circuit
Using Figure 3 and Figure 5 and the equations of a line, calculate I
LED-MIN
.
(2)
4
AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED CurrentSNVA342E–July 2008–Revised April 2013
Evaluation Board
There is a 220 ns delay (tD) from the time that the current sense comparator trips to the time at which the
control MOSFET actually turns on. We can solve for i
ΔiDis the magnitude of current beyond the target current and equal to:
Therefore:
The point at which you want the current sense comparator to give the signal to turn on the FET equals:
Therefore:
IF= I
i
TARGET
LED-Average
x R
SNS
Standard On-Time Set Calculation
(3)
(4)
knowing there is a delay.
TARGET
(5)
(6)
(7)
= 0.20V(8)
Finally R
can be calculated.
SNS
7Standard On-Time Set Calculation
The control MOSFET on-time is variable, and is set with an external resistor RON(R2 from Figure 1). Ontime is governed by the following equation:
Where
k = 1.34 x 10
At the conclusion of tONthe control MOSFET turns off for a minimum OFF time (t
once t
OFF-MIN
The LM3402/04 have minimum ON and OFF time limitations. The minimum on time (tON) is 300 ns, and
the minimum allowed off time (t
Designing for the highest switching frequency possible means that you will need to know when minimum
ON and OFF times are observed.
Minimum OFF time will be seen when the input voltage is at its lowest allowed voltage, and the output
voltage is at its maximum voltage (greatest number of series LEDs).
The opposite condition needs to be considered when designing for minimum ON time. Minimum ON time
is the point at which the input voltage is at its maximum allowed voltage, and the output voltage is at its
lowest value.
-10
is complete the CS comparator compares V
) is 300 ns.
OFF
SNS
and V
) of 300 ns, and
again, waiting to begin the next cycle.
REF
OFF-MIN
(9)
(10)
(11)
(12)
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
To better explain the improvements made to the COT LM3402/04 demonstration board, a comparison is
shown between the unmodified average output LED current circuit to the improved circuit. Design
Examples 1 and 2 use two original LM3402 / 04 circuits. The switching frequencies will be maximized to
provide a small solution size.
Design Example 3 is an improved average current application. Example 3 will be compared against
example 2 to illustrate the improvements.
Example 4 will use the same conditions and circuit as example 3, but the switching frequency will be
reduced to improve efficiency. The reduced switching frequency can further reduce any variations in
average LED current with a wide operating range of series LEDs and input voltages.
Design Example 1
•VIN= 48V (±20%)
•Driving three HB LEDs with VF= 3.4V
•V
•IF= 500 mA (typical application)
•Estimated efficiency = 82%
•fSW= fast as possible
•Design for typical application within tONand t
LED (inductor) ripple current of 10% to 60% is acceptable when driving LEDs. With this much allowed
ripple current, you can see that there is no need for an output capacitor. Eliminating the output capacitor is
actually desirable. An LED connected to an inductor without a capacitor creates a near perfect current
source, and this is what we are trying to create.
In this design we will choose 50% ripple current.
ΔiL= 500 mA x 0.50 = 250 mA
I
PEAK
Calculate tON, t
From the datasheet there are minimum control MOSFET ON and OFF times that need to be met.
t
OFF
tONminimum = 300 ns
The minimum ON time will occur when VINis at its maximum value. Therefore calculate RONat VIN= 60V,
and set tON= 300 ns.
A quick guideline for maximum switching frequency allowed versus input and output voltages are in
Figure 6 and Figure 7.
= (3 x 3.4V +200 mV) = 10.4V
OUT
= 500 mA + 125 mA = 625 mA
and R
OFF
ON
minimum = 300 ns
limitations
OFF
www.ti.com
6
AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED CurrentSNVA342E–July 2008–Revised April 2013
Evaluation Board
Calculate average current through the LEDs for VIN= 36V and 60V.
Design Example 2
Design example 2 demonstrates a design if a single Bill of Materials (Bom) is desired over many different
applications (number of series LEDs, VIN, V
•VIN= 48V (±20%)
•Driving 3, 4, or 5 HB LEDs with VF= 3.4V
•IF= 500 mA (typical application)
•Estimated efficiency = 82%
•fSW= fast as possible
•Design for typical application within tONand t
The inductor, RONresistor, and the R
•V
•V
•V
Calculate tON, t
In this design we will maximize the switching frequency so that we can reduce the overall size of the
design. In a later design, a slower switching frequency is utilized to maximize efficiency. If the design is to
use the highest possible switching frequency, you must ensure that the minimum on and off times are
adhered to.
Minimum on time occurs when VINis at its maximum value, and V
Calculate RONat VIN= 60V, V
= 467 mΩ
SNS
VIN(V)V
3610.40.490
4810.40.500
6010.40.506
= 3 x 3.4V + 200 mV = 10.4V
OUT
= 4 x 3.4V + 200 mV = 13.8V
OUT
= 5 x 3.4V + 200 mV = 17.2V
OUT
and R
OFF
ON
Table 3. Example 1 Average LED Current
(V)IF(A)
OUT
etc).
OUT
limitations
OFF
resistor is calculated for a typical or average design.
SNS
is at its lowest value.
OUT
= 10.4V, and set tON= 300 ns:
OUT
Application Circuit Calculations
(16)
(17)
RON= 137 kΩ, tON= 306 ns
Check to see if t
t
minimum occurs when VINis at its lowest value, and V
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
Submit Documentation Feedback
OFF
At VIN= 36V, V
minimum is satisfied:
OFF
is at its maximum value.
= 17.2V, and RON= 137 kΩ calculate tONfrom the above equation:
In this application you can see that there is a difference of 63 mA between the low and high of the
average LED current.
9Modified COT Application Circuit
With the addition of one pnp transistor and one resistor (Q1 and R3) the average current through the
LEDs can be made to be more constant over input and output voltage variations. Refer to page one,
Figure 1. Resistor RON(R2) and Q1 turn the tONequation into:
Ignore the PNP transistor’s VBEvoltage drop.
Design to the same criteria as the previous example with the improved application and compare results.
10Modified Application Circuit Design Example 3
Design Example 1
•VIN= 48V (±20%)
•Driving 3, 4, or 5 HB LEDs with VF= 3.4V
•IF= 500 mA (typical application)
•Estimated efficiency = 82%
•fSW= fast as possible
•Design for typical application within tONand t
The inductor, RONresistor, and the R
• V
= 3 x 3.4V + 200 mV = 10.4V
OUT
• V
= 4 x 3.4V + 200 mV = 13.8V
OUT
• V
= 5 x 3.4V + 200 mV = 17.2V
OUT
Calculate tON, t
OFF
and R
ON
resistor are calculated for a typical or average design.
SNS
Minimum ON time occurs when VINis at its maximum value, and V
Calculate RONat VIN= 60V, V
= 10.4V, and set tON= 300 ns:
OUT
limitations
OFF
is at its lowest value.
OUT
www.ti.com
(27)
12
RON= 111 kΩ (113 kΩ) tON= 306 ns
Check to see if t
At VIN= 36V, V
minimum is satisfied.
OFF
= 17.2V, and RON= 113 kΩ calculate t
OUT
ON:
.
tON= 806 ns
t
= 577 ns (satisfied)
OFF
AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED CurrentSNVA342E–July 2008–Revised April 2013
Evaluation Board
In the reduced frequency application you can see that there is a difference of 14 mA between the low and
high of the average current.
If the original tONcircuit was used (no PNP transistor) with the switching frequency centered around 500
kHz the difference between the high and low values would be about 67 mA.
12Dimming
The DIM pin of the LM3402/04 is a TTL compatible input for low frequency pulse width modulation (PWM)
dimming of the LED current. Depending on the application, a contrast ratio greater than what the
LM3402/04 internal DIM circuitry can provide might be needed. This demonstration board comes with
external circuitry that allows for dimming contrast ratios greater than 50k:1.
13LM3402/04 DIM Pin Operation
To fully enable and disable the LM3402 / 04, the PWM signal should have a maximum logic low level of
0.8V and a minimum logic high level of 2.2V. Dimming frequency, f
the LED current rise time and fall time and the delay from activation of the DIM pin to the response of the
internal power MOSFET. In general, f
should be at least one order of magnitude lower than the steady
DIM
state switching frequency in order to prevent aliasing.
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
For illustrations, see Figure 10. The interval tDrepresents the delay from a logic high at the DIM pin to the
onset of the output current. The quantities tSUand tSDrepresent the time needed for the LED current to
slew up to steady state and slew down to zero, respectively.
As an example, assume a DIM duty cycle D
of current through the LED string. At D
through your LED string (250 mA). This could only be possible if there were no delays (tD) between the
on/off DIM signal and the on/off of the LED current. The rise and fall times (tSUand tSD) of the LED current
would also need to be eliminated. If we can reduce these times, the linearity between the PWM signal and
the average current will be realized.
equal to 100% (always on) and the circuit delivers 500mA
DIM
equal to 50% you would like exactly ½ of 500 mA of current
DIM
www.ti.com
Figure 10. Contrast Ratio Definitions
14Contrast Ratio Definition
Contrast Ratio (CR) = 1/D
D
= (tD+ tSU) x f
MIN
DIM
MIN
18
AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED CurrentSNVA342E–July 2008–Revised April 2013
Evaluation Board
MOSFET Q4 and its drive circuitry are provided on the demonstration PCB (see Figure 12). When
MOSFET Q4 is turned on, it shorts LED+ to LED-, therefore redirecting the inductor current from the LED
string to the shunt MOSFET. The LM3402 / 04 is never turned off, and therefore become a perfect current
source by providing continuous current to the output through the inductor (L1). A buck converter with an
external shunt MOSFET is the ideal circuit for delivering the highest possible contrast ratio. For typical
delays and rise time for external MOSFET dimming, see Figure 13 - Figure 15.
External MOSFET Dimming and Contrast Ratio
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
Using both the Improved Average LED current circuit and the external MOSFET fast dimming circuit
together has additional benefits. If RONand the converter's switching frequency (fSW) is determined and set
with the improved average LED current circuit, the switching frequency will decrease once V
during fast dimming. With MOSFET Q4 on, V
is equal to VFB(200 mV). The tONequation then becomes
OUT
almost identical to the original unmodified circuit equation.
Setting tONand RON:
tONequation becomes:
when Q4 shunt MOSFET is on during fast dimming.
t
OFF
SNVA342E–July 2008–Revised April 2013AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED Current
when Q2 shunt MOSFET is OFF during fast dimming.
This is an added benefit due to the fact that t
frequency is decreased, which leads to improved efficiency (see Figure 16). Inductor L1 still remains
charged, and as soon as Q4 turns off current flows through the LED string.
is greatly increased, and therefore the switching
OFF
www.ti.com
(46)
(47)
17Linearity with Fast Dimming
Once the delays and rise/fall times have been greatly reduced, linear average current vs, duty cycle (D
can be achieved at very high dimming frequencies (f
22
AN-1839 LM3402/LM3404 Fast Dimming and True Constant LED CurrentSNVA342E–July 2008–Revised April 2013
Evaluation Board
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
ProductsApplications
Audiowww.ti.com/audioAutomotive and Transportationwww.ti.com/automotive
Amplifiersamplifier.ti.comCommunications and Telecomwww.ti.com/communications
Data Convertersdataconverter.ti.comComputers and Peripheralswww.ti.com/computers
DLP® Productswww.dlp.comConsumer Electronicswww.ti.com/consumer-apps
DSPdsp.ti.comEnergy and Lightingwww.ti.com/energy
Clocks and Timerswww.ti.com/clocksIndustrialwww.ti.com/industrial
Interfaceinterface.ti.comMedicalwww.ti.com/medical
Logiclogic.ti.comSecuritywww.ti.com/security
Power Mgmtpower.ti.comSpace, Avionics and Defensewww.ti.com/space-avionics-defense
Microcontrollersmicrocontroller.ti.comVideo and Imagingwww.ti.com/video
RFIDwww.ti-rfid.com
OMAP Applications Processorswww.ti.com/omapTI E2E Communitye2e.ti.com
Wireless Connectivitywww.ti.com/wirelessconnectivity