What controls power inside a chip?
A tiny computer inside the chip watches temperature, power and work, and keeps choosing the best speed and voltage.
1. A tiny computer inside the chip
Inside the chip sits a tiny computer, the power manager, that runs its own program: the power firmware. It works like a supervisor who follows fixed rules.
2. Read, compare, adjust
Many times a second, it reads sensors for temperature, current and power. It compares them with limits, then sets each block's clock and voltage.
3. Requests arrive in a mailbox
The operating system (OS) and drivers send it requests, such as “more speed” or “sleep now”. They leave each one in a mailbox, like notes for the supervisor.
4. Switches for features
The firmware has an on/off switch, called a flag, for most power features: ways to save power or add speed. BIOS options often set the flags; testers turn one off and compare to see how much it helps.
5. A log of every step
As it works, the firmware writes a progress code for each step, like a supervisor's log. If the system freezes, testers read the last code to see where it stopped.
Words to know
- Power firmware
- The program that the power manager runs.
- Sensor
- A circuit that measures something, such as temperature or current.
- Limit
- The highest temperature, current or power the chip is allowed to reach.
- Mailbox
- Message slots where the OS and drivers leave requests for the firmware.
- Power feature
- A way to save power or add speed, such as pausing an idle part.
- Flag
- An on/off switch in the firmware for one feature.
- Progress code
- A number the firmware writes at each step, read when the system freezes.
Where you meet it at work
Most power features are choices this firmware makes. So testers work with it every day: they flip its flags, send it requests and read its codes.
Check yourself
What does the power manager do many times a second?Think first, then tap to see the answer.
It reads its sensors, compares them with limits, and sets clocks and voltages.