You are on page 1of 9

Fonte.

qxd 11/5/2007 2:13 PM Page 72

Basic Analog
Power Supply
Design
by Gerard Fonte

Part 1
I
t is always important to remember that are important to mention.
that the power supply — either for a The first is that 117 VAC (Volts
particular product or as a general Alternating Current) is really an RMS (Root
There is the old saying: piece of test equipment — has the Mean Square) measurement. (Note that I
“You can give a man a fish potential to electrocute the user, start a have seen ordinary household power
and he will eat for a day or fire, or destroy the device it is powering. specified anywhere from 110 VAC to 125
you can teach a man to fish Obviously, these are not good things. For VAC. I just measured mine and found it
that reason, it is critical to approach this to be precisely 120.0 VAC.) An RMS meas-
and he will eat forever.” design conservatively. Provide plenty of urement of a sine wave is much lower than
There are many articles that margin for components. A well-designed the actual peak voltage and represents the
give the reader a specific power supply is one that is never noticed. equivalent DC (Direct Current) voltage
needed to provide the same power. The
design for building a power
Input Power Conversion RMS conversion varies according to the
supply. And it must be made wave shape and for a sine wave the value
clear that there is nothing Figure 1 shows the fundamental is 1.414. This means that the deviation
wrong with these cook-bbook design for a typical analog power around zero volts is actually 169.7 volts
supply. It consists of three main compo- (for my 120 VAC power). The power goes
designs. They often have very nents: Input power conversion and from -169.7 volts to +169.7 volts each
good performance. But they conditioning, rectification and filtering, cycle. Therefore, the peak-to-peak voltage
don’t teach the readers how and regulation. The input power conver- is actually 339.4 volts!
to design a power supply by sion is typically a power transformer This voltage becomes especially
and is the only method considered here. important when adding bypass capaci-
themselves. This two-ppart However, there are a couple of points tors to the main power lines to suppress
article will start from the noise from entering or leaving the
beginning and explain every FIGURE 1. A basic analog power supply power supply (a common situation). If
consists of three parts. The first two are you think the actual voltage is 120 volts,
step necessary to build a discussed in this article and the last in you may use 150 volt capacitors. As you
basic analog power supply. the next installment.
The design will focus on the
ubiquitous “three-tterminal
regulator” and include a
number of enhancements to
the basic design.

72 December 2007
Fonte.qxd 11/1/2007 11:35 AM Page 73

FIGURE 2. The input conditioning is pretty basic, but it must be


remembered that the RMS voltage is not the same as the peak
voltage. The peak voltage of 120 VAC RMS is about 170 volts.

can see, this is not correct. The


