Topic 6 · Control Systems (HL)
Computer Science · Cheatsheet

Topic 6 · Control Systems (HL)

Chapter 2 · Sensors, actuators & feedback

📋 Reference · always available
Sensor
Converts physical quantity → electrical voltage. Thermistor, photoresistor, accelerometer, mic.
ADC
Analog-to-Digital Converter. SAMPLES voltage at fixed rate; outputs integers (10-bit = 0-1023).
Sample rate + resolution
Hz + bits. Higher = more precise but more cost + CPU.
Actuator
Converts signal → physical action. Motor, servo, valve, heater, LED, speaker.
DAC
Digital-to-Analog Converter. Integer → voltage. Often replaced by PWM (fast on/off, average = duty cycle).
Negative feedback
Output PULLED BACK toward target. Stabilising. Used in 99% of control systems.
Positive feedback
Output AMPLIFIED away from current state. Microphone squeal, fire alarm chain. Rare and dangerous if unbounded.
Lag
Intrinsic DELAY between command and physical response. Cannot be removed — only ANTICIPATED.
Overshoot
Output PASSES the target before settling. Caused by lag + naïve control. PID minimises it.
PID
Proportional (current error) + Integral (accumulated error) + Derivative (rate of change). Industry workhorse.
P role
Drives correction proportional to current error magnitude.
I role
Removes steady-state offset (system stuck slightly below target).
D role
Damps approach — slows correction as target is neared → less overshoot.