inductor switch protection diode