AS Computer Science
Sensors, Actuators, ADC/DAC & Feedback
Computers can measure the world around them. Some only show information. Others make changes automatically. This lesson explains the difference.
By the end, I canβ¦
- explain the difference between monitoring and control;
- identify a suitable sensor and actuator;
- describe when an ADC or DAC is needed;
- trace the steps of a feedback loop, using clear technical words.
1. Monitoring and control are not the same
Monitoring = observe
A system measures a condition. It may record a reading, display it or warn a person.
Example: A museum display case measures humidity and sends an alert when it is too high. A staff member must respond.
Control = act
A system measures a condition, makes a decision and automatically changes something.
Example: A museum display case measures humidity and switches on a dehumidifier when needed.
The difference: A warning is usually monitoring. Automatic action that changes the condition is control.
Common mistake
βThe computer sounds an alarmβ does not mean it controls the temperature or humidity. The computer must act on the environment to control it.
2. Sensors give input; actuators produce actions
These four sensor types are important for this course:
| Sensor | What it detects | Original example |
|---|---|---|
| Temperature | How hot or cold something is. | Measures the temperature of an outdoor seed-storage box. |
| Pressure | Force acting on an area. | Checks the pressure in a bicycle-repair air pump. |
| Infrared | Infrared radiation. | Detects a person near an interactive museum exhibit. |
| Sound | Sound waves or sound level. | Measures noise in a school music rehearsal room. |
| Actuator or output mechanism | Action |
|---|---|
| Motor | Rotates a fan or moves a mechanical part. |
| Relay | Switches another electrical circuit on or off. |
| Valve actuator | Opens or closes a valve to change the flow of liquid or gas. |
Use the correct verbs
A sensor measures. A processor compares and decides. An actuator moves, switches or changes something.
3. Moving between analogue and digital signals
A physical condition can change smoothly. For example, humidity could be 51.2%, 51.3%, or 51.4%. An analogue signal can vary continuously. A computer works with digital values.
ADC means analogue-to-digital converter. It changes an analogue input signal into digital data.
DAC means digital-to-analogue converter. It can change digital values into an analogue output signal for equipment that needs one.
Important: not every system needs both converters
- A digital sensor can send digital readings directly. No separate ADC is needed.
- A simple on/off relay can be controlled by a digital output and suitable driver circuit. A DAC is not needed for a basic on/off signal.
- A variable-speed fan may use an analogue control signal made by a DAC. Some real fans instead use digital PWM control.
4. How a feedback loop works
In a feedback system, the computer takes another reading after it acts. The next decision uses the new result.
Worked example: museum archive room
- A humidity sensor reads 62%.
- The reading reaches the processor (through an ADC if the sensor is analogue).
- The processor compares 62% with a stored upper limit of 55%.
- Because the reading is above the limit, it switches on a fan or dehumidifier.
- After a short time, the sensor takes another reading. The processor decides again.
Setpoint means a target value. Threshold means a limit that triggers a change. A control system may use one or both.
Exam writing pattern
Read β convert if needed β compare β output signal β actuator acts β read again. Explain what each step changes in this situation.
5. Interactive: Monitoring and Feedback Lab
Try the same museum archive room in two modes. Monitoring shows a warning. Control can switch on the fan. Change the signal options to learn when ADC and DAC are needed.
6. Practise for the exam
Question A Β· Distinguish [2]
A computer measures noise in a rehearsal room. It records the noise and shows a red warning when it is too loud. Is this monitoring or control? Explain.
Show possible answer
Monitoring [1]. The computer records and warns, but it does not automatically change the noise level [1].
Question B Β· Explain a system [6]
A museum display case must keep its humidity below a chosen limit. A controller switches on a dehumidifier when required. Describe the system, including feedback.
Show possible answer
- A humidity sensor measures the current humidity [1].
- An ADC converts the reading if it is analogue [1].
- The processor compares it with the stored limit [1].
- When too high, it sends a signal to the dehumidifier's control circuit [1].
- The dehumidifier lowers the humidity [1].
- The sensor reads again and the processor uses the new result to adjust its action [1].
This is an original practice mark guide, not an official mark scheme.
Common mistakes
- Writing that a sensor makes the decision instead of the processor.
- Adding an ADC for every sensor, even when it already produces digital readings.
- Adding a DAC for every output, even for a simple digital on/off relay.
- Leaving out the repeated reading that makes feedback possible.
Final check: Can you explain what happens after the first action? That is the key idea behind feedback.