Skip to content
PlayOwl
Electricity & energy · #383

How do inverters change direct current into alternating current?

An inverter turns the steady electricity from batteries and solar panels into the back-and-forth kind your home uses.

The big idea: An inverter uses switches to send steady electricity through a circuit first one way and then the other, many times each second. That makes alternating current.

Start exploring
0 of 5 parts done
How Things Work poster: How do inverters change direct current into alternating current?
1Watch it

From steady to back-and-forth

  1. A solar panel makes electricity that flows steadily in one direction. That kind is called direct current, or DC. Batteries make DC too.
  2. But homes are wired for alternating current, or AC, which flows back and forth many times a second. The steady kind will not do. Something has to change it.
  3. The job goes to this box on the wall: an inverter. Steady DC goes in from the panel, and back-and-forth AC comes out for the house. Let's look inside.
  4. Four switches sit around the lamp. Close one pair and electricity flows through the lamp from left to right. Open them and close the other pair, and it flows from right to left.
  5. A tiny computer flips the pairs over and over, many times a second. The steady supply has become back-and-forth electricity. On the screen it looks like square steps.
  6. Last, the inverter chops each push into quick pulses and passes them through a filter. The sharp steps melt into a smooth wave, just like mains electricity. The lamp glows on sunshine!
2Look inside

Look inside an inverter

The cover is off. Tap each part to see how steady electricity becomes a wave.

  • DC input. Two thick cables bring in steady electricity (DC) from the solar panels or a battery: one for going in and one for coming back.
  • Power switches. These four parts are electronic switches called transistors. They have no moving parts, so they can flip thousands of times a second without wearing out.
  • Controller chip. A small computer chip is the brain. It tells each switch exactly when to open and close, keeping perfect time.
  • Smoothing filter. A coil of wire and a capacitor work together as a filter. They soak up the sudden jumps, so the blocky pulses come out as a smooth wave.
  • Cooling fins. The switches get warm as they work. They are bolted to a block of metal fins that passes the heat to the air.
  • AC output. Smooth back-and-forth electricity (AC) leaves here for the sockets and lights in the house.
3Try it

Make a wave with four switches

Tap the green pair, then the purple pair, and watch the screen. Then let the controller flip them for you and smooth the wave.

Experiment: The supply is steady. What will the screen show when you keep swapping from one pair of switches to the other?

  1. Tap a green switch. Which way does the arrow under the lamp point?
  2. Tap a purple switch. Look at the arrow and the line on the screen.
  3. Switch on automatic flipping, then switch on the smooth wave.

What we found: Swapping pairs sends the same steady supply through the lamp in opposite directions, so the screen shows steps going up and down: alternating current. Quick pulses and a filter turn the steps into a smooth wave.

Turn on JavaScript to try it yourself.

4Solve a challenge

Match the wave

The dotted line is the wave the house needs. Make your wave match it, then press Connect.

5Go deeper

How an inverter makes a wave

There are two kinds of electric current. Direct current, or DC, flows steadily one way. Batteries and solar panels make DC. Alternating current, or AC, flows back and forth many times a second. Power stations make AC, and the sockets in your home supply it.

An inverter changes DC into AC. Inside are four electronic switches arranged around the output. Closing one pair sends current through the output in one direction. Closing the other pair sends it in the opposite direction. Flip between the pairs 50 or 60 times a second and the output goes back and forth.

Simple flipping makes a blocky wave with sharp corners. Many machines prefer a smooth wave. So the inverter flips much faster, in quick pulses that are wide in the middle of each push and narrow at the ends. A coil and a capacitor smooth the pulses into gentle hills and valleys.

Inverters are everywhere: on houses with solar panels, in electric cars to drive the motors, and in camping power packs. The battery-flipping comparison is only a picture, though. Nothing inside an inverter turns around. The switches are transistors with no moving parts.

Key words

Direct current (DC)
Electricity that flows steadily in one direction, like from a battery.
Alternating current (AC)
Electricity that flows back and forth many times a second, like from a wall socket.
Frequency
How many times each second the electricity goes back and forth.
H-bridge
Four switches arranged so they can send electricity through something either way.
Pulse-width modulation
Making a smooth wave out of quick pulses by changing how long each pulse lasts.

Check your thinking

  1. What does an inverter do?

    Show the answer

    It changes steady DC into back-and-forth AC. An inverter turns the steady electricity from panels or batteries into the alternating kind homes use.

  2. How does an inverter make the current change direction?

    Show the answer

    It closes one pair of switches, then the other pair. Each pair of switches sends the current through the output in a different direction.

  3. An H-bridge is switched so its output completes 60 full cycles each second. How many times does the current reverse direction in one second?

    Show the answer

    120 times. Each full cycle has two reversals: positive to negative and back again. 60 cycles means 120 reversals.

  4. Why does the inverter use a coil and a capacitor after the switches?

    Show the answer

    To smooth the sharp steps into a gentle wave. The filter soaks up sudden jumps, so blocky pulses come out as a smooth wave.

  5. Why are the switches in an inverter transistors and not ordinary light switches?

    Show the answer

    They must flip thousands of times a second with no moving parts. No finger or lever could flip that fast. Transistors switch with electricity and never wear out from moving.

  6. Which of these makes steady DC electricity?

    Show the answer

    A solar panel. Solar panels and batteries make DC. Sockets and power lines carry AC.