Professional Documents
Culture Documents
EDN Best of Design Ideas 2011
EDN Best of Design Ideas 2011
designideas
readers solve desiGn proBlems
Sponsored by:
DESIGN IDEAS
BEST OF:
designideas
TABLE OF CONTENTS
Pg 1.
Pg 4.
Pg 4.
Pg 5.
Pg 8.
Pg 9.
Pg 10.
Pg 12.
Pg 13.
Pg 14.
Pg 15.
Pg 16.
Pg 18.
Pg 19.
Pg 20.
Pg 20.
mouser.com
Scan Here
mouser.com
Mouser and Mouser Electronics are registered trademarks of Mouser Electronics, Inc. The Newest Products for Your Newest Designs is a registered trademark of Mouser Electronics, Inc
Figure 1 A metal tube with an HB LED and a photoresistor forms the optocoupler (left).
DESIGN IDEAS
A3
Thus, its resistance rises
C5
15V
LF356N 47 F
R3
C6
to a high value, which
D5
47k
470 F
R5
BAT46
D1
can cause dc runaway
3.9k
BAT46
and the loss of the quiP2
C7
1M
R4
470 F
escent operating point of
470
15V
A1. Such a condition is
not harmful in principle
because the signal path
Figure 3 The adaptive-amplifier system has the optocoupler in a feedback loop.
is ac-coupled, preventing
the dc error value from
put-light flux of 2500 mcd at a 20-mA the normal operating range, the overall getting any further. When a nonzero
linearity of the system improves with signal suddenly appears at the input,
drive current (Reference 3).
Figure 2 shows the transfer func- increasing input-signal amplitude be- however, A1s open-loop amplification
tion of the optocoupler using the LDR cause the amount of negative feed- would amplify it, causing a rapid rise in
07-type photoresistor. The output re- back increases with increasing signal LED current. This action would drop
sistance of the device can vary from amplitude.
the optocouplers output resistance alFigure 3 shows the amplifier system. most stepwise to a value sufficient to re100V to 10 MV with LED-drive currents from 34 mA to 0.1 mA, respec- The basic signal-processing device store the dc operating point of A1. The
tively. The photoresistors linear VA is inverting op amp A1. Its inverting ac coupling transfers this transient to
characteristic, even for large-amplitude connection lets you set the absolute the output, and it may cause problems
signals, lets you use it as the control el- value of the overall amplification from in signal-processing circuits followement even in situations that require a input to output to a value smaller than ing the adaptive amplifier. To prevent
edn100401di46393 DIANE
relatively large signal voltage, such as
(PLACED IN THE 4-8 FOLDER)
when the photoresistor is part of the
feedback loop of an operational amplifier. Figure 2 also shows that you can
obtain a variation of linear output resistance over at least five decades with
a maximum LED-drive current within
the limits of permitted output current
of common monolithic operational
amplifiers.
Such an amplifier can control the
overall amplification of the system in
the same range without additional current amplification. Due to the photoresistors linearity, the resulting degree
of processed signal nonlinear distortion
Figure 4 The amplifier system has a constant output from 0.1 mV to 1V-rms
is almost solely due to the nonlinearinput.
ity of the operational amplifier. Within
A
1
LF356N
DESIGN IDEAS
this effect, you should limit the maximum value of the feedback resistance
to a reasonable value, such as 47 MV,
the value of R6. Because the op amps
have JFET inputs, the value of R6 can
be rather high. The value of 47 MV is
a reasonable compromise, limiting the
maximum absolute value of voltage
amplification in A1 to approximately
82 dB. The limiting factors for selecting a value for R6 are the noise and the
open-loop amplification of A1.
Buffer A2 separates the nonlinear
load through the rectifying diodes
from the output signal, thus preventing the nonlinear load from the rectifying diodes from distorting the output
signal. Diodes D3 and D4 compensate
the threshold voltage, including its
temperature coefficient, of rectifying
diodes D1 and D2. If you do not need
to set the regulated output-voltage
amplitude to a value smaller than the
threshold value that the bias current in
R4 sets, you can replace D3 and D4 with
a short circuit and omit R7. You can set
a larger-than-unity voltage amplification in A2 to obtain a regulated output
amplitude lower than the threshold
that the bias in R4 sets. Just insert an
additional resistance in series with the
D3/D4 pair.
The rectifier uses Schottky diodes,
which have a lower threshold voltage
than conventional PN diodes. They
also have a short recovery time, keeping the same rectification efficiency at
high signal frequencies. The rectifier
operates as a full-wave voltage doubler,
providing peak-to-peak rectification
even for signals with nonsymmetrical
waveforms. The rectifier output feeds
to A3, a voltage-to-current converter,
which drives the LED in the optocoupler. A rectification threshold-shifting
DESIGN IDEAS
2/25/11 1:39 PM
reliability.
When there is a 0V input to the circuit, both transistors are off. Resistor
R1 slowly charges the left side of capacitor C1 to the 24V power-supply
voltage. D2 clamps the right side of capacitor C1 to 0.6V. When the input signal goes high, both the Q1 and the Q2
transistors turn on. This action quickly
drives the left side of C1 to ground. Because voltage cannot change instantaneously across a capacitor, the right side
of C1 goes down to 23.4V. D2 steers
the solenoid current into the capacitor
until it discharges, at which time the
VB
24V
I(t) =
R1
1k
KUHNKE HU32-HS1756
L
R
D1
1N4007
=
Q2
BD135
C1
220 F
+
Q1
BD135
VD
(2 VIN VD) e
L
t
sinh(t)
;
R 2 1
2L
; and =
.
2L
LC
R
D2
1N4007
Figure 1 This circuit bootstraps the power supply voltage across the solenoid to
temporarily double the actuation voltage.
MHz, to improve the noise immunity of the system (Figure 1). IC2, an
RDD104 IC from LSI Computer Systems Inc (www.lsicsi.com), provides a
1000-to-1 divider in an eight-pin package. IC3, Mixed Signal Integrations
(www.mix-sig.com) MSHN5 1000to-1 clock-to-corner switched-capac-
VDDA
R7
10k
C2
0.1 F
PHPU
PHC10
VDDD
DIV1000
C1
0.1 F
DIV1
DIV2
VDD
OUT
IC2
RDD104
VSS
CLKOUT
RESET
CLKIN
C4
200 pF
VCO OUT
X3
COIN
VDD
PHCIII0
SIN
C8
SIGNAL 1 F
VCOO
PHCII0
IC1
74HC4046
INH
R2
C1A
R1
C1B
DEMOO
VSS
VCOIN
C6
1 F
R3
VSSA 100k
FIN
R4
10k
FSEL
IN
OUT
GND
IC3
MSHN5
TYPE
VSS
CLK
VDD
R5
10k
R6
10k
X4
FILTER IN
R2
R1
10k AGND 10k
VCOIN
C5
0.1 F
X1
C3
1 F
C7
15 nF
CLKIN
VOICE OUT
Figure 1 This audio notch-filter circuit uses a PLL to improve noise immunity.
1 ORANGE
Q1
12V
C7
470 F
16
14
13
15
V00
Q0
Q1
Q2
Q3
Q4
Q5
IC1
Q6
CD4017
Q7
Q8
RED Q9
DRIVER
CLK
CLKIMH
RST
COUT
VSS
8
R1
500
3 0.25W
2
4
7
10
1
5
6
9
11
12V
2N2222A
R2
500
0.25W
Q3
Q4
2 YELLOW
12V
2N2222A
R3
500
0.5W
Q2
12V
2N2222A
R5
500
1.5W
3 GREEN
4 BLUE
12V
2N2222A
R4
500
1W
5 VIOLET
12V
C1
0.01 F
RED
12
C2
10 F
14
5
OUT
3
1
CTRLV DCHC
2
THR
4
RST
6
TRIG
+
IC4A
LM556C
R18
500
6 GRAY
Q5
12V
C8
470 F
16
14
13
15
V00
Q0
Q1
Q2
Q3
Q4
Q5
IC2
Q6
CD4017
Q7
Q8
GREEN Q9
DRIVER
CLK
CLKIMH
RST
COUT
VSS
8
R6
500
0.25W
3
2
4
7
10
1
5
6
9
11
12V
2N2222A
R8
500
0.5W
Q6
Q7
Q8
12V
2N2222A
R10
500
1.5W
12V
2N2222A
R9
500
1W
R17
50k
GND
7
CLOCK 1=10 Hz
12V
2N2222A
R7
500
0.25W
R16
1k
7 WHITE
9 BROWN
10 RED
LED1
RED
11 ORANGE
R19
50k
9
OUT
12
13
THR DCMG
10
RST
8
TRIG
IC4B
+
LM556C
CTRLV
11
C4
0.01 F
C3
10 F
GREEN
12
12V
R20
1k
R21
520
CLOCK 2=12 Hz
LED2
GREEN
12 YELLOW
Q9
12V
C9
470 F
16
14
13
15
V00
Q0
Q1
Q2
Q3
Q4
Q5
IC3
Q6
CD4017
Q7
Q8
BLUE Q9
DRIVER
CLK
CLKIMH
RST
COUT
VSS
8
R11
500
0.25W
3
2
4
7
10
1
5
6
9
11
12V
2N2222A
R12
500
0.25W
12V
2N2222A
R13
500
0.5W
Q10
Q11
Q12
12V
2N2222A
R15
500
1.5W
12V
2N2222A
R14
500
1W
13 GREEN
14 BLUE
16 GRAY
2N2222A
12V
R22
1k
BLUE
12
Q1 TO Q12
15 VIOLET
8 BLACK
18 BLACK
CLOCK 3=14 Hz
C5
10 F
R24
500
4
RST
2
TRIG
6
THR
DISCHG
IC5B
LM555C
OUT GND
1
CV
C
B
R23
50k
6
C6
0.01 F
LED3
BLUE
Figure 1 Three 555 timers generate clock signals, and CD4017 counters provide the drive signals for the transistors.
DESIGN IDEAS
cept the center one, connect in parallel. Start by bending all of the ground
leads flat and connecting them together. When wiring the LEDs, begin in the
center and work outward. You can then
mount the LED board onto the top of
the PCB (printed-circuit board). See
10
BLUE
RED
6 GRAY
15 VIOLET
RGB
R G B
ORANGE 1
12 YELLOW
R G B
9 BROWN
GREEN 3
GRAY 16 B
G
ORANGE 11
R
R G B
VIOLET 5
R G B
14 BLUE
RGB
R G B
R G B
R G B
R G B
R G B
1
8 BLACK
18 BLACK
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
EXTRA 17 WHITE
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
3
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
5
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
6
R G B
R G B
R G B
R G B
R G B
R G B
R G B
R G B
7
R G B
R G B
R G B
R G B
RGB
LED
NOTCH
RED
BLUE
GREEN
R G B
R G B
YELLOW 2
R G B
R G B
R G B
13 GREEN
7
WHITE
Figure 2 The LED in the center lights first, and the light then moves outward until the circuit products an 88-LED display.
DESIGN IDEAS
D1
IC1
ADG888
D2
COUT
3.3 F
VOUT
RL
S3B
S3A
VDD1
S4B
S4A
VIN
1.8 TO
2.5V
S1A
VS
Rp
10
IN1
IC1
ADG888
IN2
GND
100 nF
S1B
CIN
4 F
C
1 F
S2B
S2A
IC1
ADG888
VIN
R1
56k
VIN
_
IC3A
AD8617
+
IC3B
AD8617
+
R3
2M
R2
100k
RGEN
69.8k
IC2
SN74AHC14
CGEN
Figure 1 You can use this step-up dc/dc converter in applications in which power efficiency is a critical issue.
DESIGN IDEAS
VIN
er diodes D1 and D2 provides that voltage. The higher of the input or output
voltages appears at the VDD1 pin of IC1.
The high levels of output voltages for
both IC2 and IC3 suffice for control of
IC1 because the ADG888s data sheet
allows a 0.36VDD1 value for the high
value at the control inputs. The circuit has been tested at an input voltage of 2.386V, RL of 178.46, a frequency of 200 kHz, a supply voltage
of 2.377V, an input supply current of
DC BUS
ISOURCE
SOURCESIDE
INVERTER
LOADSIDE
INVERTER
LOAD
POWER ELECTRONICS
MEASURE
INPUT POWER
MEASURE
OUTPUT POWER
UTILITY SOURCE
ISOURCE
DC BUS
IRIN
IROUT
SOURCESIDE
INVERTER
MEASURE
INPUT POWER
MOTORSIDE
INVERTER
POWER ELECTRONICS
Figure 2 This method eliminates the test load by shorting the output-load terminals.
DESIGN IDEAS
port the rating of the power-electronics system you are evaluating. These
requirements can drive up the facilitys infrastructure cost; for one-time
design-validation measurements, this
cost is difficult to justify.
This Design Idea describes alternative
methods of measuring the efficiency of
a high-power power-electronics system
that simplifies the test-infrastructure requirement by eliminating the test load
and using a source that must support
only the loss of the power-electronics
system. Figure 2 shows the proposed
method, which eliminates the test load
by shorting the output/load terminals.
The systems control algorithm maintains the required input- and outputcurrent amplitude and frequency by
developing circulating reactive power.
IGBTs (insulated-gate bipolar transistors) and magnetic components dominate the systems losses, which are functions of the amplitude and frequency of
the input and output currents. The loss
is also less sensitive to the power-factor
and PWM (pulse-width-modulation)
index.
To know the required input and output current, you must estimate the systems power factor, the motors back
EMF (electromotive force), and the
systemss source voltage. This example
uses a field-oriented control for both
POUT
;
3VBEMF
IRIN = IRIN_RE+jIRIN_IM =
PRIN
P
/
= OUT E ,
3VGRID
3VGRID
where IROUT is the required output current, which comprises real current,
IROUT_RE, and reactive current, IROUT_IM;
IRIN is the required input current, which
comprises the real current, IIN_RE, and
the reactive current, IIN_IM; PRIN is the
required input power; POUT is the output power at the test condition; VBEMF
is the motors back EMF; VGRID is the
grid voltage; and E is the estimated efficiency of the circuit.
By maintaining the input current
to be IRIN and the output current to be
IROUT, the measured input real power
will be close to the power loss, PLOSS,
at the actual output-power level,
POUT. Therefore, you can calculate
the efficiency as follows: =(POUT)/
(POUT+PLOSS)100%.
If the measured efficiency, which you
calculate using this equation, does not
quite match the estimated efficiency,
E, update the second equation using
the measured efficiency, , and repeat
providing a path for circulating reactive power, the utility sources the lost
power only, not the total power. In
Figure 3, the input current of the second power-electronics circuit is IRIN=
IRIN_RE+jIRIN_IM. By setting the first circuit
to have an input current of IRIN1IRIN_RE
jIRIN_IM,the power from the source is
only ISOURCE=IRIN1+IRINIRIN_RE+IRIN_RE+
j(IRIN_IMIRIN_IM)=2IRIN_RE. The circuit
uses the input current from the source
only to overcome the power losses of
the two circuits, thereby eliminating
the need for a high-power infrastructure.EDN
DC BUS
IRIN1
SOURCESIDE
INVERTER
MOTORSIDE
INVERTER
MOTORSIDE
INVERTER
MEASURE
INPUT POWER
Figure 3 This method uses two identical power-electronics systems. The second
system offsets the input reactive current that the test system creates.
DZ
the diode. Therefore, even if the battery voltage changes from a charged
state to a discharged state, the change
in current is only 10%. Thus, the intensity of LEDREF remains constant for
a battery state from a fully charged
state to a fully discharged state.
The light output of the variable LED
changes with respect to changes in battery voltage. The side-by-side-mounted LEDs let you easily compare light
intensities and, thus, battery status.
DESIGN IDEAS
10
+
VBATT
R1
10k
LEDREF
R2
10k
LEDVAR
S1
DZ1
9.1V
DZ2
9.1V
D1
D3
+
R1
10k
VBATT
R2
10k
D2
R4
100
R3
100
LEDREFG
LEDVARG
LEDREFR
IG
LEDVARR
IR
Light
output
of LEDVARR
Battery
status
(%)
Much
brighter
than
LEDREFG
Much
brighter
than
LEDREFR
70 to 100
Equally as
bright as
LEDREFG
Much
brighter
than
LEDREFR
60
Off
Brighter
than
LEDREFR
50 to 30
Off
Equally as
bright as
LEDREFR
20
Off
Off
0 to 10
ries with resistor R2 causes the current 1 shows how LED intensity indicates
to change with battery voltage. The battery charge.
sum of the zener voltage and the drop
The following equation calculates the
across the LED should be slightly less variable intensity for the green LED:
than the lowest battery voltage. This VBATT=IG100+VD1+VD2+VLEDG+VDZ1.
voltage appears across R2. As the bat- For a green-LED current of 1 mA, VB
tery voltage varies, it produces a large ATT=103100+0.6+0.6+1.85+9.1=12.2
variation of current in R2. If the volt- 5V. The selected LEDs have a drop of
age is approximately 1V, then 10 mA 1.85V at 1 mA.
If the LED has different characterwill flow through LEDVAR, which is
much brighter than LEDREF. If the volt- istics, then you must recalculate the
age is less than 0.1V, then the light in- resistor values. At this voltage, the
tensity of LEDVAR will be less than LE- LEDs have the same intensity, and the
DREF, indicating that the battery has battery is 60% charged. See Reference
1 for lead-acid-battery voltages.
discharged.
The following equation calculates
Immediately after the battery has
charged, the battery voltage is more the variable intensity for the red LED:
than 13V. The circuit can withstand VBATT=IR100+VD3+VLEDR+VZD2. For a
this voltage because it has a 10-mA green-LED current of 1 mA, VBATT=
margin. If the LEDs are bright, quickly 103100+0.6+1.85+9.1=11.65V.
release pushbutton switch S1 to avoid
At this voltage, both red LEDs have
equal intensities, and the battery is 20%
damage to the LEDs (Figure 2).
The figure uses a 12V lead-acid charged. LEDVARG is off. Figure 3 shows
battery indicator
as an example, but
you can extend
LEDREF
the design to accommodate other
LEDVAR
types of chargeable batteries. You
can also use it for
voltage monitor- Figure 3 Both variable-intensity LEDs are brighter than
the reference LEDs, indicating that the battery is 100%
ing. It uses two charged.
green LEDs to indicate whether
the battery has charged above 60%. that both variable-intensity LEDs are
A set of red LEDs indicates whether brighter than the reference LEDs, indithe battery charge drops below 20%. cating that the battery is 100% charged.
LEDREFG and LEDREFR feed through EDN
10-k resistors R1 and R2. For the
variable-intensity LEDs, a zener diode R e f e r e n c e
works in series with 100 resistors R3 1 Lead Acid Battery Charging, Solar
and R4. Diodes D1, D2, and D3 provide Navigator, 2005, www.solarnavigator.
the required clamping voltages. Table net/battery_charging.htm.
Filler-2.indd 1
DESIGN IDEAS
11
2/25/11 1:37 PM
The radiance of these two LEDs, which mately 0.77%/C, and the current
are both indium-gallium-nitride types, source roughly halves this drop.
The R0 resistors force the logic inthus remains almost constant over ambient temperature. The red LED is an puts to logic zero at manual control by
aluminiumTable 1 Distribution of current and colors
indiumIN1
IN2
IR
IG
IB
Color
galliumphosphorus
0
0
I
I
I
White
type, hav0
1
Off
2I
I
Aqua
ing a radi1
0
2I
I
Off
Red-orange
ance drop
1
1
I
2I
Off
Yellow
of approxi5V
IR
RED
1.8k
IG
GREEN
IB
BLUE
IC1
ASMTMT00
VREF
1.25V
IC2
Q1
S1A
VDD
IC4
ADR1581
Q2
S1B
Q3
S2A
S2B
IC3
ADG854
AT INPUT
LOGIC 1
GND
D1
D2
IN1
I
100 nF
IN2
I
RE
33
R0
470k
RE
33
I
R0
470k
CONTROL
IN1
IN2
12
RE
33
Reference
Oon, Siang Ling, The Latest LED
Technology Improvement in Thermal
Characteristics and Reliability: Avagos
Moonstone 3-in-1 RGB High Power
LED, White Paper AV02-1752EN,
Avago Technologies, Jan 20, 2009,
www.avagotech.com/docs/AV02-1752EN.
1
5V
S3
PC
PARALLEL
PORT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
5V
D0
D1
D2
5V
5V
20 18
16
14
IC1
74LS244
9 14
15
16
IC2
ULN2003
10 1 19
2
4
6
1
2
3
S2
IN4148
IN4148
RA1
47k
5V
RA2
4.7k
IN4148
4
7
IC3
NE555
3
6
RB
47k
C1
10 nF
5V
R1
1k
5V
5
C2
0.1 F
Figure 1 This circuit controls the speed of a 5V permanent-magnet motor through the PCs parallel port.
DESIGN IDEAS
13
+
M
5V
DC MOTOR
Q1
2N2222
S1
S2
S1
Equivalent
digital sequence
Motor speed
Off
Off
Off
000
Stop
Off
Off
On
001
Maximum
Off
On
On
011
Medium
On
Off
On
101
Minimum
AD8212
ALPHA
CURRENT MIRROR
IB
VOUT
SENSE
HEAVY
LOAD
RSHUNT
8
1
VP
1k
1k
A1
+
RL
V+
BIAS
IOUT
COM
3
2
RBIAS
Figure 1 An external PNP transistor lets you operate the circuit at high voltages.
DESIGN IDEAS
14
IBIAS
IC
1.4
1.2
1
0.8
0.6
0.4
OUTPUT- 0.2
0
CURRENT
ERROR (%) 0.2
0.4
0.6
0.8
1
1.2
1.4
0
WITH COMPENSATION
WITHOUT COMPENSATION
5V
VOUT
3.9k
R3
100k
0.2%
1.25V
RS
100 nF
VREF
IC1
ADR1581
R4
100k
0.2%
VSET
R1
100k RP
0.2%
8
IC2A
6
1
5
IC2B
+
7
VOUTC
AD8692
R2
100k
0.2%
NOTES: R=R1=R2.
RP= 10k to 100k.
RS = 2(2R IIRP).
Figure 1 The circuit outputs two analog voltages whose sum always equals the
reference voltage.
DESIGN IDEAS
15
stant current divides into two components. One component flows through
a red LED, and another one flows
IR
IG
GREEN RED
BLUE
NC
Q2R
BF137
Q1R
RB
470k
RB
470k
VOUT
3.9k
1.25V
IC3
AD5228
2
W
R
100k
0.2%
R
100k
0.2%
RE
4.7
VDD
100 nF
VREF
RE
4.7
R
100k
0.2%
R
100k
0.2%
RS
IC2
ADR1581
Q2G
BF137
Q1G
VSET
IC4A
+
4
6
1
2
7
IC4B
3
4
IC5A
1
5
IC5B
AD8692
AD8692
VOUTCOMPLEM
GND
NOTES: RS=2[(2R)IIRAB].
RAB=10, 50, OR 100k.
PU PD PRE
LOGIC CONTROL
Figure 1 This circuit lets you set one of 32 of hues between red and green using a short-term grounding of the pullup or pulldown control pins.
DESIGN IDEAS
16
Filler-3.indd 1
DESIGN IDEAS
17
2/25/11 1:36 PM
current/voltage curve. An electronic load may prove to be a more useful approach. The control loops of the
driver circuit and the electronic load,
however, often result in system instability and oscillations.
Figure 1 illustrates a typical LEDdriver circuit using a low-cost simulated-LED circuit. The simulated LED accurately mimics a real LED at a user-proVIN
8
2
grammable threshold voltR
2
Q
VIN BOOT
1
CBOOT
6.2k
RON
2N6282 HEAT
age. A simple Darlington
CIN
1
0.1
F
5%
SW
SINK
1 F 46.4k
current sink, Q1, provides a
1% 6
R1
L1
COUT MAXIMUM
RON
20k
wide
range of LED threshD1 100 H
IC1
10 F
LEDold voltages. The size of the
LM3402
MINIMUM
STRING
3
5
heat sink attached to Q1 and
CS
DIM
CURRENT
RS
R3
the power capability of Q1
ADJUSTMENT
0.56
1
1%
7
5%
are the only limits on the
VCC
GND
C1
amount of power the simuSIMULATED
0.1 F
4
LED
lated LED can dissipate.
You can easily tune the
LEDDRIVER CIRCUIT
circuit for any LED voltage.
Place a constant voltage
across the simulated LED.
Figure 1 Use this circuit for quick testing of an LED-driver circuit over minimum, typical, and
maximum LED parameters.
Tune the circuit by adjusting
resistor R1 until the circuit
draws the desired current.
250
You can adjust the shape of
the voltage knee by making
small changes to resistor R3,
200
although this step is not usually necessary.
Figure 2 compares the
CONSTANT 175 RESISTANCE
LED (CL-L251A-MC6L1-A)
simulated
LEDs current
150
SIMULATED LED
and voltage characteristics
LED
CURRENT
to those of a real LED and
(mA)
a constant resistance. The
100
soft turn-on of the simulated LED accurately mimics
that of a real LED. Furthermore, the simulated LED
50
quickly retunes to test minimum and maximum LED
characteristics, thus giving
0
you confidence that the cir28
30.5
33
35.5
38
cuit will work over all load
LED VOLTAGE (V)
conditions.EDN
cal results because the tests dont factor in worst-case LED parameters and
often generate undesirable light and
heat during driver debugging. Although using a constant resistance
might seem to be an appropriate approach, a resistor approximates an
LED load at only one point on the
Figure 2 The simulated LED approximates the turn-on characteristics of a real LED. A constant-resistance load approximates a real LED load at only one point on the curve.
DESIGN IDEAS
18
VIN
Automotive accessories such
7.5 TO 76V
as PNDs (portable navigation
devices) usually receive their power
VIN
BST
INA
+
ONA
ONA
100 F
or charge using a simple adapter that
0.1 F
ONB
ONB
100 H
5V
a user plugs into a cigarette lighter.
INB
LX
IC
1
R1
Sometimes, however, you may want
OUTA
OUTPUT A
D1
+
MAX5035B
100 F
50SQ100
to power or charge two devices at
IC2
1 F
100k
MAX1558
FB
ON/OFF
once. The circuit in Figure 1 can
VD
ON
FLTA
FAULTSGND
GND
OUTB
OUTPUT B
handle that task.
R2
0.1 F
100k
INDICATOR
1 F
OFF
IC1 generates 5V from any 7.5 to
OUTPUTS
FLTB
76V inputa wide enough range to
GND
ISET
include the complete range of car56k
battery voltage plus the 40V spike
that can occur during a load dump.
The IC is simple to use because it has
an internal power switch and requires Figure 1 An automotive USB power supply generates two regulated, supply-voltage
outputs from an unregulated input.
no compensation circuit.
IC2 distributes to two outputs the 5V automatically after the removal of the feature brings Output A back online.
Output B is unaware of the problem in
that IC1 generates. It not only distributes overload condition.
Figure 2 shows the protection feature Output A (Figure 2b). The fault-indipower but also protects against overload
conditions. Most portable equipment in action. Output B has a constant load cator output, however, goes low to in-
(a)
(b)
CHANNEL 2 100 mA/DIV
20 mSEC/DIV
5k SAMPLES/SEC
CHANNEL 1 1V/DIV
20 mSEC/DIV
5k SAMPLES/SEC
Figure 2 These current/voltage waveforms from Figure 1 show that an overload on Output A (a) has no effect on Output B (b).
of 300 mA, and Output A switches between a 100-mA load and a 600-mA
overload. IC2 switches off Output A
after an overload but allows a 20-msec
delay to avoid responding to brief transients (Figure 2a). The circuit removes
the overload 80 msec later; after another 20-msec delay, the automatic-restart
DESIGN IDEAS
19
voltage. The NAND gates power conThis type of light detector is highly sumption rises sharply at the threshold
power-efficient and is ideal for battery voltage. When the gates input voltapplications. You can use the NAND age is within the defined limits for the
gates logic output to drive an LED logic state, its power consumption is exdriver or a relay driver, or you can con- tremely small.EDN
nect it to a microcontroller.
Place the
3.6 TO 6V
circuit so that
COVER
WITH
sufficient light
OPAQUE
falls on the
MATERIAL
TO RELAY
3-mm
green sensor
DRIVER,
RED LED
CD4011
LED DRIVER,
LED. Doing
OR OTHER
so avoids any
CIRCUIT
5-mm
voltage buildGREEN
LED
up near the
junction that
could be close
to the NAND Figure 1 An LEDs resistance changes with ambient light, which
changes a voltage that drives a logic gate.
gates threshold
TR=4 mSEC
TF=1 SEC
PW=100 SEC
PER=4.1 mSEC
R3
50k
V1
Q1
MJD50
Q2
2N3904
R1
13
TR=4 mSEC
V1
cuit using a power
TF=1 SEC
transistor, Q1. The
PW=100 SEC
PER=4.1 mSEC
circuit provides an
Q2
2N3904
approximate conR1
stant current at
13
high voltages, but
it doesnt enter
regulation until it
reaches nearly 60V
due to the base cur- Figure 2 This circuit substitutes a MOSFET for Q1 in Figure 1
and uses smaller resistors.
DESIGN IDEAS
20
VIN
R2
50k
V1=0V
V2=200V
TD=1 SEC
TR=4 mSEC
TF=1 SEC
PW=100 SEC
PER=4.1 mSEC
R3
50k
V1
Q1
IRF640NS
R4
10k
Q3
2N3906
Q2
Q2N3904
R1
13
VIN
R2
50k
V1=0V
V2=200V
TD=1 SEC
TR=4 mSEC
TF=1 SEC
PW=100 SEC
PER=4.1 mSEC
R3
50k
V1
R4
10k
Q1
IRF640NS
Q3
2N3906
Q2
2N3904
D1
BZX84C6V2/ZTX
R1
146
W
Weve
got
w
what design
engineers
need.
The future.
Y
Youll
nd the newest products
ffor your newest designs. Get
whats next at mouser.com
DESIGN IDEAS
21
Filler-4.indd 1
2/25/11 1:37 PM