Definitions

# Step response

The step response of a system in a given initial state consists of the time evolution of its outputs when its control inputs are Heaviside step functions. In electronic engineering and control theory, step response is the time behaviour of the outputs of a general system when its inputs change from zero to one in a very short time. The concept can be extended to the abstract mathematical notion of a dynamical system using an evolution parameter.

From a practical standpoint, knowing how the system responds to a sudden input is important because large and possibly fast deviations from the long term steady state may have extreme effects on the component itself and on other portions of the overall system dependent on this component. In addition, the overall system cannot act until the component's output settles down to some vicinity of its final state, delaying the overall system response. Formally, knowing the step response of a dynamical system gives information on the stability of such a system, and on its ability to reach one stationary state when starting from another.

## Time domain versus frequency domain

Depending on the application, instead of frequency response, system performance may be specified in terms of parameters describing time-dependence of response. The step response can be described by the following quantities related to its time behavior,

In the case of linear dynamic systems, much can be inferred about the system from these characteristics. Below the step response of a simple two-pole amplifier is presented, and some of these terms are illustrated.

## Step response of feedback amplifiers

This section describes the step response of a simple negative feedback amplifier shown in Figure 1. The feedback amplifier consists of a main open-loop amplifier of gain AOL and a feedback loop governed by a feedback factor β. This feedback amplifier is analyzed to determine how its step response depends upon the time constants governing the response of the main amplifier, and upon the amount of feedback used.

### Analysis

A negative feedback amplifier has gain given by (see negative feedback amplifier):

$A_\left\{FB\right\} = frac \left\{A_\left\{OL\right\}\right\} \left\{1+ beta A_\left\{OL\right\}\right\} ,$

where AOL = open-loop gain, AFB = closed-loop gain (the gain with negative feedback present) and β = feedback factor. The step response of such an amplifier is easily handled in the case that the open-loop gain has two poles (two time constants, τ1, τ2), that is, the open-loop gain is given by:

$A_\left\{OL\right\} = frac \left\{A_0\right\} \left\{\left(1+j omega tau_1\right) \left(1 + j omega tau_2\right)\right\} ,$

with zero-frequency gain A0 and angular frequency ω = 2πf, which leads to the closed-loop gain:

$A_\left\{FB\right\} = frac \left\{A_0\right\} \left\{1+ beta A_0\right\}$   •   $frac \left\{1\right\} \left\{1+j omega frac \left\{ tau_1 + tau_2 \right\} \left\{1 + beta A_0\right\} + \left(j omega \right)^2 frac \left\{ tau_1 tau_2\right\} \left\{1 + beta A_0\right\} \right\} .$

The time dependence of the amplifier is easy to discover by switching variables to s = jω, whereupon the gain becomes:

$A_\left\{FB\right\} = frac \left\{A_0\right\} \left\{ tau_1 tau_2 \right\}$   •   $frac \left\{1\right\} \left\{s^2 +s left\left(frac \left\{1\right\} \left\{tau_1\right\} + frac \left\{1\right\} \left\{tau_2\right\} right\right) + frac \left\{1+ beta A_0\right\} \left\{tau_1 tau_2\right\}\right\}$

The poles of this expression (that is, the zeros of the denominator) occur at:

$2s = - left\left(frac \left\{1\right\} \left\{tau_1\right\} + frac \left\{1\right\} \left\{tau_2\right\} right\right)$
$pm sqrt \left\{ left\left(frac \left\{1\right\} \left\{tau_1\right\} - frac \left\{1\right\} \left\{tau_2\right\} right\right) ^2 -frac \left\{4 beta A_0 \right\} \left\{tau_1 tau_2 \right\} \right\} ,$

which shows for large enough values of βA0 the square root becomes the square root of a negative number, that is the square root becomes imaginary, and the pole positions are complex conjugate numbers, either s+ or s; see Figure 2:

$s_\left\{pm\right\} = -rho pm j mu ,$

with

$rho = frac \left\{1\right\}\left\{2\right\} left\left(frac \left\{1\right\} \left\{tau_1\right\} + frac \left\{1\right\} \left\{tau_2\right\} right \right) ,$

and

$mu = frac \left\{1\right\} \left\{2\right\} sqrt \left\{ frac \left\{4 beta A_0\right\} \left\{ tau_1 tau_2\right\} - left\left(frac \left\{1\right\} \left\{tau_1\right\} - frac \left\{1\right\} \left\{tau_2\right\} right\right)^2 \right\} .$
Using polar coordinates with the magnitude of the radius to the roots given by |s| (Figure 2):

$| s | = |s_\left\{ pm \right\} | = sqrt\left\{ rho^2 +mu^2\right\} ,$

and the angular coordinate φ is given by:

$mathrm \left\{cos\right\} phi = frac \left\{ rho\right\} \left\{ | s | \right\}$$mathrm \left\{sin\right\} phi = frac \left\{ mu\right\} \left\{ | s | \right\} .$
Tables of Laplace transforms show that the time response of such a system is composed of combinations of the two functions:

$e^\left\{- rho t\right\} mathrm \left\{sin\right\} \left(mu t\right)$ $quad$ and $quad$ $e^\left\{- rho t\right\} mathrm \left\{cos\right\} \left(mu t\right) ,$

which is to say, the solutions are damped oscillations in time. In particular, the unit step response of the system is:

$S\left(t\right) = 1 - e^\left\{- rho t\right\} frac \left\{ mathrm \left\{sin\right\} left\left(mu t + phi right\right)\right\}\left\{ mathrm \left\{sin\right\}\left(phi \right)\right\} .$

Notice that the damping of the response is set by ρ, that is, by the time constants of the open-loop amplifier. In contrast, the frequency of oscillation is set by μ, that is, by the feedback parameter through βA0. Because ρ is a sum of reciprocals of time constants, it is interesting to notice that ρ is dominated by the shorter of the two.

### Results

Figure 3 shows the time response to a unit step input for three values of the parameter μ. It can be seen that the frequency of oscillation increases with μ, but the oscillations are contained between the two asymptotes set by the exponentials [1 - exp (−ρt) ] and [1 + exp (−ρt) ]. These asymptotes are determined by ρ and therefore by the time constants of the open-loop amplifier, independent of feedback.

The phenomena of oscillation about final value is called ringing. The overshoot is the maximum swing above final value, and clearly increases with μ. Likewise, the undershoot is the minimum swing below final value, again increasing with μ. The settling time is the time for departures from final value to sink below some specified level, say 10% of final value.

The dependence of settling time upon μ is not obvious, and the approximation of a two-pole system probably is not accurate enough to make any real-world conclusions about feedback dependence of settling time. However, the asymptotes [1 - exp (−ρt) ] and [1 + exp (−ρt) ] clearly impact settling time, and they are controlled by the time constants of the open-loop amplifier, particularly the shorter of the two time constants. That suggests that a specification on settling time must be met by appropriate design of the open-loop amplifier.

The two major conclusions from this analysis are:

1. Feedback controls the amplitude of oscillation about final value for a given open-loop amplifier and given values of open-loop time constants, τ1 and τ2.
2. The open-loop amplifier decides settling time. It sets the time scale of Figure 3, and the faster the open-loop amplifier, the faster this time scale.

As an aside, it may be noted that real-world departures from this linear two-pole model occur due to two major complications: first, real amplifiers have more than two poles, as well as zeros; and second, real amplifiers are nonlinear, so their step response changes with signal amplitude.

### Control of overshoot

How overshoot may be controlled by appropriate parameter choices is discussed next.

Using the equations above, the amount of overshoot can be found by differentiating the step response and finding its maximum value. The result for maximum step response Smax is:

$S_\left\{max\right\}= 1$$+ mathrm \left\{exp\right\} left\left(- pi frac \left\{ rho \right\}\left\{ mu \right\} right\right) .$

The final value of the step response is 1, so the exponential is the actual overshoot itself. It is clear the overshoot is zero if μ = 0, which is the condition:

$frac \left\{4 beta A_0\right\} \left\{ tau_1 tau_2\right\} = left\left(frac \left\{1\right\} \left\{tau_1\right\} - frac \left\{1\right\} \left\{tau_2\right\} right\right)^2 .$

This quadratic is solved for the ratio of time constants by setting x = (τ1 / τ2 )1 / 2 with the result

$x = sqrt\left\{ beta A_0 \right\} + sqrt \left\{ beta A_0 +1 \right\} .$

Because β A0 >> 1, the 1 in the square root can be dropped, and the result is

$frac \left\{ tau_1\right\} \left\{ tau_2\right\} = 4 beta A_0 .$

In words, the first time constant must be much larger than the second. To be more adventurous than a design allowing for no overshoot we can introduce a factor α in the above relation:

$frac \left\{ tau_1\right\} \left\{ tau_2\right\} = alpha beta A_0 ,$

and let α be set by the amount of overshoot that is acceptable.

Figure 4 illustrates the procedure. Comparing the top panel (α = 4) with the lower panel (α = 0.5) shows lower values for α increase the rate of response, but increase overshoot. The case α = 2 (center panel) is the maximally flat design that shows no peaking in the Bode gain vs. frequency plot. That design has the rule of thumb built-in safety margin to deal with non-ideal realities like multiple poles (or zeros), nonlinearity (signal amplitude dependence) and manufacturing variations, any of which can lead to too much overshoot. The adjustment of the pole separation (that is, setting α ) is the subject of frequency compensation, and one such method is pole splitting.

### Control of settling time

The amplitude of ringing in the step response in Figure 3 is governed by the damping factor exp (−ρ t ). That is, if we specify some acceptable step response deviation from final value, say Δ, that is:

$S\left(t\right) le 1 + Delta ,$

this condition is satisfied regardless of the value of β AOL provided the time is longer than the settling time, say tS, given by:

$Delta = e^\left\{- rho t_S \right\}$   or   $t_S = frac \left\{ mathrm\left\{ln\right\} left\left(frac\left\{1\right\} \left\{ Delta\right\} right\right) \right\} \left\{ rho \right\} = tau_2 frac \left\{2 mathrm\left\{ln\right\} left\left(frac\left\{1\right\} \left\{ Delta\right\} right\right) \right\} \left\{ 1 + frac \left\{ tau_2 \right\} \left\{ tau_1\right\} \right\} approx 2 tau_2 mathrm\left\{ln\right\} left\left(frac\left\{1\right\} \left\{ Delta\right\} right\right) ,$

where the approximation τ1 >> τ2 is applicable because of the overshoot control condition, which makes τ1 = α βAOL τ2. Often the settling time condition is referred to by saying the settling period is inversely proportional to the unity gain bandwidth, because 1/(2π τ2 ) is close to this bandwidth for an amplifier with typical dominant pole compensation. However, this result is more precise than this rule of thumb. As an example of this formula, if Δ = 1/e4 = 1.8 %, the settling time condition is tS = 8 τ2.

In general, control of overshoot sets the time constant ratio, and settling time tS sets τ2.

### Phase margin

Next, the choice of pole ratio τ1 / τ2 is related to the phase margin of the feedback amplifier. The procedure outlined in the Bode plot article is followed. Figure 5 is the Bode gain plot for the two-pole amplifier in the range of frequencies up to the second pole position. The assumption behind Figure 5 is that the frequency f0dB lies between the lowest pole at f1 = 1 / (2π τ1 ) and the second pole at f2 = 1 / (2π τ2 ). As indicated in Figure 5, this condition is satisfied for values of α ≥ 1.

