Patent ID: 7834561

Claim:
An electronic circuit for providing a power current to an LED lamp, the electronic circuit comprising: a logic drive circuit; a voltage controlled oscillator coupled to receive a first reference voltage and coupled to provide a first logic control signal to the logic drive circuit, wherein said first logic control signal includes an activation component; a power switch having a first terminal and second terminal coupled to deliver the power current to the LED lamp and a control terminal coupled to receive a power control signal from the logic drive circuit, wherein said power control signal includes a first component and a second component; and a first current sensor coupled to sense a peak current passing through the power switch and coupled to provide a second logic control signal to the logic drive circuit, wherein the second logic control signal includes a deactivation component when the peak current reaches a first value, wherein the logic drive circuit provides the first component of the power control signal to said power switch, and in accordance therewith, closes said power switch, said first component provided in response to the voltage control oscillator providing the activation component to the logic drive circuit, wherein the logic drive circuit provides the second component of the power control signal to said power switch, and in accordance therewith, opens said power switch, said second component provided in response to the first current sensor providing the deactivation component to the logic drive circuit, and wherein the first reference voltage controls a frequency of the first logic control signal provided by the voltage controlled oscillator.