Current switch inverter