Current stabilization

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