SlideShare a Scribd company logo
PID Controllers
and introduction to
PLC systems
By
Dr. Palitha Dassanayake
Control Systems
Speed
Time
Motion
profile
Micro-processor control system
Fly ball governor
Steam
valve
James watt
(speed increases,
Steam value closes)
Control Systems in early days
Input- Voltage
Output-Rotated angle
Control System
Voltage
Voltage
Amplifier
Telephone line
Amplifications Amplifications Amplifications
Telephone line amplification problem
noise noise noise noise
noise
With the amplification, noise gets increased and increased…
Input
voltage(a) Amplifier
gain
Output
voltage
Amplifier
gain
Attenuator
circuit
Input
voltage
Output
voltage(b)
_
+
-
Feedback
gain
+
Reference
input(b) Controller
Controlled
variable
Process
Actuating
signal
Reference
input
(a)
Controller
Controlled
variable
Process
Actuating
signal
Open Loop control system
Closed Loop control system
PID controller
P= proportional
I=Integral
D=Derivative
90%-95% closed loop automatic
controllers are PID
Automatic Controller
-
Sensor
+
Reference
input r(t)
Controller PlantActuator
Output y(t)
Step input and on and
off controller
r(t)
Time
A
If y(t)<r(t) ON
If y(t)>r(t) OFF
Time
y(t)
P controllers
_
Sensor
feedback
+
Set value r(t) Output y(t)
P process
Steady State Error ?
Transient Response
Time
u(t)
SSE
)()(()( trtykptu −=
P controller outputs
Input r(t)= step input value 2
s+
=
1
1
functionTransfer
Kp=1
Kp=5
Steady state error decreases with kp for this particular application
Plant
Reducing S.S.E
_
+
Set value Output
P
+
+
plant
U(t)
We may place an external input,
but different set points have different SSE ?
PI Controller
))()(()( tytrte −=
P
_
+
Set value Output
I
+
+
process
U(t)
e(t)
∫+= dttekitekptu )(*)(*)(
Integral part
PI controller output
Step input value =2 Kp=5
KI=1
KI=5
S.S.E exists
S.S.E is zero
KI=20 There is an overshoot
PID controllers
P
_
+
Set value Output
I
D
+
+
+
plant
dt
tde
kddttekitekptu
)(
*)(*)(*)( ++= ∫
))()(()( tytrte −=
PID controller output
Step input value =2 Kp=5 and KI=20
KD=1
KD=10
S.S.E still exists
Transient response is also less
PID controller output
contd. Kp=5, KI=20 and KD=10
input r(t)- pulse input
output y(t)
Tuning of PID
controllers
PID values are different from one system to another
It is required to tune a P, PD, PI or PID controller
Basic industrial approaches
 Design a stable tuned PID controller after modeling
 Develop a simulator after modeling and tune
observing the simulator result
 On site tuning
 Combination of all three approaches
PLC is similar to using a computer but has certain features
that are specific to their use as controllers.
These are:
1. They are rugged and designed to withstand vibrations,
temperature, humidity and noise.
2. The interfacing for inputs and outputs is inside the controller.
3. They are easily programmed and have an easily understood
programming language. Programming is primary concerned
with logic and switching operations.
Programmable Logic Controllers
Data bus
Address bus
Control bus
CPU
clock
Memory
Input/
Output
unit
Program
panel
Input
channels
Output
channels
Architecture of a Programmable Logic Controller
Normally opened contact
Normally closed contact
AND operation
LADDER DIAGRAMS
OR operation
Output
Special Instruction
I0.0 Q0.0
I0.1 Q0.1
I0.0 I0.1 Q0.0
Ladder diagram using S7 200
Q0.0I0.0
I0.1
Setting and Resetting an output
I0.0 Q0.0
I0.1 Q0.0
S
R
Setting and Resetting a Memory
I0.0 M0.0
S
I0.1 M0.0
R
Memory
Input Register I
Type Symbol Example
Bit I0.1
Byte IB4
Output Register O
Type Symbol Example
Bit Q1.1
Byte QB5
Variable Memory V
Store intermediate results performed by the
control logic in a program
Type Symbol Example
Bit V10.1
Byte VW100
Bit Memory M
Store intermediate status of an operation or
other control information
Type Symbol Example
Bit M26.7
Byte MD20
Two types of timers available
1. On Delay Timer
2. Off Delay Timer
On Delay Timer (T33- steps of 10ms)
I0.0 T33
2000+
IN
PT
TON
Q
ET
T33 Q0.0
Time
onSwitch
ON
Bulb
OFF
20s
offSwitch
Off Delay Timer (T33- steps of 10ms)
I0.0 T33
1500+
IN
PT
TOF
Q
ET
T33 Q0.0
Time
onSwitch
ON
Bulb
OFF
15s
offSwitch
Counters
I0.0 C48
5+
UP
R
C48 Q0.0
PV
I0.1
Logo Programming
&
I1
I2
Q1
AND Operation
I1
I2
Q1
OR Operation
1≤
S7 200 Programming Techniques
1. Ladder Programming
2. Statement Lists (SLT)
3. Function Block Diagrams
Statement List (SLT)
This programming method introduces a list of statements.
Let’s look at the basic programming using SLT.
Statement List (SLT)
This programming method introduces a list of statements.
Let’s look at the basic programming using SLT.
AND Operation
LD I I0.0 // Read I0.0
A I I0.1 //and with I0.1
= Q0.0 //write the value to Q0.0
Statement List (SLT)
This programming method introduces a list of statements.
Let’s look at the basic programming using SLT.
AND Operation
LD I I0.0 // Read I0.0
A I I0.1 //and with I0.1
= Q0.0 //write the value to Q0.0
OR Operation
LD I I0.0 // Read I0.0
O I I0.1 //or with I0.1
= Q0.0 //write the value to Q0.0
On delay Timer
Network 1
LD I0.0
TON T33,+2000
Network 2
LD T33
= Q0.0
Network 1
LD I0.0
LD I0.1
CTU C48,+5
Network 2
LD C48
= Q0.0
Timers Counters
I0.0
I0.1
AND
Q0.0
Functional Block Diagrams
I0.0
I0.1
OR
Q0.0
END

More Related Content

PDF
Siemens s7 300-400-s7 graph for s7-300 400 programming sequential control sys...
PDF
HWg-Juno 404 - Datasheet
PPTX
Introducing the West Range of Products
PDF
Manuale Instatore User Manual
DOC
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
PPTX
Pro tools HD Systems
PDF
Lecture 2 timers, pwm, state machine IN PIC
PDF
Analog I/O in PIC16F877A
Siemens s7 300-400-s7 graph for s7-300 400 programming sequential control sys...
HWg-Juno 404 - Datasheet
Introducing the West Range of Products
Manuale Instatore User Manual
Cataloge ge 3.control and_automation_dienhathe.com-4_15_vat300_e_c6-1_rev_d
Pro tools HD Systems
Lecture 2 timers, pwm, state machine IN PIC
Analog I/O in PIC16F877A

What's hot (18)

PPTX
Timer counter in arm7(lpc2148)
PDF
Lecture7
PDF
Analog To Digital Conversion (ADC) Programming in LPC2148
PDF
Intrerfacing i
PPTX
Temperature Sensor with LED matrix Display BY ►iRFAN QADOOS◄ 9
PPTX
PPTX
Easy testing for smps led driver
PPTX
Arduino Interfacing with different sensors and motor
PDF
Signal Handling in Linux
PDF
Maxon epos2 feature-comparison-chart
PDF
PITOPS Industrial Process Control Software
PDF
Galil ioc7007 catalog
PDF
Microcontroller Instruction Set atmel
PPT
PIC timer programming
PPT
Interrupts for PIC18
PDF
Lecture 3a analog to digital converter
PPTX
Timer counter in arm7(lpc2148)
Lecture7
Analog To Digital Conversion (ADC) Programming in LPC2148
Intrerfacing i
Temperature Sensor with LED matrix Display BY ►iRFAN QADOOS◄ 9
Easy testing for smps led driver
Arduino Interfacing with different sensors and motor
Signal Handling in Linux
Maxon epos2 feature-comparison-chart
PITOPS Industrial Process Control Software
Galil ioc7007 catalog
Microcontroller Instruction Set atmel
PIC timer programming
Interrupts for PIC18
Lecture 3a analog to digital converter
Ad

Similar to Automationcontrol3 (20)

PPT
Plc presentation
PDF
Advanced motion controls dzcantu 020b080
PPTX
Basics of Programmable Logical Controllers
PPT
PDF
Advanced motion controls dzxcante 040l080
PPT
P.L.C (Manufacturing & Automation) pptx.
PPT
PLC introduction for programing S7-1200 simenens
PPT
Prigrammable Logic Controller - IE450 Manufacturing Systems
PPT
ie450pp10 (4).pptechanics manufacturing sheet forming processses
PPT
plc fjjolk mfikjm smfnvid ajdsjhikvgjsd dcij
PPT
plc automation new jhsf jijasd jicnvjd jsfdgb
PPT
ie450pp10.ppt INTRODUCTION TO PLC UPLOAD
PPT
ie450pp10.pptPPTPTPTPTPTPTPTPTPTPTPTPTPTPT
PPT
PLC Logic Controller Presentation PPT File
PPT
PROGRAMMABLE LOGIC CONTROLLERS, Manufacturing Systems
PPT
programming logic controller and programming
PPTX
CIVIL Industrial Automation PPT.pptx
PPT
PLC good.ppt
PPT
ie450pp10.ppt
PPT
ie450pp10.ppt
Plc presentation
Advanced motion controls dzcantu 020b080
Basics of Programmable Logical Controllers
Advanced motion controls dzxcante 040l080
P.L.C (Manufacturing & Automation) pptx.
PLC introduction for programing S7-1200 simenens
Prigrammable Logic Controller - IE450 Manufacturing Systems
ie450pp10 (4).pptechanics manufacturing sheet forming processses
plc fjjolk mfikjm smfnvid ajdsjhikvgjsd dcij
plc automation new jhsf jijasd jicnvjd jsfdgb
ie450pp10.ppt INTRODUCTION TO PLC UPLOAD
ie450pp10.pptPPTPTPTPTPTPTPTPTPTPTPTPTPTPT
PLC Logic Controller Presentation PPT File
PROGRAMMABLE LOGIC CONTROLLERS, Manufacturing Systems
programming logic controller and programming
CIVIL Industrial Automation PPT.pptx
PLC good.ppt
ie450pp10.ppt
ie450pp10.ppt
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
RMMM.pdf make it easy to upload and study
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Lesson notes of climatology university.
PDF
Trump Administration's workforce development strategy
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Cell Structure & Organelles in detailed.
RMMM.pdf make it easy to upload and study
VCE English Exam - Section C Student Revision Booklet
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india
Abdominal Access Techniques with Prof. Dr. R K Mishra
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Weekly quiz Compilation Jan -July 25.pdf
Microbial diseases, their pathogenesis and prophylaxis
Orientation - ARALprogram of Deped to the Parents.pptx
GDM (1) (1).pptx small presentation for students
Chinmaya Tiranga quiz Grand Finale.pdf
Computing-Curriculum for Schools in Ghana
Lesson notes of climatology university.
Trump Administration's workforce development strategy
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx

Automationcontrol3