absolute minimum safe working
voltage for your capacitors is 200 volts
(250 volts is better). Don’t forget that if
you expect to see noise/spikes on the
line, you need to add that noise/spike
voltage to the peak voltage.
The input frequency is universally
60 Hz in the USA. In Europe, 50 Hz is
common. Transformers rated for 60 Hz can expect to draw. For example, the resistor can be increased as required.)
will generally perform well on 50 Hz the 25.2 volt two-amp transformer Note that LEDs have really poor
and vice versa. Additionally, the fre- mentioned above will draw about 0.42 reverse breakdown voltages (typically
quency stability of the power line is usu- amps of primary current (25.2 volts/120 10 to 20 volts). For that reason, a
ally excellent and is rarely a considera- volts x two amps). So, a one amp fuse is second diode is necessary. This must
tion. Occasionally, you may find 400 Hz reasonable. A fuse in the secondary will be able to operate with at least 170
transformers available. These are typi- be discussed in the next article. volts of PIV (Peak Inverse Voltage).
cally military or aeronautical devices The bypass capacitors help to The standard 1N4003 is rated at 200
and are generally not suitable for use on filter out noise and are optional. Since PIV which doesn’t provide much mar-
50/60 Hz power (or vice versa). the peak voltage is about 170 volts, a gin. The 1N4004 is rated at 400 PIV
The output of the transformer is 250 volt rating is better than a margin- and costs perhaps a penny more. By
also specified as an RMS voltage. al 200 volt rating. You may want to placing it in series with the LED, the
Additionally, the voltage specified is use a “power-entry filter.” There are overall PIV is 400 plus the LED PIV.
the minimum voltage expected under many types of these units. Some
full load. Often there is about a 10% contain a standard power connector, Rectification and Filtering
increase in the rated output with switch, fuse holder, and filter in one
no-load. (My “25.2 volt/two-amp” small package. Others may have only Figures 3, 4, and 5 show the most
transformer measures 28.6 volts with some of these components. Typically, typical rectification circuits with the
no load.) This means that the actual the ones with everything are fairly
no-load, peak output voltage for my expensive, but surplus units can usual- FIGURE 3. The half-wave rectifier circuit
“25.2 volt” transformer is 40.4 volts! ly be found at very reasonable prices. is simple but it produces a poor output
waveform that is very difficult to filter.
As you can see, it is always important Being able to determine if the Additionally, half of the transformer
to remember that the rated RMS volt- primary circuit is powered is important power is wasted. (Note that the filtering
ages for AC power are substantially so a pilot light is used. Two typical capacitors are omitted for clarity
because they change the waveform.)
less than the actual peak voltages. circuits are shown. The neon lamp has
Figure 2 provides a typical input been used for decades. It is simple and
power conversion and conditioning inexpensive. It has the drawbacks that
design. I prefer to use a double-pole it is somewhat fragile (being made of
switch although it is not absolutely glass), can flicker if the resistor is too
necessary. It protects against big, and can actually generate some
mis-wired electrical outlets (which is electrical noise (due to the sudden
rare today) or mis-wired power leads ionic breakdown of the neon gas).
in the power supply itself (much more The LED circuit also requires a
common). It is vital that when the current limiting resistor. At 10,000 hms,
power switch is off, the hot lead is about 12 mA of current is provided.
disconnected from the power supply. Most LEDs are rated for a maximum
The fuse (or circuit breaker) is nec- current of 20 mA, so 12 mA is reason-
essary. Its main purpose is to prevent able. (High efficiency LEDs may work
fires because, without it, a transformer satisfactorily with only 1 or 2 mA, so
or primary circuit short will allow
massive currents to flow causing metal FIGURE 4. The full-wave design (top)
parts to get red or even white hot. It is produces a nice output. But by
redrawing the circuit (bottom), it can
usually a slow-blow type rated at 250 be seen that it is really just two half-wave
volts. The current rating should be rectifiers connected together. Again,
about double of what the transformer half the transformer power is wasted.
December 2007 73
Fonte.qxd 11/1/2007 11:39 AM Page 74

Basic Analog Power Supply Design

FIGURE 5. The bridge rectifier bottom). When this is done, it


