A circuit arrangement connected to an electrical circuit including a transformer with primary winding connected to the electric power grid and secondary winding connected to a power converter with a capacitor, the circuit arrangement has a primary winding coupled to the auxiliary winding, which is connected to a switching device.