Blog

Why a Perfectly Stable Switch-Mode Power Supply May Still Oscillate Due to Negative Resistance

Why does a stable switch-mode power supply still oscillate?

Question:

Why does a stable switch-mode power supply still oscillate?

img-1.jpeg

Answer:

A perfectly stable switch-mode power supply (SMPS) may still oscillate due to its negative resistance at the input. The SMPS looks like a small signal negative resistance at the input. Together with input inductance and capacitance on the input, it may form an undamped oscillation circuit. This article discusses the analysis and solution of the problem. LTspice is used for the simulations.

Introduction

The function of a switch-mode regulator is to convert the input voltage to a regulated constant output voltage as efficiently as possible. There are some losses to this process and the efficiency is measured as

$$
eta = frac {P _ {O U T}}{P _ {I N}} xrightarrow {} P _ {I N} = frac {P _ {O U T}}{eta} xrightarrow {} V _ {I N} times I _ {I N} = tag {1}
$$
$$
frac {V _ {O U T} times I _ {O U T}}{eta} xrightarrow {} I _ {I N} = frac {V _ {O U T} times I _ {O U T}}{eta} / V _ {I N}
$$

We can assume the regulator keeps the V_OUT constant and the load current I_OUT is considered as a constant and not a function of the V_IN. Figure 1 shows the plot I_IN as a function of V_IN.

img-2.jpeg
Figure 1. An input current as a function of the input voltage.

In Figure 2, we draw the tangent at the operating point 12 V. The slope of the tangent will be equal to the small signal current change as a function of voltage in the operation point.

img-3.jpeg
Figure 2. A tangent at 12 V was added.

The slope of the tangent can be considered as the input resistance R_IN or the input impedance R_IN = Z_IN (f = 0) of the converter. What happens with the input impedance for frequencies f > 0 we leave for a later discussion in this article.

For now we assume its constant also over frequency Z_IN(f) = Z_IN(f = 0). The most interesting observation is: this small signal input resistance is negative as the slope is negative. If the input voltage increases, the current decreases, and vice versa.

As a starting point, we can look at the circuit in Figure 3 where the SMPS, together with its input capacitance and input inductance in the feed, forms a high Q LC circuit damped by a negative resistance. If the negative resistance dominates the circuit, it becomes an oscillator that will oscillate undamped close to the resonance frequency. In practice, nonlinearities in the large signal oscillation will affect the oscillating frequency and its waveform.

The inductor in this circuit may be the inductance of the input filter or the inductance of cables. To make the circuit stable you need positive resistances to dominate over the negative resistance to make the circuit damped. This is problematic because you do not want the series resistance of the inductor to be high. This would increase the heat dissipation and reduce efficiency. Neither do you want the series resistance of the capacitor to be high because the voltage ripple will increase.

img-4.jpeg
Figure 3. A small signal model of the SMPS and its input network.

Analyzing the Problem

When designing your power supply system, here are some questions that may arise:

  • Do I have such a problem in my design?
  • How do I analyze it?
  • How do I solve it if there is a problem?

If we assume that there is only one active element in the input circuitry acting as a negative resistance, we can analyze the impedance that we see by looking directly into the input of the SMPS.

If the real part of the impedance is >0 over frequency, then the circuit is stable, presuming that the SMPS control loop itself is stable. The analysis can be done analytically or by simulation. Simulation can easily be used even if the input circuit has many elements while the analytic design is harder. We will start with the simulation using LTspice. Start with calculating the first-order approximation of the negative resistance by derivation of the formula

$$
I = frac {P}{U} rightarrow frac {d I}{d U} = – frac {P}{U ^ {2}} rightarrow R = frac {d U}{d I} rightarrow tag {2}
$$
$$
R _ {I N} = – frac {U _ {I N} ^ {2}}{P _ {I N}}
$$

If the input power of a converter is 30 W, then at 12 V it will give you the resistance -12^2/30 Ohm = -4.8 Ohm. The input filter consists of an LC filter. Presuming the input is fed by a low ohmic power supply, the equivalent circuit may be simplified and boiled down to an example schematic in Figure 4 with an ideal 0 Ohm supply.

