You are on page 1of 4

mailtu: serviceclinic@gern.sback.

com SAM GOLDWASSER

$witcbmode Power Supplies


Disclaimer
Careless troubleshooting of a l_=ne- CR1
powered switchmode power supply can LINE
REGT. MAIN
result in severe electrical shock or elec- OUTPUT
trocution. This is potentially more AC
lethal than the high-voltage section of a LINE
TV or monitor due to the availability of IN
HV
high current. Even the charge on the FILTER 7
main filter capacitors with the unit CAP
unplugged can kill. This warning N
includes those innocent- looking laptop
and Zip -drive power packs as well. Fig. 1. The flyback circuit shown above is a very common topology for small switchers.
Neither the author or publisher will
be responsible for damage to equip- some DC -DC and DC -AC converter pretty much ignored once the device is
ment, your ego, countywide power out- modules from a Minuteman I missile from triggered; and the current must go to
ages, spontaneously generated mini (or around 1962- examples of such military zero to reset it to the OFF state.)
larger) black holes, planetary disrup- use. I suppose that the cost of the switching The input to the switches is usually
tions, or personal injury or worse that transistors wasn't as big a deal with a $100 either 150-160 VDC after rectification of
may result from the use of this material. million missile as a $300 TV (even in 1960s 115 VAC, or it is 300 -320 VDC after dou-
dollars). bling of 115 VAC or rectification of
Nowadays, all TVs, monitors, PCs 220 -240 VAC. Up to this point, there is no
This month and next, we will deal with and VCRs; most laptop and camcorder line isolation as there is no line- connected
the types of power supplies found in power packs; many printers and fax (large, bulky; heavy) power transformer.
PCs, laptops, and other computers and machines; and even certain audio equip- A relatively small high -frequency
peripherals; TVs and monitors; printers ment like portable CD players use this transformer converts the pulsed wave-
and fax machines; as well as on the ends technology to reduce cost, weight, and form into one or more output voltages
of the power cords of some PDAs, cell - size. that are then rectified and filtered using
phone chargers, computer -backup dri- electrolytic capacitors and small induc-
ves, and other small devices. What Is A Switchmode tors in a "pi" configuration (C -L-C); or
Power Supply? for outputs that are less critical, just a
Introduction Also called switching power supplies capacitor is used.
Until the 1970s or so, most consumer and sometimes chopper-controlled This high- frequency transformer
electronic equipment used a basic power power supplies, SMPSs use high -fre- provides the isolation barrier and the
transformer /rectifier /filter capacitor quency (relative to 50/60 Hz) switching conversion to generate the multiple
type of power supply for converting the devices such as Bipolar Junction voltages often provided by an SMPS.
AC line into the various voltages needed Transistors (BJTs), MOSFETs, Insulated Feedback is accomplished across the
by internal circuitry. Even regulation Gate Bipolar Transistors (IGBTs), or isolation barrier by either a small pulse
was present only where absolutely need- Thyristors (SCRs or triacs) to take transformer or opto- isolator. The feed-
ed-the high voltage supplies of color directly rectified line voltage and con- back controls the pulse width or pulse
TV sets, for example. Remember those vert it to a pulsed waveform. frequency of the switching devices to
old TVs with boat -anchor-type power Most small SMPSs use BJTs or maintain the output constant. Since the
transformers? (Of course, if you recall MOSFETs. IGBTs may be found in feedback is usually only from the "pri-
those, you also fondly recall the days of large systems, and thyristors are used mary" output, regulation of the other
vacuum -tube sets and the corner drug- where their advantages (latching in the outputs, if any, is usually worse than for
store with a public tube tester!) ON state and high -power capability) the primary output.
Switchmode power supplies (SMPSs) outweigh the increased complexity of Also, because of the nature of the
had been commonplace in military and the circuitry to assure that they turn off switching designs, the regulation even of
avionic equipment long before they found properly. (Except for special Gate Turn the primary output is usually not nearly
their way into consumer electronics. I have Off or GTO thyristors, the gate input is as good both statically and dynamically 51
transferred to the secondary during this Advantages Of SMPSs
AC
phase of the cycle. When Q1 turns off, Compared To Linear-Power
the field collapses; and this sequence Supplies (LPSs)
transfers power to the output. The
+320 longer Q I is on, the more energy is The benefits of implementing
VDC TO
CHOPPER stored (until saturation, at which point it switch -mode operation are related to
AC
blows up). Thus, controlling the pulse size, weight, and efficiency.
width of the Q1 "on -time" determines
the amount of power available from the Size and weight -Since the trans-
J1 INSTALLED: INPUT = 115V AC output. former and final filter(s) run at a
J1 REMOVED: INPUT = 230V AC The output rectifier, CR2, must be a high frequency (we are talking about
Fig. 2. This common circuit uses a bridge recti- high -efficiency, high -frequency unit -a 10 kHz to 1 MHz or more), they can
fier as a doubler or normal bridge by changing 1N400X will not work. The pi filter on be much smaller and lighter than
one jumper the output smooths the pulses provided the big bulky components needed
by CR2. Sometimes, a full-wave config- for 50/60 -Hz operation. Power den-
as a decent linear supply. uration is used with a center-tapped sity for SMPSs compared to LPSs
DC -DC converters are switchmode transformer secondary. may easily exceed 20:1.
power supplies without the line -input Note that the transformer, Ti, is a
rectification and filtering. They are special type that includes an air gap in its Efficiency-There is relatively little
commonly found in battery- operated core (among other things) to provide the power lost since the switching
equipment like CD players and laptop inductive characteristics needed for devices are (ideally) fully on or fully
computers. They have similar advan- operation in flyback mode. off. The efficiency can be much
tages to SMPSs-compact, lightweight, Multiple output windings on Tl pro- higher for SMPSs than for LPSs,
and highly efficient. vide for up to a half dozen or more separate especially near full load. Efficiencies
(and possibly isolated as well) positive or can exceed 85% (compared to
Description Of Typical negative voltages, but, as noted, only one of 50-60% for typical LPSs), with
Flyback-Type SMPSs these is usually used for regulation. improvements being made continu-
Probably the most common topology A reference circuit monitors the ously in this technology.
for small switchers is the flyback circuit main output and controls the duty cycle
shown in Fig. 1. The input to the supply of the switching pulses to maintain a With the advent of the laptop com-
is the AC line, which may have RFI and constant output voltage. puter, cellular phone, and other
surge protection (not shown). There The start -up resistor, R1, (some portable devices, the importance of
may be several inductors, coupled start -up circuits are more sophisticated optimizing power usage has increased
inductors, and capacitors to filter line than this one) provides the initial cur- dramatically. There are now many ICs
noise and spikes as well as to minimize rent to the switchmode transistor base. for controlling and implementing
the transmission of switching- generated In the old days, SMPS controllers were SMPSs with relatively few external
radio -frequency interference back into designed with discrete components. components. Maxim, Linear Technology,
the power line. Assuring stable operation is a challenge and Unitrode (now part of Texas
There may be MOV-type of surge with any SMPS, but particularly with Instruments) are just a few of the major
suppressors across the three input leads the flyback topology where leaving the manufacturers of controller ICs.
(H, N, G). A line fuse is usually present drive on for too long will result in trans-
as well to prevent a meltdown in case of former core saturation and instant vide just the right amount of output
a catastrophic failure. It rarely can pre- smoke. Nowadays, an IC PWM con- power to maintain the output voltage
vent damage to the supply in the event troller chip is almost always used. The constant. This circuit may be as simple
of an overload, however. block diagram of one very popular as putting the photodiode across the
Line rectification is usually via a volt- PWM controller IC is shown in Fig. 3. base drive to the BJT switch, thus cut-
age doubler or diode bridge. One com- Many small SMPSs use opto- isola- ting it off when the output voltage
mon circuit (see Fig. 2) uses a bridge tors for the feedback. An opto- isolator is exceeds the desired value. The reference
rectifier as a doubler or normal bridge simply an LED and a photodiode in a is often a TL431 or similar shunt regu-
by changing one jumper. The voltage single package. As its name implies, an lator chip monitoring a voltage -divided
across the switching transistor is usually opto- isolator provides the isolation bar- version of the primary output. When the
around 160-320 volts. Some universal rier (between the low-voltage secondary shunt -regulator kicks in, the opto- isola-
supplies are designed to accept a wide outputs and the line -connected primary) tor LED turns on, reducing the switch -
range of input voltages-90 -240 VAC for the feedback circuit. mode transistor drive. There may be an
(possibly up to 400 Hz or more) as well Typically, a reference circuit on the adjustment for the output voltage.
as DC -and will automatically work just output side senses the primary output Other designs use small pulse trans-
about anywhere in the world as long as a voltage and turns on the LED of the formers to provide isolated feedback.
suitable plug adapter can be found. opto- isolator when the output voltage Where additional regulation is needed,
'When Q 1 turns on, current increases exceeds the desired value. The photodi- small linear regulators may be included
linearly in Tl, based on the voltage ode detects the light from the LED and following the output(s).
applied and the leakage inductance of causes the pulse width of the switching There are many other topologies for
52 Tl's primary winding. Little power is waveform to be reduced enough to pro- switching power supplies. However, the
OSC RAMP
RT/CT
CLOCK GEN m SENSE
RAMP

COMP u V,,, SUPPLY


INV. INPUT
m AMP
NI INPUT DRIVE
SWITCH
DRIVER
INT.
CIRCUIT
POWER
't 40V
BIAS

REF GEN
AND BIAS INT
START /UV SUPPLY 3.0V
REF

PWM
OUTPUT

CURRENT LIMIT
THRESHOLD

RESET
CURRENT
SENSE

0.4V INT.
3.0V
REF

SLOW-START/
OV SENSE
0 DUTY CYCLE
CLAMP
6V

EXT. STOP GROUND

Fig. 3. This is a block diagram for a popular TI PWM controller. On -chip PWMs have been decreas-
ing in cost and, as a result, increasing in popularity among inventors.

basic principles are similar but the the problem is a 25 -cent capacitor. It start-up circuit (open start-up resistors),
details differ, depending on application. may simply not pay for them to take the open fusible resistors (due to shorted
The flyback topology described above is bench time to diagnose down to the semiconductors), or bad controller
one of the most common for small component level. Many problems with components.
multi- output supplies. However, you switchmode power supplies are easy to
may find other types of circuits in TVs find and also easy and inexpensive to One or more outputs out-of-toler-
and monitors. Some are downright fix-not all, but surprisingly many. ance or with excessive ripple at the
strange (to be polite). I sometimes won- line frequency (50/60 Hz) or twice
der if engineers are given bonuses based Most Common Problems the line frequency (100/120 Hz)-
on the uniqueness and difficulty level of The following probably account for 95% dried-up main filter capacitor(s) on
their designs! or more of the common SMPS ailments: rectified AC input.

Switchmode Power Supply Repair Supply dead, fuse blown-shorted One or more outputs out of tolerance
Unlike PC system boards where any
disasters are likely to only affect your
pocketbook, power supplies, especially
switchmode power transistor and other
semiconductors, open fusible resistors,
or other bad parts. Note: Actual cause
or with excessive ripple at the switch-
ing frequency (10s of kHz typical)
dried-up or leaky filter capacitors on
-
line -connected switchmode power sup- of failure may be power surge/ affected outputs.
plies, can be dangerous. brownout/lightning strikes, random
Having said that, I suggest that failure, or primary side electrolytic Audible whine with low voltage on
repairing a power supply on your own capacitor(s) with greatly reduced capac- one or more outputs- shorted semi-
may in fact be the only economical ity or entirely open-test them before conductors, faulty regulator circuitry
option. It is very common for service powering up the repaired unit. resulting in overvoltage crowbar
centers to simply replace the entire kicking in, faulty overvoltage- sensing
power supply board or module even if Supply dead, fuse not blown -bad circuit or SCR, or faulty controller. 53
5 GREAT PROJECT BOOKS
Periodic power cycling, tweet- tweet,
flub -flub, or blinking power light
shorted semiconductors, faulty over -
- Alternatively, many surplus electron-
ics distributors have a wide selection of
power supplies of all shapes, sizes, out-
[ J BP -410 35 Opto-
Display Terminal Block
voltage or over-current sensing com- put voltages, and current capacities. One Projects. $6.99. If you
use terminal blocks, no
ponents, or bad controller. of these may make a suitable replace- soldering is required to
ment for your custom supply with a lot make complete this series
In all cases, bad solder connections less hassle than attempting to repair of opto -displays that ronge
from light -telegraphs,
are possibilities as well, since there are your undocumented original. It will flashing lapel badges,
usually large components in these sup- likely be much newer as well, with no magnetic detectors, plus
plies; and soldering to their pins may not end -of-life issues like dried -up elec- more advanced projects
including a dusk detec-
always be perfect. An excessive load can trolytic capacitors to worry about. Of tor, games, and twinkling
also result in most of these symptoms or course, you must know the voltage and Christmas decorations.
may be the original cause of the failure. current maximum current requirements [ J BP -411 Introduction
IIRaregrw
of each of the outputs in order to make a to Surface -Mount Devices.
Repair Or Replace selection. $6.99.
Surface-mount construc-
Some manufacturers have inexpen- tion can be easier, faster
sive flat-rate service policies for power Power-Supply Fundamentals and less costly, and even
supplies. If you are not inclined to or not A typical line -connected power supply the hobbyist can produce
one -of-a-kind circuits using
interested in doing the diagnosis and must perform the following functions: SMDs. PCB design, chip
repair yourself, it may be worthwhile to control, soldering techniques
and specialist tools are
look into these. In some cases, $25 will Voltage conversion -changing the fully covered. A complete
get you a replacement supply regardless 115/230 VAC line voltage into one or variety of construction
of original condition. more other voltages as determined by projects are also included.
However, this is probably the excep- application. [ BP -413 Remote
I 11111111111111e: 'AWN=
tion, and replacements could run more Control Projects. $7.99.
A wealth of circuits and
than the total original cost of the equip- Rectification -turning the AC into
circuit modules for use in
ment- especially in the case of most DC. all kinds of remote -con-
TVs and many computer monitors, trol applications are pro-
vided. There are com-
where the power supply is built onto the Filtering-smoothing the ripple of plete details for 14 novel
main circuit board. the rectified voltage(s). and practical remote con-
Nothing really degrades in a switch- trol projects. Also includ-
ed are techniques for
mode power supply except possibly the Regulation-making the output volt - interfacing a PC to a
electrolytic capacitors (unless a cata- age(s) independent of line and load remote control system.
strophic failure resulted in a total melt- variations.
[ I BP-416 Practical
down), and these can usually be replaced Alarm Cirucuits. $6.99.
for a total cost of a few dollars. Isolation -separating the supply out- Details of inexpensive
but effective burglar alarms
Therefore, it usually makes sense to puts from any direct connection to for the home construc-
repair a faulty supply assuming it can be the AC line. tor. The circuits include
done reasonably quickly (depending on switch -activate alarm, FM
audio alarm generator,
how much you value your time and the Wrap -up Modulated fiber -optic loop
down time of the equipment) and, of Between now and next time, round alarm, Ultra -sonic break-
course, assuming that the equipment it ing window alarm, Doppler
up all the dead SMPSs you have buried
shift ultrasonic sensor
powers is worth the effort. Most under other junk, but don't try to repair and more.
replacement parts are readily available them just yet. However, if they have
[ I BP-432 Simple
and kits containing common service been unplugged for awhile, it's safe to Sensor Terminal Block
components are also available for many open the case(s) to identify the major Projects. $6.99.
popular power supplies (such as those components and any that are obviously Sensors are the eyes,
ears and noses of elec-
found in some terminals, Macintosh and fried. As always, e-mail is welcome (no tronic systems. They include
other Apple computers, various brands snail mail please!) at sam@repairfaq.org. contact, light, heat, sound,
of video monitors, and some TVs and Much more information is available on magnetic, motion, resist -
once and voltage- operat-
VCRs). my Web site: www.repairfaq.org. p ed devices. The projects
Where an exact replacement power in this book show you how
you can build all of these,
supply is no longer available or excessive- and if you use terminal
ly expensive, it may be possible to simply To learn how to talk with your kids
blocks, no soldering is
replace the guts if space allows and the about tough issues, like sex, required. There are 31 individual projects to
AIDS /HIV and violence, call build and use.
mounting arrangement is compatible. For
To order one of these Books send amount indi-
example, for an older full-size PC tower, 1-800-CHILD-44 cated plus $3.00 for shipping in the U.S. and
the original power supply may be in a and get your free guidebook. Canada only to Electronics Technology Today
non-standard box but the circuit board Inc., P.O. Box 240, Massapequa Park, NY
itself may use a standard hole configura- CHILDREN K 1,1
11762 -0240. Payment in U.S. funds by U.S.
NOW
1.
tion such that an inexpensive replacement I -\\1111 bank check or International Money Order.
Please allow 6 -8 weeks for delivery. MA09
54 may be installed in its place.

You might also like