The device for machining by electroerosion comprises an electrode-tool (EO) and
an electrode-workpiece (EP) constituting the opposite poles of a working gap (GA)
and an electrical circuit with a double voltage source (UD) connected to a supply
network (A) arranged so as to produce erosive discharges between the electrode-tool
(EO) and the electrode-workpiece (EP). This double voltage source (UD) comprises
a first (U1) and a second (U2) voltage source connected galvanically
to each other by their poles. This double source (UD) is connected to the working
gap by at least four separate branches (B1 to B4) of which at least
one comprises a self-induction element (LL, LL). Switching elements (SW1,
SW2) permit producing by selective connection of the branches at least two
increasing current slopes and at least two decreasing current slopes.