Professional Documents
Culture Documents
1 ACEC KOMNA
PowerSupply
In a personal computer (PC), the power supply is the metal box usually found in a corner
of the case. The power supply is visible from the back of many systems because it contains
the power-cord receptacle and the cooling fan.
Switcher Technology
Prior to 1980 or so, power supplies tended to be heavy and bulky. They used large, heavy
transformers and huge capacitors (some as large as soda cans) to convert line voltage at
120 volts and 60 hertz into 5 volts and 12 volts DC.
PC POWER SUPPLY. 2 ACEC KOMNA
The switching power supplies used today are much smaller and lighter. They convert the
60-Hertz (Hz, or cycles per second) current to a much higher frequency, meaning more
cycles per second. This conversion enables a small, lightweight transformer in the power
supply to do the actual voltage step-down from 110 volts (or 220 in certain countries) to
the voltage needed by the particular computer component. The higher-frequency AC
current provided by a switcher supply is also easier to rectify and filter compared to the
original 60-Hz AC line voltage, reducing the variances in voltage for the sensitive electronic
components in the computer.
Over time, there have been at least six different standard power supplies for personal
computers. Recently, the industry has settled on using ATX-based power supplies. ATX is
an industry specification that means the power supply has the physical characteristics to fit
a standard ATX case and the electrical characteristics to work with an ATX motherboard.
PC power-supply cables use standardized, keyed connectors that make it difficult to
connect the wrong ones. Also, fan manufacturers often use the same connectors as the
power cables for disk drives, allowing a fan to easily obtain the 12 volts it needs. Color-
coded wires and industry standard connectors make it possible for the consumer to have
many choices for a replacement power supply.
Power supplies of the same form factor ("form factor" refers to the
actual shape of the motherboard) are typically differentiated by the
wattage they supply and the length of the warranty.
PC POWER SUPPLY. 5 ACEC KOMNA
Power
Power is supplied to your computer in two stages. First, power is conveyed to the case from
your electrical utility to your wall, and through the black power cord to the PC. Then, the
internal power supply transforms this standard household electricity into the forms that your
computer needs. Most people take electrical power for granted and don't think too much about
it. This is also true of the internal power supply, which is usually just considered part of the case
and given little attention. (The power supply is not part of the case!) The power from the utility
itself is taken for granted and rarely given a second thought--that is, until disaster strikes. It is
my hope that by taking the time to explain in more detail how electricity works and how it
powers your PC, this subject will be given more attention in the future.
How important is the quality of power you supply to your PC? This graph, which
shows the leading causes of data loss by category, gives you a pretty good idea.
(Source: Contingency Planning, via American Power Conversion)
If you are going to use your PC lightly, it is fine not to pay too much attention to power.
However, as the old computer saying goes, "garbage in, garbage out". If your motherboard and
components are being supplied poor-quality power, you will have problems that you wouldn't
have if they received proper, high-quality power. If you plan on using your PC heavily, or if
your data is important, or if you are looking for upgradeability in the future, you must pay
attention to power! Power issues are responsible for more PC problems than probably any other
single source, even though most people don't realize that the power is responsible. This chapter
takes a look at power, both internal and external to the PC.
External Power
The matter of power begins with a look at the power delivered to the case. The power that
comes into your home is normally quite reliable, but it can be surprising how many quality
problems it often has. Spikes, surges, blackouts, brownouts, line noise—all are common
power problems that you don't generally notice (well, you notice a blackout :^) ). Usually,
the electrical devices you use manage to deal with them (at least, most of them.) Your
computer's power supply has some tolerance to these problems as well; the more
expensive the system, the more the power supply can tolerate without failure. If your
power supply is inexpensive, however (and too many of them these days are) then poor
power can lead directly to system troubles that manifest themselves in ways that would
never lead you to suspect power as the cause. Taking some steps to improve the quality of
the power going into the system can help prevent problems no matter what PC you use.
What Is Electricity?
PC POWER SUPPLY. 8 ACEC KOMNA
You use it every day, but what exactly is electricity? To understand it, we must go
down to the very building blocks of matter itself: the atom. Without getting too
complicated (and going down to the level of quantum mechanics), matter is comprised of
atoms. Atoms are made up of three basic particles: protons, which are positively-charged
particles; electrons, which are negatively-charged particles; and neutrons, which have no
charge. An atom has its neutrons and protons clustered together at its center, called the
nucleus, while the electrons orbit around the nucleus.
What causes electrons to move? It is two things: first, the attraction of the negatively-
charged electrons towards a positive charge; and second, a means of allowing the
electrons to flow. Electricity is then at its heart, a flow of electrons. Whether it is the
powerful discharge of a lightning bolt, or the flow of electricity in an appliance, or even the
small flow of electricity in a battery-powered wristwatch, they are all at their core the
same.
Electricity flows readily in some materials but not in others. What differentiates materials is
primarily the atomic structure of the matter that comprises them. Some conduct electricity
readily; they are of course called conductors. Typical good electrical conductors include
copper, aluminum, gold and other metals, and water. Materials that do not conduct
electricity are called insulators. Common insulators include wood, glass, plastic, and air
(though many people don't think of air as an insulator, it is actually one of the best.) Some
materials conduct electricity better than others because some atoms hold on more tightly
to their electrons than others. However, any substance, even one that normally insulates
so well as to stop the flow of electricity, will conduct electricity if the charge is strong
enough--even the air.
This brings us to the concept of a circuit. A circuit is any combination of objects that allows
electricity to flow. A battery by itself is not a circuit; there is no flow of electricity (this is
sometimes called an open circuit. Attach a wire from one end of the battery to the other
though, and you have a closed circuit and electricity will immediately flow.
Three cycles of an idealized North American 115 VAC, 60 Hz alternating current signal (black
curve).
Note that each cycle represents 16.67 milliseconds of time, because that is 1/60th of a second. The
curve actually goes from -170 V to +170 V in order to provide the average (RMS) value of 115 V.
The RMS equivalent is shown as a green horizontal line. To demonstrate what RMS means, look
at
the blue shaded area, which shows the total energy in the signal for one cycle. The green shading
is
the area between the RMS line and the zero line for one cycle, and represents the energy in an
equivalent
115 V DC signal. The definition of the RMS value is that which makes the green and blue areas
equal.
(This diagram drawn to the same scale as the DC diagram above.)
Why does standard electricity come only in the form of alternating current? There are a number
of reasons, but one of the most important is that a characteristic of AC is that it is relatively easy
to change voltages from one level to another using a transformer, while transformers do not
work for DC. This capability allows the companies that generate and distribute electricity to do
it in a more efficient manner, by transmitting it at high voltage for long lengths, which reduces
energy loss due to the resistance in the transmission wires. Another reason is that it may be
easier to mechanically generate alternating current electricity than direct current.
PCs use only direct current, which means that the alternating current provided by your utility
must be converted to direct current before use. This is the primary function of your power
supply.
115 VAC current and voltage driving a purely resistive load. The phase angle between voltage and
current
is about 0 degrees. Note that the voltage and current peak together.
Other loads, particularly items such as motors, are said to be reactive. Reactive loads are caused
by more complex opposition to the flow of alternating current such as that produced by
capacitors and inductors. They can cause the current and voltage to be out of phase, in theory by
as much as 90 degrees.
115 VAC current and voltage driving a (theoretical) purely reactive load. The current is lagging
behind
the voltage by about 90 degrees. (It is possible for the current to be leading by 90 degrees also.)
PC POWER SUPPLY. 14 ACEC KOMNA
Note that whenever one of voltage or current hits a peak, the other one is at zero!
If the phase angle between current and voltage is 90 degrees, then whenever voltage is at its
peak (either positive or negative), current is zero, and vice-versa. This is a "worst-case"
situation that doesn't normally arise in the real world because real loads aren't purely reactive. A
more typical situation is where the phase angle is about 45 degrees.
115 VAC current and voltage driving a partly resistive and partly reactive
load. The current is lagging behind the voltage by about 45 degrees, making
this an inductive load. If the load were capacitive, the current would be
leading the voltage. See here for more on inductors and capacitors.
"Alright, alright," you are saying. "Why do I care about all of this?" Well, here's one important
reason: PC power supplies are partly reactive loads, and often exhibit a phase difference
between voltage and current of about 45 degrees. This means that the voltage and current
applied to the load do not equal the voltage and current used by the load, and you cannot
compute the power used by the supply by simply multiplying the current and voltage. OK, now
here's where it gets interesting. :^) The voltage and current applied to the load can be multiplied
together to yield what is called apparent power, measured in Volt-Amps (VA):
Apparent Power (VA) = V (V) * I (A)
Apparent power represents the voltage and current being sent to the device, and is used to
measure draw from the utility, for determining heat generation by equipment under use, and for
sizing wires and circuit breakers. The actual power used by the load is called "true" power, or
just power, and is measured in Watts. (Even though Watts = Volts * Amps, apparent power is
measured in VA to differentiate it from true power.) The relationship between power and
apparent power is expressed using this formula:
P (W) = cosine(phase) * Apparent Power (VA)
where "cosine" is the trigonometric function. "cosine(phase)" is also called the power factor of
the load. Let's try an example. Let's suppose we are trying to run a power supply and the power
supplied is 115V voltage and 2A of current. The apparent power is 115 * 2 = 230 VA. If the
nature of the power supply is that its voltage and current are out of phase by 50 degrees, then
the power factor is cosine(50º) = 0.642 (sometimes expressed as 64.2%) and the power used by
the load is 148 W.
PC POWER SUPPLY. 15 ACEC KOMNA
There's a particular place where all of this comes into play, and that is in the capacity and sizing
of uninterruptible power supplies. UPSes are normally specified in terms of apparent power
(VA), whereas PC power supplies are specified in terms of true power (W). Many people use
the numbers interchangeably, when they most definitely are not the same! Now that you
understand the difference between the two, and you know what a power factor is, you are light
years ahead of 95% of the population when it comes to figuring out how to purchase a properly-
sized UPS or similar device.
Warning: I have received information that warns about possible equipment failure and even
safety hazards as a result of plugging surge suppressors into the output jacks of a UPS. You
PC POWER SUPPLY. 16 ACEC KOMNA
should never do this, as they are not designed to be used this way (there is no need to anyway)
and a hazardous situation could result.
Block schematic of a standby UPS. The primary power source is filtered and surge-suppressed
to protect against line noise and other problems that would not cause a switch to battery power.
Image © American Power Conversion Corp.
Image used with permission.
While the least desirable type of UPS, a standby unit is still a UPS and will serve well for most
users. After all, if standby UPSes didn't work, they wouldn't sell. For a very critical function,
however, such as an important server, they are not generally used. The issue with a standby
UPS is that when the line power goes out, the switch to battery power happens very quickly, but
not instantly. There is a delay of a fraction of a second while the switch occurs, which is called
the switch time or transfer time of the UPS. While rare, it is possible for the UPS to not make
the switch fast enough for the PC's power supply to continue operation uninterrupted. Again, in
practice this does not normally occur or nobody would bother to buy these units. Still, you
PC POWER SUPPLY. 18 ACEC KOMNA
should compare the unit's transfer time to the hold (or holdup) time of your power supply unit,
which tells you how much time the power supply can handle having its input cut off before
being interrupted. If the transfer time is much less than the hold time, the UPS will probably
work for you.
Standby UPSes are usually available in a size range of up to about 1000 VA.
Warning: If you use a standby UPS, make sure it incorporates surge suppression and filtering
features for when the machine is running off standard power, as shown in the block diagram
above. Otherwise, under normal cases (i.e., any time you aren't experiencing a blackout) your
system is, in essence, plugged directly into the wall.
Electric power is defined as the rate at which electrical energy is transferred by an electric
circuit. The SI unit of power is the watt.
Electrical power is distributed via cables and electricity pylons like these in Brisbane,
Australia.When electric current flows in a circuit with resistance, it does work. Devices
convert this work into many useful forms, such as heat (electric heaters), light (light
bulbs), motion (electric motors) and sound (loudspeaker). Electricity can be produced by
generation or from storage such as batteries.
Electric power, like mechanical power, is represented by the letter P in electrical equations. The
term wattage is used colloquially to mean 'electric power in watts'.
In direct current resistive circuits, instantaneous electrical power is calculated using Joule's
Law, which is named after the British physicist James Joule, who first showed that electrical
and mechanical energy were interchangeable.
where
P is the power (watt or W)
I is the current (ampere or A)
V is the potential difference (volt or V)
For example:
.
Joule's law can be combined with Ohm's law to produce two more equations:
where
R is the resistance (Ohm or Ω).
For example:
and
In alternating current circuits, energy storage elements such as inductance and capacitance may
result in periodic reversals of the direction of energy flow. The portion of power flow that,
averaged over a complete cycle of the AC waveform, results in net transfer of energy in one
direction is known as real power (also referred to as active power). That portion of power flow
due to stored energy, that returns to the source in each cycle, is known as reactive power.
[edit] In space
Electrical power flows wherever electric and magnetic fields exist in the same place. The
simplest example of this is in electrical circuits, as the preceding section showed. In the general
case, however, the simple equation P = IV must be replaced by a more complex calculation, the
integral of the vector cross-product of the electrical and magnetic fields over a specified area,
thus:
The result is a scalar since it is the surface integral of the Poynting vector.