PWM ratio to Freq