### Abstract

This application note details a step-by-step design process for the MAX16833 high-voltage high-brightness LED driver. This process can speed up prototyping and increase the chance for first-pass success. A typical design scenario is presented, along with example calculations based on the design constraints. Component selection trade-offs are discussed. A spreadsheet calculator is included to help calculate external component values. This application note focuses on the boost converter topology. However, the same process can be applied to other topologies as long as the underlying equations are understood. For a buck-boost converter design example, see application note 5659, “Step-by-Step Design Process for the MAX16833 High-Voltage High-Brightness LED Driver, Part 2.”

### Introduction

This application note is the first in a series that details a step-by-step design process for the MAX16833 high-voltage high-brightness LED driver to speed up prototyping and increase the chance for first-pass success. The MAX16833 is a peak current-mode-controlled LED driver, capable of driving an LED string in several different architectures: boost, buck-boost, SEPIC, flyback, and high-side buck topologies. The second application note in the series, application note 5659, “Step-by-Step Design Process for the MAX16833 High-Voltage High-Brightness LED Driver, Part 2,” focuses on the buck-boost converter topology. This application note, Part 1, focuses on the boost topology.

The MAX16833 offers several features: a dimming driver designed to drive an external p-channel MOSFET, extremely fast PWM current switching to the LEDs without transient overvoltage or undervoltage, analog dimming, programmable switching frequency between 100kHz and 1MHz, and the option of either a ramp output for frequency dithering or a voltage reference for precisely setting the LED current with few external components.

For the design example here in Part 1, a 7 LED string is driven with a constant current of 1A. Assume that each LED has a typical forward voltage drop of 3V and a dynamic resistance of 0.2Ω. Also assume that the LED driver circuit is running directly off of the car battery, which has a typical voltage of 12V but can vary from 6V to 16V. Since the LED string voltage is always greater than the input voltage, the boost configuration is chosen.

### Inductor Selection (Boost)

In order to select the right inductor value, the maximum duty cycle must be calculated:

Where V_{LED} is the forward voltage of the LED string in volts, V_{D} is the forward drop of the rectifying diode (approximately 0.6V), V_{INMIN} is the minimum input-supply voltage in volts, and V_{FET} is the average drain-to-source voltage of the switching MOSFET in volts when it is on (assume 0.2V initially).

The maximum duty cycle and LED current determine the average inductor current.

The peak inductor current is defined as follows:

Where ΔI_{L} is the peak-to-peak inductor current ripple in amperes.

Finally, the minimum inductor value can be calculated:

Below is a numerical example based on the design problem outlined in the Introduction. Choose an inductor current ripple of 50%. Lower ripple current would require a larger (and typically more expensive) inductor. Higher ripple current requires more slope compensation and increased input capacitance.

Once the minimum inductor value has been determined, a real inductor value must be chosen that is as close to L_{MIN} as possible without going under. Recalculate the peak inductor current and ripple using the chosen inductor value. These numbers are necessary for additional calculations going forward.

Ensure that the chosen inductor has a current rating higher than IL_{P}. Typically, 20% headroom is used for inductor peak current.

### Input Capacitor Selection

In a boost converter, the input current is continuous so the RMS ripple current is low. Both bulk capacitance and ESR contribute to the input ripple. Assume equal ripple contributions from bulk capacitance and ESR if aluminum electrolytic and ceramic capacitors are both used in parallel. If only ceramic capacitors are used, most of the input ripple comes from the bulk capacitance (since ceramic capacitors have very low ESR). Use the equations below to calculate the minimum input bulk capacitance and maximum ESR:

Where ΔV_{Q_IN} is the portion of input ripple due to the capacitor discharge.

Where ΔV_{ESR_IN} is the input ripple due to ESR.

Assume that a maximum of 120mV of input ripple can be tolerated (2% of V_{INMIN}). Also, assume that 95% of this input ripple comes from the bulk capacitance. This assumption may need to be revisited if the calculated values are not easily attained with actual components. Based on the stated design specifications, the input capacitor is calculated as follows:

Use two 4.7µF capacitors in parallel to achieve the 8.5µF minimum bulk capacitance. Ensure that the chosen capacitors meet the minimum bulk capacitance requirement *at the operating voltage* (capacitance can decrease substantially with a change in voltage in ceramic capacitors).

### Output Capacitor Selection

The purpose of the output capacitor is to reduce the output ripple and source current to the LEDs when the switching MOSFET is on. Both bulk capacitance and ESR contribute to the total output voltage ripple. If ceramic capacitors are used, a majority of the ripple comes from the bulk capacitance. Use Equation 16 to calculate the required bulk capacitance:

