Step response: Difference between revisions
imported>John R. Brews (preamble) |
imported>John R. Brews (separate notes) |
||
Line 127: | Line 127: | ||
:<math> S(t) \le 1 + \Delta \ ,</math> | :<math> S(t) \le 1 + \Delta \ ,</math> | ||
this condition is satisfied regardless of the value of β ''A''<sub>OL</sub> provided the time is longer than the settling time, say ''t''<sub>S</sub>, given by:<ref name=note1/> | this condition is satisfied regardless of the value of β ''A''<sub>OL</sub> provided the time is longer than the settling time, say ''t''<sub>S</sub>, given by:<ref name=note1 group=Note/> | ||
:<math> \Delta = e^{- \rho t_S }</math>   or   <math>t_S = \frac { \mathrm{ln} \left( \frac{1} { \Delta} \right) } { \rho } = \tau_2 \ \frac {2 \ \mathrm{ln} \left( \frac{1} { \Delta} \right) } { 1 + \frac { \tau_2 } { \tau_1} } \approx 2 \ \tau_2 \ \mathrm{ln} \left( \frac{1} { \Delta} \right)\ , </math> | :<math> \Delta = e^{- \rho t_S }</math>   or   <math>t_S = \frac { \mathrm{ln} \left( \frac{1} { \Delta} \right) } { \rho } = \tau_2 \ \frac {2 \ \mathrm{ln} \left( \frac{1} { \Delta} \right) } { 1 + \frac { \tau_2 } { \tau_1} } \approx 2 \ \tau_2 \ \mathrm{ln} \left( \frac{1} { \Delta} \right)\ , </math> | ||
Line 133: | Line 133: | ||
where the approximation τ<sub>1</sub> >> τ<sub>2</sub> is applicable because of the overshoot control condition, which makes τ<sub>1</sub> = α β''A''<sub>OL</sub> τ<sub>2</sub>. Often the settling time condition is referred to by saying the settling period is inversely proportional to the unity gain bandwidth, because 1/( 2π τ<sub>2</sub> ) is close to this bandwidth for an amplifier with typical [[Frequency_compensation#Dominant-pole_compensation|dominant pole compensation]]. However, this result is more precise than this [[rule of thumb]]. As an example of this formula, if Δ = 1/e<sup>4</sup> = 1.8 %, the settling time condition is ''t''<sub>S</sub> = 8 τ<sub>2</sub>. | where the approximation τ<sub>1</sub> >> τ<sub>2</sub> is applicable because of the overshoot control condition, which makes τ<sub>1</sub> = α β''A''<sub>OL</sub> τ<sub>2</sub>. Often the settling time condition is referred to by saying the settling period is inversely proportional to the unity gain bandwidth, because 1/( 2π τ<sub>2</sub> ) is close to this bandwidth for an amplifier with typical [[Frequency_compensation#Dominant-pole_compensation|dominant pole compensation]]. However, this result is more precise than this [[rule of thumb]]. As an example of this formula, if Δ = 1/e<sup>4</sup> = 1.8 %, the settling time condition is ''t''<sub>S</sub> = 8 τ<sub>2</sub>. | ||
In general, control of overshoot sets the time constant ratio, and settling time ''t''<sub>S</sub> sets τ<sub>2</sub>.<ref name=Johns/><ref name=Sansen/><ref name=note2/> | In general, control of overshoot sets the time constant ratio, and settling time ''t''<sub>S</sub> sets τ<sub>2</sub>.<ref name=Johns/><ref name=Sansen/><ref name=note2 group=Note/> | ||
===Phase margin=== | ===Phase margin=== | ||
{{Image|Gain Bode plot for two-pole amplifier.PNG|right|200px|Bode gain plot to find phase margin; scales are logarithmic, so labeled separations are multiplicative factors. For example, ''f''<sub>0dB</sub> <nowiki>=</nowiki> β ''A''<sub>0</sub> × ''f''<sub>1</sub>.}} | {{Image|Gain Bode plot for two-pole amplifier.PNG|right|200px|Bode gain plot to find phase margin; scales are logarithmic, so labeled separations are multiplicative factors. For example, ''f''<sub>0dB</sub> <nowiki>=</nowiki> β ''A''<sub>0</sub> × ''f''<sub>1</sub>.}} | ||
Next, the choice of pole ratio τ<sub>1</sub> / τ<sub>2</sub> is related to the phase margin of the feedback amplifier.<ref name=note3/> The procedure outlined in the [[Bode_plot#Examples_using_Bode_plots|Bode plot]] article is followed. To the right is the Bode gain plot for the two-pole amplifier in the range of frequencies up to the second pole position. The assumption behind the plot is that the frequency ''f''<sub>0dB</sub> lies between the lowest pole at ''f''<sub>1</sub> = 1 / ( 2π τ<sub>1</sub> ) and the second pole at ''f''<sub>2</sub> = 1 / ( 2π τ<sub>2</sub> ). As indicated in the figure, this condition is satisfied for values of α ≥ 1. | Next, the choice of pole ratio τ<sub>1</sub> / τ<sub>2</sub> is related to the phase margin of the feedback amplifier.<ref name=note3 group=Note/> The procedure outlined in the [[Bode_plot#Examples_using_Bode_plots|Bode plot]] article is followed. To the right is the Bode gain plot for the two-pole amplifier in the range of frequencies up to the second pole position. The assumption behind the plot is that the frequency ''f''<sub>0dB</sub> lies between the lowest pole at ''f''<sub>1</sub> = 1 / ( 2π τ<sub>1</sub> ) and the second pole at ''f''<sub>2</sub> = 1 / ( 2π τ<sub>2</sub> ). As indicated in the figure, this condition is satisfied for values of α ≥ 1. | ||
Using the figure the frequency (denoted by ''f''<sub>0dB</sub> ) is found where the loop gain β''A''<sub>0</sub> satisfies the unity gain or 0 dB condition , as defined by: | Using the figure the frequency (denoted by ''f''<sub>0dB</sub> ) is found where the loop gain β''A''<sub>0</sub> satisfies the unity gain or 0 dB condition , as defined by: | ||
Line 143: | Line 143: | ||
:<math> | \beta A_{OL} ( f_{0db} ) | = 1 \ . </math> | :<math> | \beta A_{OL} ( f_{0db} ) | = 1 \ . </math> | ||
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:<ref name=note4/> | 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:<ref name=note4 group=Note/> | ||
:<math> f_{0dB} = \beta A_0 f_1 \ . </math> | :<math> f_{0dB} = \beta A_0 f_1 \ . </math> | ||
Line 163: | Line 163: | ||
As an aside, for an amplifier with more than two poles, the diagram in the figure still may be made to fit the Bode plots by making ''f''<sub>2</sub> a fitting parameter, referred to as an "equivalent second pole" position.<ref name=Palumbo/> | As an aside, for an amplifier with more than two poles, the diagram in the figure still may be made to fit the Bode plots by making ''f''<sub>2</sub> a fitting parameter, referred to as an "equivalent second pole" position.<ref name=Palumbo/> | ||
==References | ==Notes== | ||
{{reflist|group=Note|refs= | |||
<ref name=note1 group=Note> | |||
This estimate is a bit conservative (long) because the factor 1 /sin(φ) in the overshoot contribution to ''S'' ( ''t'' ) has been replaced by 1 /sin(φ) ≈ 1. | |||
</ref> | |||
<ref name=note2 group=Note> | |||
According to Johns and Martin, ''op. cit.'', settling time is significant in [[switched capacitor|switched-capacitor circuits]], for example, where an op amp settling time must be less than half a clock period for sufficiently rapid charge transfer. | |||
</ref> | |||
<ref name=note3 group=Note> | |||
The gain margin of the amplifier cannot be found using a two-pole model, because gain margin requires determination of the frequency ''f''<sub>180</sub> where the gain flips sign, and this never happens in a two-pole system. If we know ''f''<sub>180</sub> for the amplifier at hand, the gain margin can be found approximately, but ''f''<sub>180</sub> then depends on the third and higher pole positions, as does the gain margin, unlike the estimate of phase margin, which is a two-pole estimate. | |||
</ref> | |||
<ref name=note4 group=Note> | |||
For more detail on the use of logarithmic scales, see [[Logarithmic_scale#Slope_of_a_log-log_plot|log scale]]. | |||
</ref> | |||
}} | |||
==References== | |||
{{reflist|refs= | {{reflist|refs= | ||
<ref name=Johns> | |||
{{cite book | |||
|author=David A. Johns & Martin K W | |||
|title=Analog integrated circuit design | |||
|year= 1997 | |||
|pages=pp. 234-235 | |||
|publisher=Wiley | |||
|location=New York | |||
|isbn=0-471-14448-7 | |||
|url=http://worldcat.org/isbn/0-471-14448-7}} | |||
</ref> | |||
<ref name=Kuo> | <ref name=Kuo> | ||
{{cite book | {{cite book | ||
Line 186: | Line 220: | ||
</ref> | </ref> | ||
<ref name= | <ref name=Palumbo> | ||
{{cite book | {{cite book | ||
|author= | |author=Gaetano Palumbo & Pennisi S | ||
|title= | |title=Feedback amplifiers: theory and design | ||
|year= | |year= 2002 | ||
|pages=pp. | |pages=§ 4.4 pp. 97-98 | ||
|publisher= | |publisher=Kluwer Academic Press | ||
|location= | |location=Boston/Dordrecht/London | ||
|isbn=0- | |isbn=0-7923-7643-9 | ||
|url=http:// | |url=http://books.google.com/books?id=Xb0W1VsQFe0C&pg=PA98&dq=%22equivalent+two-pole+amplifier%22&lr=&as_brr=0&sig=LVB6t0wlg7WL7U_PB4eavGTP7Aw }} | ||
</ref> | </ref> | ||
Line 212: | Line 242: | ||
|isbn=0-387-25746-2 | |isbn=0-387-25746-2 | ||
|url=http://worldcat.org/isbn/0-387-25746-2}} | |url=http://worldcat.org/isbn/0-387-25746-2}} | ||
</ref> | </ref> | ||
Line 232: | Line 250: | ||
|isbn=0-387-25746-2 | |isbn=0-387-25746-2 | ||
|url=http://worldcat.org/isbn/0-387-25746-2}} | |url=http://worldcat.org/isbn/0-387-25746-2}} | ||
</ref> | </ref> | ||
}} | }} |
Revision as of 11:33, 6 June 2011
In electronic engineering and control theory, step response of a system refers to the time behavior of its output when its input changes rapidly from zero to a finite value. In a more idealized mathematical formulation, the step response of a system refers to the time evolution of its output when its input is proportional to a Heaviside step function.
From a practical standpoint, knowing how the system responds to a sudden input is important because large and fast input signals may have extreme effects on the component itself and on other portions of the overall system dependent on this component. In some cases, 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, the step response of a dynamical system gives information about the stability of the system, and about its ability to reach one stationary state when starting from another.
This article describes in detail a negative feedback amplifier using feedback with a main amplifier characterized by two time constants , and shows how the step response of the feedback amplifier is connected to the main amplifier's underlying two time constants.
Description of time-domain behavior
The step response of a system can be described by the following aspects of its time behavior:
- Overshoot: The maximum output swing above the final value, or less specifically any swing above final value
- Undershoot: The minimum output swing below the final value, or less specifically any swing below final value
- Ringing: The alternation of overshoot and undershoot around final value
- Settling time: The time for the output to settle down and remain below a specified departure from final value
- Rise time: The time to first reach a specified fraction of final value (for example, 1−1/e, e the base of natural logarithms); in general, not the only time it will cross this value
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-time-constant 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 the figure. The amplifier when the feedback is disconnected is called the open-loop amplifier. When the amplifier including feedback is meant, it is called the closed-loop amplifier.
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):
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 time constants, τ1, τ2, introduced by postulating the open-loop gain is given by:
with zero-frequency gain A0 and angular frequency ω = 2πf. It is usual to describe the behavior of this function in the complex plane, using the complex variable s:
which leads to the above gain expression on the imaginary s-axis, when s = jω. On the other hand, this open-loop gain has two poles on the real s-axis at s=−1/τ1 and s=−1/τ2. With this open-loop gain, the closed-loop gain becomes:
- •
The time dependence of the amplifier is easy to discover by switching variables to s, whereupon the gain becomes:
- •
The poles of this expression (that is, the zeros of the denominator) occur at:
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 the figure:
with
and
Using polar coordinates with the magnitude of the radius to the roots given by |s| (See figure):
and the angular coordinate φ is given by:
Tables of Laplace transforms show that the time response of such a system is composed of combinations of the two functions:
- and
which is to say, the solutions are damped oscillations in time. In particular, the unit step response of the system is:[1]
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
The figure to the right 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:
- 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.
- The open-loop amplifier decides settling time. It sets the time scale of the step response used in the figure, 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:[2]
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:
This quadratic is solved for the ratio of time constants by setting x = ( τ1 / τ2 )1 / 2 with the result
Because β A0 >> 1, the 1 in the square root can be dropped, and the result is
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:
and let α be set by the amount of overshoot that is acceptable.
The figure at right 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 is governed by the damping factor exp ( −ρ t ). That is, if we specify some acceptable step response deviation from final value, say Δ, that is:
this condition is satisfied regardless of the value of β AOL provided the time is longer than the settling time, say tS, given by:[Note 1]
- or
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.[3][4][Note 2]
Phase margin
Next, the choice of pole ratio τ1 / τ2 is related to the phase margin of the feedback amplifier.[Note 3] The procedure outlined in the Bode plot article is followed. To the right is the Bode gain plot for the two-pole amplifier in the range of frequencies up to the second pole position. The assumption behind the plot 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 the figure, this condition is satisfied for values of α ≥ 1.
Using the figure the frequency (denoted by f0dB ) is found where the loop gain βA0 satisfies the unity gain or 0 dB condition , as defined by:
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:[Note 4]
The phase margin is the departure of the phase at f0dB from −180°. Thus, the margin is:
Because f0dB / f1 = βA0 >> 1, the term in f1 is 90°. That makes the phase margin:
In particular, for case α = 1, φm = 45°, and for α = 2, φm = 63.4°. Sansen[5] 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 in the figure still may be made to fit the Bode plots by making f2 a fitting parameter, referred to as an "equivalent second pole" position.[6]
Notes
- ↑ This estimate is a bit conservative (long) because the factor 1 /sin(φ) in the overshoot contribution to S ( t ) has been replaced by 1 /sin(φ) ≈ 1.
- ↑ According to Johns and Martin, op. cit., settling time is significant in switched-capacitor circuits, for example, where an op amp settling time must be less than half a clock period for sufficiently rapid charge transfer.
- ↑ The gain margin of the amplifier cannot be found using a two-pole model, because gain margin requires determination of the frequency f180 where the gain flips sign, and this never happens in a two-pole system. If we know f180 for the amplifier at hand, the gain margin can be found approximately, but f180 then depends on the third and higher pole positions, as does the gain margin, unlike the estimate of phase margin, which is a two-pole estimate.
- ↑ For more detail on the use of logarithmic scales, see log scale.
References
- ↑ Benjamin C Kuo & Golnaraghi F (2003). Automatic control systems, Eighth Edition. New York: Wiley, p. 253. ISBN 0-471-13476-7.
- ↑ Benjamin C Kuo & Golnaraghi F. p. 259. ISBN 0-471-13476-7.
- ↑ David A. Johns & Martin K W (1997). Analog integrated circuit design. New York: Wiley, pp. 234-235. ISBN 0-471-14448-7.
- ↑ Willy M C Sansen (2006). Analog design essentials. Dordrecht, The Netherlands: Springer. ISBN 0-387-25746-2.
- ↑ Willy M C Sansen. §0526 p. 162. ISBN 0-387-25746-2.
- ↑ Gaetano Palumbo & Pennisi S (2002). Feedback amplifiers: theory and design. Boston/Dordrecht/London: Kluwer Academic Press, § 4.4 pp. 97-98. ISBN 0-7923-7643-9.