Having to deal with DSP texts written by engineers, I have sometimes to work a bit to get a good grasp the concepts, which many times are not explained clearly from their mathematical bases. Often, a formula is just used without much motivation. Lately, I've been trying to understand critically damped systems, in the context of PLL loop filters.

The issue is as follows. In a second order filter there is a damping parameter . The impulse response of the filter is an exponentially decaying sinusoid if (underdamped system), a decaying exponential if (overdamped system) and something of the form if (critically damped system). Critical damping is desirable in many cases because it maximizes the exponential decay rate of the impulse response. However, many engineering texts just go and choose without any justification and even call this critical damping. Here I give some motivation starting with the basics and explain what is special about and why one may want to choose this value in applications.

We start with a linear second order ODE of the form

This system is known as the damped harmonic oscillator and appears in many physical situations. In particular, it models an RLC circuit, which justifies its appearance in analogue loop filters (and also in their digital counterparts, which work in discrete time).

The Laplace transform of is defined as

provided that this integral converges (usually we restrict ourselves to bounded functions and ). The Laplace transform of is defined similarly.

Taking Laplace transforms in (1) and assuming that , we obtain

Thus, the transfer function of the system given by (1) is

In the applications we are interested in, and are positive and is non-negative. By a suitable change of scale we can assume that . We write , so that

The transfer function is the Laplace transform of the impulse response of the system, since if is a Dirac delta at , then , so that .

The denominator of is a second order polynomial. Therefore, the poles of are either real or complex conjugates depending on whether the discriminant is positive or negative. We see that for (overdamped system), the poles are real. This means that the impulse response is a linear combination of and , because the Laplace transform of is . Here denotes the step function. The exponential decay rate of the system is . Note that .

When (underdamped system), the poles are complex conjugate. In this case, the impulse response is again a (real-valued) linear combination of and , so it is an exponentially decaying sinusoid. The exponential decay rate is . Again, note that .

In the limiting case (critically damped system), the pole is double. The impulse response is , and the exponential decay rate is . Note that the critically damped case maximizes the exponential decay rate.

However, in many applications the exponential decay rate is not the most important parameter to optimize. The plot below, which shows the impulse response for several values of the damping parameter can shed some light into why.

From the four impulse responses plotted, the red one is the most desirable. The blue one, which corresponds to an overerdamped system does not decay fast enough, as we already showed. The exponential decay rate of the green curve, which corresponds to the critically damped case, is the best possible, but the underdamped red curve takes less time to get near zero, because it is an exponentially decaying sinusoid and it has some undershoot. The cyan curve is also underdamped, but it has too much undershoot, since the exponential decay rate is not large enough. Therefore, we see that if the damping factor is a bit lower than (but not too low), then the undershoot given by the sinusoid plays in our advantage, since it helps bring the response close to zero faster.

Now the obvious question is how low can we set the damping factor before too much undershoot appears. Another way of looking at this problem from a different point of view is studying resonance. When the input of the system is a sinusoid of frequency , then has poles at . The Laplace transform of the output of the system has poles at and . The poles at give terms which decay exponentially, while the poles at give sinusoids of frequency which are still present in the steady state. Thus, when the input is a sinusoid of amplitude and frequency , the steady state output is a sinusoid of amplitude and frequency , since the residue of at equals the residue of at multiplied by . Therefore, the frequency response of the system is given by .

We now compute

Using the substitutions and , we see that the denominator equals the quadratic function . The minimum of this quadratic function is at . This means that when the frequency response is monotone decreasing in . In fact, this system is a low pass filter, so this is not surprising. When , the frequency response has a maximum at , and . This means that the system has a resonant frequency at , and the gain at the resonant frequency is greater than unity. This is undesirable, so we impose . The limiting case gives a damping factor of . This is the lowest we can set the damping factor before getting resonance.

The figure below shows the frequency response for different values of the damping factor . This shows that the system is a low pass filter and it also shows clearly the resonance when .

The bandwidth of the low pass filter is defined as the frequency at which . In the case when , a simple calculation using shows that the bandwidth is .