Patent ID: 8742684

Claim:
A light emitting diode (LED) lighting system comprising: a switching power supply for converting a phase modulated signal generated from a dimmer into an output voltage, wherein the dimmer is a phase cut dimmer and operates at a repetitive phase cut rate and generates phase delays in a rectified input voltage wherein the rectified input voltage is rectified from an alternating current input voltage; an LED controller coupled to the switching power supply; and light emitting diodes (LEDs) coupled to the LED controller; and wherein the LED controller controls a current based on the output voltage of the switching power supply and includes components to: calculate, based on the current and an active time period of an LED current time period, an actual charge amount delivered to the LEDs, wherein the active time period is based on the repetitive phase cut rate; and utilize the actual charge to modify and provide a desired target charge amount to be delivered during a future active time period of the LED current time period, wherein the future active time period is based on the repetitive phase cut rate.