approach (top) provides full use of becomes clear that the full-wave is real-
the transformer power and with a ly just two half-wave circuits connected
full-wave rectification. Additionally, together. Half of each transformer
by changing the ground reference
(bottom), a dual voltage power power cycle is not used. Thus, the
supply can be obtained. maximum theoretical efficiency is 50%
with real efficiencies around 30%.
very high values of capacitance. The PIV of the circuit is one half of
It is rarely used for an analog the half-wave circuit because the input
power supply. voltage to the diodes is half of the
An interesting and important transformer output. The center tap
thing happens when a filter capac- provides half the voltage to the two
itor is added to a half-wave rectifi- ends of the transformer windings. So,
er circuit. The no-load voltage dif- for the 25.2 volt transformer example,
ferential doubles. This is because the PIV is 35.6 volts plus the no-load
the capacitor stores energy from increase which is about 10% more.
the first half (positive part) of the Figure 5 presents the bridge recti-
output waveform displayed above. cycle. When the second half occurs, the fier circuit which should generally be
(The filter capacitor is not shown capacitor is holding the positive peak the first choice. The output is fully rec-
because by adding it, the waveform voltage and the negative peak voltage is tified so filtering is fairly easy. But most
changes to something like a DC applied to the other terminal causing a importantly, it uses both halves of the
voltage.) It is useful to examine these full peak-to-peak voltage to be seen by power cycle. This is the most efficient
three basic circuits to identify the the capacitor and through that, the design and gets the most out of the
strengths and weaknesses of them. diode. Thus, for a “25.2 volt” transformer expensive transformer. Adding two
Figure 3 shows the basic half-wave above, the actual peak voltage seen by diodes is much less expensive than
rectifier. The only redeeming character- these components can be over 80 volts! doubling the transformer power rating
istic of this is that it is very simple, using Figure 4 (top circuit) is an exam- (measured in “Volt-Amps” or VA).
only a single rectifier. The bad feature is ple of a typical full-wave, center-tap The only drawback to this design
that it uses only half of the power cycle rectifier circuit. This is used today even is that the power must pass through
making the theoretical efficiency of the though, in most cases, it probably two diodes with a resulting voltage
circuit less than 50% just to start. Often, shouldn’t be. It provides a nice output drop of 1.4 volts instead of 0.7 volts
half-wave rectifier power supplies are that is fully rectified. This makes filter- for the other designs. Generally, this is
only 30% efficient. Since transformers ing relatively easy. It uses only two only a concern for low voltage power
are expensive items, this inefficiency is rectifiers, so it’s pretty inexpensive. supplies where the additional 0.7 volts
very costly. Secondly, the wave shape is However, it is no more efficient than represents a substantial fraction of the
very difficult to filter. Half the time there the half-wave circuit presented above. output. (In such instances, a switching
is no power at all coming from the trans- This can be seen by re-drawing the power supply is usually used rather
former. Smoothing the output requires circuit with two transformers (Figure 4 than either of the above circuits.)
Since there are two diodes being
A N ote o n E fficiency used for each half-cycle, only half of
the transformer voltage is seen by
Let me expain the difference between a full-wave rectifier design and a bridge, each. This makes the PIV equal to the
especially from the point of view of efficiency.
Remember that I said half the power is wasted with a full-wave rectifier design.
peak input voltage or 1.414 times the
It is self-evident if you consider that a full-wave design is really made up of two transformer voltage, which is the same
half-wave designs. Combining two circuits that are each about 50% efficient does not as the full-wave circuit above.
in any way increase the total efficiency of the circuit. It’s still about 50% overall. A very nice feature of the bridge
The loss of efficiency comes from the amplitude of the resultant rectification. A
half-wave circuit clearly provides half the amplitude that is available from the trans- rectifier is that the ground reference
former. So does the full-wave version, but it’s not as obvious. It only uses half of the can be changed to create a positive
total available voltage of the transformer. and negative output voltage. This is
The output of the full-wave rectifier is 1.414 FIGURE A
shown in the bottom of Figure 5.
times the voltage between the center tap
and the end. The output of a bridge is the
full end-to-end voltage of the transformer Filtering
times 1.414. This is shown in the attached
figure. For the 25.2 volt transformer, the
full-wave rectifier develops about 19 volts
Nowadays, nearly all filtering for an
(unloaded). The bridge rectifier develops analog power supply comes from a filter
about 38 volts (unloaded). So, the full-wave capacitor. It is possible to use an induc-
rectifier does indeed waste about half the tor in series with the output, but at 60
available power from the transformer.
Hz, these inductors must be quite large
74 December 2007
Fonte.qxd 11/1/2007 11:37 AM Page 75

and are expensive. Occasionally, they 30 amps of surge current. With a bridge Filter PIV
Circuit
are used for high-voltage power supplies circuit, there are two diodes carrying Needs Factor Transformer Use
where suitable capacitors are expensive. this so worst-case is 21 amps each Half-Wave Large 2.82 50% (theoretical)
The formula for calculating the filter which is below the 30 amp specifica- Full-Wave Small 1.414 50% (theoretical)
capacitor (C) is quite simple, but you tion (assuming equal current sharing, Bridge Small 1.414 100% (theoretical)
need to know the acceptable peak-to- which is not always the case). But, this TABLE 1. A summary of the characteristics
peak ripple voltage (V), half-cycle time is an extreme example. Generally, a fac- of the various rectifier circuits.
(T), and current drawn (I). The formula is tor of about 10 is used, instead of 21.
C=I*T/V, where C is in microfarads, I is Nevertheless, this current surge is rectifiers and capacitors. (The ripple
in milliamps, T is in milliseconds, and V not something to be ignored. should be about two volts, as shown.)
is in volts. The half-cycle time for 60 Hz Spending a few cents more to use a The bridge rectifier must be able
is 8.3 milliseconds (reference: 1997 three-amp bridge instead of a one- to handle the high initial current surge.
Radio Amateur’s Handbook). amp bridge may be money well spent. A two-amp unit costs about $0.57,
It is clear from the formula that the a four-amp bridge is $0.77, and a six-
filtering requirements are increased for Practical Design amp device is $0.87. It seems obvious
high current and/or low ripple power that spending an additional dime for
supplies. But this is just common sense. We can now put these rules and improved reliability is worthwhile.
An easy-to-remember example is 3,000 principles to use and start to design a Note that the bridge is specified by
microfarads per ampere of current will basic power supply. We will use the 25.2 what the transformer can supply rather
provide about three volts of ripple. You volt transformer as the core of the design. than what the power supply is eventu-
can work various ratios from this exam- Figure 6 can be seen as a composite of ally specified for. This is done in case
ple to provide reasonable estimates of the previous figures but with practical there is an output short. In such a
what you need fairly quickly. part values added. A second pilot light in case, the full current of the transformer
One important consideration is the the secondary indicates its status. It also will be passed through the diodes.
surge of current at turn-on. The filter shows if there is a charge on the capaci- Remember, a power supply failure is a
capacitors act as dead shorts until they tor. With such a large value, this is an bad thing. So design it to be robust.
get charged up. The larger the capacitors, important safety consideration. (Note
the greater this surge will be. The bigger that since this is a DC signal, the 1N4004 Conclusion
the transformer, the greater the surge will reverse voltage diode is not needed.)
be. For most low voltage analog power It may be cheaper to use two small- Details are an important considera-
supplies (<50 volts), the transformer er capacitors in parallel than one large tion in designing a power supply. Noting
winding resistance helps somewhat. The one. The working voltage for the capac- the difference between RMS voltage and
25.2 volt, two amp transformer has a itor must be at least 63 volts; 50 volts is peak voltage is critical in determining the
measured secondary resistance of 0.6 not enough margin for the 40 volt proper working voltages for the supply.
ohms. This limits the maximum inrush to peak. A 50 volt unit provides only 25% Additionally, the initial surge current is
42 amps. Additionally, the inductance of margin. This may be fine for a non- something that cannot be ignored.
the transformer reduces this somewhat. critical application, but if the capacitor Next month, we will complete this
However, there is still a large potential fails here, the results can be catastroph- project by adding a three-terminal regula-
current surge at turn-on. ic. A 63 volt capacitor provides about tor. We will design a general-purpose,
The good news is that modern sili- 60% margin while a 100 volt device current-limited, adjustable voltage power
con rectifiers often have huge surge cur- gives 150% margin. For power supply with remote shut-off. Additionally,
rent capabilities. The standard 1N400x supplies, a general rule of thumb is the principles used for this design can be
family of diodes is usually specified with between 50% and 100% margin for the applied to any power supply design. NV

FIGURE 6. Final design of the power supply


with practical parts specifications. Regulating
the power is discussed in the next article.

December 2007 75
Fonte2.qxd 11/29/2007 10:54 AM Page 60

Basic Analog
Power Supply
Design
by Gerard Fonte

H
owever, it should be remembered non-inverting input of an op-amp. The

Part 2 that many of the basic design


aspects of three-terminal regula-
inverting input of the op-amp measures
the output. If the output is higher than
In the first part, tors apply to any analog regulator
design. In this article, a zero to 30
the reference, the op-amp slews
towards a lower voltage.
we saw that there VDC, zero to one amp, current limited Conversely, if the output is lower
are three main power supply will be developed. The than the reference, the inversion of the
basic cost for parts is under $25. op-amp’s input drives the base of the
components to an transistor harder to allow a higher
analog power supply: Basic Three-T
Terminal voltage to pass. This design concept
input power Regulator is pretty straightforward (although
implementing it can be fairly complex).
conversion and Figure 1 shows a conceptual There are a number of points
design of a three-terminal regulator. about this basic design that need
conditioning, (We will limit our discussion to positive discussion. The first is that the pass
rectification and regulators because the negative regula- transistor is acting as a variable resistor.
filtering, and tors are virtually the same, other than
polarity.) It is important to appreciate
It reduces the input voltage by limiting
the current. As you can imagine, a
regulation. We how this works in order to properly fixed resistor in this situation must be
examined the first understand and apply analog regulator able to dissipate plenty of heat, so it’s
concepts. Fundamentally, the regulator the same for the transistor. We will
two components and is a negative-feedback servo system. examine this in more detail later.
in this article we The resistor and zener diode provide The second point is that there is a
a stable voltage reference to the voltage drop across the pass transistor.
will examine the All bipolar semiconductor
regulation aspect. junctions display this
effect. This means that
We will concentrate the input voltage must
on the basic three-
terminal regulators FIGURE 1. The basic
approach to the three-
that are cheap and terminal regulator is a
simple negative feedback
easy to obtain. op-amp circuit. Although
in practice, it’s a bit more
complicated than this.
60 January 2008
Fonte2.qxd 11/29/2007 10:55 AM Page 61

FIGURE 2.
The practical
implementation
of the LM317
adjustable regulator
requires a few FIGURE 3. By
additional substituting the load
components for the adjustment
for optimal resistor, the LM317
performance and becomes a current
reliability. The regulator (the voltage
text describes the changes according
additional parts to the load). This is a
and their function. very useful circuit
that is not often used.
be higher than the
output voltage for proper operation. voltage of adjustable regulators. switching power supply which is
For the standard three-terminal volt- However, we’ll see a cheap and easy typically quite noisy.
age regulators, this voltage is about solution to this problem, later. The diodes are used to protect
1-2.5 V, depending on temperature the regulator against unexpected
and current drawn. (However, for Additional Components voltage reversals. If the input should
proper design purposes the 2.5V Needed be shorted to ground, capacitors on
“drop-out” voltage should always be the output and/or the adjustment pin
employed.) For the fixed voltage regulator, will still maintain their voltage. They
If the desired input-output voltage only an input and output bypass will then discharge backwards through
difference is less than this 2.5 V, capacitor (connected to ground) are the respective pins towards the input.
the circuit will no longer have the required (typically 0.1 to 1.0 μF). This can destroy the device.
headroom to regulate properly These are to stabilize the op-amp If there is no adjustment bypass
and drop out of regulation. (There in the regulator. If the large filter capacitor used (Cbyp), then the Dadj
are other “low-dropout” or LDO capacitor is in close physical proximity can be omitted. If you are sure that
regulators available that can operate (less than 6”) to the regulator input, the device being powered will never
with much less input-output differen- then the input bypass capacitor can have 10 μF or more load capacitance,
tial — some as low as 0.1 V. However, be omitted. then Do can be omitted, as well.
care must be taken to provide proper In theory, the output capacitor
capacitive loading or else they may can also be omitted. But if your circuit Adjustment Calculations
not function properly.) to be powered just happens to have
The third point is that it takes a load capacitance of 500 pF to It is important to remember that
some small amount of time for an 5,000 pF, then the regulator might (for adjustable regulators) the
output change to propagate through oscillate. Using a 1.0 μF output bypass adjustment pin acts as a non-inverting
the op-amp and transistor (loop capacitor forces the op-amp into a feedback point to the internal op-amp.
delay). During this time, the output stable operating mode. It is always a As such, the op-amp will do whatever
is not being properly regulated. good idea to spend a few pennies on it can to maintain the voltage on this
Obviously, the faster the op-amp and this to be sure you have a reliable pin (which is specified to be 1.25 volts
transistor, the shorter this transient power supply. below the output). So if we apply a
will be. However, manufacturing Figure 2 shows the proper design voltage (through a resistor) to this pin,
fast, high-power transistors is not easy for an adjustable regulator. The input the output will go up. If we short this
or cheap. and output bypass capacitors (Ci pin to ground, then the output will fall
Additionally, the faster the transis- and Co) are the same as in the fixed to about 1.25 volts. If a negative 1.25
tor and op-amp circuit is, the more regulator implementation. volts is applied, then the output will
prone to oscillation it is. Having your The two resistors (Rb and Radj) go all the way to zero volts.
power supply oscillate is not a good are required to choose the output Generally, a voltage divider is
thing. Most three-terminal regulators voltage. Typically, Rp is set at 240 used to pass some of the output
have a transient response (closed-loop ohms to provide a proper current voltage back into the regulator to set
delay time) of about 30 μs. (typically about 50 μA) into the the output voltage (as shown in Figure
The last point concerns adjustable feedback of the op-amp. Radj is 2). The equation is Vout = Vref (1 +
voltage regulators (Figure 1 shows a used to vary the output to the Rp/Radj) + (Iadj x Radj). Vref is 1.25 V
fixed-voltage regulator). Without desired value. The capacitor connect- as noted above. The second term (Iadj
getting into a long technical discus- ed to the adjustment pin (Cbyp) x Radj) is the error correction for the
sion, it is difficult to provide a stable is used to improve ripple/noise 1.25 V reference. Generally this is
and cheap reference voltage below rejection. This is especially useful if quite small and is often ignored. If this
1.2 V. This limits the minimum output the raw DC input is coming from a is ignored and the typical value of 240
January 2008 61
Fonte2.qxd 11/29/2007 10:55 AM Page 62

Basic Analog Power Supply Design

FIGURE 4. This is a nice bench power 32 volts, there will be a three volt
supply that provides 0-30 volts at drop which means that the regulator
one amp. It’s also current limited to must dissipate just three watts while
help eliminate unnecessary smoke supplying 32 W to the load. This is
generation in your circuits. Meters to
monitor the voltage and current can 91% efficient.
be added, if desired. It is clear that keeping the input
voltage as close to the output as
Ω is used for Rp, then the equation possible results in better efficiency
becomes Vout = 1.25 (1 + 240/ and less heat. (Note that with an input
Radj). Usually, this is accurate to voltage of 35 V and a current require-
within a few percent. ment of one amp the total power used
A curious thing happens will always be 35 W. The more power
when we replace Radj with a the load uses, the less the regulator
power load instead of a resistor must dissipate.)
(see Figure 3). The output voltage Often times, multiple voltages are
varies with the load. We see that needed for a circuit. There is nothing
this makes sense because the wrong with placing a five volt
power load variation is acting as a regulator after a 10 V one. In this way,
variable resistor. The result is that the voltage drop for the five volt
the current to the load remains regulator is shared between two
fixed but the voltage varies. In devices. However, if the two voltages
other words, the voltage regulator have significantly different current
has changed into a current regula- requirements, this approach may not
tor. Instead of a constant voltage, be optimal. (You can use Ohm’s Law
we have a constant current. to calculate the effective resistance
It is easily seen that the maxi- of the regulator given the desired
mum current allowed depends voltage and current. The power is then
upon Rp. If Rp is made 1.25 Ω, then calculated to be the resistance times
up to a full amp of current can be the current squared.)
supplied. Note that this current is
limited by the 1.5 A maximum Applying the Theory
output of the regulator and the
maximum output voltage obtainable We can now combine the infor-
(which depends upon the input mation from the two articles to build a
voltage). This current regulation is practical power supply. We’ll start
a very useful feature (of these with a basic supply and then discuss
regulators) that is not often used. how to change it to add features that
may be useful. Figure 4 provides a
Power Dissipation practical circuit for an adjustable,
current limited and voltage regulated,
Basically, the regulator acts like one amp power supply that goes from
a variable resistor in series with the zero volts to about 30 volts. (This
power supply. The amount of power particular circuit has proven to be very
dissipated is simply the voltage useful and adaptable in a number of
difference between the input and high-reliability designs for my clients,
output pins times the current usually with fixed current limit and
drawn. This creates some interesting fixed output voltage.)
situations. The raw DC circuit was described
For example, suppose you in detail last month and will not be
provide 35 V to the input of an discussed further except to note a
adjustable regulator and expect to few minor changes. The power trans-
draw one amp at five volts and former is now specified as a 24 volt,
also at 32 V. At five volts, there center-tapped, 1.0 to 1.5 amp device
will be a 30 V drop across the instead of 25.2 volts at two amps. The
regulator. With an amp of current, reason for this change is three-fold.
the regulator will have to dissipate The first is that some regulators
30 W while providing five watts to are limited to 35 V (most others
the load. It’s only 14% efficient. At are rated to 40 V and there is a high
62 January 2008
Fonte2.qxd 11/29/2007 10:55 AM Page 63

voltage version — LM-317H — that three watt resistor (rather than a be no heat problem. However, if the
can go to 60 V). Note that this is wo watt device) is chosen to be power supply needs to provide a high
technically the voltage differential conservative. The worst case power current at a low voltage, the switch is
between input and output, not requirement of the variable resistor used to connect to the center-tap and
from input to ground. If the output is occurs when it is equal to the fixed reduces the input voltage by 50%.
maintained above ground, then the resistor or 1.0 Ω. Thus, only about 18 volts is applied to
input can be higher. In this instance, there will be the rest of the power supply.
However, for a general-purpose about 0.4 W of power through it. This So, if five volts at one amp is
power supply you must assume the means that a one watt potentiometer needed, then only 13 W of power
output will be shorted to ground from is adequate, but a two watt unit will must be dissipated by the regulator as
time to time. This means that the input be used to be very conservative. heat (instead of about 30 W). This
voltage must be limited to about 37 V Remember, it’s better to spend a little allows the standard TO-220 style reg-
because there will be about 1.4 V bit extra on the power supply than to ulator to be used within the specified
dropped by the bridge diode and spend a lot on ruined circuits. limits. (If you want to get fancy,
an additional 2.5 V dropped by the The voltage regulator section is you could monitor the adjustment
current regulator. simply the design from the beginning voltage and use a separate circuit to
Also, there is no reason to provide of this article. The only change is to automatically switch between the
two amps of primary DC current if the use a variable resistor (R6) instead of a transformer windings.)
maximum output is rated at one amp. fixed resistor (Radj).
(Note that the rating is less than the Heatsinking is an important issue. Fixing the Minimum
absolute maximum the circuit can pro- The voltage regulator must be able to 1.2 Volt Problem
vide.) The third reason is for regulator dissipate up to 32 W of power, worst
heat control. This is also the reason case. This creates a significant Most people want a power supply
for the added switch which will be problem. The typical TO-220 case is to go all the way to ground. It turns
discussed in more detail below. limited to 15 W as per the spec sheet. out that there is an easy way to
The main filter capacitor has been One poor solution is to reduce the accomplish this: just add two diodes
reduced from 10,000 μF to 4,700 μF maximum power rating to about 0.5 A in series with the output. Each diode
because the power supply current for lower voltages. This is changing the drops the voltage by about 0.7 V
specification has been reduced from specs to match the design instead of (depending on load). So, two diodes
two amps to one amp. designing to match the specs. There is will reduce the output by 1.4 V. In
The adjustable current regula- another approach that requires a bit actual operation, only about 1.0 V is
tor is just three parts: an LM-317, a of creative engineering that will be dropped at no load. This makes the
fixed resistor, and a variable resistor. detailed below. minimum output no load voltage 0.2
The fixed resistor is necessary to limit Curiously, the current regulator is V. This is virtually zero.
the current through the resistor string. very efficient. The voltage drop is If you really want to, you can
Obviously, as the resistance gets typically 2.5 V (worst case) so the add another diode in series to drop
lower, more current flows. With a 1.25 maximum power dissipated at one the output further, but it seems
V differential between the output and amp is 2.5 W. A simple and inexpen- unnecessary. The resistor to ground is
adjustment pin, the one ohm fixed sive clip-on heatsink is sufficient here. included to drain off any leakage
resistor limits the current to 1.25 A. through the diodes. Without the
If this resistor was eliminated and Fixing the Heat Problem resistor, the output can float up to the
the adjustable resistor was set to 0.1 Ω voltage applied to the diodes.
for example, the current would be As noted, there is too much heat It should be noted that you can
(theoretically) 12.5 A (using Ohm’s to be dissipated at low voltages. The pull the output of the regulator to
Law). This would either destroy the IC problem comes from the large voltage ground if you apply a negative voltage
or cause it to shut down from thermal drop from the input to the output of to the adjustment pin. This is some-
overload. Neither is good. the regulator. The solution is to use what complicated if a negative voltage
Also, the power through that a center-tapped transformer and is not easily available (as in this case).
small resistance would be 15.6 W switch between taps. Center-tapped The addition of two diodes is a quick
(power is equal to current squared transformers are common and and easy fix.
times resistance). This would burn generally cost no more than non
the variable resistor. By forcing a center-tapped transformers. Minimum Current Discussion
minimum of 1.0 Ω in the circuit, When the switch is connected to
the current is limited to a maximum the top end of the transformer, the full As noted on the schematic
1.25 A and the variable resistor is voltage is applied to the rest of the shown in Figure 4, the minimum
protected. circuit and the full range of voltages is current limit is about 5 mA. For
The worst case power dissipated possible. As long as the current draw virtually all applications, this is not a
by the fixed resistor is 1.25 W. A is kept below about 0.5 A, there will problem. Very few components will
January 2008 63
Fonte2.qxd 11/29/2007 10:59 AM Page 64

Basic Analog Power Supply Design

be damaged with 5 mA applied to meter has 800 Ω of resistance on the


them. However, if the voltage is set to 500 μA scale).
30 V, then 150 mW of power is If you don’t mind an error of a few
present at the output. This could be mA, there is a very convenient place
too much for some components. It to measure the current. All you have
must be remembered that the voltage to do is measure the voltage across
regulator uses some current for its the leads of R4 in the current limiting
operation (in addition to the current circuit. This is a one ohm resistor
dissipated during the process of regu- and will provide one volt per amp of
lation). As it happens, the regulator output current.
draws about a constant 5 mA with a The basic accuracy depends upon
30 V input, regardless of the voltage the precision of the resistor. A 1%
output setting. Therefore, while the resistor will be accurate to 1% except
current regulator provides a minimum for the few mA used by the voltage
of 5 mA, this current is used by the regulator circuit that follows. (Note
following voltage regulator and it is that you can measure small load
not seen at the output to a great currents by noting the current before
degree (although in certain special connecting the load and after it
cases it might be). This is not a perfect has been connected. The difference is
solution, but it is reasonable. due to the load. Your basic limitation
If desired, a larger current here is the ability to measure small
adjustment resistor (R5) can be used. voltages. Five mA of current will pro-
A 1K potentiometer will reduce the vide only 5 mV across the resistor.)
minimum current out of the current The proper method of measuring
regulator to about 1 mA. the output current is to add a
small series resistor to the output and
Adding Meters measure the voltage drop across it
(just like we did with R4). Typically,
It’s always nice to be able to this resistor is 0.1 Ω or less and
measure the voltage output and requires a bit of careful design. There
current used. Adding a voltmeter is are current monitor ICs available for a
simple. Just place it across the output couple of dollars that greatly simplify
to measure the voltage. the problem of converting a current
The current meter is a bit more into an easy to measure voltage.
complicated. You can place an
ammeter in series with the output to Conclusion
measure the current used. This will
work most of the time. The problem is Understanding basic analog
with the series resistance added by power supply concepts allows the
the meter. Depending on the meter, design of a robust, general-purpose
this might affect the circuit you are power supply for under $25.
powering. Basically, it increases the Adjustable three-terminal regulators
power supply impedance. This is are inexpensive and their shortcom-
especially true for low current ranges ings can be compensated for without
where the series resistance may be a too much trouble. Higher current and
hundred ohms or more (my cheap higher voltage regulators are available
so that larger power supplies can
be built.
Power S upply P arts L ist Instead of providing only a circuit
ITEM DESCRIPTION diagram and instructions, these two
R1 30K 1W articles have attempted to provide a
R2, R3 10K foundation of information needed to
R4 1.0 Ω 3W help anyone design a power supply
R5 250 Ω 2EW adjustable for their own needs. Power supply
R6 5K design is a basic skill every engineer
and hobbyist should have. After all,
Resistors 1/4 watt 5% unless every project needs to be powered in
otherwise specified some way. NV
64 January 2008

You might also like