Closed-loop Gain and Sensitivity
English translation
Control Engineering I · Week 9
This week's objective · Compare how much amplifier gain changes affect the final output.
Run: After signing in to MathWorks, open .mlx in your workspace. Click inside the code → Live Editor → Run Section to run one section at a time. Run runs everything. After changing a value, rerun the relevant section. Edit the text in ⟦enter here⟧ response fields; do not execute them. You can use Ctrl+Enter on Windows/Linux and ⌘+Enter on Mac.
1. Sensitivity of an open-loop amplifier
The overall open-loop gain is T=. If increases by 10%, T also increases by 10%. Sensitivity starts from this ratio of relative changes being 1.
Sensitivity of an open-loop amplifier
For example, if a 1% change in amplifier gain produces approximately a 1% change in overall gain, the sensitivity is 1. If the overall gain changes by only about 0.1%, the sensitivity is 0.1. To compare changes in quantities of different magnitudes, use the change relative to each original value rather than the change alone.
The relative change in is , and that in is . For very small changes, the normalized sensitivity relating these two ratios is
. The derivative calculated below shows how much the overall gain responds to a small change in amplifier gain.
2. Express the effect of feedback mathematically
In this example, of the output is measured and compared with the reference, so . Collecting the terms gives , and the overall gain is as follows.
As increases, both numerator and denominator increase. The overall gain therefore changes less sensitively than the amplifier gain. Calculate the degree using the sensitivity definition above.
Express the effect of feedback mathematically
Holding fixed and differentiating the just obtained, the quotient rule gives
Multiplying this by the previously obtained gives
The full overall-gain expression is used to calculate normalized sensitivity. As increases, this ratio decreases, so the overall gain changes less for the same amplifier-gain change.
The inverting amplifier from the lecture is represented by . Here, both and its derivative have negative signs, so normalized sensitivity is the same as above.
This amplifier model omits dynamics and noise. In a real controller, when increasing the gain, also check oscillation and measurement-noise effects.
3. Compare actual changes with approximations
The assignment conditions are =5000 and β=0.05. Compare the change predicted by Sensitivity×0.1 with the relative change calculated directly by setting to 5500.
Compare actual changes with approximations
Let the value before the change be and the corresponding overall gain be . As with the linear approximation in Week 3, estimating the change from the slope at the reference point gives
Divide both sides by , then multiply and divide by to obtain the sensitivity found earlier.
For a +10% change, therefore, use . This estimate uses the slope at the reference point. For the exact value, insert the new gain into the original expression to obtain , then calculate . Both methods divide by the unchanged . Multiply by 100 only at the end when expressing the result as a percentage.
In this exercise, compare relative changes of 1%, 10%, and 20%. As the change grows, check how far an estimate using only the slope at the baseline point deviates from the actual change.
4. Interpret the results in words
Compare , open-loop gain, and closed-loop gain in a table or plot, then explain which changed less. Distinguish a small closed-loop gain from lower sensitivity to change.
Interpret the results in words
Changing β also changes the target gain. State whether the experiment compares the same target or different feedback strengths.
Check your understanding
- What values should go into the code, and what does each row and column of the resulting array represent? If calculating physical quantities, have you also checked the units?
- Can you identify which parts to rerun when you change one condition?
- Do the results match your expectations? If they differ, can you explain why using the output values or plots?
Practice materials
- Control_Engineering_1_Week09_FeedbackOne.mlxPreview mlx script · Download mlx script