How computers work

System unit: what a computer is built from

The system unit is the case that houses the motherboard, the processor under its cooler, memory, the graphics card, storage drives and the power supply. The case has three jobs: hold the parts in the right position, deliver energy to them, and get heat out — and almost all the energy consumed becomes heat, from about a hundred watts at idle to 500–700 W under load. The “PC startup” scenario shows power-on, and the “Power and heat” layer shows where the watts go.

Open in 3D →

Case and panels

The mid-tower case in the model is 45 × 47 × 21 cm. The frame is 0.6–0.8 mm steel: on the motherboard tray are threaded standoffs matching the mounting holes of an ATX board, at the back an opening for the I/O shield and seven slots for expansion cards, at the bottom a place for the power supply. The steel not only carries the weight (a graphics card weighs 1.5–2.5 kg) but also shields: a grounded metal box suppresses radio interference both from inside and from outside.

The tempered glass side panel is for looks; the front panel is for function. A mesh with a dust filter lets cool air through to three front fans. A solid front panel looks cleaner but can raise component temperatures by 5–10 °C: the air has to squeeze in through narrow gaps at the sides.

The PSU shroud divides the case into two compartments. Below are the power supply and spare cables with their own airflow: the PSU usually draws air from below, through a filter in the case floor. Above are the hot components. Cables are routed behind the motherboard tray through rubber grommets: it is tidier, and they do not block the airflow.

Everything metal inside is connected to the case, and the case, through the power supply and the third pin of the outlet, to the building’s ground. This protects people if insulation fails and gives static charge a path to discharge. Hence the advice to touch the case before assembly: the charge from your body goes to ground rather than into the memory contacts.

Motherboard

The 30.5 × 24.4 cm ATX board stands vertically on the tray and is screwed to the standoffs with nine screws. On it are the socket with the processor, memory slots, the graphics card slot, M.2 slots, and along the top and right edges connectors for power, fans and the front panel. The rear edge with the ports pokes out through the opening in the back wall.

The layout is governed by short paths and airflow. The socket is near the top, in the path of air to the rear fan; next to it are the power phases and EPS connectors at the top edge, where the cable is easy to route; memory is to the right of the socket; the graphics card slot is lower, so the card hangs in the cooler part of the case and brings its ports out to the back wall.

The board is the main communication hub: everything you connect goes through it one way or another, and it distributes power from the power supply further on. More detail one level down: double-click the board to open it with all its buses, power phases and the startup scenario.

Memory

Two DDR5 modules sit in slots A2 and B2 — one per channel, to the right of the CPU cooler. This is the recommended layout for two modules: the channels work in parallel, and slots A2 and B2, the ones farther from the processor, are routed so that the signal in them is cleaner.

Modules are pushed in vertically until the latches click. A notch (key) in the row of contacts prevents a module from being inserted backwards and keeps out modules of another generation: DDR4 will not fit into a DDR5 slot. Tall module heatsinks sometimes hit a tower cooler — this is checked in advance.

Compared with the processor and graphics card, memory barely heats up — a few watts per module — and the general airflow is enough for it. Double-click a module on the “Motherboard” level to reach the “Memory (RAM)” level.

Cooling: cooler, fans and airflow

Under load a processor puts out 150–250 W from dies with an area of 1–2 cm² — a higher power density than an electric stove burner. Heat travels along a chain: die → thermal interface → processor lid → thermal paste → cooler base → heat pipes → fins → air. Each link costs a little temperature, and the whole chain is described by thermal resistance — how many degrees of temperature rise each watt produces.

A heat pipe is a sealed copper tube with a small amount of water at low pressure and a porous wick lining inside. At the hot end the water boils at just 30–40 °C, the vapor quickly carries heat to the cold end and condenses there, and the liquid returns along the porous wick. Such a pipe conducts heat hundreds of times better than a solid copper rod.

The case fans create airflow: three 120 mm front fans pull in cool air, the rear fan exhausts warm air. Along the way the air passes through the fins of the CPU cooler and the graphics card’s heatsink. It is good when intake is slightly stronger than exhaust (positive pressure): then air enters only through the filters, and less dust gets inside.

