Current stabilization

Parameters :main_switch='on',waveform='1000,0;4000,0;5000,0;8000,0;15000,-1;16000,-1;17000,-1;18000,-1;19000,1;48000,0'