Вы находитесь на странице: 1из 9

design

Edited by Bill Travis and Anne Watson Swager


ideas
Controller IC halves switcher’s standby power
Christophe Basso, On Semiconductor, Toulouse, France

he quest for low standby power is One possible solution uses a hysteretic er operation, the voltage on Pin 1 is high-

T a challenge for switch-mode-power- regulator but, as you can imagine, the


supply (SMPS) designers. You can high peak currents switched in the audi-
split the definition of “standby” into two ble range make the design of a quiet,
er than the level imposed by the 100-kV
potentiometer’s wiper, and the UC384X
operates in its normal mode. When the
facets. In “no-load” standby, such as in a medium-power SMPS a difficult task. An load disappears, the voltage on Pin 1
fully charged battery, output-power de- elegant solution would combine the best drops to reduce the primary peak-cur-
mand is nonexistent. In “light-load” of both worlds: normal high-frequency rent setpoint. If you adjust the poten-
standby, such as in a TV set awaiting a re- operation in current mode and burst- tiometer for a given peak level, the only
mote-control command, internal cir- mode operation when the output-pow- way to further reduce the power is to stop
cuitry has turned off most of the power- er demand diminishes. Figure 1b shows the output pulses. The comparator, de-
hungry blocks, but some mC activity still how to apply the method to your riving its power from the UC384X’s in-
takes place. The design in Figure 1 covers UC384X-based design by simply adding ternal reference, biases the pnp transistor
both standby facets with a simple solu- a low-cost comparator. In nominal-pow- and brings the current-sense pin to the
tion. Figure 1a depicts the way you could
achieve the regulation using a classic op-
toisolated supply that uses a mem-
Figure 1
ber of the UC384X family. When
FROM SECONDARY CIRCUIT
the output load decreases, the LED bias
raises Pin 2 (the FB pin) and demands a
lower peak current. At no load or light
load, the PWM IC tries to reduce the duty 1 8

cycle as much as possible. Unfortunate- 2 7


ly, high-frequency limitations lead to 3 6
compromised performance at the lowest 4 5
duty cycles, and the circuit can waste as UC384X

much as 1.5W with a 30W SMPS oper- FROM CURRENT SHUNT


ating at no load. (a)
MPSA2907
Controller IC halves switcher’s
standby power..............................................169 100k
½ LM393 FROM SECONDARY
Load detector controls 1 CIRCUIT
power sources ..............................................170 100k 1 22k
Two-wire interface has 1 8
galvanic isolation ........................................174 10 nF 2 7
Measure power-on current 3 6
transients on ac line ....................................176 4 5
UC384X
Generator has independent
pulse width, frequency................................178 (b) FROM CURRENT SHUNT

Customized potentiometers aid