In the model, the “die → air” thermal resistance is approximate: a stock (boxed) cooler is 0.42 °C/W, a tower cooler 0.26, a liquid cooling system (AIO) 0.19. At 200 W and 30 °C inside the case that gives 114, 82 and 68 °C respectively. With the stock cooler, the processor hits its 100 °C limit and starts throttling — lowering frequency and voltage until the temperature is back to normal. Try the “Render” load with different coolers in the “Power and heat” layer.

Throttling is not a fault but a protection: the processor runs slower but is not damaged. The cooler fan in the model follows a curve: 25% speed up to 40 °C, rising linearly to 100% at 80 °C — quiet at idle, louder under load. A real heatsink takes minutes to warm up; in the model the thermal inertia is shortened so that the effect is visible right away.

Graphics card and monitor output

The graphics card occupies the top PCIe x16 slot and two or three slots in the back wall. Its board is perpendicular to the motherboard, with the fans facing down: the card draws air from below, pushes it through the heatsink and exhausts some of it outside but more of it back into the case. So its temperature also depends on the overall airflow.

It is the most power-hungry component in the computer: 200–575 W for gaming cards. Power arrives over a 12V-2x6 cable directly from the power supply and partly through the slot. A heavy card bends the slot and board over time, so a support bracket is used for large models.

The monitor output is the DisplayPort and HDMI ports on the graphics card’s bracket. The monitor is connected to these, not to the motherboard ports: those output the CPU’s integrated graphics. Double-clicking the graphics card opens it on the “Motherboard” level, and from there you can go to the “Graphics card” level.

Power supply and cables

The power supply turns the 230 V, 50 Hz AC from the outlet into DC at 12 V (the main rail), 5 V and 3.3 V. It does this in stages. The input filter keeps interference from leaking back into the grid. A diode bridge rectifies the AC voltage. Active power factor correction (PFC) boosts it to ≈ 380–400 V DC and makes the unit draw current from the grid as a smooth sine wave rather than in short spikes. A large capacitor stores energy to ride through a brief dip in the mains.

Next comes the main converter: switches running at around a hundred kilohertz chop the 400 V into pulses, and a transformer steps them down while also isolating the output from the mains — there is no direct electrical path from the outlet to the board. After the transformer, the pulses are rectified (with transistors instead of diodes — lower losses) and smoothed. In modern units, 5 V and 3.3 V are produced from 12 V by separate small regulators.

Why not an ordinary 50 Hz transformer? The size of a transformer for a given power shrinks as frequency rises: at 50 Hz a 750 W transformer would weigh several kilograms, while at a hundred kilohertz it fits in your palm. A good power supply is 90–94% efficient (80 PLUS Gold to Titanium certifications): of 500 W drawn from the mains, 30–50 W remain as heat inside the unit and are blown out by its own fan.

Cables. The 24-pin ATX goes to the board: 12, 5, 3.3 V, the 5VSB standby rail and the PS_ON (turn on) and Power Good (voltages OK) signals. The 8-pin EPS goes to the CPU voltage regulator: four 12 V wires and four grounds, about 300 W per connector. The 12V-2x6 goes to the graphics card: 12 power pins and 4 signal pins, up to 600 W, that is 50 A at 12 V. The signal pins tell the card how much power it may draw and are shorter than the power pins: if the connector is not fully seated, they will not make contact, and the card will not draw full power.

The ATX 3.x standard requires the power supply to withstand short power spikes — up to 200% of its rating for 100 µs. Modern graphics cards change their load very abruptly, and older power supplies sometimes tripped their protection on such spikes, shutting the computer down in the middle of a game.

Drives and the front panel

The drive cage holds 3.5-inch hard drives and 2.5-inch SATA SSDs. Each needs two cables: a thin SATA data cable to the board, and a SATA power cable from the power supply (12 V for the motor, 5 V for the electronics). NVMe drives sit directly on the board in M.2 slots and need no cables, so drive cages in new cases keep getting smaller.

