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