Sunteți pe pagina 1din 6

designideas readerS SOLVE DESIGN PROBLEMS

Three-channel white-LED driver uses DIs Inside


simple step-down dc/dc converter 54 Sense automobile high-side
current with discrete components
Nora Jacalan Esteves, Technor Semiconductor LLC, Pleasanton, CA

56 Dramatically increase the


With only a few additional com- divider. You can use an LED in place frequency range of RC-based
ponents, you can use a highly of the upper resistor of the feedback- voltage-controlled oscillators
efficient step-down dc/dc converter to divider network to allow the LED to
create a constant-current, multiple- be driven with a constant regulated 58 Crystal-oscillator circuit
channel LED driver. It is relatively easy current. The current flowing through is ultralow power
to drive a single-channel LED; however, the LED will be equal to the reference 59 Buffers stabilize oscillator
it becomes more complicated when driv- voltage of the dc/dc converter divided
ing multiple-channel paralleled LEDs. by the resistance of the grounded bot- To see and comment on
In normal dc/dc-converter applica- tom resistor. all of EDNs Design Ideas, visit
tions, the control circuitry uses a power Although this method works well www.edn.com/designideas.
stage comprising an inductor and a with one LED channel, it cannot be
capacitor, along with feedback through used to drive multiple parallel LED current. As a result, only one LED chan-
a resistor-divider network, to generate channels, because the mismatch in nel would be lighted.
a regulated constant voltage and thus LED voltage drops would cause one You can use the circuit in Figure 1 to
a constant current through the resistor LED channel to consume most of the drive multiple paralleled LED channels

VIN
5V
RF
86.6k
1 RF VFB 16
R3 C4
R7 887 2.2 nF
1M 2 COMP 15

3 EN PGOOD 14 PGOOD
C5
1 nF RPG
4 SGND SVIN 13 10k
TN1000
5 PVIN PVIN 12
C1 C2
22 F 6 SW SW 11 22 F L1
12 H
7 SW SW 10
C3 D1 D2 D3
8 PGND PGND 9 22 F R2
15k R4
15
Q1 Q2

Q3 2N3904 2N3904

2N3906 R1 R5 R6
47 47 47

Figure 1 Current mirrors equalize the LED currents in each branch of this multiple-LED driver.

[www.edn.com] September 2012 | EDN 53


designideas
with only one dc/dc converter by add- reference voltage divided by R1. The R4 is set so that the voltage across
ing a simple current-mirror scheme to voltage across C3 will be regulated to C3 is high enough such that Q 1 and
generate the constant current required whatever voltage is required to support Q2 do not saturate. R4 should be set so
for each LED channel. The IC used in the voltage across D1 and R4, as well as that the voltage across C3 can support
the figure is the TN1000, a 100-mA the 0.8V across R1. the highest LED voltage plus approxi-
current-mode step-down dc/dc con- Emitter follower Q3 drives the bases mately 255 mV to keep Q1 and Q2 from
verter from Technor Semiconductor of Q1 and Q2, which mirror the 17 mA saturating.EDN
(Reference 1). of D1. The VBE drops of emitter followers
The voltage step-down stage con- Q1 and Q2 are similar to and compen- Reference
sists of a 12-H inductor and a 22-F sate for the VBE drop of Q3, so the volt- 1 TN1000 100-mA Monolithic,
capacitor. The first LED channel for age across R5 and R6 is also a constant Synchronous Step-Down DC-DC
D1 is driven by a regulated current of 0.8V, and D2 and D3 are driven with a Converter, Technor Semiconductor,
17 mA, which is equal to the ICs 0.8V constant 17 mA. July 2011, http://bit.ly/MMw1WY.

Sense automobile high-side current If you want to get critical, match R6


and R7; more critical again, also match
with discrete components R1 and R4. I didnt do this step, and the
mismatch did not seem to affect the
Larry Beaty, Beatys Mills, Comer, Georgia operation. All resistors except R3 are


