PLC Based Control System
PLC Based Control System
&
DDC Based Control System
BMC
Control Strategies
Monitoring Sequential Control Closed Loop Control
Subsystems Subsystems Subsystems
Display the process Processes that follow Open Loop
state to the operator Predefined Sequence Closed Loop
Examples:
and draw attention to
Gas Fired Burner • Room Temperature
abnormal or fault 1. Energize Fan Starter Control
conditions which need 2. After 2 Minute, Open Gas Pilot Valve • Ship Autopilot Control
attention. and Operate Igniter for 2 Seconds. • Automatic Drug Delivery
3. If flame detected by Flame Detector, System
4. Open Main Gas Valve. • And many more…
• running/stopped
• forward/off/reverse
• fault/healthy
• Analog Quantities
like Level,
Temperature,
Voltage, Current
Computer in Industrial Control
The first industrial computer application was probably a monitoring
system installed in an oil refinery in Port Arthur, USA in 1959.
(a)
a simple overview of a computer (b)
the computer as part of a control system
The instructions will define what action is to be taken as the
input data (from both the plant and the operator) change.
Program
repeat
start: = bitread(1);
stop: = bitread(2);
run: = ((start) or (run)) & stop;
bitwrite (10,run);
Until over
Requirement 1 : Modification and Expansion
• An industrial control program rarely stays the same for the whole of its life.
• There are always modifications to cover changes in the operations of the
plant.
• These changes will be made by plant maintenance staff, and must be made
with minimal (preferably no) interruptions to the plant production.
• Adding a second stop button and a second start button to above system
would not be a simple task.
Requirements for industrial control
• Some outputs must go back to the state they were in before the loss of
supply; others will need to turn off or on until an operator takes available
corrective action.
• The designer must have the facility to define what happens when the
system powers up from cold.
POWER
SUPPLY
I M O M
N O U O
P D T D
U U PROCESSOR P U
From T L U L
SENSORS E T E To
Pushbuttons, OUTPUT
contacts, Solenoids,
limit switches, contactors,
etc. alarms
PROGRAMMING
DEVICE etc.
Major Components of a Common PLC
POWER SUPPLY
I/O MODULES
PROCESSOR
Provides intelligence to command and govern the activities of the entire PLC
systems.
PROGRAMMING DEVICE
Used to enter the desired program that will determine the sequence of
operation and control of process equipment or driven machine.
From Relay Based Logic to PLC Programming – Ladder Diagram
• Ladder logic is the main programming method used for PLCs.
• Ladder logic has been developed to mimic relay logic.
Relay
• Device that uses a magnetic field to
control a switch.
• When a voltage is applied to the input
coil, the resulting current creates a
magnetic field.
• The magnetic field pulls a metal switch
towards it and the contacts touch,
closing the switch.
• The contact that closes when the coil is
energized is called normally open.
• The normally closed contacts touch
when the input coil is not energized.
Relay Symbols used in Ladder Diagram
• Relays are normally drawn in
C
schematic form using a circle to
represent the input coil.
• The output contacts are shown with
two parallel lines. Normally open NO
contacts are shown as two lines, and
will be open (non-conducting) when
the input is not energized.
• Normally closed contacts are shown
with two lines with a diagonal line NC
through them.
• When the input coil is not energized
the normally closed contacts will be
closed (conducting).
Relay based logic
• In this system the first relay on the left is used as normally closed, and
will allow current to flow until a voltage is applied to the input A.
• The second relay is normally open and will not allow current to flow until
a voltage is applied to the input B.
• If current is flowing through the first two relays then current will flow
through the coil in the third relay, and close the switch for output C.
Ladder Logic
This circuit would normally be
drawn in the ladder logic
form. This can be read
logically as C will be on if A is
off and B is on.
Rung 2
Rung 1: If input A is on and input B is off, then power will flow through the
output and activate it. Any other combination of input values will result in the
output X being off.
Rung 2: On the left most part of the rung, power could flow through the top if C is off
and D is on. Power could also (and simultaneously) flow through the bottom if both E
and F are on. This would get power half way across the rung, and then if G or H is true
the power will be delivered to output Y.
Input Module/Card Connection
Output Module/Card Connection
PLC Connection with I/O Devices
OUTPUTS
INPUTS MOTOR
CONTACTOR
LAMP
PUSHBUTTONS
PLC
Typical Discrete Input Symbols for PLC Ladder Diagram
Level Transmitter IN
PLC
Analog
Tank Input
Module
Digital Output
OUT
PLC
Lamp
Digital
Output
Module
Analog Output
OUT
E Supply air
PLC 0 to 10V P
Analog
Output
Module
Pneumatic control valve
Basic Function of a Typical PLC
Read all field input devices via the input interfaces,
execute the user program stored in application memory,
then, based on whatever control scheme has been
programmed by the user, turn the field output devices
on or off, or perform whatever control is necessary for
the process application.
PHASE 1
Read Inputs
Scan
PHASE 2
Program
Execution
PHASE 3
Diagnostics/
Comm
PHASE 4
Output
Scan
AND OPERATION
A B C
Rung
A C
Rung
A C
Rung
Various parts of the plant processes and several parts of the DCS network
elements are connected to each others via the data highway (fieldbus).
The data highway is thus the backbone for the DCS system.
Host computer
The host computer is responsible for performing many higher level functions.
These could include optimization of the process operation over varying time
horizons (days, weeks, or months), carrying out special control procedure
such as plant start up or product grade transition, and providing feedback on
economic performance.
The elements of a commercial distributed control system network
Local Control Unit (LCU)
This is denoted as local computer in Figure. This unit can handle 8 to 16 individual
Control loops, with 16 to 32 analog input lines, 8 to 16 analog output signals and a
limited number of digital inputs and outputs.
Local Display
This device usually provides analog display stations, analog trend recorder,
and sometime video display for readout.
First advantage over Pneumatic telemetry is time required to send the signal is
infinitely small.
Electrical Telemetry:
1. Voltage Telemetry :
Measured variable is converted in AC or DC Voltage and then transmitted
to receiver.
Voltage Telemetry is affected by Line Resistance, Leakage and noise.
High Signal to Noise Ratio is required.
Can be used in Plants up to 300 Meters.
2. Current Telemetry :
Direct Current of 4-20 mA is used as transmission signal.
It is suffered from variation in supply voltage
Temperature variation increases line resistances.
Different Types of Telemetry Systems:
Position Telemetry :
(Using Electrical System)
Impulse Telemetry:
(Electronic Telemetry)