A voltage regulator is a device that stabilizes the output voltage. The voltage regulator consists of a voltage regulating circuit, a control circuit, and a servo motor. When the input voltage or load changes, the control circuit samples, compares, and amplifies, and then drives the servo motor to rotate, causing the position of the voltage regulator carbon brush to change. By automatically adjusting the coil turn ratio, the output voltage is maintained stable.