Patent attributes
A constant-current controller with square wave input current shaping for driving a series of light emitting diodes (LEDs) is provided. The controller may include a sample and hold circuit that samples a current sense voltage, a first multiplier circuit that multiplies an output of the sample and hold circuit, an error detector circuit that compares an output of the multiplier circuit with a reference voltage, an error amplifier that amplifies an output of the error detector circuit, a second multiplier circuit that multiplies an output of the error amplifier by a coefficient, and an output circuit that outputs a pulse-width modulated control signal based on an output of the second multiplier circuit. The coefficient may vary depending on whether the constant-current LED driver controller is used with a boost converter or a buck-boost converter.