PWM Frequency Ramp-Up for Stepper Driver

check out this
and this