A voltage regulator is a device that maintains a relatively constant output voltage even though its input voltage may be highly variable. There are a variety of specific types of voltage regulators based on the particular method they use to control the voltage in a circuit. In general, a voltage regulator functions by comparing its output voltage to a fixed reference and minimizing this difference with a negative feedback loop.