design and construction of an automatic phase selector for 3-phase power supply pdf