Section 1: Systems and Sub-Systems Diagrams
Most industrial products are designed using the systems approach. The engineer starts with the function the product must perform, then breaks that function down into a series of sub-systems, each of which can be designed, built and tested separately.
A systems diagram shows the whole system as a single block inside a dashed line called the system boundary. The real-world inputs and outputs are shown as arrows entering and leaving the boundary. A sub-systems diagram opens up that block to show the individual sub-systems and how they interact. The arrows show the flow of information, energy or materials between them.
The simplest form — a single process block with an input and an output — is sometimes called the universal system diagram. It shows what goes in and what comes out, but nothing about how the system works. Breaking that block into sub-systems is what makes the diagram useful to an engineer.
Complex systems
At National 5 most systems had a simple chain of sub-systems: input, control, driver, output. At Higher you will meet complex systems, where several sub-systems interact, some sub-systems feed into more than one other, materials as well as signals flow through the system, and there may be more than one feedback path.
An automatic washing machine is a good example. Its function is to process dirty clothes into clean clothes. The control unit runs the selected wash cycle, but it also relies on sensors in the drum to tell it when the water is hot enough and when the drum is full.

- Three different kinds of input enter the boundary: an instruction (the wash cycle), a material (cold water) and the thing being processed (dirty clothes).
- The control unit sends signals to three output sub-systems: the heater, the motor and the pump.
- Two feedback sensors measure conditions in the drum and send that information back to the control unit, so the machine is a closed-loop system.
- There are two outputs: the clean clothes and the waste water.
Section 2: Open-Loop Control
At its simplest, a control system processes an input condition to produce a specified output, with no check on whether the output is actually what is wanted. This is open-loop control.
An output driver is always placed before an output device. It amplifies the signal coming from the control unit, boosting its power enough to operate the device.
A hairdryer is a good example. The user selects the heat and the fan speed with two switches. The control unit uses an output driver for each output device to switch on the heating element and the fan motor. The temperature of the air is not measured or adjusted — the air is simply blown out at whatever temperature the heating element produces.
An automatic street lamp is another. A light sensor switches the lamp on when it gets dark, but nothing measures the light the lamp itself produces.

A model of the street lamp is shown below. The LDR and variable resistor form a voltage divider, which converts the light level into a voltage (the control sub-system). The transistor is the output driver: when it gets dark, the LDR’s resistance rises, the voltage at the base rises and the transistor switches on the lamp.
Section 3: Closed-Loop Control
Closed-loop control systems measure their own output and adjust their performance to keep it at the desired level. Every closed-loop system includes a feedback sensor. The control sub-system processes the feedback signal and makes a ‘decision’ on whether the output should change.
The central heating in most homes is controlled by a thermostat. It senses the room temperature and switches the boiler off when the set temperature is reached, then on again when the room cools below it.
Cruise control on a car keeps the car at a constant speed, even on hills. The feedback sensor is a speed sensor (such as a tacho-generator, which gives a higher voltage the faster it turns) connected to a wheel. When the car starts to climb a hill it slows down; the speed sensor feeds this back to the control unit, which increases the engine power to bring the speed back up to the desired value.



Section 4: Two-State Control (with a Comparator)
Many control systems process analogue signals such as temperature, light level, speed or position. Analogue closed-loop control needs an analogue processing device, and the one most often used is the operational amplifier (op-amp). An op-amp can be connected in several different ways, called configurations, each of which makes it do a different job. Here you will meet the comparator, the configuration used for two-state control. You will study the comparator and the other op-amp configurations in more detail in Higher Analogue Electronics.
A comparator compares two voltages: a reference (the desired value) and a feedback signal from a sensor (the actual value). Because it has no feedback resistor, its gain is huge and its output is always saturated — either fully positive or fully negative. This gives two-state control: the output device is either fully on or fully off.
Section 5: Control Diagrams and Error Detection
A systems diagram shows a general ‘control’ block. When an op-amp or microcontroller is used in a closed-loop system, engineers usually draw a control diagram instead. It breaks the control block into more specific parts and shows exactly where the desired value and the feedback signal are compared.
The dashed line on a control diagram is the control boundary. It goes around the error detector and the control unit only (the comparator in the first example below), because these are the parts that make up the control sub-system. This is different from the system boundary on a systems or sub-systems diagram, which goes around the whole system. The output driver, output device and sensor sit outside the control boundary.
The error detector
The circle with a cross is the error detector (also called a summing point or comparison point). It shows that the control involves two signals: the desired value enters at the + input and the feedback signal at the − input. The difference between them is the error:
The feedback is connected to the negative input because the system acts to reduce the error. This is called negative feedback.
Always connect the + to the desired value and the − to the feedback, and leave the other two quarters of the circle blank. In the feedback box it is safest to write the general type of sensor (temperature sensor, speed sensor, light sensor): naming the wrong specific device, such as a speedometer instead of a speed sensor, loses the mark even if your meaning is clear.
The feedback line is taken from the output (after the output device) and returns to the error detector. In the mirror system below, a potentiometer turned by the mirror measures its actual position, and the comparator drives the motor until the mirror matches the position set on the dial.