Where ΔV_{Q_OUT} is the portion of output ripple due to the capacitor discharge.

The remaining ripple, ΔV_{ESR_OUT}, comes from the output capacitor ESR, which can be calculated as follows:

To determine the total allowed output ripple, multiply the allowed LED current ripple by the dynamic impedance of the LED string. The dynamic impedance of an LED is defined as ΔV/ΔI at the operating LED current and can be determined from the I-V curve in the LED data sheet. If an I-V curve is not provided in the LED data sheet, then it must be measured manually.

Use multiple ceramic capacitors in parallel to reduce the effective ESR and ESL of the bulk output capacitance.

During PWM dimming, the ceramic output capacitors might cause some audible noise. To reduce this noise, use an electrolytic or tantalum capacitor in conjunction with the ceramic capacitors to provide most of the bulk capacitance necessary. A low acoustic noise ceramic capacitor can also be used.^{1}

Assume a maximum LED current ripple of 0.1 × I_{LED}. Also, assume that the dynamic impedance of the chosen LED is 0.2Ω (1.4Ω total for the 7 LED string). The total output voltage ripple is then calculated as follows:

V_{OUTRIPPLE} = 0.1A × 1.4Ω = 140mV

Assuming a ripple contribution of 95% from bulk capacitance, the output capacitor is calculated as follows:

Use four 4.7µF capacitors in parallel to achieve the minimum output capacitance of 18.3µF. Ensure that the chosen capacitors meet the minimum bulk capacitance requirement *at the operating voltage* (capacitance can decrease substantially with a change in voltage in ceramic capacitors).

### Overvoltage Protection

If the LEDs are open, the converter tries to increase the output voltage to achieve the desired LED current. This means that the output voltage could approach unsafe levels. The OVP input is provided to sense an overvoltage condition and limit the output voltage. In the event that V_{OVP} exceeds 1.23V, NDRV is forced low until V_{OVP} discharges to 1.16V.

For this design example, assume that a V_{OV} of 42V is acceptable. Choose R_{OVP2} to be 10kΩ, then

### Current Sensing

The MAX16833 is a current-mode-controlled LED driver, which means that information about the inductor current and LED current is fed back into the loop.

#### LED Current Sensing

The LED current is programmed by either a series high-side current-sense resistor or the voltage applied to the ICTRL input.

If V_{ICTRL} > 1.23V, the internal reference regulates the voltage across R_{CS_LED} (V_{ISENSE+} - V_{ISENSE-}) to 200mV. Therefore, the current-sense resistor R_{CS_LED} sets the LED current.

If V_{ICTRL} < 1.23V, then the LED current is determined by R_{CS_LED} and V_{ICTRL}. This allows the LEDs to be dimmed with an analog voltage.

Notice that when V_{ICTRL} = 1.23V, both equations are the same.

R_{CS_LED} is also used to detect a short circuit across the LED string. If the voltage across ISENSE+ and ISENSE- exceeds 300mV for ≥ 1µs, then the short-circuit protection within the IC activates.

#### Switching FET Current Sensing and Slope Compensation

At duty cycles greater than 50%, a load transient can cause subharmonic oscillation and loop instability without slope compensation. To keep the loop stable, add a resistor (R_{SC} from CS to the source of the switching MOSFET). Internal to the MAX16833, there is a current source that feeds current through R_{SC} to create a voltage V_{SC}. This voltage is added to the voltage across R_{CS_FET} and the result is compared to a reference.

V_{CS} = V_{SC} + V_{CS_FET}

The minimum amount of slope-compensation voltage needed to maintain stability is:

V_{SCMIN} = 0.5 × (inductor current downslope - inductor current upslope) × R_{CS_FET}

The FET current-sense resistor, R_{CS_FET}, has both the switching MOSFET current and the slope compensation current flowing through it.

The slope-compensation voltage is defined as follows:

In order to calculate the minimum necessary slope-compensation voltage, assume the minimum supply voltage and minimum inductor value:

Therefore:

The factor of 1.5 is included to provide adequate margin.

Once R_{CS_FET} has been determined, R_{SC} can be calculated as follows:

Based on the stated design specifications, the slope compensation and current-sense resistors are calculated as follows:

The closest standard resistor value without going under is 68mΩ.

### Error Amplifier Compensation

In the boost configuration, the switching converter has a right-half-plane (RHP) zero that causes the loop to be unstable. The goal of loop compensation is to ensure that there is less than 180° of phase shift for loop gains > 0dB (and adequate phase margin). By adding a left-half-plane (LHP) pole, the loop gain can be rolled off to 0dB at approximately 1/5 f_{ZRHP} and the instability caused by the RHP zero can be avoided. The error amplifier must be compensated to ensure loop stability over all expected variations in operating conditions. The worst case RHP zero frequency is calculated as follows:

