modified to change the on time pulse width as a function of switching frequency fig3 c illustrates an example embodiment of a frequency to current converter that is illustrated in block form in fig3 fig3 d illustrates an example embodiment of a pulse generator that is illustrated in block form in fig3 c in the example of fig3 a a pulse generator 300 has a transconductance amplifier voltage controlled current source 302 providing a current determined by v in the transconductance amplifier 302 linearly charges a capacitor c ramp the ramp voltage on capacitor c ramp is compared to v out by a comparator 304 when the ramp voltage is equal to v out the comparator 304 switches states the signal c reset generated by on time pulse logic 204 fig2 opens a switch to permit the capacitor c ramp to charge at the beginning of each switching cycle and closes the switch to discharge capacitor c ramp when the comparator 304 switches states the on time pulse starts at the beginning of each switching cycle and ends when the comparator 304 switches states in the example of fig3 b the circuit of fig3 a is modified so that instead of a ramp voltage being directly compared to v out a ramp voltage is compared to v onth where v onth is v out modified by the magnitude of the switching frequency a frequency to voltage converter 306 receives a signal pmw from on time pulse logic 204 fig2 which is a pulse generated at the beginning of.