How it worksThe iPhone power adapter is a switching power supply, where the input power is switched on and off about 70,000 times a second in order to get the exact output voltage required. Because of their design, switching power supplies are generally compact and efficient and generate little waste heat compared to simpler linear power supplies.
In more detail, the AC line power is first converted to high voltage DC by a diode bridge. The DC is switched on and off by a transistor controlled by a power supply controller IC. The chopped DC is fed into a flyback transformer which converts it into low voltage AC. Finally, this AC is converted into DC which is filtered to obtain smooth power free of interference, and this power is output through the USB jack. A feedback circuit measures the output voltage and sends a signal to the controller IC, which adjusts the switching frequency to obtain the desired voltage.
The side view above shows some of the larger components. The charger consists of two circuit boards, slightly under one inch square each. The top board is the primary, which has the high voltage circuitry, and the bottom board, the secondary, has the low voltage output circuitry. The input AC first passes through a fusible resistor (striped), which will break the circuit if there is a catastrophic overload. The input AC is converted to high-voltage DC, which is smoothed by the two large electrolytic capacitors (black with white text and stripe) and the inductor (green).
Next, the high voltage DC is chopped at high frequency by a MOSFET switching transistor, which is the large three-pinned component in the upper left. (The second transistor clamps voltage spikes, as will be explained below.) The chopped DC goes to the flyback transformer (yellow, barely visible behind the transistors), which has low voltage output wires going to the secondary board below. (These wires were cut during disassembly.) The secondary board converts the low voltage from the transformer to DC, filters it, and then feeds it out through the USB connector (the silver rectangle in the lower left). The gray ribbon cable (just barely visible on the lower right under the capacitor) provides feedback from the secondary board to the controller IC to keep the voltage regulated.
The picture above shows the flyback transformer (yellow) more clearly, above the USB jack. The large blue component is a special "Y" capacitor to reduce interference. The controller IC is visible above the transformer on the top of the primary board.
The circuit in detail
The primary circuit board is packed with surface mounted components on both sides. The inner side (diagram above) holds the large components while the outer side (diagram below) has the controller IC. (The large components were removed in the diagrams, and are indicated in italics.) Input power is connected to the corners of the board, goes through the 10Ω fusible resistor, and is rectified to DC by the four diodes. Two R-C snubber circuits absorb EMI interference created by the bridge. The DC is filtered by the two large electrolytic capacitors and the inductor, producing 125-340V DC. Note the thickness of the circuit board traces connecting these capacitors and other high-current components compared to the thin control traces.
The power supply is controlled by an 8-pin STMicrosystems L6565 quasi-resonant SMPS controller chip. The controller IC drives the MOSFET switching transistor which chops the high voltage DC and feeds it into the primary winding of the flyback transformer. The controller IC takes a variety of inputs (secondary voltage feedback, input DC voltage, transformer primary current, and transformer demagnetization sensing) and adjusts the switching frequency and timing to control the output voltage through complex internal circuitry. The current sense resistors let the IC know how much current is flowing through the primary, which controls when the transistor should be turned off.
The second switching transistor, along with some capacitors and diodes, is part of a resonant clamp circuit that ab