Module 13 · 13 min read · Free chapter
Feedback, transfer functions, block diagrams and signal-flow graphs
A control system makes an output follow a desired input. Closed-loop systems use feedback to reduce sensitivity to disturbances and parameter changes, at the cost of gain and possible instability. A transfer function is the ratio of output to input Laplace transforms with zero initial conditions. Block diagrams and signal-flow graphs, with Mason's formula, give the overall transfer function.
Start from zero: what a control system is
Fill a bucket from a tap and you watch the water level. When it gets near the top, you turn the tap down, and when it is full, you shut it. Your eyes measure the level, your brain compares it with "full", and your hand corrects the tap. This loop of measure, compare and correct is the heart of every control system.
Machines do the same without a person. A refrigerator's thermostat switches the compressor on when the inside gets warm and off when it is cold enough. An electric iron keeps its temperature with a bimetal strip, and an autopilot holds an aircraft's height and heading. In a power station, governors hold the speed of each turbine so that the grid stays at 50 Hz.
The idea is old. In 1788 James Watt fitted a flyball governor to his steam engines: spinning balls flew outward as speed rose and closed the steam valve through a linkage. In 1927 Harold Black at Bell Labs invented the negative-feedback amplifier, which made long-distance telephone lines possible and gave engineers a general theory of feedback.
Why it matters. Control systems carry a fixed share of GATE EE and ESE papers every year, and the BPSC AE Electrical paper lists them by name. Electronics students meet the same chapter in their own syllabus, because feedback is how amplifiers and regulators are designed.
Open loop, closed loop and the effects of feedback
Open-loop system. The controller acts according to a fixed plan and never checks the result. A washing machine running a timed cycle, a traffic signal on fixed timings and a bread toaster are open-loop. They are simple, cheap and always stable. But if something disturbs them, such as a heavier load of clothes, they cannot correct it.
Closed-loop (feedback) system. A sensor measures the output and feeds it back. The controller compares it with the reference (the desired value) and acts on the error, the difference between the two. An air conditioner with a thermostat, a voltage regulator and a motor speed controller are closed-loop.
What negative feedback does. Feeding back the output so that it reduces the error has five effects:
- Lower gain. The closed-loop gain is smaller than the open-loop gain G, so some gain is traded for the benefits below.
- Less sensitivity. The sensitivity of the closed-loop gain T to a change in G is . With a loop gain GH of 100, a 10% change in G changes T by only about 0.1%. This is why Black's amplifiers kept working as their vacuum tubes aged.
- Disturbance rejection. A disturbance entering inside the loop is also reduced by about the factor .
- Wider bandwidth. The system responds faster, because the loop pushes harder whenever the output lags.
- Possible instability. If the feedback arrives late enough to add to the error instead of opposing it, the system can oscillate. Much of control theory is about getting the benefits of feedback without this risk.
Worked example. An amplifier has G = 1,000 and feedback H = 0.099. Then and the closed-loop gain is . If G falls by 20% to 800, the gain becomes , a change of only 0.2%.
Mathematical models and analogies
To design a controller, the engineer first needs a model: a set of equations that says how the system's output responds to its input. Most physical systems are described, at least near their working point, by linear differential equations with constant coefficients.
A mechanical example. A mass M on a spring of stiffness K with a damper of coefficient B, pushed by a force f(t), obeys Newton's law:
An electrical example. A series RLC circuit driven by a voltage v(t) obeys KVL, written in terms of charge q:
The force-voltage analogy. The two equations have exactly the same shape. So force corresponds to voltage, mass to inductance, damping to resistance, spring stiffness to , displacement to charge and velocity to current. A second, force-current analogy matches force with current and mass with capacitance instead.
Why analogies were useful. Before digital computers, engineers built electrical circuits that copied mechanical systems, because a circuit was cheaper to build and measure. The same analogy still lets one set of methods (transfer functions, poles, stability tests) serve motors, aircraft, chemical plants and power grids alike.
Linearisation. Real systems are rarely linear over their whole range: a magnetic core saturates and a valve opens unevenly. Engineers therefore linearise the model about the normal operating point, using the slope of each curve there. The design then holds for small deviations, which is what a regulator has to handle.
Transfer functions, poles and zeros
Take the Laplace transform of the model with all initial conditions set to zero. Each derivative becomes a power of s, and the differential equation becomes an algebraic one. The ratio of output to input is the transfer function:
For the spring-mass-damper, .
What it tells you. The transfer function is a property of the system alone, not of the input. Once you know it, the response to any input is . It is also the Laplace transform of the system's impulse response, since the transform of an impulse is 1.
Limits. A transfer function exists only for linear time-invariant (LTI) systems, and it ignores initial conditions. It also hides internal variables that do not reach the output, which the state-space method in a later chapter brings back.
Poles and zeros. Write G(s) as a ratio of polynomials. The roots of the numerator are the zeros (where G = 0), and the roots of the denominator are the poles (where G becomes infinite). For , the zero is at −2 and the poles are at 0, −1 and −5. The denominator set to zero is the characteristic equation, and its roots decide stability: all poles must lie in the left half of the s-plane.
Order and type. The order is the highest power of s in the denominator, here 3. The type is the number of poles at the origin (pure integrators), here 1. Type decides the steady-state error, which the next chapter covers.
Worked example. An RC low-pass circuit has input voltage across R and C in series and output across C. Its transfer function is , a single pole at . With R = 1 kΩ and C = 1 μF the pole sits at −1,000 rad/s.
Block diagrams and their reduction
A block diagram draws a system as boxes (each holding a transfer function), arrows (signals), summing points (circles that add or subtract signals) and take-off points (where a signal branches). It shows the flow of cause and effect at a glance, which an equation alone does not.
The basic feedback loop. The reference R(s) enters a summing point. The feedback signal H(s)C(s) is subtracted to give the error E(s). The error passes through the forward block G(s) to give the output C(s). From and , eliminating E gives:
The product G(s)H(s) is the open-loop or loop transfer function. If H = 1, the system has unity feedback.
Reduction rules. Complicated diagrams are simplified step by step:
- Blocks in series (cascade) multiply: .
- Blocks in parallel add: .
- A feedback loop becomes for negative feedback and for positive feedback.
- Moving a summing point ahead of a block G needs a block in the moved branch, and moving it after the block needs a block G.
- Moving a take-off point after a block G needs in the branch, and moving it before needs G.
Worked example. A forward path has and then , with an inner loop of feedback round only, and an outer unity feedback round the whole. The inner loop gives . In series with this is . Closing the unity loop gives .
Signal-flow graphs and Mason's gain formula
In 1953 Samuel Mason at MIT proposed a leaner picture. In a signal-flow graph, each signal is a node (a dot) and each transfer function is a branch (an arrow with its gain). A node's value is the sum of all signals arriving at it. The graph carries the same information as a block diagram, but it can be solved in one step instead of many reductions.
Terms. A forward path goes from the input node to the output node without meeting any node twice. A loop starts and ends at the same node without meeting any other node twice. Two loops are non-touching if they share no node. The gain of a path or loop is the product of its branch gains.
Mason's gain formula.
Here is the gain of the k-th forward path. The graph determinant is Δ = 1 − (sum of all loop gains) + (sum of gain products of all pairs of non-touching loops) − (sum for all triples) + …. Finally, is Δ worked out with every loop touching path k removed.
Worked example. One forward path has gain . There are two loops, and , and they do not touch each other, but both touch the forward path. Then and . So:
Notice that the denominator factorises as , as it should for two independent loops.
Why it matters. GATE often gives a signal-flow graph with two forward paths and three loops and asks for the gain. Mason's formula solves it in a few lines, where block reduction would take a page. The same formula also gives the characteristic equation directly: Δ = 0.
Descriptive lens: how this topic is asked in written papers
Written papers test this chapter in four ways:
- Compare: open-loop and closed-loop systems with examples, or list the effects of negative feedback.
- Derive: the closed-loop transfer function of a feedback loop, the sensitivity , or the transfer function of an electrical or mechanical system.
- Reduce: a block diagram to a single transfer function, and check the answer with Mason's formula.
- Model: draw the analogous electrical circuit of a mechanical system using the force-voltage analogy.
Practice questions (our own, not previous-year questions).
- Explain the effects of negative feedback on gain, sensitivity, disturbance and bandwidth. Why is the accuracy of the feedback sensor so important? (12 marks)
- Define the transfer function and state its limitations. Find the transfer function of an RC low-pass circuit and locate its pole. (8 marks)
- A system has forward blocks , in cascade, feedback from the output of to the input of , and unity feedback from the output to the input. Find by block reduction and by Mason's formula. (15 marks)
Answer plan for question 3.
- The inner loop gives .
- In cascade with , the forward gain is .
- Closing the unity loop gives .
- By Mason's formula there is one path and two loops, and , which touch each other.
- So and , which gives the same result.
- Conclude that the two methods agree and state the characteristic equation .
Quick revision
- An open-loop system never measures its output, while a closed-loop system acts on the error between reference and output.
- Negative feedback lowers gain but cuts sensitivity by , rejects disturbances, widens bandwidth and may cause instability.
- The transfer function assumes zero initial conditions and an LTI system, and it equals the Laplace transform of the impulse response.
- Zeros are roots of the numerator, poles are roots of the denominator, the order is the degree of the denominator and the type is the number of poles at the origin.
- Negative feedback gives , and the characteristic equation is 1 + GH = 0.
- Series blocks multiply, parallel blocks add, and moving a summing or take-off point across G needs G or .
- Mason's formula is , with Δ = 1 − ΣL + Σ(non-touching pairs) − ….
- In the force-voltage analogy, M ↔ L, B ↔ R, K ↔ 1/C and velocity ↔ current.