design and implementation of a 200a automatic changeover switch with phase selector and power failure alarm