Revision Notes
IB DP Computer Science (DP Computer Science): Control Systems (HL) – Revision Notes
Condensed HL notes on control systems for IB DP Computer Science A.1: sensors, actuators, feedback, open and closed loops, design choices and a self-test.
- Subject
- Computer Science
- Level
- IB
- Topic
- A.1 – Computer fundamentals
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to International Baccalaureate IB Diploma Programme Computer Science (DP Computer Science), First assessment 2027. Official subject brief .
Syllabus page (what it covers and how it is assessed): IB Diploma Programme Computer Science.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for IB Diploma Programme Computer Science (DP Computer Science (2014) / DP Computer Science (2027)).
Quick-recall notes for A1.3.6 and A1.3.7, control systems, HL-only statements in A.1 Computer fundamentals (IB DP Computer Science, first assessment 2027). For explanations and worked scenarios, use the control systems study guide; for the operating system content beside it, see the A.1 Computer fundamentals study guide. Check the full guide for the precise outcomes.
Key terms
| Term | Meaning |
|---|---|
| Control system | A computer system that monitors and adjusts a physical process automatically |
| Sensor | Input device that measures a physical quantity and produces a signal |
| Actuator | Output device that turns a signal into physical movement or action |
| Controller | Processor (often a microcontroller) that compares readings with the set point and decides on outputs |
| Set point | Target value the system maintains |
| Feedback | Measurement of the output’s effect, fed back into the controller |
| Open-loop | Control without feedback: outputs follow a fixed plan |
| Closed-loop | Control with feedback: outputs are adjusted according to measurements |
| ADC | Analogue-to-digital converter: turns a sensor’s analogue signal into binary |
| DAC | Digital-to-analogue converter: turns binary into an analogue output signal |
| Embedded system | Dedicated computer built into a device to perform one task |
| Real-time system | One that must respond within a guaranteed time |
| Tolerance (hysteresis) band | A range around the set point that prevents rapid on-off switching |
The control cycle in five steps
- Sensor measures the quantity (via an ADC if analogue).
- Controller compares the reading with the set point.
- Controller decides on an action.
- Actuator carries out the action.
- Feedback: the sensor measures the new state, and the loop repeats.
Open versus closed loop
| Open-loop | Closed-loop | |
|---|---|---|
| Feedback | None | Yes |
| Self-correcting | No | Yes |
| Cost and complexity | Low | Higher |
| Example | Timed washing programme; fixed-time traffic lights | Thermostat; cruise control; vehicle-detecting traffic lights |
Matching sensors and actuators
| System | Sensor(s) | Actuator(s) |
|---|---|---|
| Central heating | Temperature | Heater relay or boiler valve |
| Automatic door | Infrared or motion | Door motor |
| Greenhouse | Soil moisture, temperature, light | Pump, vent motor, lamps |
| Car cruise control | Wheel speed | Throttle control |
| Street lighting | Light | Lamp switch |
| Burglar alarm | Motion, door contact | Siren, light |
| Traffic lights (adaptive) | Induction loop, camera | Light signals |
Design choices to explain
- Tolerance band: stops the actuator switching on and off continuously around the set point.
- Sampling interval: fast-changing processes (braking, airbags) need frequent readings; slow ones (room temperature) do not.
- Continuous loop: a controller never ends; it runs while powered.
- Fail-safe default: if a sensor fails, the system moves to a safe state (lift brakes on, lights to a fixed cycle).
- Redundant sensors: duplicated sensors allow a faulty reading to be detected in safety-critical systems.
Pseudocode pattern
LOOP
reading <- READ_SENSOR(s)
IF reading < lowLimit THEN
SWITCH_ON(actuator)
ELSE IF reading > highLimit THEN
SWITCH_OFF(actuator)
END IF
WAIT(interval)
END LOOP
Evaluation points
- For: faster and more consistent than people; continuous operation; works in hazardous places; saves energy by responding to real conditions.
- Against: wrong outputs if sensors fail or drift; initial cost; software errors in safety-critical systems; less human judgement in unusual cases.
Exam traps
- Sensors measure; controllers decide; actuators act. Keep the verbs straight.
- Closed-loop answers must mention feedback and the output’s effect being measured again.
- Analogue sensors need an ADC before a digital processor can use the reading.
- A timer is not a sensor of the process: a timed programme is still open-loop.
- Name the specific sensor and actuator for the scenario, not “a sensor”.
- Real-time means guaranteed response time, not “very fast”.
Self-test
- Define a control system.
- Distinguish a sensor from an actuator.
- What is a set point?
- Explain the difference between open-loop and closed-loop control.
- Why does a temperature sensor’s reading usually pass through an ADC?
- Give one example of an open-loop system.
- Name a sensor and an actuator in an automatic door.
- Why does a thermostat use a tolerance band?
- Why must an anti-lock braking system sample its sensors more often than a heating system?
- Define an embedded system and give one advantage.
- What is meant by a fail-safe default? Give an example.
- Give two drawbacks of using a control system rather than a human operator.
Answers:
- A computer system that monitors a physical process and adjusts it automatically.
- A sensor measures a physical quantity and sends a signal in; an actuator receives a signal and produces physical action.
- The target value that the control system tries to maintain.
- Open-loop sends outputs without measuring their effect; closed-loop measures the result (feedback) and adjusts the output to reach the set point.
- The sensor produces an analogue signal; the processor can only work with binary values.
- Any one: a timed washing programme; a basic toaster; fixed-time traffic lights.
- Sensor: infrared/motion sensor. Actuator: door motor.
- To stop the heater switching on and off rapidly as the temperature crosses the set point.
- Wheel speed changes very quickly, so the system must respond within a fraction of a second; room temperature changes slowly.
- A dedicated computer built into a device to do one job; any one advantage: low cost, small size, low power use.
- The state the system moves to when something fails, chosen to be safe; for example, a lift applies its brakes if power is lost.
- Any two: wrong decisions if a sensor fails; cost of installation; software errors could cause harm; cannot use judgement in unusual situations.
Related pages
Official syllabus
International Baccalaureate Organization, Diploma Programme Subject Brief – Sciences: Computer science, first assessment 2027, © 2024.
Related resources
-
Study guides
IB DP Computer Science (DP Computer Science): CPU and GPU Differences (HL)
HL study guide to how CPUs and GPUs differ in IB DP Computer Science A.1: cores, design aims, memory, suitable tasks and how the two processors work together.
Computer Science · International Baccalaureate · IB
Read guide -
Practice questions
IB DP Computer Science (DP Computer Science): CPU and GPU Differences (HL) – Practice Questions
Twelve original HL questions on CPU and GPU differences for IB DP Computer Science A.1, from definitions to scenario evaluation, with mark-scheme answers.
Computer Science · International Baccalaureate · IB
Try questions -
Revision notes
IB DP Computer Science (DP Computer Science): CPU and GPU Differences (HL) – Revision Notes
Condensed HL notes on CPU and GPU differences for IB DP Computer Science A.1: latency, throughput, core design, memory, task choice and a self-test.
Computer Science · International Baccalaureate · IB
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.