Section 6: Negative Feedback and Lag
The purpose of closed-loop control is to keep the output as close as possible to the desired level. With negative feedback, the control system is always trying to pull the output back towards the desired value by reducing the error.
A graph of temperature against time for a two-state heating system looks like this:
The temperature never settles exactly at the desired value. This is because of lag — a delay in the system:
- When the desired temperature is reached the heater switches off, but the element is still hot, so it keeps heating the room for a while. The temperature overshoots: the actual temperature goes above the desired value, so there is an error (a negative error, because error = desired − actual).
- When the room cools to the desired temperature the heater switches on, but the element takes time to warm up, so the room keeps cooling. The temperature undershoots: the actual temperature falls below the desired value, so again there is an error (this time a positive error).
- The temperature therefore hunts continually above and below the desired value. This is called the hunting effect. The system never removes the error; it keeps swinging between a positive and a negative error.
In a heating system this is acceptable — it even has an advantage, as the boiler is not switched on and off every few seconds. In many other applications the inaccuracy is not acceptable. A motor under two-state control would constantly be starting, stopping or reversing: this uses more power, increases wear on the moving parts, and gives jerky rather than smooth motion.
Positive feedback
The opposite of negative feedback is positive feedback, where the feedback reinforces the error instead of reducing it. A familiar example is a microphone held too close to a speaker. Sound from the speaker is picked up by the microphone, amplified, sent out through the speaker louder, picked up again, and so on in an endless loop. The result is the high-pitched howl you hear at concerts and school assemblies.
Positive feedback does have some useful applications:
- Guitar feedback and sustain. When an electric guitar is played loudly close to its amplifier, sound from the speaker makes the strings vibrate again. The pickups turn this vibration back into a signal, which is amplified and played even louder. Guitarists use this positive feedback on purpose to make a note sustain, or to build it into a controlled howl.
- Laser tag and TV remote receivers. The infrared sensor in a laser tag vest or a TV gives a weak, slowly changing signal. A switching circuit that uses positive feedback (a Schmitt trigger) makes its output snap cleanly from fully off to fully on as soon as the signal passes a threshold, so a hit or a button press is registered instantly, without flickering.
Almost all control systems, however, use negative feedback, because the aim is to keep the output steady at the desired value.
Section 7: Proportional Control
Proportional closed-loop control gives a more accurate response. It uses an op-amp configured as a difference amplifier, which amplifies the difference between the reference (desired value) and the feedback signal. Its output is proportional to the error: a large error gives a large output, a small error a small output, and no error gives no output.
Proportional control is a type of feedback system where the correction applied to a system is directly tied to the size of the error — the gap between the actual value and the desired value. Instead of treating every problem with full force or a fixed push, proportional control follows a simple rule:
So a heater under proportional control works hard when the room is cold, then gradually reduces its power as the room approaches the desired temperature, instead of switching fully on and fully off.
The effect of gain
- With low gain, the output is not very powerful, so the temperature rises slowly. As the error gets smaller the output reduces, and the rate of rise slows further. There is no overshoot.
- With high gain, the system responds quickly and the temperature initially overshoots the desired value. Lag causes some oscillation, but it gradually dies away until the temperature settles.
- In this heating example, the temperature settles a little below the desired value in both cases. Some error is needed to produce any output at all, so a small steady error always remains. The higher the gain, the smaller this error.
Investigate: two-state and proportional control
The explorer below models a room heated by a heater with a little lag. Try two-state control first: because of the lag, the temperature keeps rising for a while after the heater switches off, and keeps falling for a while after it switches back on, so it hunts above and below the desired temperature. Then try proportional control with different gains. Notice that it settles a little below the desired temperature, because some error is needed to keep the heater on. A higher gain brings it closer to the desired temperature, but makes it rise faster and overshoot more. Try changing the desired temperature too: the warmer the room has to be kept, the more heat it loses to the cold outside, so the steady error is a little bigger. Tick keep previous trace to compare two settings. The orange graph underneath shows the heater output: under two-state control it is either fully on or fully off, while under proportional control the power falls as the error gets smaller.
| Two-state control | Proportional control | |
|---|---|---|
| Op-amp configuration | comparator | difference amplifier |
| Output | fully on or fully off | varies in proportion to the error |
| Response | hunts above and below the desired value | settles close to the desired value, with a small steady error |
| Typical uses | heating, where small swings do not matter | motor speed and position, where smooth, accurate control is needed |
| Cost and complexity | simpler and cheaper | more complex; gain must be set carefully |
Section 8: Exam-Style Questions
These questions are in the style of the Higher question paper. Draw diagrams and graphs on paper, then check them against the model answers.
Question 1 — Art gallery lighting

An electronic system controls a spotlight in an art gallery. As the natural light level changes, the spotlight brightens or dims as required to keep the overall light level on the paintings constant. The light level can be adjusted.
Question 2 — Wind turbine head

An electronic control system keeps a wind turbine facing into the wind. The wind direction is sensed by a wind vane connected to a potentiometer. This signal is compared with a second potentiometer that senses the position of the turbine head, and the head is rotated by a motor until it faces the wind. As the head moves close to the wind direction, the motor slows and then comes to rest.
Question 3 — Hot tub

A hot tub uses a two-state closed-loop control system to heat the water to a desired temperature.
Question 4 — Bottling-plant conveyor

A conveyor in a bottling plant must move at a steady speed so that bottles are filled accurately. The engineers are choosing between two-state and proportional control for the conveyor motor.
Section 9: Systems Analysis Project
The course specification asks you to research a complex engineering system and describe it using the systems approach. Choose one of the Scottish systems below (or one agreed with your teacher), research it, and complete the tasks. This is excellent preparation for the extended questions in the exam, which often describe an unfamiliar system and ask you to analyse it.
| System | Starting points for your research |
|---|---|
| Cruachan Power Station, Argyll | A pumped-storage hydro scheme inside a mountain. How does it switch between generating and pumping? How is its output matched to demand? |
| The Falkirk Wheel | A rotating boat lift linking two canals. How is the rotation controlled and kept balanced? What safety systems are needed? |
| Edinburgh Trams | How are tram speed, braking and doors controlled? How do the trams interact with traffic signals? |