amplifier design ..........................................180
Ring your bell; light your light ..................182 The classic arrangement in (a) reduces no-load standby power; the addition of a comparator (b)
cuts the standby power by 50%.
www.ednmag.com November 11, 1999 | edn 169
design
ideas
level at Pin 8. This action blocks
the output pulses, and the circuit Figure 2
delivers no power.
The output voltage decreases, and, as
(a)
soon as the error amplifier’s level cross-
es the level at the potentiometer’s wiper,
the pulses reappear for another time
packet. In other words, the circuit goes (b)
into burst mode. Thanks to the lack of
hysteresis in the comparator, the output
ripple is minimal. However, you must
prevent the UC384X from entering hic-
cup mode during the burst-mode oper-
(c)
ation to preserve good transient re-
sponse. Increasing the power-rail bulk
capacitor can prevent hiccup mode. If
the circuit enters hiccup mode, the pow-
er consumption further decreases but to Burst-mode pulses reflect a no-load condition (a) and different light-load conditions (b and c).
the detriment of the transient response.
Figure 2 shows how the circuit behaves
at different load conditions. By adjusting the circuit enters burst mode: a no- or tor reduces the input power to 770 mW.
the level at the comparator’s inverting in- light-load condition. With a typical 12V, (DI #2436)
put, you have the flexibility to make the 30W flyback supply using a UC3843,
supply enter burst mode at a peak value measurements reveal an input power
at which no acoustic noise results. You of 1.35W at no load (VIN5100V ac; To Vote For This Design,
can also select the output level at which RSTARTUP5100 kV). Adding the compara- Circle No. 494

Load detector controls power sources


Giovanni Romeo, Instituto Nazionale de Geofisica, Rome, Italy
mergency generators normally

E operate when the main


power source fails. Invert-
ers run continuously (and ex-
Figure 1
INVERTER OR
GENERATOR
OUTPUT
DC SOURCE
INVERTER OR
GENERATOR
CONTROL

pensively) even when no load-power de-


mand exists. Even unloaded, a me- THRESHOLD
dium-sized inverter consumes some tens AMPLIFIER

of watts just to keep its fan running (and GALVANIC


1 ISOLATION
to make noise). A generator running un-
AND LOWPASS
der no-load conditions just wastes fuel. 1
FILTER
The simple scheme in Figure 1’s block di-
agram controls your power source (gen-
erator or inverter), switching it off when
no load exists and turning it on when the
load needs power. The device is basically

Why waste generator power when there’s no


load? This simple circuit turns the generator on
only when a load demands power. LOADS

170 edn | November 11, 1999 www.ednmag.com


design
ideas
an ohmmeter that monitors the genera- relay and starting the generator or in- rent flows through the output coil (in-
tor resistance of the generator or invert- verter. When the ac load current flows verter or generator transformer). The
er output. Usually, the output comes through the circuit, it keeps the relay en- high-voltage section of the circuit is gal-
from a motor coil or a transformer wind- gaged. When the load disconnects, the re- vanically isolated via the dc/dc convert-
ing having low resistance. The circuit in lay disengages. In operating a generator, er and the optocoupler. An RC lowpass
Figure 1 can detect any load whose re- you should wire the system to start the filter delays the relay’s actuation; it takes
sistance is lower than 15 kV. When no generator when no line power exists and approximately 1 sec for the relay to en-
load exists, the voltage at the amplifier in- when the load requires power. Figure 2 gage after connecting the load and 2 sec
put (the generator’s voltage minus the shows a complete schematic. In the no- to disengage after disconnecting the load.
diode-junction voltage) does not exceed load case, the voltage source (R1, R2, D1, (DI #2435)
the threshold, so the relay does not en- and D2) cannot forward-bias Q1’s base-
gage. emitter junction, because of the voltage
When one or more loads connect to drop across D3, D4, and D5. The junction
the circuit, the voltage at the amplifier in- becomes forward-biased when a load To Vote For This Design,
put exceeds the threshold, actuating the connects to the inverter, and the load cur- Circle No. 495

R1 R2
Figure 2
100 1k
D3 D1

D4 D2
1k
LINE
SENSE 50k
1M 1M
D5

Q1 10k 1M 1 mF

1k
VCC

LM7805
24 TO 12V VIN VOUT
OUT
DC/DC CONVERTER +
GND
100 mF
UPS
+
START/STOP 100 mF

24V INVERTER
BATTERY
2 1 +

RELAY
2N2222

1k
DIGITAL
CONTROL
IN
OUT
1k

This galvanically isolated generator-control circuit turns on the emergency generator only when the load demands it.

172 edn | November 11, 1999 www.ednmag.com


design
ideas
Two-wire interface has galvanic isolation
Minh-Tam Nguyen and Martin Baumbach, Maxim Integrated Products, Munich, Germany
nlike the four-wire SPI, QSPI,

U and Microwire data-in-


terface standards, I2C
and SBBus buses require only two wires
Figure 1
5V

R1
3.3k
R2
2.2k
R3
2.2k
R6
3.3k
R4
3.3k
5V

for data transmission, because they send


and receive over the same wire. The cir-
cuit in Figure 1 provides galvanic isola-
tion for the two-wire interface. A small D1
transformer and a MAX253 transformer SDA SDA (ISOLATED)
driver (not shown) derive an isolated 5V
rail from the master-side 5V rail. The
data rate and isolation-barrier voltage in
your application guide the selection of MASTER SLAVE
D2
the transformer and optocoupler. The
circuit in Figure 1 uses a Hewlett-
Packard 6N138 optocoupler. For more R5
information on component suppliers, 2.2k
see the MAX253 and MAX845 data SCL (ISOLATED)
sheets. The scheme assumes a mP or mC
for the master device, and the current-
sink limitation of the processor’s SDA
terminal dictates that the optocoupler’s
minimum on-state current be less than 3 SCL
mA. Even so, the optocoupler’s 300%
current-transfer ratio (CTR) is adequate
to ensure proper operation in this circuit. A handful of components provides an isolation barrier for the two wires of an I2C transmission
The slave side should host an I2C- interface.
compatible device, such as the MAX517
8-bit DAC or the MAX127 data-acquisi- (sum of the opto output and the forward- conduct signals from master to slave.
tion system. The master-side SDA and biased Schottky diode, D2). Pull-up resis- Data transmission ends with the Stop
SCL signals are high when the bus is not tors R1, R4, and R6 are necessary for I2C condition, in which SDA typically makes
in use. The I2C Start condition is typical- compatibility. After the master addresses a low-to-high transition while SCL is
ly a high-to-low transition on SDA while the slave as described, the addressed slave high. (DI #2438)
SCL remains low (Figure 2). With SDA responds with a low-level acknowledge
low, current through R2 and the opto- bit. The bidirectional SDA line allows
coupler’s input causes the opto output to data transfer in both directions, but the To Vote For This Design,
produce a signal of approximately 0.4V unidirectional SCL line needs only to Circle No. 496

Figure 2
SLAVE ADDRESS BYTE COMMAND BYTE OUTPUT BYTE
SDA

MSB LSB ACK ACK LSB ACK


MSB LSB MSB
SCL

STOP CONDITION
START CONDITION

This diagram shows the I2C timing protocol for the MAX517 D/A converter.

174 edn | November 11, 1999 www.ednmag.com


design
ideas
Measure power-on current transients on ac line
N Kannan, Mediatronix, Trivandrum, India
or any electronic or electrical 15 (I)

F
15V 1 6
system, you usually deter- 0.14 mF 10 mF
Figure 1 2
DCP011515DP
mine the ac-line fuse rating 7 115 (I)
5
based on the steady-state current. How- AGND 10 mF
ever, the power-on current surge is an GI
important parameter in determining the 115 (I) 15 (I)
fuse’s I2t rating. The I2t rating is a meas- 4.7
0.1 mF
4.7
ure of the energy required to blow a fuse 2.2k
TO
in pulsed conditions. Also, in many cas- DSO
es, you may find it of value to know the 2.2 nF
7 2 1
shape of the current surge and its har-
4.7
monic content. The circuit in Figure 1 15V 9 16 32
0.1 mF
can help you capture the power-on cur- ISO122P
rent transients in a system. The circuit 0.1 mF 31
15
costs less than $25 to build. You need a 115V 10
8
DSO to capture the waveforms. In Fig- 4.7

ure 1, the neutral line of the equipment


under test contains a 1V, 12W current- 32 31

sense resistor. The resistor should be able 0.01 mF/50V


to handle10A surge current and 3A
steady-state current. The voltage drop 7815 15V
TVS (P6KE15CA)
across the sense resistor drives an 470 mF/35V 10 mF/35V
ISO122P isolation amplifier (Burr- 10V/0.5W (22)
Brown, www.burr-brown.com). The 470 mF/35V AGND
zener diode and the transient-voltage 10 mF/35V 10k
1V, 12W
10k
suppressor provide overvoltage protec- 7915 115V
tion.
A DCP011515DP isolated dc/dc con- ISOLATION N
E E N
L L
verter (also Burr-Brown) generates BARRIER POWER
615V isolated supplies to power the in- GROUND
TO MAINS TO EUT
put side of the ISO122P. Both devices PLUG (SOCKET)

provide more than a 1000V rms isolation


capability. A local supply powers the in- This simple tester allows you to measure power-on current surges.

Figure 2

(a) (b)

A highly capacitive power supply causes a 4A current surge (a) in the power line; an incandescent bulb produces a 1.5A spike (b).

176 edn | November 11, 1999 www.ednmag.com


design
ideas

put of the dc/dc converter and the out- ● An incandescent lamp (Figure 2b). core-saturation effects. Figure 2b
put side of the ISO122P. The filtered out- From the waveforms, you can de- shows a turn-on surge of approxi-
put of the ISO122P provides the input to termine the surge’s shape, width, mately 1.5A for the 60W, 220V in-
a DSO. You use transient-capture mode and peak value. You can then use candescent bulb. Warning: Haz-
in the DSO to capture the power-on cur- this information to determine the ardous voltages are present in the
rent surge. Figure 2 shows the waveforms proper I2t rating for the system fuse. mains-side circuitry. (DI #2428).
for: Figure 2a shows a current surge of
● A system with a 10,000-mF trans- 4A peak, although the steady-state
former/bridge-capacitor filter (Fig- current is only 0.13A. The heavy To Vote For This Design,
ure 2a). Steady-state rms current is surge arises because of the large- Circle No. 497
approximately 0.13A at 220V rms. value capacitor filter and also from

Generator has independent pulse width, frequency


Darvinder Oberoi, CEDTI, Jammy, India
common circuit in electronics is

A the square-wave, astable multivibra-


tor (one-shot), which is use-
ful for various purposes, such as
Figure 1
P2, 47k
FREQUENCY
CONTROL
timing circuits and audible alarms. The
most common way to generate the de- VCC
R1
sired square wave is to use the inexpen- P1, 47k R3
sive 555 timer. The need sometimes aris- PULSE-WIDTH
CONTROL R2
es for a square wave with fixed frequency
D1 D2
but variable pulse width or vice versa. It’s 1N4148 1N4148
4 8
difficult to satisfy these requirements
with a conventional 555-based astable 6
circuit. Figure 1 shows a modification of 555 3 PULSE
OUTPUT
the basic 555-based astable circuit. You 2
can use the circuit to generate stable, C1 5 1
variable-pulse-width or variable-fre- 0.047 mF
C2
quency signals, which are independent of 0.01 mF
each other by means of individual dedi-
cated controls. The Pin 3 output of the
555 charges and discharges C1. D1 and D2
provide individual paths for the charging You can independently and noninteractively control pulse width and frequency by adjusting two
and discharging operations, respectively. potentiometers.
The two timing potentiometers, P1 and
P2, control the RC1 time constant during the voltage across C1 reaches one-third 0.693(R1`R2`R3)C1. Thus, the pulse
the charging and discharging cycles. VCC, the Pin 3 output again switches high. width is independent of P2’s wiper posi-
When Pin 3 of the 555 is high, the ca- The process of alternately charging and tion, and the frequency is independent of
pacitor charges through R2 (a component discharging C1 continues; the result is an P1’s wiper position. (DI #2444)
of P1, whose value depends on the wiper output with a desired pulse width and
position). When C1 charges to two-thirds frequency. Because the forward resistance
VCC, Pin 3 goes low, and C1 discharges of the diodes is negligible, the pulse
through the combination of D2, P2 (re- width equates to R2C1log(2). The pulse To Vote For This Design,
sistance R1), and P1 (resistance R3). When period (reciprocal of frequency) is Circle No. 498

178 edn | November 11, 1999 www.ednmag.com


design
ideas
Customized potentiometers aid amplifier design
Chuck Wojslaw, Xicor Inc, Milpitas, CA

he circuit in Figure 1 is a model of

T an amplifier circuit whose


cutoff frequency and gain are
functions of the values of variable resis-
Figure 1
VS
LOWPASS FILTER

R
NONINVERTING AMPLIFIER

+
VOUT
tors. A first-order, RC lowpass filter es- C 1
tablishes the cutoff frequency, and a tra-
ditional noninverting op-amp circuit
determines the gain. You can add vari- fC=
1
2pRC R2
ability and programmability if you use R1
digitally controlled potentiometers to
implement the variable resistors. The cir-
cuit in Figure 2 shows the implementa- G0 =1+R2/R1.
tion of the frequency and gain controls.
The potentiometer, R, forms a pseudo-tee You can use potentiometers to program an amplifier’s gain and cutoff frequency.
network; along with capacitor C, the po-
tentiometer establishes the upper cutoff
frequency fC. Potentiometer R2 is
Figure 2 kR (11k)R
5V
a three-terminal device that es-
tablishes the voltage gain, G0. The voltage VS +
VOUT
gain for the circuit is: 1
5V


C
V0 15V
= 0 C .
VS jω + ω C
SCL R1 k2R2 (11k2R2)
CONTROL
G0 is the programmable closed-loop SDA AND
passband gain: MEMORY
ADDR

R1 + R 2 X9418W
G0 = , and 0 ≤ k 2 ≤ 1,
R1 + k 2 R 2
15V
where k2 reflects the proportionate posi-
tion of the wiper from one end of the po- Replacing Figure 1’s potentiometer with digitally programmable potentiometers allows you digital-
tentiometer (0) to the other end (1). The ly to control gain and cutoff frequency.
gain is programmable from 1 to
(R11R2)/R1. The fixed resistor, R1, 10k
5V
LT1220
limits the circuit’s maximum volt- Figure 3 RLOW RHIGH
3 +
5V 7
age gain, a limitation usually necessary 6
VOUT
W 2 1 4
for accuracy and bandwidth purposes.
The upper cutoff frequency fC is a func- R4
R5
15V
5k, 1% R2 W 10k
tion of the input RC network: 5V 5k, 1%
300 pF HIGH LOW
ω 1
fC = C = , and 0 ≤ k1 ≤ 1. R3
2 π 2 π(k1R)C SCL
CONTROL R1
1k, 1%
SDA AND 910, 1%
where k1, like k2, reflects the proportion- MEMORY
ADDR R1
ate position of the wiper from one end
X9418W
of the potentiometer (0) to the other end
(1). The dual versions of the XDCP dig- 15V
ital potentiometers use the same serial
bus with different addresses for the indi- You can use the same serial bus to control both the gain and the cutoff-frequency potentiometers
vidual potentiometers. in an amplifier circuit.

180 edn | November 11, 1999 www.ednmag.com


design
ideas
For high-frequency amplifiers, the 10- end-to-end resistance. Resistor R3 wiper position by approximately 20%.
kV end-to-end resistance of the X9418 changes the effective end-to-end resist- The gain of the amplifier circuit in Fig-
creates time constants limiting the band- ance of potentiometer R2 from 10 to ure 3 is programmable from 1 to 2, and
width of the circuit. You can reduce the 0.909 kV. If you do not connect the the cutoff frequency is programmable
effective end-to-end resistance of the po- wiper of the potentiometer to a high im- from 130 kHz to more than 1 MHz. (DI
tentiometers by using two techniques pedance, you can reduce the effective #2437)
shown in the high-frequency amplifier end-to-end resistance by adding external,
circuit in Figure 3. If you connect the equal-value resistors, R4 and R5, from the
wiper of the potentiometer to a high im- wiper to the high and low terminals. This
pedance, shunting RTOTAL directly with an technique, however, creates a poten- To Vote For This Design,
external resistor reduces the effective tiometer whose taper is pseudolinear and Circle No. 499
whose end-to-end resistance varies with

Ring your bell; light your light


Dennis Eichenberg, Parma Heights, OH
he circuit in Figure 1 provides a

T simple and inexpensive way


to provide illumination for
a dark doorway. Pressing the doorbell
Figure 1
DOORBELL BUTTON

button momentarily rings the doorbell


and turns on the porch light. The porch D1
light remains on for approximately 25 sec 1N4001

and then turns off. This interval is long K1A


DOORBELL
enough for a person to find his or her way IC1
when it’s dark. The system also provides D2
7812
4 8
12V-AC
security in that anyone pressing the door- DOORBELL
1N4001 R1 6 3 D3
10M IC2
1N4001
bell button is automatically illuminated. POWER
2 555
C1
The circuit receives its power from the 470 mF +
1
doorbell system. Pressing the doorbell 35V
+ C2
K1
12V DC
2.2 mF
button provides voltage to diode D1, 25V
which acts as a half-wave rectifier. D1 also
acts as a blocking diode to prevent cur-
rent from flowing back to the doorbell af- PORCH-LIGHT SWITCH
ter you release the doorbell button. Ca-
pacitor C1 filters the half-wave-rectified 120V AC K1B

voltage, and voltage regulator IC1 regu-


PORCH LIGHT
lates the filtered voltage. The regulated
voltage supplies timer IC2, configured as
a monostable multivibrator.
Relay K1 activates when you press the
doorbell button. It remains activated un- Scared of the dark? Use this circuit to turn on your porch light when you ring the doorbell.
til IC2 times out, according to the expres-
sion t51•1R1C2. Diode D3 is a flyback diode D2 after you release the doorbell modate the current requirements of the
diode to protect IC2 from the inductive button. K1B connects in parallel with the porch light. (DI #2433)
spike K1 generates when it becomes de- porch-light switch to power the porch
activated. Normally open relay contact light by means of the new circuit. You To Vote For This Design,
K1A continues to power the circuit via must size the relay contacts to accom- Circle No. 500

182 edn | November 11, 1999 www.ednmag.com


design
ideas
Design Idea Entry Blank
Entry blank must accompany all entries. $100 Cash Award for all published Design Ideas. An additional $100 Cash Award for
the winning design of each issue, determined by vote of readers. Additional $1500 Cash Award for annual Grand Prize Design,
selected among biweekly winners by vote of editors.

To: Design Ideas Editor, EDN Magazine Entry blank must accompany all entries. (A separate entry
275 Washington St, Newton, MA 02458 blank for each author must accompany every entry.) Design
I hereby submit my Design Ideas entry. entered must be submitted exclusively to EDN, must not be
patented, and must have no patent pending. Design must
Name be original with author(s), must not have been previously
published (limited-distribution house organs excepted), and
Title must have been constructed and tested. Fully annotate all
Phone circuit diagrams. Please submit software listings and all
other computer-readable documentation on a IBM PC disk
E-mail Fax in plain ASCII.
Company Exclusive publishing rights remain with Cahners
Publishing Co unless entry is returned to author, or editor
gives written permission for publication elsewhere.
In submitting my entry, I agree to abide by the rules of the
Address Design Ideas Program.

Signed
Country ZIP
Design Idea Title Date

Your vote determines this issue’s winner. Vote now, by cir-


Social Security Number cling the appropriate number on the reader inquiry card.
(US authors only)

Circle 10 or visit www.ednmag.com/infoaccess.asp

184 edn | November 11, 1999 www.ednmag.com

Вам также может понравиться