SNVA067D April   2013  – August 2022 LM3478 , LM3481 , LM3488

 

  1.   AN-1286 Compensation for the LM3478 Boost Controller
  2.   Trademarks
  3. 1Overview
  4. 2Error Amplifier
  5. 3Total Loop Gain
  6. 4Stability
  7. 5Putting It Together
  8. 6Revision History

Overview

The first question that is often asked is: Why is compensation necessary? Any DC-DC converter that regulates the output voltage utilizes negative feedback to ensure accuracy across line and load changes. An incorrect compensation scheme could lead to a phase reversal of the loop causing positive feedback and an erratic uncontrolled output. A minor problem that is typically encountered is an over or under-damped response of the output when a load transient is experienced. This is a sign that the loop stability could be optimized.

Before compensation components can be selected and the response measured, the first step to undertake is to understand the operation of the controller and feedback loops. It is assumed that you are already familiar with the basic operation of the switcher covered in LM3478 High-Efficiency Low-Side N-Channel Controller for Switching Regulator. Examining the block diagram of the LM3478 boost regulator in Figure 1-1, it can be clearly seen that two feedback loops exist. This is a unique feature that is indicative of a current mode control switching regulator.

The first loop is the output voltage loop created by VOUT passing through the resistor divider into an error amplifier. The output of the error amplifier is referred to as the control voltage, VC, which is one of the two inputs to the PWM comparator.

The other input to the comparator is the second feedback loop. With current mode control architecture the switch current is sensed and is used to determine, in conjunction with the control voltage, when the FET should be turned off. To achieve this the switch current is measured across the external sense resistor before being summed with an internal ramp. The slope compensation ramp is present to prevent a large signal stability issue that is inherent in current mode control. While this ramp voltage is included in our small signal models, its requirement and adjustment will not be discussed here. For more information about the slope compensation, please consult the LM3478 data sheet.

Figure 1-1 shows the overall block diagram of the LM3478 with its application circuit. The next step is to derive the small signal equation for the entire loop. To simplify the analysis the loop can be effectively divided into three separate parts. The first transfer function that will be examined is the control voltage, VC, to the output voltage, VOUT. This takes into account the effects of the current loop, switch, and the output filter stage such as the inductor and output capacitor.

GUID-449D6078-7DE1-495A-A629-C8FEBEA6208B-low.gif Figure 1-1 Overview of LM3478 Current Mode Control Boost Regulator

The equation can be written as:

Equation 1. GUID-190D681F-D3E4-4447-AECA-C659357CCBC3-low.gif

At first inspection the equation consists of two zeros, one of which is in the right half plane, a single pole and a complex pole pair. The DC gain of the system is written ACM and can be calculated by the equation:

Equation 2. GUID-AFFBA0CD-1851-46D5-B120-E2196493D7D3-low.gif

where

Equation 3. GUID-F710965E-A837-46FF-AA3B-7745DC2A1B32-low.gif

and

Equation 4. GUID-86DEA21B-8A29-4F0A-A5FA-D311101443B2-low.gif

and

Equation 5. GUID-937549D4-D68B-4A56-A156-7C89676295C8-low.gif

and

Equation 6. GUID-FB0F3F97-A81F-4054-A392-6316DAF0F672-low.gif

This is a rather long formula that incorporates the slope compensation and the inductor into the equation. It has been provided for completeness, however in this analysis the equation has been reduced to a simpler and more manageable form. You will find this simplification works extremely well and no real noticeable difference will be seen in the analysis. Therefore for all LM3478 compensation calculations this equation should be used:

Equation 7. GUID-EEC6B775-F00C-4BE0-8881-68A5D4C35771-low.gif

The next step is to calculate the two zeros that were found in the control to output equation. The first zero is created by the output capacitor and its associated equivalent series resistance:

Equation 8. GUID-5BEA6670-D813-42BA-99E0-D7604B077457-low.gif

The second zero is actually a right half plane zero. When examining its response on a bode plot it has the effect of increasing the gain by 20dB/decade like a left hand plane zero, but causing a 90 degree drop in phase like a pole. Its occurrence can be related to the application circuit by thinking of the response of the output voltage. If the output voltage starts dropping the switch will turn on to increase the current through the inductor. This causes the output voltage to drop even lower since the output current is provided solely by the output capacitor during this time. It is this effect that can be thought of as the source of the right half plane zero, which explains why it does not occur in a buck converter.

Equation 9. GUID-066750F3-A011-49E9-8230-FD9ACB579929-low.gif

Looking at the denominator of the equation the poles can be calculated. The first pole is from the output capacitor and the load resistance and can be expressed as:

Equation 10. ω p 1 = 2 C O U T R L O A D

The complex pole pair occurs at half the switching frequency and will be simply attributed to sampling theory for the sake of length in this application note. A Q factor also appears that can be calculated based on the inductor current slopes and duty-cycle:

ωs = 2 x π x fs

Equation 11. GUID-7FE28462-0CFA-478E-8A1F-7E71F98E7550-low.gif