Buck LED Driver

The Buck converter and linear driver are used to driving the LED string. Figure 1 shows the diagram of the BUCK LED driver.

Figure 1. BUCK LED Driver Block Diagram

In the Buck converter, the MCU ATxmega32E5 generates a fixed 1 MHz PWM to drive the Q1 MOSFET, to output the proper voltage for the LED string. When the MCU detects more than 1V at the drain (D) of Q2, it immediately turns off the PWM signal and then turns off the Q1 MOSFET. Therefore, the voltage over the capacitor (C) will decrease until the voltage at the drain of Q2 is less than 1V. This is achieved by using the Event System connected to the Fault extension module in the ATxmega32E5.

In the Buck Converter circuit, the response speed of the Q1 MOSFET should be as fast as possible, and the delay time should be as short as possible between the PWM output of the MCU and the driver of the Q1 MOSFET.

The linear LED driver is used to drive the LED string. The ATxmega32E5 generates a fixed 1 kHz PWM signal to drive the external N-Ch MOSFET. The LED string can be dimmed by changing the PWM duty cycle. The Q3 transistor and Rs sample resistor compose the constant-current circuit for the LED. Figure 2 shows the current waveform of the LED.
Figure 2. Current Waveform of the LED
Table 1. Buck Circuit PWM Connection
Pin on AVR® ATxmega32E5 Buck Circuit PWM
PC5 PWM1_V
Table 2. Linear Driver of the LED Connection
Pin on AVR® ATxmega32E5 Linear Driver of the LED
PC6 PWM2_L
PA0 ILED_AC_IN+