Patent ID: 7256623

Claim:
An oscillator and triangle wave generator, comprising: a first input for receiving an input voltage signal; a second input for receiving an input current signal; circuitry for generating a triangle wave form and an output PWM signal having a frequency, the circuitry scaling an amplitude of the triangle wave form responsive to the input voltage signal and further scaling the frequency of the output PWM signal responsive to the input current signal, wherein the circuitry further comprises: an input bias circuit for generating a first current, a second current, a first voltage proportional to the input voltage signal and a second voltage proportional to the input voltage signal; a current multiplier responsive to the first current, the second current and the input current signal for generating fourth current proportional to the input voltage signal; and a comparator circuit responsive to the first voltage proportional to the input voltage signal, the second voltage proportional to the input voltage signal and the fourth current for generating the triangle wave form and the output PWM signal; a first output for the triangle wave form having the scaled amplitude; and a second output for the output PWM signal.