A hard drive is a source of vibration and noise: the platters spin at 7,200 rpm, and the heads click as they seek. That is why the cage’s drive sleds are often mounted on rubber dampers.

The power button is a momentary (non-latching) button. It is connected by two thin wires to the front-panel header on the board and only briefly closes a contact. The board, in standby mode (5 V standby), notices this and sends the PS_ON signal to the power supply. On a running computer a short press asks the OS to shut down, while holding it for 4 seconds forces a power-off.

The front ports — USB-A, USB-C, headphone and microphone jacks — are connected by cables to internal headers on the board: USB 2.0, USB 3.x, USB-C and HD Audio. The front audio output is usually a bit noisier than the rear one: its cable runs inside the case near sources of interference.

Power-on: what you see from outside

The “PC startup” scenario on this level shows the same thing as on the board, but from outside. Button press → a short signal over a thin cable to the board → the board turns on the power supply via the PS_ON line in the 24-pin cable. The power supply starts up, energy flows through the ATX, EPS and 12V-2x6 cables, and after 0.1–0.5 s the unit reports Power Good.

The CPU voltage regulator brings up the voltage, the processor comes out of reset and runs the firmware; the cooler and fans spin up. Then comes memory training (the modules are highlighted), PCIe enumeration and graphics card setup — a signal appears on the monitor output. Finally the boot loader is read from NVMe, the OS loads and starts the drivers.

Where things stop reveals typical assembly mistakes. Fans spin, no picture, the DRAM LED is lit — the memory is poorly seated or a long first training is in progress. The CPU LED is lit — the EPS cable is not connected. The VGA LED is lit — the graphics card has no power or the monitor is plugged into a different port. No reaction at all — check the switch on the power supply, the front-panel connector or the 24-pin cable.

Where the watts go: the energy balance

Let’s add up consumption in a game: processor 100–150 W, graphics card ≈ 300 W, board, memory, drives and fans ≈ 40 W. Taking into account the efficiency of the CPU voltage regulator (≈ 90%) and the power supply (≈ 92%), about 520–550 W is drawn from the outlet — a current of ≈ 2.3 A at 230 V. At idle the same computer draws 60–100 W.

Almost all of the energy becomes heat. Computation does not “store” energy: every transistor switch recharges tiny capacitances, and the energy is dissipated. A 500 W computer heats a room just like a 500 W heater. A negligible fraction leaves as light from the RGB lighting and sound from the fans.

A processor’s power grows faster than its frequency: dynamic power is proportional to C·V²·f, and a higher frequency also needs a higher voltage. So the last 10–15% of frequency costs tens of percent in power. In the model, the processor at 5.5 GHz and 1.25 V draws ≈ 240 W, and at 4 GHz roughly half that. The “Power and heat” layer shows frequency, voltage, core current and current on the 12 V rail.

How to choose a power supply: the sum of the components’ peak power plus a 20–30% margin. Power supplies are most efficient at 40–60% of their rating, and the margin is also needed for the graphics card’s short spikes. For a system like this an 850 W unit is sensible; a 1,600 W unit bought “to grow into” would spend almost all its time in its low-efficiency zone.

Common misconceptions

“A 1,000 W power supply consumes 1,000 W.” The rating is a limit, not consumption. The unit delivers as much as the components draw, and takes that amount divided by its efficiency from the outlet.

“Liquid cooling is better because the water is cold.” The water in the loop is warmer than the room air — it merely carries heat from the processor to a large radiator, and from there air takes it away anyway. The advantage of an AIO is a large radiator area and moving heat out to a wall of the case; a good tower cooler is often just as good.

“More fans always means cooler.” What matters is how the airflow is organized: fans blowing against each other or circulating the same air around just make noise. Intake at the front and exhaust at the back and top is a simple and effective layout.

“A glass side panel hurts cooling.” The side wall plays almost no part in the airflow — air enters and leaves through the front, top and back wall. What affects temperature is a solid front panel, not the glass.

Open in 3D →

All articles

Overviews

Logic: from transistor to arithmetic

Processor

Computer

Servers and data centers

Networks and the internet

Software