Control
Control
COMPUTER CONTROL
Inputs
Sensors capture analog data, such as temperature, pressure, light. This is converted to
digital by a AD (analog-to-digital) converter, so that it can be processed by a computer.
Processing
The microcontroller or CPU makes a decision on the basis of the data input. If some
threshold is reached, then some action is taken.
Outputs
The system affects the outside world in some way, e.g. turning on a heater, moving a
robot arm, adjusting the speed of a motor. The generic term for the mechanism by
which a control system acts on its environment is an actuator.
PARTS OF CONTROL SYSTEM
CONTROLLED analog
ACTUATOR PROCESS data from
ENVIROMENT sensors
DAC ADC
COMPUTER
With control
program
Control signals
RANGE OF CONTROL SYSTEMS
Sensors are used to measure physical quantities such as temperature, light, pressure,
sound, and humidity. They send signals to the processor.
For example:
A security alarm system may have an infrared sensor which sends a signal when the
beam is broken.
A heat sensitive sensor in the corner of a room may detect the presence of a
person.
Temperature sensors could be used to control the heating in a large building.
Magnetic sensors are used to detect metal and can be placed in roads to monitor
traffic flow.
Other physical quantities that can be transmitted directly to the computer's
processor include: rainfall/water levels, radiation level, pH level, oxygen level
OUTPUT TRANSDUCERS
Middleware Middleware
Network OS Network OS
Hardware Hardware
Host-1 Host-2
Network
Component-1 … Component-n Component-1 … Component-n
Middleware Middleware
Network OS Network OS
Hardware Hardware
Host-n Host-3
DISTRIBUTED SYSTEMS
Centralized Systems
Centralized systems have non-autonomous components
Centralized systems are often built using homogeneous technology
Multiple users share the resources of a centralized system at all times
Centralized systems have a single point of control.
Centralized system have a single point of failure.
Distributed Systems
Distributed systems have autonomous components
Distributed systems may be built using heterogeneous technology
Distributed system components may be used exclusively
Distributed systems are executed in concurrent processes
Distributed systems have multiple points of failure
ADVANTAGES OF DISTRIBUTED SYSTEMS
Autonomy
Agents can select the task themselves (based on priorities or goal-directed search)
without human intervention.
Reactive behavior
Agent senses the environment in which it is, and decides what to do, reacting on its
perceptions.
Concurrency/sociality
Agents can interact with other agents through communication, in different modes:
coordination, cooperation, competition.
Persistence
The code describing an agent runs continuously like a process, and is not executed on
demand.