There is also a pole at the output of the switching converter. The output pole, f_{P2}, can be calculated as follows:

Where C_{OUT} is the bulk output capacitance calculated above and R_{OUT} is the effective output impedance.

Where R_{LED} is the dynamic impedance of the LED string at the operating current in ohms.

The loop is compensated by adding a series resistor and capacitor (R_{COMP} and C_{COMP}) from COMP to SGND. R_{COMP} sets the crossover frequency and C_{COMP} sets the integrator zero frequency. For optimum performance, use the following equations:

Following the design example:

### PWM Dimming

Although analog dimming can be controlled by sweeping the voltage on ICTRL between 0V and 1.23V, sometimes it is desirable to dim the LEDs without changing the LED current. The MAX16833 allows for PWM dimming with a PWMDIM input and a %-overbar_pre%DIMOUT%-overbar_post% output.

The MAX16833 is designed to drive a high-side p-channel MOSFET. By dimming with a high-side p-channel MOSFET instead of a low-side n-channel MOSFET, one less connection is needed from the MAX16833 board to the LEDs. Figure 3 shows a generic MAX16833 solution needing only three connections to create a boost or buck-boost LED driver.

The MAX16833 is designed for front light assemblies and therefore is only suited for applications where less than 500:1 dimming is required.

To maximize the possible dimming ratio, several things can be done:

- Use a slow dimming frequency. The human eye is typically incapable of distinguishing dimming ratios greater than 100Hz.
- Increase the switching frequency. This has the added benefit of reducing the necessary size of the power components. However, this decreases efficiency.
- Decrease the inductor value. This increases the inductor ripple current, which increases radiated emissions and decreases efficiency.

**Note:** At very slow dimming frequencies (e.g., 1Hz turn signal), careful consideration must be made to prevent the output of the boost converter from discharging to within 1.5V of the battery. This is because a short across the LEDs is detected by sensing the voltage difference between V_{ISENSE+} and V_{IN}. If V_{ISENSE+} falls to within 1.5V of the battery voltage, then the %-overbar_pre%FLT%-overbar_post% output asserts low, erroneously indicating that a fault has occurred. The ISENSE+ input has a typical bias current of 200µA, which can discharge C_{OUT} during the off phase of the PWMDIM signal. The OVP resistor-divider is also a leakage path that can discharge the output capacitor (see Figure 4).

### EMI Considerations

#### Frequency Dithering

The MAX16833/MAX16833C feature an LFRAMP output that simplifies frequency dithering of the internal oscillator (spread spectrum). Consider using this feature when the design has stringent EMI requirements. LFRAMP outputs a triangle wave between 1V and 2V with a frequency set by a single bypass capacitor.

f_{LFRAMP} should be slower than f_{SW} by at least a factor of 10.

Assuming a dithering frequency of 500Hz, C_{LFRAMP} can be calculated as follows:

To dither the frequency of the internal oscillator, connect a resistor between LFRAMP and RT/SYNC.

The variation in oscillator frequency is determined by R_{DITH}.

Figure 7 demonstrates the effect of frequency dithering on the internal oscillator.

Choose R_{RT} and R_{DITH} such that the internal oscillator operates between 100kHz and 1MHz.

Assume that a Δf_{SW} of 12.5% is desired.

#### Proper Layout

Along with dithering, proper layout is important for good EMI performance. The key to minimizing EMI due to layout is to identify the discontinuous current paths.

Figure 10 shows current versus time for some of the external components. The high di/dt occurrences are circled in orange.

In order to improve EMI, keep the components highlighted in red as close to each other as possible. Keep the traces between these components as short as possible to reduce parasitic inductance along the high di/dt paths.

#### Other EMI Design Considerations

If additional EMI improvements are needed after frequency dithering and layout optimization, a few other design techniques can be used. EMI can be reduced by slowing down the rise and fall times of the LX node. The two most common ways of doing this are to add a small gate resistor to N1 or a small ferrite bead to the drain of N1. Either of these additions somewhat improves the EMI but at the cost of reducing efficiency.

### Conclusion

The complete boost LED driver schematic is shown in Figure 12. By following the step-by-step design process outlined in this application note, significant time can be saved during the debug and test phase of the project.

For additional details, refer to the MAX16833 data sheet and the MAX16833EVKIT data sheet.

For information on the design process focused on the buck-boost converter topology of the MAX16833, see application note 5659, “Step-by-Step Design Process for the MAX16833 High-Voltage High-Brightness LED Driver, Part 2.”