Topic 7-Control
Topic 7-Control
HL Extension
Overview
to another is transducer. Both
sensors and actuators are
transducers.
Inputs Outputs
Sensors capture Processing The system affects the
analog data, such as The microcontroller outside world in some
temperature, or CPU makes a way, e.g. turning on a
heater, moving a robot
pressure, light. This decision on the
arm, adjusting the
is converted to basis of the data speed of a motor. The
digital by a AD input. If some generic term for the
(analog-to-digital) threshold is mechanism by which a
converter, so that it reached, then some control system acts on
can be processed action is taken. its environment is an
by a computer. actuator.
Inputs
• The system gathers data about the current state of the system from sensors that
convert analog data to digital data so that it can be read and understood by the CPU or
microcontroller (AD conversion).
• Examples are heat, light, pressure, gas concentrations, movement, distance, pH,
salinity, saturation, etc.
Processing
• The microcontroller compares the current state information with pre-programmed
thresholds and acts accordingly.
• Rules and thresholds are stored in ROM memory.
• For example if it is too cold, then a heater is turned on, if it movement is detected, an
alarm goes off, etc.
Outputs
• The digital signal from the microcontroller causes some effect in the physical world
through an actuator (digital-to-analog or DA conversion). The effect of the actuator is
to regulate the state of the system.
FEEDBACK
• Feedback occurs when a system changes the value that it senses. For example, a
central heating system senses temperature but also changes the temperature.
• The aim of a feedback system is to keep some value, e.g. temperature, within some
range.
• Explain the role of feedback in a household electric oven [4 marks]
© Justin Robertson 2017. All rights reserved.
Hardware associated with control systems
• Input
– Sensors
– AD Converters
• Processing
– Microcontroller/Microprocessor
• Output
– Actuators
– Transducers
– Fan, sprinkler, alarm, etc
© Justin Robertson 2017. All rights reserved.
Related topics
• Given a description of a control system, you may
be asked to:
– Construct a flowchart (even though the guide says
you won't)
– Write an algorithm in pseudocode
• Tagging prisoners
– ☺ Fewer parole violations
– ☹ Invasion of privacy
• Surveillance and CCTV
– ☺ Reduction in crime
– ☺ Invasion of privacy
– ☹ Information can be misused (e.g. blackmail, discrimination, marketing)
• Safety systems
– ☺ Greater levels of safety
– ☹ Overreliance
– ☹ Threat from hackers