Using Figure 5 the frequency (denoted by f0dB ) is found where the loop gain βA0 satisfies the unity gain or 0 dB condition , as defined by:

$| beta A_\left\{OL\right\} \left(f_\left\{0db\right\} \right) | = 1 .$

The slope of the downward leg of the gain plot is (20 dB/decade); for every factor of ten increase in frequency, the gain drops by the same factor:

$f_\left\{0dB\right\} = beta A_0 f_1 .$

The phase margin is the departure of the phase at f0dB from −180°. Thus, the margin is:

$phi_m = 180 ^circ - mathrm \left\{atan\right\} \left(f_\left\{0dB\right\} /f_1\right) - mathrm \left\{atan\right\} \left(f_\left\{0dB\right\} /f_2\right) .$

Because f0dB / f1 = βA0 >> 1, the term in f1 is 90°. That makes the phase margin:

$phi_m = 90 ^circ - mathrm \left\{atan\right\} \left(f_\left\{0dB\right\} /f_2\right)$
$= 90 ^circ - mathrm \left\{atan\right\} left\left(frac \left\{beta A_0 f_1\right\} \left\{alpha beta A_0 f_1 \right\} right\right)$
$= 90 ^circ - mathrm \left\{atan\right\} left\left(frac \left\{1\right\} \left\{alpha \right\} right\right)$ $= mathrm \left\{atan\right\} left\left( alpha right\right) .$

In particular, for case α = 1, φm = 45°, and for α = 2, φm = 63.4°. Sansen recommends α = 3, φm = 71.6° as a "good safety position to start with".

If α is increased by shortening τ2, the settling time tS also is shortened. If α is increased by lengthening τ1, the settling time tS is little altered. More commonly, both τ1 and τ2 change, for example if the technique of pole splitting is used.

As an aside, for an amplifier with more than two poles, the diagram of Figure 5 still may be made to fit the Bode plots by making f2 a fitting parameter, referred to as an "equivalent second pole" position.

## Formal mathematical description

This section provides a formal mathematical definition of step response in terms of the abstract mathematical concept of a dynamical system $scriptstylemathfrak\left\{S\right\}$: all notations and assumptions required for the following description are listed here.

• $scriptstyle tin T$ is the evolution parameter of the system, called "time" for the sake of simplicity,
• $scriptstyleboldsymbol\left\{x\right\}|_tin M$ is the state of the system at time $t,$, called "output" for the sake of simplicity,
• $scriptstylePhi:Ttimes Mlongrightarrow M$ is the dynamical system evolution function,
• $scriptstylePhi\left(0,boldsymbol\left\{x\right\}\right)=boldsymbol\left\{x\right\}_0in M$ is the dynamical system initial state,
• $scriptstyle H\left(t\right),$ is the Heaviside step function

### Nonlinear dynamical system

For a general dynamical system, the step response is defined as follows:

$boldsymbol\left\{x\right\}|_t=\left\{Phi_\left\{\left\{H\left(t\right)\right\}\right\}\left\{left\left(t,\left\{boldsymbol\left\{x\right\}_0\right\}right\right)\right\}\right\} .$

It is the evolution function when the control inputs (or source term, or forcing inputs) are Heaviside functions: the notation emphasizes this concept showing $H\left(t\right)$ as a subscript.

### Linear dynamical system

For a linear time-invariant black box, let $scriptstylemathfrak equiv S$ for notational convenience: the step response can be obtained by convolution of the Heaviside step function control and the impulse response h (t) of the system itself

$a\left(t\right) = \left\{h*H\right\}\left(t\right) = \left\{H*h\right\}\left(t\right) = intlimits_\left\{-infty \right\}^\left\{+infty\right\}!!\left\{h\left(tau \right)H\left(t - tau \right)\right\} dtau = intlimits_\left\{-infty\right\}^t!!\left\{h\left(tau\right)\right\}dtau .$