In addition, when the detection system for detecting the direction of the output current is subjected to external disturbance such as noise, a serious accident, i.e., a short across the power supply may be caused, and this means that this method is unsatisfactory in terms of the reliability.