1% 0805 SMT.
This Design Idea came about as a This setup works nicely with an analog Observe sufficient copper weight
result of my not having access to input to the microprocessor. and width on your PCB traces for maxi-
those wonderful new ICs that sense cur- The two zener diodes protect the mum current-carrying capacity, and be
rent. I needed a discrete circuit that I circuit from the automobile electrical sure to use Kelvin connections to R3.
could build easily but that would still be system. Such systems have been known This circuit ran slightly warm to the
as accurate as the new ICs. This circuit to spike to 90V. touch at 25A.EDN
seems to do the job.
Q2 is the first cur-
SOURCE LOAD
rent amplifier; it has a
gain of 6.2 (Figure 1). R3A
0.01
Q1 is the temperature- 3W
compensation ampli-
24A=5VOUT SMT 4527
fier controlled by IC1B, 13.6V

which keeps the Q 1 R3B 13.5178V


R1 R2 0.02 R4
collector voltage con- 1.78k 1.78k 3W 1.78k
stant no matter what G=6.2
the temperature does 2N3905
D1 D2
to the circuit. The 1N4749 Q1
12.12V
Q2 1N4749
reference voltage for 24V C10 24V
2N3905
the circuit is the 5V 0.1
4.68V 10V
R5
system supply. The 5.62k
R8 G=4.905
voltages noted on the 100k
3
schematic are as built. + 8
IC1A differentially IC1A 1 VOUT
5.18V R9 LM158 2.5V
amplifies the Q1 and 5
+ 100k 4.31V 2

Q2 collector voltages. IC1B 7 4
LM158
The op amp has a gain R6
6 7.2V R 7 R10
10k 10k 499k
of 4.9.
R 3 comprises two R11
VREF
surface-mount power 5.18V 499k
resistors, stacked one
atop the other. The
Figure 1 Q1 and Q2 convert the high-side voltage drop across current-sense resistor R3 into a voltage
circuit has a range of
that is within the common-mode range of IC2.
25A in for 5V out.

54 EDN | September 2012 [www.edn.com]


designideas
tuning curves of each converter con-
Dramatically increase the figuration. Note the dramatic increase
in range, but at the expense of linearity.
frequency range of RC-based Temperature stability will also be affect-
ed. Overall, precision is traded for tuning
voltage-controlled oscillators range, which should be acceptable in
Shawn Stafford, Pittsburgh, PA basic applications that do not require the


specified precision.
A typical voltage-to-frequency with an NTE618 hyperabrupt varactor, The hyperabrupt varactor allows
converteralso known as a as shown in Figure 2, the same input large changes in frequency for small
VCO (voltage-controlled oscillator) voltage range of 0 to 10V produced a changes in bias voltage because of the
IC has a simple linear tuning character- tuning range of approximately 10 Hz to large capacitance ratio. For some hypera-
istic relating input voltage to output more than 1 MHz (Reference 3). brupt varactors, the ratio can be as high
frequency. It is usually of the form The plot in Figure 3 compares the as 15, as in the case of the NTE618, a
F=kV/RC, where RC is the time
constant of the associated timing
CT
resistor and capacitor. The out- 15V 820 pF 5V
put frequency range of these
parts varies, but few, if any, tune 8 6 1k
7
over the entire range with one
1 FOUT=
set of RC timing components. If
VIN
you change the timing ratio as VIN
4 +
OSC/
(10V) (R1+R2) CT
0 TO 10V DRIVER
the input voltage changes, how-
ever, you can magnify the tuning
range to take advantage of near- AD654
ly the entire frequency range in 3
one implementation.
R1 5 2

hyperabrupt R2
R1+R2=37.2k

varactors yield
big changes in
frequency Figure 1 The usual usage of this VCO IC is with a fixed timing capacitor, CT, at pins 6 and 7.

from small bias-


voltage shifts. 1M
NTE618
1M

One way to achieve this goal 15V 5V


CV
is to replace the timing capacitor 0.01 F
with a variable capacitor whose 8 6 7 1k
capacitance inversely changes 1 FOUT=
with bias voltage: a varactor EDN DI5276 Fig 1.eps DIANE VIN
VIN OSC/
diode (Reference 1). For this 0 TO 10V 4 + DRIVER (10V) (R1+R2) CV
design, the Analog Devices
AD654 voltage-to-frequency
converter was considered because AD654
of its simplicity and bandwidth of 3
at least 1 MHz (Reference 2). R1 5 2
Figure 1 shows a typical
implementation using a fixed R1+R2=37.2k
R2
resistor and capacitor. For the
values shown, this setup gives
a frequency range of approxi-
mately 10 Hz to 30 kHz over
Figure 2 A voltage-variable capacitor (varactor) and an ac-coupled dc-bias network replace
0 to 10V on the input. After
the fixed timing capacitor.
replacing the timing capacitor

