Even though there is a power supply unit in a computer case, why are there separated power circuits for CPU, GPU, and RAM on the motherboard?
I mean, why can not the CPU, RAM and GPU just take their energy from the power supply unit?
Even though there is a power supply unit in a computer case, why are there separated power circuits for CPU, GPU, and RAM on the motherboard?
I mean, why can not the CPU, RAM and GPU just take their energy from the power supply unit?
Because these chips require a lot of power, and that means a lot of current. A high-end CPU can pull over a hundred amps when running at full load! Having hundred-amp currents running all over your PCB isn't recommended if you can ever avoid it.
But fortunately, the CPU runs at a core voltage of only about 1 V. If you transfer the power across the board at a higher voltage, commonly 12 V, then step it down with a buck converter right where it's needed, you can cut the current requirements by a factor of 10 or more (ideally 12, in this example, but the converter isn't ideal)! It's the same reason mains power is transmitted at very high voltages and stepped down with transformers outside buildings; high transmission voltage means low transmission current means lower losses.
The use of local power regulation also makes it possible to adjust the voltage provided to the CPU--increasing the voltage slightly can allow for faster operation when needed, while decreasing it when idle can lower power consumption. Modern computers do all this automatically--the laptop I'm typing this on now currently has a CPU voltage that's going between about 0.6 V and 1.1 V* (in sync with a clock speed going between 900 and 4200 MHz) as more or less power is needed.
This goes for GPUs as well, which also consume a lot of power--often more than CPUs. RAM doesn't need as much power, but it does need to have its voltage stepped down from the system voltage, so it gets a converter too.
*As reported by the diagnostic tool CPU-Z.
What you're describing isn't really possible without silly amounts of decoupling.
A modern CPU might be drawing 100A, with 20A step changes in load, all at 1v DC, and wanting +-20mV. This is a nightmare to deal with at the best of times.
Ignoring what's happening inside the CPU itself (even though that's half the fun :-) ), let's look at what's going on outside.
You usually have a bunch of capacitors right around the CPU in the 1V domain. Their job is to buffer load changes just long enough for the local regulators to adapt. However, because these capacitors are so low-voltage, they cannot store much energy - energy stored in a capacitor is ½CV², and voltage is small, so we're on the wrong end of a quadratic. In addition, the CPU is relatively sensitive to voltage sags, so we can't draw down the capacitors all that much either. So a lot of capacitors here still only provide a modest amount of energy storage.
Then you get to a layer of local regulators, tuned to respond quickly. They do provide a certain amount of energy storage themselves, but they largely just pass through load changes to the next layer ASAP.
Then the board has a bunch of 12V power supply filtering. Each capacitor here is 144x as effective as a capacitor in the 1V domain! (More, because we can simply design our regulators to cope with a larger input droop, and be able to pull the power rail lower.) And yet you still require a fair amount to cover until the power supply can respond.
So, all told:
Now let's assume that instead I just tried to directly run a 1.0V rail from the PSU to the CPU. How much decoupling do I need? Well, I need enough to cover the entire time from the CPU step change to the power supply being able to respond. ...all at 1.0V... ...and all with only being able to draw 20mV from the capacitors.
So, to a first approximation, take all of the 12V filtering on the motherboard, and multiply it by 144x, and a little more because it needs to be better-regulated too. And try to squeeze that onto your motherboard, without going too far from the CPU. And try to make it cost-competitive with the current design. Have fun!
Oh, and GPUs are worse.
The short answer is that the 24 pin ATX power supply connector pins are not rated to supply enough power to today's high-end CPUs.
Since they probably want to keep things backwards compatible with other ATX boards they can't just go changing the 24-pin connector. Therefore, the solution is to add extra connectors. The extra 8-pin CPU power connectors have three 12V pins on them, which gives an extra 24A per connector. You will often see that high end CPUs will have several of those 8-pin connectors.
An ATX 24-pin connector is the Molex 39-28-1243 equivalent. It has three 12V contacts, and those contacts are only rated to 8A each (see connector specification page 8). So, the main connector can only supply 24A max @ 12V = 288W.
As Hearth pointed out, the CPU and GPU consume a lot of power (potentially hundreds of amps at low voltage).
A high-end processor like an Intel i9-13900K consumes up to 253W intermittently. Given that the DC-DC converters that convert 12V to the CPU core voltage have efficiency loss, having a 288W source is marginal at best. Plus there might be other devices that want 12V also. For both those reasons extra 12V connector pins are needed.
As for the other part of your question,
I mean, why can not the CPU, RAM and GPU just take their energy from the power supply unit?
The CPU, RAM and GPU all are powered from the power supply. In a normal desktop computer, if you look at the cables, they should all be plugging into the ATX power supply at one end.
To add to the existing answer, CPUs and GPUs will scale their frequency with load, and increasing frequency will require additional supply voltage to remain stable. Since the CPU and GPU loads are not well coupled, these frequencies, voltages and the supplies that provide the voltage must be independent.
As to why there is a frequency-voltage dependency:
f^3
instead of just linearly with frequency. (Also with number of transistors switching every cycle, and that depends on the workload. Running integer code with lots of stall, and/or only one core active, a CPU can spend more of its power/thermal budget in one place, running fewer gates at higher frequency and power.) DVFS (Dynamic Voltage and Frequency Scaling) not just DFS. Also lighterra.com/papers/modernmicroprocessors en.wikipedia.org/wiki/Dynamic_voltage_scaling
\$\endgroup\$
Commented
Dec 4, 2022 at 16:44
I will add another scenario: when the computer is in low power standby or sleep mode.
Energy legislation requires that computers be able to enter low-power sleep modes (Energy Star, EPEAT, EU ecodesign). Laptop users desire the ability to quickly put their computer to sleep and resume, while not consuming undue amounts of battery power.
This requires that most devices be powered down, while specific devices remain on. Generally, the CPU is shut down, while RAM goes into a low-power mode to preserve memory contents. Further, USB and network cards remain in a low-power mode to wake up the computer.
There can be even further power reductions. Modern PCs use a soft-off state, where a real-time clock alarm or network card can start the computer, but RAM is turned off. Another scenario is switchable graphics, where a laptop disables its GPU on battery power.
These combinations of low-power states requires segregation of power buses. In desktop power supplies, a separate standby supply is optimized for low current operation, and doesn't require the PSU fan to operate.
Could add to existing answers, feed motherboard with 12V is very outdated solution, being used, because it's hard to change industry legacy.
In FAANG companies made r&d's on save power in their clouds, and they came to use 35V from power supply to motherboard, and claiming up to few tens percents better energy efficiency, than on currently wide used "classic" scheme (this is easy - 3 times more voltage, mean three times less current for same power, and copper is expensive now). Sure, these are custom designed motherboards, you should not try to feed off the shelf mb with non-standard voltage.
And 35V is very moderate enhancement. - In air-space widely used 127V 400Hz AC to power electronics, so savings are even more significant.
Electric vehicles, already made much more - for them typical to use 500-1500V for most consuming devices , but for so high voltages need much stronger isolation and significant precautions at production and service (mediasystem/etc, usually fed by separate network, 12V/24V/48V, and some gas auto producers like Jeep, offer generator addon option, instead of usual ~1.8KW generator, install about 3KW).