design and construction of a microcontroller based automatic phase failure controller for 3-phase power supply pdf