img-5.jpeg
Figure 4. An SMPS and its input network example.

If we add a current source to the simulation, we can calculate the small signal impedance at the input as V(IN)/I(I1). This is easily simulated in LTspice.

img-6.jpeg
Figure 5. Current source stimuli (I1) added to the network.

img-7.jpeg
Figure 6. A simulation result of impedance at injection point.

As we can see in the impedance graph, there is a resonance peak at about 23 kHz. The phase of the impedance goes into the range of 90° < phase < 270° at around the resonance frequency of the LC circuit, which means the real part of the impedance is negative. We can also plot the impedance in Cartesian coordinates and see the real part directly. It is also notable that the real part gets quite large (-3 Ohm) at the resonance due to the high Q.

img-8.jpeg
Figure 7. The same impedance as shown in Figure 6 but in Cartesian coordinates.

A time domain simulation where a disturbance transient at time 1 ms is injected and results in the unstable behavior shown in Figure 8.

img-9.jpeg
Figure 8. A simulation where a transient is injected at time 1 ms.

As mentioned earlier, we do not want to add serial resistance to the reactive parts in the design for obvious reasons. One thing we can do without negatively affecting the design (except for its size) is add a damping capacitor that has the same or larger capacitance magnitude with a series resistance that is appropriate to dominating the impedance at the frequency of interest. For a reasonable damping result, the size of that capacitor should be at least a small factor larger than the already present input capacitance. The series resistance should be significantly lower than the negative resistance of the SMPS, but equal to or larger than the reactance of the added capacitance at the problematic frequency. If a nonceramic bulk capacitor is added, its parasitic ESR may be good enough on its own assuming that there are margins for component variations.

How to Select a Damping Capacitor and Its Series Resistance

Either use trial and error in LTspice or if the circuitry is simple use the following analytic method to retrieve the values.

First, calculate the resonance frequency of the input capacitor and input inductance that can be considered to sit in parallel in between the input of the SMPS and AC ground if the supply on the other end of the inductor can be considered low ohmic in comparison with the input filter.

$$
f = frac {1}{2 times pi times sqrt {L times C}} tag {3}
$$

C = Total Filter Capacitance

L = Total Filter Inductance

At the resonance frequency, the absolute value of the reactance of the capacitor and inductance is equal.

$$
left| X _ {L} right| = left| X _ {C} right| = sqrt{frac{L}{C}} tag {4}
$$

The total parallel impedance at resonance will be defined by the following complex formula:

$$
Z _ {text {Parallel}} = frac {R _ {L} times R _ {C} + J R _ {L} X _ {C} + J R _ {C} times X _ {L} – X _ {L} times X _ {C}}{R _ {L} + R _ {C} + J X _ {L} + J X _ {C}} tag {5}
$$

X_L = Reactance of Inductor

X_C = Reactance of Capacitor

R_L = Series Resistance of the Inductor

R_C = Series Resistance of the Capacitor

As X_L = -X_C and R_L and R_C normally is much smaller than the reactance, the formula can be approximated and simplified.

$$
Z _ {text {Parallel}} = frac {- X _ {L} times X _ {C}}{R _ {L} + R _ {C}} tag {6}
$$

And finally enter the values for X_L = sqrt(L/C) and X_C = -sqrt(L/C).

$$
Z _ {text {Parallel}} = frac {L}{C} times frac {1}{R _ {L} + R _ {C}} tag {7}
$$

This is the equivalent parallel resistance of the input filter at resonance.

If this resistance is lower than the absolute value of the negative resistance of the SMPS, the positive resistance is dominating, and the input filter network will be stable.

If not, or there is little margin, damping must be added.

This can be done by the previously mentioned extra capacitor with series resistance selected for optimal damping. See R1 and C2 in Figure 9.

img-10.jpeg
Figure 9. Damping networks R1 and C2 were added to the input.

The value of the extra capacitors must be of the same magnitude or larger than the filter capacitance. The reactance of the capacitor at the resonance frequency of the input filter must be significantly lower than the absolute value of the negative resistance of the SMPS, which is usually the case if the first condition is met.

