phase failure detection and overload protection