Uninterruptible power supplies (UPS) provide backup power on loss of main power to a system. The UPS is sometimes called a switching power supply and differs from a backup system, such as a diesel, in that it provides instantaneous switchover on loss of power. The principles of operation are the same whether backing up a desktop computer or a large power system.