LM3445
October 9, 2009
Triac Dimmable Offline LED Driver
General Description
The LM3445 is an adaptive constant off-time AC/DC buck
(step-down) constant current controller designed to be com-
patible with triac dimmers. The LM3445 provides a constant
current for illuminating high power LEDs and includes a triac
dim decoder. The dim decoder allows wide range LED dim-
ming using standard triac dimmers. The high frequency ca-
pable architecture allows the use of small external passive
components. The LM3445 includes a bleeder circuit to ensure
proper triac operation by allowing current flow while the line
voltage is low to enable proper firing of the triac. A passive
PFC circuit ensures good power factor by drawing current di-
rectly from the line for most of the cycle, and provides a
constant positive voltage to the buck regulator. Additional
features include thermal shutdown, current limit and VCC un-
der-voltage lockout.
Features
Triac dim decoder circuit for LED dimming
Application voltage range 80VAC – 270VAC
Capable of controlling LED currents greater than 1A
Adjustable switching frequency
Low quiescent current
Adaptive programmable off-time allows for constant ripple
current
Thermal shutdown
No 120Hz flicker
Low profile 10 pin MSOP Package
Patent pending drive architecture
Applications
Retro Fit Triac Dimming
Solid State Lighting
Industrial and Commercial Lighting
Residential Lighting
Typical LM3445 LED Driver Application Circuit
30060301
30060305
© 2009 National Semiconductor Corporation 300603 www.national.com
LM3445 Triac Dimmable Offline LED Driver
Connection Diagram
Top View
30060303
10-Pin MSOP
NS Package Number MUB10A
Ordering Information
Order Number Spec. Package
Type
NSC Package
Drawing
Top Mark Supplied As
LM3445MM NOPB MSOP-10 MUB10A SULB 1000 Units, Tape and Reel
LM3445MMX NOPB MSOP-10 MUB10A SULB 3500 Units, Tape and Reel
Pin Descriptions
Pin # Name Description
1 ASNS PWM output of the triac dim decoder circuit. Outputs a 0 to 4V PWM signal with a duty cycle proportional to
the triac dimmer on-time.
2 FLTR1 First filter input. The 120Hz PWM signal from ASNS is filtered to a DC signal and compared to a 1 to 3V, 5.85
kHz ramp to generate a higher frequency PWM signal with a duty cycle proportional to the triac dimmer firing
angle. Pull above 4.9V (typical) to tri-state DIM.
3 DIM Input/output dual function dim pin. This pin can be driven with an external PWM signal to dim the LEDs. It may
also be used as an output signal and connected to the DIM pin of other LM3445 or LED drivers to dim multiple
LED circuits simultaneously.
4 COFF OFF time setting pin. A user set current and capacitor connected from the output to this pin sets the constant
OFF time of the switching controller.
5 FLTR2 Second filter input. A capacitor tied to this pin filters the PWM dimming signal to supply a DC voltage to control
the LED current. Could also be used as an analog dimming input.
6 GND Circuit ground connection.
7 ISNS LED current sense pin. Connect a resistor from main switching MOSFET source, ISNS to GND to set the
maximum LED current.
8 GATE Power MOSFET driver pin. This output provides the gate drive for the power switching MOSFET of the buck
controller.
9 VCC Input voltage pin. This pin provides the power for the internal control circuitry and gate driver.
10 BLDR Bleeder pin. Provides the input signal to the angle detect circuitry as well as a current path through a switched
230 resistor to ensure proper firing of the triac dimmer.
www.national.com 2
LM3445
Absolute Maximum Ratings (Note 1, Note
2)
If Military/Aerospace specified devices are required,
please contact the National Semiconductor Sales Office/
Distributors for availability and specifications.
BLDR to GND -0.3V to +17V
VCC, GATE, FLTR1 to GND -0.3V to +14V
ISNS to GND -0.3V to +2.5V
ASNS, DIM, FLTR2, COFF to
GND -0.3V to +7.0V
COFF Input Current 100mA
Continuous Power Dissipation
(Note 3)
Internally Limited
ESD Susceptibility
HBM (Note 4) 2 kV
Junction Temperature (TJ-MAX) 150°C
Storage Temperature Range -65°C to +150°C
Maximum Lead Temp.
Range (Soldering) 260°C
Operating Conditions
VCC 8.0V to 12V
Junction Temperature −40°C to +125°C
Electrical Characteristics Limits in standard type face are for TJ = 25°C and those with boldface type apply
over the full Operating Temperature Range ( TJ = −40°C to +125°C). Minimum and Maximum limits are guaranteed through test,
design, or statistical correlation. Typical values represent the most likely parametric norm at TJ = +25ºC, and are provided for
reference purposes only.
Symbol Parameter Conditions Min Typ Max Units
BLEEDER
RBLDR Bleeder resistance to GND IBLDR = 10mA 230 325
VCC SUPPLY
IVCC Operating supply current 2.00 2.85 mA
VCC-UVLO Rising threshold 7.4 7.7 V
Falling threshold 6.0 6.4
Hysterisis 1
COFF
VCOFF Time out threshold 1.225 1.276 1.327 V
RCOFF Off timer sinking impedance 33 60
tCOFF Restart timer 180 µs
CURRENT LIMIT
VISNS ISNS limit threshold 1.174 1.269 1.364 V
tISNS Leading edge blanking time 125 ns
Current limit reset delay 180 µs
ISNS limit to GATE delay ISNS = 0 to 1.75V step 33 ns
INTERNAL PWM RAMP
fRAMP Frequency 5.85 kHz
VRAMP Valley voltage 0.96 1.00 1.04 V
Peak voltage 2.85 3.00 3.08
DRAMP Maximum duty cycle 96.5 98.0 %
DIM DECODER
tANG_DET Angle detect rising threshold Observed on BLDR pin 6.79 7.21 7.81 V
VASNS ASNS filter delay 4 µs
ASNS VMAX 3.85 4.00 4.15 V
IASNS ASNS drive capability sink VASNS = 2V 7.6 mA
ASNS drive capability source VASNS = 2V -4.3
DIM low sink current VDIM = 1V 1.65 2.80
DIM High source current VDIM = 4V -4.00 -3.00
VDIM DIM low voltage PWM input voltage
threshold
0.9 1.33 V
DIM high voltage 2.33 3.15
VTSTH Tri-state threshold voltage Apply to FLTR1 pin 4.87 5.25 V
3 www.national.com
LM3445
Symbol Parameter Conditions Min Typ Max Units
RDIM DIM comparator tri-state impedance 10 M
CURRENT SENSE COMPARATOR
VFLTR2 FLTR2 open circuit voltage 720 750 780 mV
RFLTR2 FLTR2 impedance 420 k
VOS Current sense comparator offset voltage -4.0 0.1 4.0 mV
GATE DRIVE OUTPUT
VDRVH GATE high saturation IGATE = 50 mA 0.24 0.50 V
VDRVL GATE low saturation IGATE = 100 mA 0.22 0.50
IDRV Peak souce current GATE = VCC/2 -0.77 A
Peak sink current GATE = VCC/2 0.88
tDV Rise time Cload = 1 nF 15 ns
Fall time Cload = 1 nF 15
THERMAL SHUTDOWN
TSD Thermal shutdown temperature (Note 5) 165 °C
Thermal shutdown hysteresis 20
THERMAL SHUTDOWN
RθJA MSOP-10 junction to ambient 121 °C/W
Note 1: Absolute maximum ratings are limits beyond which damage to the device may occur. Operating Ratings are conditions for which the device is intended
to be functional, but device parameter specifications may not be guaranteed. For guaranteed specifications and test conditions, see the Electrical Characteristics.
Note 2: All voltages are with respect to the potential at the GND pin, unless otherwise specified.
Note 3: Internal thermal shutdown circuitry protects the device from permanent damage. Thermal shutdown engages at TJ = 165°C (typ.) and disengages at TJ
= 145°C (typ).
Note 4: Human Body Model, applicable std. JESD22-A114-C.
Note 5: Junction-to-ambient thermal resistance is highly application and board-layout dependent. In applications where high maximum power dissipation exists,
special care must be paid to thermal dissipation issues in board design. In applications where high power dissipation and/or poor package thermal resistance is
present, the maximum ambient temperature may have to be derated. Maximum ambient temperature (TA-MAX) is dependent on the maximum operating junction
temperature (TJ-MAX-OP = 125°C), the maximum power dissipation of the device in the application (PD-MAX), and the junction-to ambient thermal resistance of the
part/package in the application (RθJA), as given by the following equation: TA-MAX = TJ-MAX-OP – (RθJA × PD-MAX).
www.national.com 4
LM3445
Typical Performance Characteristics
fSW vs Input Line Voltage
30060304
Efficiency vs Input Line Voltage
30060305
BLDR Resistor vs Temperature
30060306
VCC UVLO vs Temperature
30060307
Min On-Time (tON) vs Temperature
30060308
Off Threshold (C11) vs Temperature
30060309
5 www.national.com
LM3445
Normalized Variation in fSW over VBUCK Voltage
30060310
Leading Edge Blanking Variation Over Temperature
30060372
www.national.com 6
LM3445
Simplified Internal Block Diagram
30060311
FIGURE 1. Simplified Block Diagram
7 www.national.com
LM3445
Application Information
FUNCTIONAL DESCRIPTION
The LM3445 contains all the necessary circuitry to build a line-
powered (mains powered) constant current LED driver whose
output current can be controlled with a conventional triac dim-
mer.
OVERVIEW OF PHASE CONTROL DIMMING
A basic "phase controlled" triac dimmer circuit is shown in
Figure 2.
30060312
FIGURE 2. Basic Triac Dimmer
An RC network consisting of R1, R2, and C1 delay the turn
on of the triac until the voltage on C1 reaches the trigger volt-
age of the diac. Increasing the resistance of the potentiometer
(wiper moving downward) increases the turn-on delay which
decreases the on-time or "conduction angle" of the triac (θ).
This reduces the average power delivered to the load. Voltage
waveforms for a simple triac dimmer are shown in Figure 3.
Figure 3a shows the full sinusoid of the input voltage. Even
when set to full brightness, few dimmers will provide 100%
on-time, i.e., the full sinusoid.
30060313
FIGURE 3. Line Voltage and Dimming Waveforms
Figure 3b shows a theoretical waveform from a dimmer. The
on-time is often referred to as the "conduction angle" and may
be stated in degrees or radians. The off-time represents the
delay caused by the RC circuit feeding the triac. The off-time
be referred to as the "firing angle" and is simply 180° - θ.
Figure 3c shows a waveform from a so-called reverse phase
dimmer, sometimes referred to as an electronic dimmer.
These typically are more expensive, microcontroller based
dimmers that use switching elements other than triacs. Note
that the conduction starts from the zero-crossing, and termi-
nates some time later. This method of control reduces the
noise spike at the transition.
Since the LM3445 has been designed to assess the relative
on-time and control the LED current accordingly, most phase-
control dimmers, both forward and reverse phase, may be
used with success.
www.national.com 8
LM3445
Theory of Operation
Refer to figure 4 below which shows the LM3445 along with
basic external circuitry.
30060301
FIGURE 4. LM3445 Schematic
9 www.national.com
LM3445
SENSING THE RECTIFIED TRIAC WAVEFORM
A bridge rectifier, BR1, converts the line (mains) voltage (5c)
into a series of half-sines as shown in 5b. Figure 5a shows a
typical voltage waveform after diode D3 (valley fill circuit, or
VBUCK).
30060315
FIGURE 5. Voltage Waveforms After Bridge Rectifier
Without Triac Dimming
Figure 6c and 6b show typical triac dimmed voltage wave-
forms before and after the bridge rectifier. Figure 6a shows a
typical triac dimmed voltage waveform after diode D3 (valley
fill circuit, or VBUCK).
30060316
FIGURE 6. Voltage Waveforms After Bridge Rectifier With
Triac Dimming
LM3445 LINE SENSING CIRCUITRY
An external series pass regulator (R2, D1, and Q1) translates
the rectified line voltage to a level where it can be sensed by
the BLDR pin on the LM3445.
30060317
FIGURE 7. LM3445 AC Line Sense Circuitry
D1 is typically a 15V zener diode which forces transistor Q1
to “stand-off” most of the rectified line voltage. Having no ca-
pacitance on the source of Q1 allows the voltage on the BLDR
pin to rise and fall with the rectified line voltage as the line
voltage drops below zener voltage D1 (see the section on
Angle Detect).
A diode-capacitor network (D2, C5) is used to maintain the
voltage on the VCC pin while the voltage on the BLDR pin
goes low. This provides the supply voltage to operate the
LM3445.
Resistor R5 is used to bleed charge out of any stray capaci-
tance on the BLDR node and may be used to provide the
necessary holding current for the dimmer when operating at
light output currents.
TRIAC HOLDING CURRENT RESISTOR
In order to emulate an incandescent light bulb (essentially a
resistor) with any LED driver, the existing triac will require a
small amount of holding current throughout the AC line cycle.
An external resistor (R5) needs to be placed on the source of
Q1 to GND to perform this function. Most existing triac dim-
mers only require a few milliamps of current to hold them on.
A few “less expensive” triacs sold on the market will require
a bit more current. The value of resistor R5 will depend on:
What type of triac the LM3445 will be used with
How many light fixtures are running off of the triac
With a single LM3445 circuit on a common triac dimmer, a
holding current resistor between 3 k and 5 k will be re-
quired. As the number of LM3445 circuits is added to a single
dimmer, the holding resistor R5’s resistance can be in-
creased. A few triac dimmers will require a resistor as low as
1 k or lower for a single LM3445 circuit. The trade-off will be
www.national.com 10
LM3445
performance vs efficiency. As the holding resistor R5 is in-
creased, the overall efficiency per LM3445 will also increase.
ANGLE DETECT
The Angle Detect circuit uses a comparator with a fixed
threshold voltage of 7.21V to monitor the BLDR pin to deter-
mine whether the triac is on or off. The output of the com-
parator drives the ASNS buffer and also controls the Bleeder
circuit. A 4 µs delay line on the output is used to filter out noise
that could be present on this signal.
The output of the Angle Detect circuit is limited to a 0V to 4.0V
swing by the buffer and presented to the ASNS pin. R1 and
C3 comprise a low-pass filter with a bandwidth on the order
of 1.0Hz.
The Angle Detect circuit and its filter produce a DC level which
corresponds to the duty cycle (relative on-time) of the triac
dimmer. As a result, the LM3445 will work equally well with
50Hz or 60Hz line voltages.
BLEEDER
While the BLDR pin is below the 7.21V threshold, the bleeder
MOSFET is on to place a small load (230) on the series pass
regulator. This additional load is necessary to complete the
circuit through the triac dimmer so that the dimmer delay cir-
cuit can operate correctly. Above 7.21V, the bleeder resistor
is removed to increase efficiency.
FLTR1 PIN
The FLTR1 pin has two functions. Normally, it is fed by ASNS
through filter components R1 and C3 and drives the dim de-
coder. However, if the FLTR1 pin is tied above 4.9V (typical),
e.g., to VCC, the Ramp Comparator is tri-stated, disabling the
dim decoder. See the Master/Slave section.
DIM DECODER
The ramp generator produces a 5.85 kHz saw tooth wave with
a minimum of 1.0V and a maximum of 3.0V. The filtered ASNS
signal enters pin FLTR1 where it is compared against the
output of the Ramp Generator.
The output of the ramp comparator will have an on-time which
is inversely proportional to the average voltage level at pin
FLTR1. However, since the FLTR1 signal can vary between
0V and 4.0V (the limits of the ASNS pin), and the Ramp Gen-
erator signal only varies between 1.0V and 3.0V, the output
of the ramp comparator will be on continuously for VFLTR1 <
1.0V and off continuously for VFLTR1 > 3.0V. This allows a de-
coding range from 45° to 135° to provide a 0 – 100% dimming
range.
The output of the ramp comparator drives both a common-
source N-channel MOSFET through a Schmitt trigger and the
DIM pin (see the Master/Slave section for further functions of
the DIM pin). The MOSFET drain is pulled up to 750 mV by a
50 k resistor.
Since the MOSFET inverts the output of the ramp comparator,
the drain voltage of the MOSFET is proportional to the duty
cycle of the line voltage that comes through the triac dimmer.
The amplitude of the ramp generator causes this proportion-
ality to "hard limit" for duty cycles above 75% and below 25%.
The MOSFET drain signal next passes through an RC filter
comprised of an internal 370 k resistor, and an external ca-
pacitor on pin FLTR2. This forms a second low pass filter to
further reduce the ripple in this signal, which is used as a ref-
erence by the PWM comparator. This RC filter is generally set
to 10Hz.
The net effect is that the output of the dim decoder is a DC
voltage whose amplitude varies from near 0V to 750 mV as
the duty cycle of the dimmer varies from 25% to 75%. This
corresponds to conduction angles of 45° to 135°, respectively.
The output voltage of the Dim Decoder directly controls the
peak current that will be delivered by Q2 during its on-time.
See the Buck Converter section for details.
As the triac fires beyond 135°, the DIM decoder no longer
controls the dimming. At this point the LEDs will dim gradually
for one of two reasons:
1. The voltage at VBUCK decreases and the buck converter
runs out of headroom and causes LED current to
decrease as VBUCK decreases.
2. Minimum on-time is reached which fixes the duty-cycle
and therefore reduces the voltage at VBUCK.
The transition from dimming with the DIM decoder to head-
room or minimum on-time dimming is seamless. LED currents
from full load to as low as 0.5 mA can be easily achieved.
VALLEY-FILL CIRCUIT
VBUCK supplies the power which drives the LED string. Diode
D3 allows VBUCK to remain high while V+ cycles on and off.
VBUCK has a relatively small hold capacitor C10 which reduces
the voltage ripple when the valley fill capacitors are being
charged. However, the network of diodes and capacitors
shown between D3 and C10 make up a "valley-fill" circuit. The
valley-fill circuit can be configured with two or three stages.
The most common configuration is two stages. Figure 8 illus-
trates a two and three stage valley-fill circuit.
30060318
FIGURE 8. Two and Three Stage Valley Fill Circuit
11 www.national.com
LM3445
The valley-fill circuit allows the buck regulator to draw power
throughout a larger portion of the AC line. This allows the ca-
pacitance needed at VBUCK to be lower than if there were no
valley-fill circuit, and adds passive power factor correction
(PFC) to the application. Besides better power factor correc-
tion, a valley-fill circuit allows the buck converter to operate
while separate circuitry translates the dimming information.
This allows for dimming that isn’t subject to 120Hz flicker that
can be perceived by the human eye.
VALLEY-FILL OPERATION
When the “input line is high”, power is derived directly through
D3. The term “input line is high” can be explained as follows.
The valley-fill circuit charges capacitors C7 and C9 in series
(see figure 9) when the input line is high.
30060319
FIGURE 9. Two stage Valley-Fill Circuit when AC Line is
High
The peak voltage of a two stage valley-fill capacitor is:
As the AC line decreases from its peak value every cycle,
there will be a point where the voltage magnitude of the AC
line is equal to the voltage that each capacitor is charged. At
this point diode D3 becomes reversed biased, and the ca-
pacitors are placed in parallel to each other (figure 10), and
VBUCK equals the capacitor voltage.
30060321
FIGURE 10. Two stage Valley-Fill Circuit when AC Line is
Low
A three stage valley-fill circuit performs exactly the same as
two-stage valley-fill circuit except now three capacitors are
now charged in series, and when the line voltage decreases
to:
Diode D3 is reversed biased and three capacitors are in par-
allel to each other.
The valley-fill circuit can be optimized for power factor, volt-
age hold up and overall application size and cost. The
LM3445 will operate with a single stage or a three stage val-
ley-fill circuit as well. Resistor R8 functions as a current
limiting resistor during start-up, and during the transition from
series to parallel connection. Resistors R6 and R7 are 1 M
bleeder resistors, and may or may not be necessary for each
application.
BUCK CONVERTER
The LM3445 is a buck controller that uses a proprietary con-
stant off-time method to maintain constant current through a
string of LEDs. While transistor Q2 is on, current ramps up
through the inductor and LED string. A resistor R3 senses this
current and this voltage is compared to the reference voltage
at FLTR2. When this sensed voltage is equal to the reference
voltage, transistor Q2 is turned off and diode D10 conducts
the current through the inductor and LEDs. Capacitor C12
eliminates most of the ripple current seen in the inductor. Re-
sistor R4, capacitor C11, and transistor Q3 provide a linear
current ramp that sets the constant off-time for a given output
voltage.
www.national.com 12
LM3445
30060323
FIGURE 11. LM3445 Buck Regulation Circuit
OVERVIEW OF CONSTANT OFF-TIME CONTROL
A buck converter’s conversion ratio is defined as:
Constant off-time control architecture operates by simply
defining the off-time and allowing the on-time, and therefore
the switching frequency, to vary as either VIN or VO changes.
The output voltage is equal to the LED string voltage (VLED),
and should not change significantly for a given application.
The input voltage or VBUCK in this analysis will vary as the
input line varies. The length of the on-time is determined by
the sensed inductor current through a resistor to a voltage
reference at a comparator. During the on-time, denoted by
tON, MOSFET switch Q2 is on causing the inductor current to
increase. During the on-time, current flows from VBUCK,
through the LEDs, through L2, Q2, and finally through R3 to
ground. At some point in time, the inductor current reaches a
maximum (IL2-PK) determined by the voltage sensed at R3 and
the ISNS pin. This sensed voltage across R3 is compared
against the voltage of dim decoder output, FLTR2, at which
point Q2 is turned off by the controller.
30060325
FIGURE 12. Inductor Current Waveform in CCM
During the off-period denoted by tOFF, the current through L2
continues to flow through the LEDs via D10.
13 www.national.com
LM3445
MASTER/SLAVE OPERATION
Multiple LM3445s can be configured so that large strings of
LEDs can be controlled by a single triac dimmer. By doing so,
smooth consistent dimming for multiple LED circuits is
achieved.
When the FLTR1 pin is tied above 4.9V (typical), preferably
to VCC, the ramp comparator is tri-stated, disabling the dim
decoder. This allows one or more LM3445 devices or PWM
LED driver devices (slaves) to be controlled by a single
LM3445 (master) by connecting their DIM pins together.
MASTER/SLAVE CONFIGURATION
National Semiconductor offers an LM3445 demonstration
PCB for customer evaluation through our website. The fol-
lowing description and theory uses reference designators that
follow our evaluation PCB. The LM3445 Master/Slave
schematics are illustrated below (figures 13 - 15) for clarity.
Each board contains a separate circuit for the Master and
Slave function. Both the Master and Slave boards will need
to be modified from their original stand alone function so that
they can be coupled together. Only the Master LM3445 re-
quires use of the Master/Slave circuit for any number of
slaves.
MASTER BOARD MODIFICATIONS
Remove R10 and replace with a BAS40 diode
Connect TP18 to TP14 (VCC)
Connect TP17 (gate of Q5) to TP15 (gate of Q2)
SLAVE BOARD(S) MODIFICATIONS
Remove R11 (disconnects BLDR)
Tie TP14 (FLTR1) to VCC
MASTER/SLAVE(S) INTERCONNECTION
Connect TP19 of Master to TP10 of Slave (Master VCC
Control)
Connect TP6 (DIM pin) of Master to TP6 (DIM pin) of Slave
(Master DIM Control)
MASTER/SLAVE THEORY OF OPERATION
By placing two series diodes on the Master VCC circuit one
forces the master VCC UVLO to become the dominant thresh-
old. When Master VCC drops below UVLO, GATE stops
switching and the RC timer (>200 µs) rises above the TL431
threshold (2.5V) which in turn pulls down on the gate of the
Slave pass device (Q1).
The valley-fill circuit could consist of one large circuit to power
all LM3445 series connected, or each LM3445 circuit could
have a separate valley-fill circuit located near the buck con-
verter.
www.national.com 14
LM3445
MASTER/SLAVE CONNECTION DIAGRAM
30060326
FIGURE 13. Master Slave Configuration
MASTER/SLAVE BLOCK DIAGRAMS
30060327
FIGURE 14. Master/Slave configuration with Separate Valley-Fill Circuits
15 www.national.com
LM3445
30060328
FIGURE 15. Master/Slave configuration with One Valley-Fill Circuit
THERMAL SHUTDOWN
Thermal shutdown limits total power dissipation by turning off
the output switch when the IC junction temperature exceeds
165°C. After thermal shutdown occurs, the output switch
doesn’t turn on until the junction temperature drops to ap-
proximately 145°C.
www.national.com 16
LM3445
Design Guide
DETERMINING DUTY-CYCLE (D)
Duty cycle (D) approximately equals:
With efficiency considered:
For simplicity, choose efficiency between 75% and 85%.
CALCULATING OFF-TIME
The “Off-Time” of the LM3445 is set by the user and remains
fairly constant as long as the voltage of the LED stack remains
constant. Calculating the off-time is the first step in determin-
ing the switching frequency of the converter, which is integral
in determining some external component values.
PNP transistor Q3, resistor R4, and the LED string voltage
define a charging current into capacitor C11. A constant cur-
rent into a capacitor creates a linear charging characteristic.
Resistor R4, capacitor C11 and the current through resistor
R4 (iCOLL), which is approximately equal to VLED/R4, are all
fixed. Therefore, dv is fixed and linear, and dt (tOFF) can now
be calculated.
Common equations for determining duty cycle and switching
frequency in any buck converter:
Therefore:
With efficiency of the buck converter in mind:
Substitute equations and rearrange:
Off-time, and switching frequency can now be calculated us-
ing the equations above.
SETTING THE SWITCHING FREQUENCY
Selecting the switching frequency for nominal operating con-
ditions is based on tradeoffs between efficiency (better at low
frequency) and solution size/cost (smaller at high frequency).
The input voltage to the buck converter (VBUCK) changes with
both line variations and over the course of each half-cycle of
the input line voltage. The voltage across the LED string will,
however, remain constant, and therefore the off-time remains
constant.
The on-time, and therefore the switching frequency, will vary
as the VBUCK voltage changes with line voltage. A good design
practice is to choose a desired nominal switching frequency
knowing that the switching frequency will decrease as the line
voltage drops and increase as the line voltage increases (see
figure 16).
30060310
FIGURE 16. Graphical Illustration of Switching
Frequency vs VBUCK
17 www.national.com
LM3445
The off-time of the LM3445 can be programmed for switching
frequencies ranging from 30 kHz to over 1 MHz. A trade-off
between efficiency and solution size must be considered
when designing the LM3445 application.
The maximum switching frequency attainable is limited only
by the minimum on-time requirement (200 ns).
Worst case scenario for minimum on time is when VBUCK is at
its maximum voltage (AC high line) and the LED string voltage
(VLED) is at its minimum value.
The maximum voltage seen by the Buck Converter is:
INDUCTOR SELECTION
The controlled off-time architecture of the LM3445 regulates
the average current through the inductor (L2), and therefore
the LED string current. The input voltage to the buck converter
(VBUCK) changes with line variations and over the course of
each half-cycle of the input line voltage. The voltage across
the LED string is relatively constant, and therefore the current
through R4 is constant. This current sets the off-time of the
converter and therefore the output volt-second product
(VLED x off-time) remains constant. A constant volt-second
product makes it possible to keep the ripple through the in-
ductor constant as the voltage at VBUCK varies.
30060340
FIGURE 17. LM3445 External Components of the Buck
Converter
The equation for an ideal inductor is:
Given a fixed inductor value, L, this equation states that the
change in the inductor current over time is proportional to the
voltage applied across the inductor.
During the on-time, the voltage applied across the inductor is,
VL(ON-TIME) = VBUCK - (VLED + VDS(Q2) + IL2 x R3)
Since the voltage across the MOSFET switch (Q2) is rela-
tively small, as is the voltage across sense resistor R3, we
can simplify this to approximately,
VL(ON-TIME) = VBUCK - VLED
During the off-time, the voltage seen by the inductor is ap-
proximately:
VL(OFF-TIME) = VLED
The value of VL(OFF-TIME) will be relatively constant, because
the LED stack voltage will remain constant. If we rewrite the
equation for an inductor inserting what we know about the
circuit during the off-time, we get:
Re-arranging this gives:
From this we can see that the ripple current (Δi) is proportional
to off-time (tOFF) multiplied by a voltage which is dominated
by VLED divided by a constant (L2).
These equations can be rearranged to calculate the desired
value for inductor L2.
Where:
Finally:
Refer to “Design Example” section of the datasheet to better
understand the design process.
www.national.com 18
LM3445
SETTING THE LED CURRENT
The LM3445 constant off-time control loop regulates the peak
inductor current (IL2). The average inductor current equals the
average LED current (IAVE). Therefore the average LED cur-
rent is regulated by regulating the peak inductor current.
30060325
FIGURE 18. Inductor Current Waveform in CCM
Knowing the desired average LED current, IAVE and the nom-
inal inductor current ripple, ΔiL, the peak current for an appli-
cation running in continuous conduction mode (CCM) is
defined as follows:
Or, the maximum, or "undimmed", LED current would then be,
This is important to calculate because this peak current mul-
tiplied by the sense resistor R3 will determine when the
internal comparator is tripped. The internal comparator turns
the control MOSFET off once the peak sensed voltage reach-
es 750 mV.
Current Limit: Under normal circumstances, the trip voltage
on the PWM comparator would be less than or equal to 750
mV, depending on the amount of dimming. However, if there
is a short circuit or an excessive load on the output, higher
than normal switch currents will cause a voltage above 1.27V
on the ISNS pin which will trip the I-LIM comparator. The I-
LIM comparator will reset the RS latch, turning off Q2. It will
also inhibit the Start Pulse Generator and the COFF com-
parator by holding the COFF pin low. A delay circuit will
prevent the start of another cycle for 180 µs.
VALLEY FILL CAPACITORS
Determining voltage rating and capacitance value of the val-
ley-fill capacitors:
The maximum voltage seen by the valley-fill capacitors is:
This is, of course, if the capacitors chosen have identical ca-
pacitance values and split the line voltage equally. Often a
20% difference in capacitance could be observed between
like capacitors. Therefore a voltage rating margin of 25% to
50% should be considered.
19 www.national.com
LM3445
Determining the capacitance value of the valley-fill ca-
pacitors:
The valley fill capacitors should be sized to supply energy to
the buck converter (VBUCK) when the input line is less than its
peak divided by the number of stages used in the valley fill
(tX). The capacitance value should be calculated when the
triac is not firing, i.e. when full LED current is being drawn by
the LED string. The maximum power is delivered to the LED
string at this time, and therefore the most capacitance will be
needed.
30060352
FIGURE 19. Two Stage Valley-Ffill VBUCK Voltage with no
TRIAC Dimming
From the above illustration and the equation for current in a
capacitor, i = C x dV/dt, the amount of capacitance needed at
VBUCK will be calculated as follows:
At 60Hz, and a valley-fill circuit of two stages, the hold up time
(tX) required at VBUCK is calculated as follows. The total angle
of an AC half cycle is 180° and the total time of a half AC line
cycle is 8.33 ms. When the angle of the AC waveform is at
30° and 150°, the voltage of the AC line is exactly ½ of its
peak. With a two stage valley-fill circuit, this is the point where
the LED string switches from power being derived from AC
line to power being derived from the hold up capacitors (C7
and C9). 60° out of 180° of the cycle or 1/3 of the cycle the
power is derived from the hold up capacitors (1/3 x 8.33 ms
= 2.78 ms). This is equal to the hold up time (dt) from the
above equation, and dv is the amount of voltage the circuit is
allowed to droop. From the next section (“Determining Maxi-
mum Number of Series Connected LEDs Allowed”) we know
the minimum VBUCK voltage will be about 45V for a 90VAC to
135VAC line. At 90VAC low line operating condition input, ½ of
the peak voltage is 64V. Therefore with some margin the volt-
age at VBUCK can not droop more than about 15V (dv). (i) is
equal to (POUT/VBUCK), where POUT is equal to (VLED x ILED).
Total capacitance (C7 in parallel with C9) can now be calcu-
lated. See “ Design Example" section for further calculations
of the valley-fill capacitors.
Determining Maximum Number of Series Connected
LEDs Allowed:
The LM3445 is an off-line buck topology LED driver. A buck
converter topology requires that the input voltage (VBUCK) of
the output circuit must be greater than the voltage of the LED
stack (VLED) for proper regulation. One must determine what
the minimum voltage observed by the buck converter will be
before the maximum number of LEDs allowed can be deter-
mined. Two variables will have to be determined in order to
accomplish this.
1. AC line operating voltage. This is usually 90VAC to
135VAC for North America. Although the LM3445 can
operate at much lower and higher input voltages a range
is needed to illustrate the design process.
2. How many stages are implemented in the valley-fill circuit
(1, 2 or 3).
In this example the most common valley-fill circuit will be used
(two stages).
30060354
FIGURE 20. AC Line with Firing Angles
Figure 21 show three triac dimmed waveforms. One can eas-
ily see that the peak voltage (VPEAK) from 0° to 90° will always
be:
Once the triac is firing at an angle greater than 90° the peak
voltage will lower and equal to:
The voltage at VBUCK with a valley fill stage of two will look
similar to the waveforms of figure 22.
The purpose of the valley fill circuit is to allow the buck con-
verter to pull power directly off of the AC line when the line
voltage is greater than its peak voltage divided by two (two
stage valley fill circuit). During this time, the capacitors within
the valley fill circuit (C7 and C8) are charged up to the peak
of the AC line voltage. Once the line drops below its peak
divided by two, the two capacitors are placed in parallel and
deliver power to the buck converter. One can now see that if
the peak of the AC line voltage is lowered due to variations in
the line voltage, or if the triac is firing at an angle above 90°,
the DC offset (VDC) will lower. VDC is the lowest value that
voltage VBUCK will encounter.
Example:
Line voltage = 90VAC to 135VAC
Valley-Fill = two stage
Depending on what type and value of capacitors are used,
some derating should be used for voltage droop when the
www.national.com 20
LM3445
capacitors are delivering power to the buck converter. When
the triac is firing at 135° the current through the LED string will
be small. Therefore the droop should be small at this point
and a 5% voltage droop should be a sufficient derating. With
this derating, the lowest voltage the buck converter will see is
about 42.5V in this example.
30060355
FIGURE 21. AC Line with Various Firing Angles
30060356
FIGURE 22. VBUCK Waveforms with Various Firing Angles
To determine how many LEDs can be driven, take the mini-
mum voltage the buck converter will see (42.5V) and divide it
by the worst case forward voltage drop of a single LED.
Example: 42.5V/3.7V = 11.5 LEDs (11 LEDs with margin)
OUTPUT CAPACITOR
A capacitor placed in parallel with the LED or array of LEDs
can be used to reduce the LED current ripple while keeping
the same average current through both the inductor and the
LED array. With a buck topology the output inductance (L2)
can now be lowered, making the magnetics smaller and less
expensive. With a well designed converter, you can assume
that all of the ripple will be seen by the capacitor, and not the
LEDs. One must ensure that the capacitor you choose can
handle the RMS current of the inductor. Refer to
manufacture’s datasheets to ensure compliance. Usually an
X5R or X7R capacitor between 1 µF and 10 µF of the proper
voltage rating will be sufficient.
SWITCHING MOSFET
The main switching MOSFET should be chosen with efficien-
cy and robustness in mind. The maximum voltage across the
switching MOSFET will equal:
The average current rating should be greater than:
IDS-MAX = ILED(-AVE)(DMAX)
RE-CIRCULATING DIODE
The LM3445 Buck converter requires a re-circulating diode
D10 (see the Typical Application circuit figure 4) to carry the
inductor current during the MOSFET Q2 off-time. The most
efficient choice for D10 is a diode with a low forward drop and
near-zero reverse recovery time that can withstand a reverse
voltage of the maximum voltage seen at VBUCK. For a common
110VAC ± 20% line, the reverse voltage could be as high as
190V.
The current rating must be at least:
ID = 1 - (DMIN) x ILED(AVE)
Or:
21 www.national.com
LM3445
Design Example
The following design example illustrates the process of cal-
culating external component values.
Known:
1. Input voltage range (90VAC – 135VAC)
2. Number of LEDs in series = 7
3. Forward voltage drop of a single LED = 3.6V
4. LED stack voltage = (7 x 3.6V) = 25.2V
Choose:
1. Nominal switching frequency, fSW-TARGET = 250 kHz
2. ILED(AVE) = 400 mA
3. Δi (usually 15% - 30% of ILED(AVE)) = (0.30 x 400 mA) =
120 mA
4. Valley fill stages (1,2, or 3) = 2
5. Assumed minimum efficiency = 80%
Calculate:
1. Calculate minimum voltage VBUCK equals:
2. Calculate maximum voltage VBUCK equals:
3. Calculate tOFF at VBUCK nominal line voltage:
4. Calculate tON(MIN) at high line to ensure that
tON(MIN) > 200 ns:
5. Calculate C11 and R4:
6. Choose current through R4: (between 50 µA and 100 µA)
70 µA
7. Use a standard value of 365 k
8. Calculate C11:
9.
10. Use standard value of 120 pF
11. Calculate ripple current: 400 mA X 0.30 = 120 mA
12. Calculate inductor value at tOFF = 3 µs:
13. Choose C10: 1.0 µF 200V
14. Calculate valley-fill capacitor values: VAC low line =
90VAC, VBUCK minimum equals 60V (no triac dimming at
maximum LED current). Set droop for 20V maximum at
full load and low line.
i) equals POUT/VBUCK (270 mA), dV equals 20V, dt equals
2.77 ms, and then CTOTAL equals 37 µF. Therefore C7 =
C9 = 22 µF
www.national.com 22
LM3445
LM3445 Design Example 1
Input = 90VAC to 135VAC, VLED = 7 x HB LED String Application @ 400 mA
30060369
23 www.national.com
LM3445
Bill of Materials
Qty Ref Des Description Mfr Mfr PN
1 U1 IC, CTRLR, DRVR-LED, MSOP10 NSC LM3445MM
1 BR1 Bridge Rectifiier, SMT, 400V, 800 mA DiodesInc HD04-T
1 L1 Common mode filter DIP4NS, 900 mA, 700
µH
Panasonic ELF-11090E
1 L2 Inductor, SHLD, SMT, 1A, 470 µH Coilcraft MSS1260-474-KLB
2 L3, L4 Diff mode inductor, 500 mA 1 mH Coilcraft MSS1260-105KL-KLB
1 L5 Bead Inductor, 160, 6A Steward HI1206T161R-10
3 C1, C2, C15 Cap, Film, X2Y2, 12.5MM, 250VAC, 20%, 10
nF
Panasonic ECQ-U2A103ML
1 C3 Cap, X7R, 0603, 16V, 10%, 470 nF MuRata GRM188R71C474KA88D
1 C4 Cap, X7R, 0603, 16V, 10%, 100 nF MuRata GRM188R71C104KA01D
2 C5, C6 Cap, X5R, 1210, 25V, 10%, 22 µF MuRata GRM32ER61E226KE15L
2 C7, C9 Cap, AL, 200V, 105C, 20%, 33 µF UCC EKXG201ELL330MK20S
1 C10 Cap, Film, 250V, 5%, 10 nF Epcos B32521C3103J
1 C12 Cap, X7R, 1206, 50V, 10%, 1.0 uF Kemet C1206F105K5RACTU
1 C11 Cap, C0G, 0603, 100V, 5%, 120 pF MuRata GRM1885C2A121JA01D
1 C13 Cap, X7R, 0603, 50V, 10%, 1.0 nF Kemet C0603C102K5RACTU
1 C14 Cap, X7R, 0603, 50V, 10%, 22 nF Kemet C0603C223K5RACTU
1 D1 Diode, ZNR, SOT23, 15V, 5% OnSemi BZX84C15LT1G
2 D2, D13 Diode, SCH, SOD123, 40V, 120 mA NXP BAS40H
4 D3, D4, D8, D9 Diode, FR, SOD123, 200V, 1A Rohm RF071M2S
1 D10 Diode, FR, SMB, 400V, 1A OnSemi MURS140T3G
1 D11 IC, SHNT, ADJ, SOT23, 2.5V, 0.5% TI TL431BIDBZR
1 D12 TVS, VBR = 144V Fairchild SMBJ130CA
1 R1 Resistor, 0603, 1%, 280 kPanasonic ERJ-3EKF2803V
1 R2 Resistor, 1206, 1%, 100 kPanasonic ERJ-8ENF1003V
1 R3 Resistor, 1210, 5%, 1.8Panasonic ERJ-14RQJ1R8U
1 R4 Resistor, 0603, 1%, 576 kPanasonic ERJ-3EKF5763V
1 R5 Resistor, 1206, 1%, 1.00 kPanasonic ERJ-8ENF1001V
2 R6, R7 Resistor, 0805, 1%, 1.00 MRohm MCR10EZHF1004
2 R8, R10 Resistor, 1206, 0.0Yageo RC1206JR-070RL
1 R9 Resistor, 1812, 0.0
1 R11 Resistor, 0603, 0.0Yageo RC0603JR-070RL
1 R12 Resistor, 0603, 1%, 33.2 kPanasonic ERJ-3EKF3322V
1 R13 Resistor, 0603, 1%, 2.0 kPanasonic ERJ-3EKF2001V
1 R14 Resistor, 0805, 1%, 3.3 MRohm MCR10EZHF3304
1 RT1 Thermistor, 120V, 1.1A, 50Ω @ 25°CThermometrics CL-140
2 Q1, Q2 XSTR, NFET, DPAK, 300V, 4A Fairchild FQD7N30TF
1 Q3 XSTR, PNP, SOT23, 300V, 500 mA Fairchild MMBTA92
1 Q5 XSTR, NFET, SOT23, 100V, 170 mA Fairchild BSS123
1 J1 Terminal Block 2 pos Phoenix Contact 1715721
1 F1 Fuse, 125V, 1,25A bel SSQ 1.25
www.national.com 24
LM3445
Physical Dimensions inches (millimeters) unless otherwise noted
MSOP-10 Pin Package (MM)
For Ordering, Refer to Ordering Information Table
NS Package Number MUB10A
25 www.national.com
LM3445
Notes
LM3445 Triac Dimmable Offline LED Driver
For more National Semiconductor product information and proven design tools, visit the following Web sites at:
Products Design Support
Amplifiers www.national.com/amplifiers WEBENCH® Tools www.national.com/webench
Audio www.national.com/audio App Notes www.national.com/appnotes
Clock and Timing www.national.com/timing Reference Designs www.national.com/refdesigns
Data Converters www.national.com/adc Samples www.national.com/samples
Interface www.national.com/interface Eval Boards www.national.com/evalboards
LVDS www.national.com/lvds Packaging www.national.com/packaging
Power Management www.national.com/power Green Compliance www.national.com/quality/green
Switching Regulators www.national.com/switchers Distributors www.national.com/contacts
LDOs www.national.com/ldo Quality and Reliability www.national.com/quality
LED Lighting www.national.com/led Feedback/Support www.national.com/feedback
Voltage Reference www.national.com/vref Design Made Easy www.national.com/easy
PowerWise® Solutions www.national.com/powerwise Solutions www.national.com/solutions
Serial Digital Interface (SDI) www.national.com/sdi Mil/Aero www.national.com/milaero
Temperature Sensors www.national.com/tempsensors SolarMagic™ www.national.com/solarmagic
Wireless (PLL/VCO) www.national.com/wireless PowerWise® Design
University
www.national.com/training
THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION
(“NATIONAL”) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY
OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO
SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS,
IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS
DOCUMENT.
TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT
NATIONAL’S PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL
PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR
APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND
APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE
NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS.
EXCEPT AS PROVIDED IN NATIONAL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO
LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE
AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY
RIGHT.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR
SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and
whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected
to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform
can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other
brand or product names may be trademarks or registered trademarks of their respective holders.
Copyright© 2009 National Semiconductor Corporation
For the most current product information visit us at www.national.com
National Semiconductor
Americas Technical
Support Center
Email: support@nsc.com
Tel: 1-800-272-9959
National Semiconductor Europe
Technical Support Center
Email: europe.support@nsc.com
National Semiconductor Asia
Pacific Technical Support Center
Email: ap.support@nsc.com
National Semiconductor Japan
Technical Support Center
Email: jpn.feedback@nsc.com
www.national.com