Full Member level 5
i am planning to drive proportional valve using pwm by atmega. i will functions of ramp up and down in c code . dither frequency is needed to avoid stiction of the valve and to smooth the pwm signal . this dither frequency is ranging from 70–350 Hz and amplitude 0–10% of maximum current . the question here is how to do the dither in software programming?