Current stabilization

Parameters :main_switch='on',waveform='500,0;1000,10;8000,0;10000,-10;20000,-2;30000,0;50000,0'