A system for controlling an electric device comprises: a power supply for supplying electric power to an electric device; switch portion connected between the power supply and the electric device for controlling the electric power supplied to the electric device; an LC filter disposed between the switch portion and the electric device; and current detection portion for detecting an electric current supplied to the electric device.