There are two basic types of electricity: alternating current (AC) and direct current (DC). AC switches directions dozens of times every second, going from negative to positive and back again. DC, by contrast, always flows in the same direction. Power plants produce alternating current or AC electricity. This electricity is sent through the power grid into houses, businesses and other buildings. Batteries, solar panels and certain other power sources use DC electricity. Home appliances are designed to use AC, since AC flows into the home. A DC to AC power converter lets you use a DC source to power one of these appliances.
Making the AC
Early DC to AC converters used a mechanical switch that would flip back and forth very quickly. This would generate pulses of positive and negative current. Modern AC converters use two or more electric switches called transistors. A computer first sends signals to transistors controlling the positive voltage, causing them to make a positive pulse. It then sends signals to transistors controlling the negative voltage, making a negative pulse. AC power flows as a smooth, continuously alternating wave called a sine wave. Most converters, however, do not create an actual sine wave, but a squared-off approximation of it made out of individual electric pulses.
Increasing the Voltage
In the United States, electricity flows through the power lines at 120 volts and, in much of the rest of the world it is as high as 240 volts. DC is usually somewhere between 12 and 30 volts, depending on the source - far too low voltage to power appliance designed to run from outlets. To increase the voltage, a DC to AC converter uses a component called a step-up transformer. In a transformer, AC electricity flows through a coil of wire. This creates a moving magnetic field, which produces an electric current in a nearby coil of wire. In a step-up transformer, the second coiled wire has more turns than the first, causing it to produce higher voltage. The electricity from the second coil can then be used to power appliances.