A switch-mode power supply is an electronic assembly or device that converts an unstabilized input voltage into at least one constant output voltage, constant output current or constant output power. In contrast to transformer power supplies and series voltage regulators, a switch-mode power supply has a high efficiency.