The size of the extra capacitor is a compromise. One design objective could be to come close to critical damping of the input filter. This can be done by calculating the parallel resistance that would give critical damping, which happens when the parallel resistance is half the value of the reactance (Q = 1/2). That means the parallel resistance of the input filter in parallel with the negative SMPS resistance in parallel with the (negative) damping resistor R_DAMP in question should be equal to half the reactance of the input filter C and L at resonance:

$$
R _ {D A M P} = frac {1}{2} times frac {1}{frac{1}{sqrt {frac {L}{C}}} – frac {1}{frac{L}{C} times frac{1}{R _ {L} + R _ {C}}} – frac {1}{R _ {I N}}} tag {8}
$$

If the values of L/C x 1/(R_L + R_C) and |R_IN| are much larger than sqrt(L/C), the formula can be simplified to:

$$
R_{DAMP} = frac{1}{2} times sqrt{frac{L}{C}} tag{9}
$$

In relation to the damping resistor, a reasonable size damping capacitor should be selected. X_DAMP = 1/3 x R_DAMP is a suggestion, which means C_DAMP = 6 x C if the above assumption of L/C x 1/(R_L + R_C) and |R_IN| is much larger than sqrt(L/C) is still valid.

The input will not reach critical damping but is close. If more ringing can be tolerated and design margins are robust, a smaller C can be used. In our example

$$
R_{DAMP} = frac{1}{2} times sqrt{frac{4.7 mumathrm{H}}{10 mumathrm{F}}} = 0.69 Omega tag{10}
$$
$$
C = 6 times 10 mumathrm{F} = 60 mumathrm{F}
$$

Use 0.68 Ohm and 68 uF as shown in Figure 10. The time domain response of a disturbance and AC impedance is shown in figures 11 and 12.

img-11.jpeg
Figure 10. A damping network with suggested component values.

img-12.jpeg
Figure 11. A time domain transient response.

img-13.jpeg
Figure 12. Impedance as a function of frequency.

Frequency Behavior of the Negative Resistance

You may assume that a power supply unit (PSU) will stop behaving as a negative resistance beyond the loop bandwidth of the control loop — but that is usually the wrong assumption. If the PSU is in current mode, the instant response on a positive input voltage change will be a duty cycle change maintaining the peak current value the regulator demands. This means the input current will momentarily decrease in case of a voltage increase and vice versa.

As a result, the negative resistance is maintained all the way up to the switching frequency. If the PSU is voltage mode-controlled, there is usually a feedforward function from the input voltage to the duty cycle that will make the converter respond immediately to the input voltage changes to keep the output voltage constant. This also results from the negative resistance being present all the way up to the switching frequency. The conclusion is that reducing the control loop bandwidth does usually not solve the problem. Also, an unregulated bus converter can still look like negative resistance if downstream converters are regulated.

Conclusion

Oscillations in power supplies due to poor input network matching may be mistaken for control loop instability. But if acknowledged as an input network and negative resistance-related oscillation, the behavior can be easily analyzed and optimized in LTspice. LTspice is a free high performance SPICE simulator software, including a graphical schematic capture interface. Schematics can be probed to produce simulation results — easily explored through the LTspice built-in waveform viewer. The LTspice enhancements and models improve the simulation of analog circuits when compared to other SPICE solutions.

About the Authors

Thomas Ginell: Thomas Ginell holds a master’s degree in electronics engineering from KTH Stockholm, Sweden. He graduated in 1992 specializing in industrial electronics and power systems. Thomas spent his career in electronics design in various positions at Swedish industrial companies before joining Linear Technology (now a part of Analog Devices) in 2005.

Additional Resources

This Might Also Interest You

New Partnership: SEMITRON Brings GigaDevice Technologies to the DACH Region

SEMITRON W. Röck GmbH, a leading distributor of high-quality semiconductor and electronics solutions, announces its new distribution partnership with GigaDevice…

What are the Best Applications for IoT in the New World of IC Power Management?

This article explores Internet of Things (IoT) battery technology. It describes some of the problems that designers face with power…

What Are the Basic Guidelines for Layout Design of Mixed-Signal PCBs?

This article will detail what to consider when designing the layout of mixed-signal PCBs. It will cover component placement, board…