design and construction of an uninterruptible power supply