<p>A power supply is a device that delivers electrical power to devices or assemblies which require different voltages and currents as provided by the mains power supply grid. Output voltage and the maximum output current can be fixed or variable. Usually a power supply is fitted with a transformer which converts the AC input voltage to the required output value. If the output voltage has to be DC voltage, the power supply also contains a rectifier.</p>