Monitoring and
Control System
Monitoring vs Control System
Sensors and Actuators
Additional hardware
Importance of Feedback
Software
Use of Bit Manipulation to
Monitor/control a device
Hardware Required
Sensor
Transducer
Actuator
Sensors
Definition: A hardware device that measures a property
and transmits a value to a controlling computer
A measuring device
Records the readings (quantify the signal)
Acts as a transducer to convert one form
of energy to another
Transmits to the computer
Types:
o Thermal
o Mechanical
o Electrical
o Chemical
o Optical
Actuator
Definition: A hardware device that receives a signal from
a computer and adjusts the setting of a controlling device
A device which moves or actuate
Most are electro-mechanical transducers
When it receives a control signal, an actuator responds
by converting the signal's energy into mechanical
motion.
Example: Current produces
magnetic field
which is used to create
movement
Transducers
A device that converts one form of energy
to another
Examples:
A light bulb –electricity to light
Electric motor – electrical to mechanical
Microphone – sound to electrical signal
Speaker - ….
A Monitoring System
A system designed to watch or monitor some state
external to the computer system - Examples
Pollution, weather, monitoring system
Reasons for monitoring the system:
Value is within the acceptable limit or not
Checking that the recording the readings and
updating or not
Event-driven and Time-driven
System
Event-driven- the controller alters the state
of the system in response to some event
Time-driven- the controller takes action at
a specific point in time or after a certain
time has lapsed
Importance of Feedback
To ensure that the system operates within
the given criteria
By enabling system output to affect
subsequent system inputs
Thus enabling the system to automatically
adjust conditions
Example – Water tank overflow control
Feedback and Control System
Schematic Diagram- Controlled
Environment
Real Time Programming
Monitoring & control systems require real-time
programming
A real-time system has been described as one
which "controls an environment by receiving
data, processing them, and returning the results
sufficiently quickly to affect the environment at
that time"
Bit Manipulation to Monitor
and Control Device
AND, OR, NOT, XOR used in processors
instruction sets
A Monitoring Program
Pseudocode
A Monitoring & Control Program
Pseudocode
Monitoring and Control
Program-Function
Bit Manipulation
Flag Setting –Assembly Language
Question
Answer