56 EDN | September 2012 [www.edn.com]


varactor that AM receivers use. As the bias voltage from the operation of the the varactor diode can be generated in
frequency of the converter increases with converter core. Light varactor biasing Microsoft Excel. This information then
higher voltage, the capacitance decreas- with high-value, 1M resistors prevents can be used in the voltage-to-frequency-
es, which in turn increases the frequency. additional loading of the oscillator. conversion equation for the converter.
This combination of responses gener- This behavior is calculable and For the NTE618, the approximate rela-
ates the wide tuning range. The 0.01-F predictable to some degree, even from tionship of capacitance to voltage is
coupling capacitors separate the varactor the data sheets. The tuning curve for expressed as C=800E10e0.46V.
Figure 4 shows the simi-
larity between the calculated
1,200,001 and measured results. The
higher frequencies differ
more as the varactor capaci-
1,000,001
tance reduces to the order of
the stray capacitance in the
circuit and parts. Careful lay-
800,001
out can minimize this issue
NTE618 VARACTOR-BASED and increase the range.
FREQUENCY (Hz) CONVERTER
600,001
Note that at low input
voltages, the varactor-based
response and the fixed-
400,001 capacitor converter response
are nearly identical because
of the varactors inverse
200,001 exponential relationship
to the voltage. One useful
RC-BASED CONVERTER result of achieving this range
1 is eliminating the need to
0.001 2.001 4.001 6.001 8.001 10.001 switch between converters
INPUT VOLTAGE (V)
to extend the tuning range.
You can explore other useful
Figure 3 Replacing the fixed timing capacitor with a voltage-variable capacitor results in a much and interesting applications
wider tuning range. using this approach with
phase-locked loops, modula-
tors, or function generators.
1,200,001 Editors note: Figure 13 of
the Analog Devices AD654
data sheet contains errors
1,000,001 (Reference 2). The 74LS86
and LM360 cannot be sub-
EDN DI5276 Fig 3.eps DIANE
jected to 15V, and R7 is most
800,001 likely 8.2k, not 8.2.EDN
CALCULATED (RED) VERSUS
FREQUENCY (Hz) ACTUAL References
600,001 1 Williams, Jim, and David

Beebe, Switching-regulator
supply provides low-noise
400,001
biasing for varactor diodes,
CALCULATED VERSUS MEASURED EDN, Nov 9, 2000, pg 117,
(OVERLAPPING ON THIS SCALE)
200,001 www.edn.com/4359609.
2 AD654: Low Cost Mono-

lithic Voltage-to-Frequency
1 Converter, Analog Devices,
0.001 2.001 4.001 6.001 8.001 10.001 http://bit.ly/MMCdOE.
3 NTE618 Varactor
INPUT VOLTAGE (V)
Silicon Tuning Diode for AM
Radio, NTE Electronics,
Figure 4 The calculated and measured responses are in close agreement.
http://bit.ly/NLnZMQ.

[www.edn.com] September 2012 | EDN 57


designideas
Crystal-oscillator circuit Table 1 Loading estimates

is ultralow power
Source Supply current (A)
LPV7215MF 0.58
Thomas Mathews, Texas Instruments R1 and R2 bias 0.33


