An input impedance control circuit for providing power to at least one LED comprising: a circuit controller comprising: a module for calculating an impedance value based on a sensed voltage and a sensed current; and a control logic module, wherein the control logic module is adapted to provide a current enable signal and a current control output signal and receive the impedance value from the module; the input impedance control circuit further comprising: a driver adapted to provide said power and adapted to receive the current enable signal and the current control output signal, wherein the current enable signal is adapted to enable the driver to switch operation between a constant input power mode or a constant input impedance mode; an input voltage sensing circuit adapted to sense the voltage of a supply voltage to the input impedance control circuit and to provide the sensed voltage to the module and to the control logic module; and an input current sensing circuit adapted to sense the current of said supply voltage and to provide the sensed current to the module; wherein when the constant input impedance mode is enabled, the control logic module is adapted to control, based on the current control output signal, the driver to maintain the calculated impedance value at a constant impedance. a circuit controller comprising: a module for calculating an impedance value based on a sensed voltage and a sensed current; and a control logic module, wherein the control logic module is adapted to provide a current enable signal and a current control output signal and receive the impedance value from the module; the input impedance control circuit further comprising: a driver adapted to provide said power and adapted to receive the current enable signal and the current control output signal, wherein the current enable signal is adapted to enable the driver to switch operation between a constant input power mode or a constant input impedance mode; an input voltage sensing circuit adapted to sense the voltage of a supply voltage to the input impedance control circuit and to provide the sensed voltage to the module and to the control logic module; and an input current sensing circuit adapted to sense the current of said supply voltage and to provide the sensed current to the module; wherein when the constant input impedance mode is enabled, the control logic module is adapted to control, based on the current control output signal, the driver to maintain the calculated impedance value at a constant impedance. a module for calculating an impedance value based on a sensed voltage and a sensed current; and a control logic module, wherein the control logic module is adapted to provide a current enable signal and a current control output signal and receive the impedance value from the module; the input impedance control circuit further comprising: a driver adapted to provide said power and adapted to receive the current enable signal and the current control output signal, wherein the current enable signal is adapted to enable the driver to switch operation between a constant input power mode or a constant input impedance mode; an input voltage sensing circuit adapted to sense the voltage of a supply voltage to the input impedance control circuit and to provide the sensed voltage to the module and to the control logic module; and an input current sensing circuit adapted to sense the current of said supply voltage and to provide the sensed current to the module; wherein when the constant input impedance mode is enabled, the control logic module is adapted to control, based on the current control output signal, the driver to maintain the calculated impedance value at a constant impedance. a driver adapted to provide said power and adapted to receive the current enable signal and the current control output signal, wherein the current enable signal is adapted to enable the driver to switch operation between a constant input power mode or a constant input impedance mode; an input voltage sensing circuit adapted to sense the voltage of a supply voltage to the input impedance control circuit and to provide the sensed voltage to the module and to the control logic module; and an input current sensing circuit adapted to sense the current of said supply voltage and to provide the sensed current to the module; wherein when the constant input impedance mode is enabled, the control logic module is adapted to control, based on the current control output signal, the driver to maintain the calculated impedance value at a constant impedance.