Circuit 3D

AC vs DC

Alternating current (AC) reverses direction many times a second, its voltage rising and falling in a smooth wave; direct current (DC) flows one way at a steady voltage. Mains outlets supply AC, 120 V at 60 Hz in the US and 230 V at 50 Hz in the UK and Europe, while batteries, solar panels and USB supply DC. An AC supply’s voltage follows a sine wave.

v = Vpeak × sin(360° × f × t)

where v is the voltage at time t in seconds, Vpeak its highest value, and f the frequency in hertz (Hz).

Mains is rated by its RMS voltage, the DC voltage that would heat a heater just as much, so 230 V mains peaks at about 325 V.

What is the difference between AC and DC?

The difference between AC and DC is direction: AC keeps reversing, through 50 or 60 cycles a second on mains, while DC flows steadily one way; both can light a lamp or run a heater.

In a DC circuit, current leaves the battery’s + side and returns to its − side. In an AC circuit, the supply’s two wires swap roles over and over, so the current rocks back and forth. A lamp glows on both directions, which is why mains lamps work on AC.

+

DC: the current flows one way round the loop, out of the battery’s + side, through the lamp and back, all the time.

Figure 1. The dots show which way the current flows, slowed right down. Real mains reverses 100 or 120 times a second, far too fast to see.

What is alternating current?

Alternating current is electric current that reverses direction at a steady rate, its voltage following a smooth sine wave from a positive peak to a negative one and back.

Its frequency is the number of full cycles a second: 60 Hz in North America and parts of South America and Asia, and 50 Hz in most other countries. Power stations make it with generators, whose spinning magnets push current one way and then the other.

170 V−170 V 0 010203040 Time (ms)

US, 120 V at 60 Hz: at 4 ms the wave is 86.4° into its cycle, so v = 170 V × sin 86.4° ≈ 170 V.

Figure 2. Mains voltage over 40 ms. US mains peaks at about 170 V, 60 times a second; UK and European mains at about 325 V, 50 times a second.

What is direct current?

Direct current flows one way only, at a voltage that stays steady, such as the 1.5 V of an AA cell or the 5 V of a USB port.

Batteries, solar cells and fuel cells make DC, and almost all electronics run on it inside. A phone charger turns mains AC into DC with a rectifier, and the circuits on a breadboard are DC too.

What do RMS and peak voltage mean?

A sine wave’s peak voltage is the highest it reaches, and its RMS voltage is the steady DC voltage that would heat a resistor just as much, the peak divided by √2: 230 V RMS peaks at 325 V.

RMS, short for root mean square, is how mains, transformers and meters are rated, so Ohm’s law and P = V × I work on AC ratings as they do on DC. A 120 V outlet peaks at about 170 V, 60 times a second. An oscilloscope shows both.

Why does the power grid use AC?

The power grid uses AC because transformers can step it up to hundreds of thousands of volts for transmission and back down for homes, and at high voltage the same power needs far less current.

The heat lost in a line is I² × R, so a tenth of the current wastes a hundredth as much. Transformers only work on changing current, which is why AC won out. Very long or undersea links now use high-voltage DC, which avoids some AC losses, with converter stations at each end.

230 V 2.3 kV 23 kV 230 kV Power lost in the line (log scale)

Sending 100 kW at 230 V takes I = 100 kW ÷ 230 V ≈ 435 A, and the line’s 0.1 Ω turns I² × R ≈ 18.9 kW into heat: 19% of the power.

Figure 3. The same 100 kW sent down 0.1 Ω of line at four voltages. Ten times the voltage carries a tenth of the current and wastes a hundredth as much.

Is AC or DC more dangerous?

AC and DC can both kill at mains voltages; at the same current, mains AC is more likely to make muscles clamp onto a conductor and upset the heart’s rhythm, while DC tends to give a single jolt.

What harms is the current through the body, which depends on the voltage and the skin’s resistance. A 9 V battery is safe to touch; mains, the high-voltage DC in solar arrays and electric cars, and the inside of a microwave are not.

How do you convert between AC and DC values?

To convert between AC and DC values, multiply an AC rating by √2, about 1.414, for its peak, take 1 ÷ f for one cycle, and use RMS values in P = V × I just as for DC.

Example 1: find a supply’s peak and period

A supply is rated 230 V at 50 Hz. What voltage does it reach at its peaks, and how long is each cycle?

Given
a 230 V RMS supply at 50 Hz
Find
its peak voltage and how long one cycle takes
Solution
Vpeak = VRMS × √2 = 230 V × 1.414 ≈ 325 V, so it swings 650 V from top to bottomOne cycle: T = 1 ÷ f = 1 ÷ 50 Hz = 20 msIt reverses twice a cycle: 100 times a second
Answer
Peaks of ±325 V, one cycle every 20 ms

Example 2: work out a heater on AC

A 1.5 kW heater runs on 120 V AC. What current does it draw, what is its element’s resistance, and what current flows at the peaks of each cycle?

Given
a 1.5 kW heater on 120 V AC mains
Find
the current, the element’s resistance and the current at the peaks
Solution
Ratings are RMS, so P = V × I works as for DC: I = 1.5 kW ÷ 120 V ≈ 12.5 AR = V ÷ I = 120 V ÷ 12.5 A ≈ 9.6 ΩAt the peaks: 12.5 A × 1.414 ≈ 17.7 A
Answer
12.5 A RMS through 9.6 Ω, peaking at 17.7 A

Summary

Key equations

  • Vpeak = VRMS × √2 a sine wave’s peak
  • T = 1 ÷ f one cycle’s time
  • Plost = I² × R heat in a line

Key terms

AC
Current that reverses direction, usually as a sine wave.
DC
Current that flows one way.
Frequency
Cycles a second, in hertz.
RMS
The DC voltage that would heat a load just as much.

Practice problems

  1. Which kind of current does a battery supply?

  2. US mains is 60 Hz. How many times a second does the current reverse?

  3. A 230 V RMS supply peaks at about what voltage?

  4. Why do power lines run at high voltage?

  5. How long does one cycle of 50 Hz AC take?

FAQ

Is a household outlet AC or DC?

AC: about 120 V at 60 Hz in the US and Canada, and 230 V at 50 Hz in the UK, Europe and much of the world.

Is a battery AC or DC?

DC. A battery’s chemistry pushes current one way, out of its positive terminal, round the circuit and back to its negative one.

What does a power adapter do?

It turns mains AC into low-voltage DC: a transformer or switching circuit lowers the voltage, a rectifier makes it one-way, and capacitors smooth it.

Why is AC used in homes?

Transformers can step AC voltage up for efficient transmission and down for safer use, and simple AC motors run fans, pumps and compressors.

Can DC give you a shock?

Yes. High-voltage DC, such as in solar arrays and electric vehicles, is as dangerous as mains. Low voltages like a 12 V car battery push little current through dry skin, but can still burn if shorted.

What is the frequency of AC?

How many full cycles it makes each second, in hertz: 60 Hz in North America and 50 Hz in most other places. Each cycle reverses the current twice.

What is a sine wave?

The smooth, repeating curve that mains voltage follows: up to a peak, down through zero to an equal negative peak and back, 50 or 60 times a second.