Re:Teardown of a PC Power Supply
by R0b0t1 on Sunday May 23, 2021 @09:30PM
(#27260291)
The data isn't necessarily collected. Many existing supplies use hardware counters or PWM modules to control the power output at a level very close to hardware.
[ Parent
| on HN ]
In both of those cases there's a feedback loop setting the PWM dynamically. Even the error term of the PID or what have you would be super helpful.
There is no PID loop in the sense you mean. It's a hardware counter module that feeds a flip flop. There might be a free running ADC that is used to compare match against the counter module, or sometimes it's just a binary input like the AC signal zero crossing.
You don't need a CPU core to do this, and the older, cheaper parts do not necessarily have a CPU in them. There are even (iirc, very uncommon) designs with no digital logic save the switching.