01 Control System
01 Control System
INTRODUCTION TO
COMPUTER SYSTEM
Desktop
Laptop/Notebook
Workstation
Server
Basic Elements of a Computer
OUTPUT
DEVICE
INPUT
DEVICES
PROCESSOR
UNIT
Basic Elements of a Computer
P
R
U
O
INPUT N OUTPUT
C
DEVICES I DEVICES
E
•Mouse •VDU
S T
•Keyboard •Printer
S •Speaker
•Joystick
•scanner
O •plotter
R
HARDWARE
Four functions of computer
Storage
DEFINITION
A computer is an
electronic device
that executes the
instructions in a
program
SOFTWARE
OS
windows 2003
MS-DOS
APPLICATION SOFTWARE
Microsoft word
Microsoft Excel
etc
Computer Components:
Top Level View
COMPUTER SYSTEM BLOCK DIAGRAM
& BUSES
BAS
CPU / DATA
BAS
MICRO- ALAMAT
PROCE
SSOR CONTROL
BUS
INTERFACE
RAM ROM DEVICE
INPUT OUTPUT
DEVICES DEVICES
MICROPROCESSOR
COMPUTER ARCHITECTURE
SERIAL
I/O
RESET ADD
RES
CPU PIC S RAM ROM DMAC UART PIO
DEC PARALLEL
CLOCK ODE I/O
R
BASIC ARCHITECTURE OF A
COMPUTER
CPU
Cip memory – RAM ROM
Address decoder chip
Input and output interface chip : )
( PIO and UART )
Direct memory access controller (DMAC)
Programmable interrupt controller (PIC)
Bus structure
Types of a computer
Mainframes
Microcomputer
Minicomputer
Server
Focus of this module
This module is focus on the
control system that controlled
by a microcomputer or
controller system – also known
as computer-oriented control
system
Microcomputer
Relatively small, inexpensive computer based
on a microprocessor chip
Typically includes Personal computer
Designed for business, scientific application,
hobbyist or for domestic use.
Can execute millions of instruction per second
May consist of CPU, RAM, ROM, Keyboard,
Video display etc
Microcontroller
Single-chip IC that contains a
microprocessor , a memory and I/O
circuitry.
Suitable for dedicated-application
system
Cheaper
Perform Arithmetic, logic and control
Microprocessor
Is a single LSI chip
Performs arithmetic, logic and control
Contains ALU and CU
CPU and microprocessor are
synonymous
P em bangunan M ikropengaw al
(M icrocontrollers)
D ata Bu s AL U
A c c es s L og i c
A dd r es s
C on trol L ogi c
R egi s ter s
In terr up t &
C on trol L ogi c
(E)EPR OM /
F las h
M icro p ro ces so r M i cr opr o c es sor
C or e
S R AM
Perip h eral I /O
L o g ic
Controller)
PC (Personal Computer)
Embedded controller
COMPUTER
•it has a powerful CPU
GENERAL-
•For multiple application
PURPOSE system
COMPUTER
•Personal computer
Display
Sensor ADC DAC panel
µC
CONTROL SYSTEM
Dedicated-application mostly
people called it as control
system
Generally it has 2 categories :
1. closed system
2. open system
CLOSED SYSTEMS:
When designing a control system it is good
practice to consider it as a number of stages. For
example;
A simple weather station can be looked upon as
the following;
INPUT: PROCESS: OUTPUT:
The heat from the Data is received by The temperature
sun causes the the computer and levels are printed
temperature it is processed. out. This is one
sensor to produce The processed form of output.
data and this is data is displayed
sent to the on the monitor as
computer. a graph.
FEEDBACK
Feedback is
constant as the
computer
continually checks
the moisture level of
the soil.
This is the layout to the systems diagram for the automatic
sprinkler system.
The moisture sensor detects when the soil
is dry. The darlington pair is a simple
electronic device that amplifies the signal
sent by the sensors so that the computer
can read it. Without the darlington pair it is
possible that the signal from the sensor
could be too weak to be read by the
computer. This would mean that the
sprinkler system would not be turned on.
When the sensor determines that the soil
is moist/damp the signal to the computer
ends and the computer turns off the
sprinkler. This is called FEED BACK.
CONTROL SYSTEMS - OPEN SYSTEMS
A system that does not have feedback is an open
system.