For battery-powered circuits, it is easy to build an R3 0.083
ultralow-current crystal oscillator designed around a Crystal network (estimated) 2
32.768-kHz crystal. This crystal is common for real-time- 10-M probe load 0.165
clock circuits. Because these circuits must operate at all times,
20-pF load capacitance 2.163
achieving the lowest current draw possible is mandatory.
Traditional gate-oscillator circuitsthe 74HC04, for exam- Estimated total 5.321
plecan draw several milliamps; the circuit shown in Figure Actual total 5
1 normally draws only about 5 A. This circuit uses the Texas
Instruments LPV7215MF comparator, which is housed in a Multiple copies of this circuit have been built and tested
five-pin SOT-23 package. The operating current for this to confirm the 5-A current draw. The largest portion of the
comparator is 580 nA; the entire circuit shown in Figure 1 5 A goes to the largely unavoidable operations of charging
draws only 5 A when running from a 3.3V supply. and discharging the output load capacitance. The circuit
was tested using a standard 10-M oscilloscope probe with
VCC about 10 pF of shunt capacitance; operating current into
3.3V
more capacitive loads will be higher. Table 1 breaks down
the power consumption piece by piece.
C1
C5 + 0.1 F Capacitive loads must be charged by the upper transis-
10 F
R1
tor in the active output stage of the LPV7215. To charge a
4.99M capacitor to 3.3V, note the capacitor equation Q=CV. This
3
+
5
V+ charge is transferred into the capacitance during the first
1 half of each cycle of the 32.768-kHz oscillation. During the
IC1
R2 second half, the charge is transferred to ground. As a result,
4.99M 4 LPV7215MF OUT

2 V
the output-stage current, i, will be i=fQ=fCV. For 20 pF
GND (a 10-pF scope probe plus a PCB parasitic), i=(32.768 kHz)
R3 (20 pF)(3.3V)=2.163 A.
10M From the equation above, it can be seen that additional
X1 R5 output loading or higher operating frequencies will draw more
NX3215SA 820k output current. Anything that can be done to reduce the
capacitive load will reduce the total current draw.
C4 C3 Figure 2 shows an example of the test boards used to create
4.7 pF 4.7 pF the crystal-oscillator circuit.
Typical LR44 alkaline button-cell batteries (Figure 3)
have a capacity of 150 mAhr. With 5 A of current draw,
Figure 1 Traditional gate-oscillator circuits can draw several
this clock circuit could run for about 30,000 hours, or
milliamps; the circuit shown normally draws only about 5 A.
3.4 years.EDN

Figure 3 Typical LR44 alkaline


Figure 2 Test boards of a crystal-oscillator circuit are based on the Texas button-cell batteries supply 150 mAhr
Instruments LPV7215MF comparator. of capacity.

EDNDI5316 Fig 1.eps DIANE


58 EDN | September 2012 [www.edn.com]
designideas
CLASSICS
Originally published in the Feb 4, 1991, issue of EDN
Want to
see more
of the
Buffers stabilize oscillator classics?
Revisit 50 of the
Maxwell Strange, Goddard Space Flight Center, Greenbelt, MD
best Design Ideas


from the Golden
Adding a CMOS buffer to a clas- are expensive and power hungry. Age of electrical
sic op-amp oscillator dramati- The circuit of Figure 1b over- engineering.
cally improves its performance while comes these problems and has other
http://bit.ly/DesignIdeasClassics
preserving its low cost and low power advantages as well. Gates A and B
consumption. produce a rail-to-rail voltage swing to
The overriding source of frequency feed back to the circuits input, elimi- The circuits output frequency is:
drift in Figure 1a is the nonsymmetry nating the saturation-voltage drops log e
and variability of the op amps out- of the op amp. If you select the prop- fo=
put-saturation voltages. These effects er op amp, only the circuits passive 2R1
2 log 1 RC,
produce output-amplitude variations, components will affect its frequency 2R1=R2
which, when fed to the inputs via R1 stability. The circuits output sym-
and R2, produce switching-threshold metry is nearly perfect over a wide R'1R'2
changes. Supply voltage, tempera- range of supply voltages. Further, the R1= ,
R'1+R'2
ture, loading, and op-amp selection buffers output transitions are much
also affect these saturation voltages. faster than the op amps slew-rate-
0.979
You can clamp the op amps output limited transitions, allowing you to if R2=3R1, fo .
RC
with reference diodes, but such diodes use a micropower op amp. EDN

Figure 1 Adding CMOS buffers to a classic op-amp oscillator (a) improves the oscillators performance without significant increases in
power consumption or cost (b).

[www.edn.com] September 2012 | EDN 59

S-ar putea să vă placă și