News for hackers. Stuff that matters.
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.
Re:Teardown of a PC Power Supply by monocasa on Monday May 24, 2021 @04:50PM (#27269543)
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.
Re:Teardown of a PC Power Supply by R0b0t1 on Monday May 24, 2021 @08:49PM (#27271493)
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.