pwm average voltage formula