SlideShare una empresa de Scribd logo
1 de 37
Copyright © Yokogawa Corporation of America
1
PID Control Basics
PID Tuning
Rob Sink
Technical Support Specialist
June 14th, 2016
Copyright © Yokogawa Corporation of America
2
What will be covered:
1. Common Process Control Techniques
2. Process Dynamics
3. What is PID
4. PID Control Components
5. How to Tune a PID Loop
Copyright © Yokogawa Corporation of America
3
Why do I Need to Understand PID
 Every process is different
 Makes manual tuning easier
 Helps companies save money
 Helps facilities remain safe
Copyright © Yokogawa Corporation of America
4
Common Process Control Techniques
ques
 Manual Control
 ON / OFF Control
 Closed Loop Control
Copyright © Yokogawa Corporation of America
5
Manual Control
 Operator observes the process error and
adjusts the control output
 PID CONTROL
Set Point
Measurement
(Process Variable)
Process
Copyright © Yokogawa Corporation of America
6
ON / OFF Control
 Simplest form of feed back control
 Can be used for processes not requiring extremely tight
control
Copyright © Yokogawa Corporation of America
7
Closed Loop Control
 The PID controller measures the process
variable, compares it to the setpoint and then
manipulates the output accordingly.
Final Control Element

PV
Set Point
Measurement
(Process Variable)
Copyright © Yokogawa Corporation of America
8
Process Dynamics: Dead Time
 Dead time is defined as the time before the process variable
BEGINS to react to a change in the control output
Output
Process
Variable
Lag Time
Dead
Time
Copyright © Yokogawa Corporation of America
9
Process Dynamics: Lag Time
 Lag is defined as the time required for the process
variable to adjust to a steady state after an output change
is performed
 Lag time affects the control action
Output
Process
Variable
Lag Time
Copyright © Yokogawa Corporation of America
10
Process Dynamics: Output vs. Process Change
Copyright © Yokogawa Corporation of America
11
What is PID?
 PID control refers to process control using the
coefficients Proportional, Integral and Derivative
 It is not P&ID which refers to Piping &
Instrumentation Diagram
Copyright © Yokogawa Corporation of America
12
PID Control Defined
 PID control can be
described as a set of rules
with which a precise
regulation of a closed-
loop control system is
obtained.
Temp
(PV)
Temp
Setpoint
(SP)
Copyright © Yokogawa Corporation of America
13
PID Control Terms
 Proportional Band adjusts output amplitude
(reciprocal of Gain)
 Integral eliminates offset error (automatic Reset or
simply Reset)
 Derivative looks at the rate of change of the error
(Rate)
Copyright © Yokogawa Corporation of America
14
Proportional Band
 The Proportional Band (P) is defined as the range over
which the control output is adjusted from 0-100%
 Proportional does the heavy lifting getting the temperature
close to the setpoint
 Some manufacturers use Gain instead of Proportional
Band
Copyright © Yokogawa Corporation of America
15
Proportional with Manual Reset
 With proportional only control, an offset will be
present between set point and process variable.
 Manual Reset allows a user to bias or shift the
output to compensate for the steady state offset.
1000º
Manual Reset Adjusted Here
500º
Set Point
Proportional
Band
Time
Copyright © Yokogawa Corporation of America
16
Integral
 Integral action is used with proportional to eliminate the
inherent offset
 The integrating term observes how long the error has
existed, summing the error over time
 The sum becomes a value added to the output
Output
Time 200 sec/repeat
Integral Action
Proportional Action
Integral Time Constant
Error
-10%
+10%
Copyright © Yokogawa Corporation of America
17
Integral – cont.
 Engineering units:
Repeats/minute
Minutes/repeat
Seconds/repeat
 The integral action ceases at a no error condition
Copyright © Yokogawa Corporation of America
18
Integral at Work
I I II
Integral started.
Setpoint
Each time period where the error is not zero,
the output is increased (or decreased) by the
Integral term.
Copyright © Yokogawa Corporation of America
19
A Note About Integral Windup
 Integral windup refers to the situation in a PID controller
where the integral, or reset action continues to integrate
(ramp) indefinitely
 This usually occurs when the controller's output can no
longer affect the controlled variable, which in turn can be
caused by controller saturation
 Typical causes of Integral Windup are: The input has been
removed from the process, output device has failed, a
furnace door has been opened keeping the process from
reaching temperature
Copyright © Yokogawa Corporation of America
20
Derivative
 Engineering units: minutes or seconds
 Anticipates the error rate and applies the “brakes”
 Derivative has no effect if the error is constant
Output
Time 50 seconds
Derivative Action
Integral Action
Derivative Time Constant
Error
-10%
+10%
Copyright © Yokogawa Corporation of America
21
P, I and D Working Together
P only P and I P I D
Copyright © Yokogawa Corporation of America
22
How to Tune a PID Loop
 Manually tuning the loop
 Using the controllers Auto/Self Tune
Copyright © Yokogawa Corporation of America
23
Manually Tuning a Loop
 These values are good starting points
 Change only (1) term at a time
 Make small changes observing the result
Copyright © Yokogawa Corporation of America
24
Fine-tuning the Proportional Band
 Work from larger to smaller numbers (wider to narrower)
 If cycling appears, the proportional band is too narrow
Copyright © Yokogawa Corporation of America
25
Fine Tuning the Integral Time
 The main goal is to reduce the offset
 Adjust from longer to shorter time
 If an oscillation exists at a longer period then the
integral time is too short
Copyright © Yokogawa Corporation of America
26
Fine Tuning the Derivative Time
 Adjust from shorter to longer time
 If short-period oscillations develop, the time is to long.
 The larger the Derivative, the stronger the corrective
action and the more likely the output will become
oscillatory
Copyright © Yokogawa Corporation of America
27
Tuning Loops with Dead Time
Output
Process
Variable
Lag Time
Dead
Time
Set P to 5% and the I & D to 0%
Start the process with a setpoint that will allow the
process variable to stabilize
Copyright © Yokogawa Corporation of America
28
Tuning Fast Reacting Loops
Set P to 100% and the I & D to 0%
Start the process with a setpoint that will allow the
process variable to stabilize
Copyright © Yokogawa Corporation of America
29
Using Auto Tune to Determine PID Values
 The output is varied between 0% and 100% three
times (these values may be limited).
 The process variable must ascend and descend
through set point for the output to change state.
 The auto tune algorithm observes the PV response
to these output changes and installs the appropriate
PID terms.
Copyright © Yokogawa Corporation of America
30
Ways to Prevent Overshoot
 Limit the working output or enable an output ramp
rate (if available)
 Limit the output range which will have an effect on the
time it takes to get to setpoint
 Ramp the setpoint at a slow rate
 Use fuzzy logic (if available)
Copyright © Yokogawa Corporation of America
31
Fuzzy Logic
 Fuzzy logic is used to help reduce setpoint overshoot
 Used in addition to PID control
Copyright © Yokogawa Corporation of America
32
Yokogawa Products that Use PID Control
Single loop controller
Programmable
controller
PLC
DCSPLC/RTU
Copyright © Yokogawa Corporation of America
33
UTAdvanced Line of controllers
 1-2 loops of control
 Built in ladder sequence control
 Software used in Webinar
 Nuclear qualified
Copyright © Yokogawa Corporation of America
34
YS1000 Family of Controllers
 1-2 loops of control
 Nuclear qualified
 Hard manual backup
 Function block programming
Copyright © Yokogawa Corporation of America
35
FA-M3 PLC
 Modular PLC design
 4 control loops per PID module
 PID control is not done in ladder logic
Copyright © Yokogawa Corporation of America
36
Questions
Questions?
Feel free to email us with further questions
at support@us.yokogawa.com.
Please put “PID Webinar” in the subject line.
Copyright © Yokogawa Corporation of America
37
Thank you for attending!
Feel free to email us with further questions
at support@us.yokogawa.com.
Please put “PID Webinar” in the subject line.

Más contenido relacionado

La actualidad más candente

PID Controller
PID ControllerPID Controller
PID Controller
saishah72
 

La actualidad más candente (20)

PID Controller and its design
PID Controller and its designPID Controller and its design
PID Controller and its design
 
Industrial process control
Industrial process controlIndustrial process control
Industrial process control
 
DCS
DCSDCS
DCS
 
Process Control Fundamentals and How to read P&IDs
Process Control Fundamentals and How to read P&IDsProcess Control Fundamentals and How to read P&IDs
Process Control Fundamentals and How to read P&IDs
 
P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
Distributed Control System
Distributed Control SystemDistributed Control System
Distributed Control System
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
Introduction of process control
Introduction of process controlIntroduction of process control
Introduction of process control
 
PID Controller
PID ControllerPID Controller
PID Controller
 
Cascade control
Cascade controlCascade control
Cascade control
 
pid controller
 pid controller pid controller
pid controller
 
Cascade control presentation
Cascade control presentationCascade control presentation
Cascade control presentation
 
Instrumentation and process control fundamentals
Instrumentation and  process control fundamentalsInstrumentation and  process control fundamentals
Instrumentation and process control fundamentals
 
Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)
 
process control system
process control systemprocess control system
process control system
 
Instrumentation positioner presentation
Instrumentation positioner presentationInstrumentation positioner presentation
Instrumentation positioner presentation
 
Process control ch 1
Process control ch 1Process control ch 1
Process control ch 1
 
Process control 2 chapter
Process control 2 chapterProcess control 2 chapter
Process control 2 chapter
 
Controllers ppt
Controllers pptControllers ppt
Controllers ppt
 
Introduction of process control
Introduction of process controlIntroduction of process control
Introduction of process control
 

Similar a PID Control Basics

Similar a PID Control Basics (20)

PID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan DeminarPID Control of True Integrating Processes - Greg McMillan Deminar
PID Control of True Integrating Processes - Greg McMillan Deminar
 
Pf40 pid lab fan
Pf40 pid lab fanPf40 pid lab fan
Pf40 pid lab fan
 
Ep 5512 lecture-03
Ep 5512 lecture-03Ep 5512 lecture-03
Ep 5512 lecture-03
 
PID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan DeminarPID Control of Runaway Processes - Greg McMillan Deminar
PID Control of Runaway Processes - Greg McMillan Deminar
 
Isa saint-louis-exceptional-opportunities-short-course-day-3
Isa saint-louis-exceptional-opportunities-short-course-day-3Isa saint-louis-exceptional-opportunities-short-course-day-3
Isa saint-louis-exceptional-opportunities-short-course-day-3
 
Controller tuning.pptx
Controller tuning.pptxController tuning.pptx
Controller tuning.pptx
 
control technology of bachlor of engineering technology
control technology of bachlor of engineering technologycontrol technology of bachlor of engineering technology
control technology of bachlor of engineering technology
 
A Unified PID Control Methodology to Meet Plant Objectives
A Unified PID Control Methodology to Meet Plant ObjectivesA Unified PID Control Methodology to Meet Plant Objectives
A Unified PID Control Methodology to Meet Plant Objectives
 
Isa saint-louis-exceptional-opportunities-short-course-day-2
Isa saint-louis-exceptional-opportunities-short-course-day-2Isa saint-louis-exceptional-opportunities-short-course-day-2
Isa saint-louis-exceptional-opportunities-short-course-day-2
 
Pcu230 pi fan_controlwithpf400drives_rev_a
Pcu230 pi fan_controlwithpf400drives_rev_aPcu230 pi fan_controlwithpf400drives_rev_a
Pcu230 pi fan_controlwithpf400drives_rev_a
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
 
Mechatroincs universitty for students .ppt
Mechatroincs universitty for students .pptMechatroincs universitty for students .ppt
Mechatroincs universitty for students .ppt
 
PID Control of Slow Valves and Secondary Loops Greg McMillan Deminar Series
PID Control of Slow Valves and Secondary Loops Greg McMillan Deminar SeriesPID Control of Slow Valves and Secondary Loops Greg McMillan Deminar Series
PID Control of Slow Valves and Secondary Loops Greg McMillan Deminar Series
 
Exceptional Process Control Opportunities
Exceptional Process Control OpportunitiesExceptional Process Control Opportunities
Exceptional Process Control Opportunities
 
Pf400 process pi_pump_lab_
Pf400 process pi_pump_lab_Pf400 process pi_pump_lab_
Pf400 process pi_pump_lab_
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
PITOPS Industrial Process Control Software
PITOPS Industrial Process Control SoftwarePITOPS Industrial Process Control Software
PITOPS Industrial Process Control Software
 
PID Tuning Rules
PID Tuning RulesPID Tuning Rules
PID Tuning Rules
 
PID controller
PID controllerPID controller
PID controller
 
Screenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdfScreenshot 2021-02-23 at 2.46.02 PM.pdf
Screenshot 2021-02-23 at 2.46.02 PM.pdf
 

Más de Yokogawa1

Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
Yokogawa1
 
Transforming Decision Making in Scheduling of Terminal Operations
Transforming Decision Making in Scheduling of Terminal OperationsTransforming Decision Making in Scheduling of Terminal Operations
Transforming Decision Making in Scheduling of Terminal Operations
Yokogawa1
 

Más de Yokogawa1 (20)

Data, Data, Everywhere...GA10 Brings It All Together
Data, Data, Everywhere...GA10 Brings It All TogetherData, Data, Everywhere...GA10 Brings It All Together
Data, Data, Everywhere...GA10 Brings It All Together
 
202102 attaining proficiency in industrial pressure measurement r7
202102 attaining proficiency in industrial pressure measurement r7202102 attaining proficiency in industrial pressure measurement r7
202102 attaining proficiency in industrial pressure measurement r7
 
Chromatography Basics 2021
Chromatography Basics 2021Chromatography Basics 2021
Chromatography Basics 2021
 
An Economic X-ray of Digital Transformation
An Economic X-ray of Digital TransformationAn Economic X-ray of Digital Transformation
An Economic X-ray of Digital Transformation
 
Using A Unique, Next Generation APC Solution To Address Common Problems In Th...
Using A Unique, Next Generation APC Solution To Address Common Problems In Th...Using A Unique, Next Generation APC Solution To Address Common Problems In Th...
Using A Unique, Next Generation APC Solution To Address Common Problems In Th...
 
Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
Open Process Automation: Status of the O-PAS™ Standard, Conformance Certifica...
 
The Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply ChainsThe Value-driven Approach to Digitalizing Assets and their Supply Chains
The Value-driven Approach to Digitalizing Assets and their Supply Chains
 
The Role And Evolution Of Advanced Analytics In The Process Industries
The Role And Evolution Of Advanced Analytics In The Process IndustriesThe Role And Evolution Of Advanced Analytics In The Process Industries
The Role And Evolution Of Advanced Analytics In The Process Industries
 
The Digital Twin For Production Optimization
The Digital Twin For Production OptimizationThe Digital Twin For Production Optimization
The Digital Twin For Production Optimization
 
Multi-Site Optimization To Drive Value Creation In Chevron
Multi-Site Optimization To Drive Value Creation In ChevronMulti-Site Optimization To Drive Value Creation In Chevron
Multi-Site Optimization To Drive Value Creation In Chevron
 
Keeping PACE with Advanced Process Control
Keeping PACE with Advanced Process ControlKeeping PACE with Advanced Process Control
Keeping PACE with Advanced Process Control
 
Yokogawa’s DX and Smart Manufacturing Vision for Building our Future
Yokogawa’s DX and Smart Manufacturing Vision for Building our FutureYokogawa’s DX and Smart Manufacturing Vision for Building our Future
Yokogawa’s DX and Smart Manufacturing Vision for Building our Future
 
Business Model Disruption - The Step-wise Transition to Remote Operations
Business Model Disruption - The Step-wise Transition to Remote OperationsBusiness Model Disruption - The Step-wise Transition to Remote Operations
Business Model Disruption - The Step-wise Transition to Remote Operations
 
A New Digital Maintenance Platform in a Large Petrochemical Facility to Ident...
A New Digital Maintenance Platform in a Large Petrochemical Facility to Ident...A New Digital Maintenance Platform in a Large Petrochemical Facility to Ident...
A New Digital Maintenance Platform in a Large Petrochemical Facility to Ident...
 
Shift team effectiveness: Don't bother if you can't change "shop floor" shift...
Shift team effectiveness: Don't bother if you can't change "shop floor" shift...Shift team effectiveness: Don't bother if you can't change "shop floor" shift...
Shift team effectiveness: Don't bother if you can't change "shop floor" shift...
 
Adversity Drives Innovation and Enterprise Resilience to Best Leverage a Hist...
Adversity Drives Innovation and Enterprise Resilience to Best Leverage a Hist...Adversity Drives Innovation and Enterprise Resilience to Best Leverage a Hist...
Adversity Drives Innovation and Enterprise Resilience to Best Leverage a Hist...
 
Improved Upstream Production Efficiency with Remote Optimization Centers, Fie...
Improved Upstream Production Efficiency with Remote Optimization Centers, Fie...Improved Upstream Production Efficiency with Remote Optimization Centers, Fie...
Improved Upstream Production Efficiency with Remote Optimization Centers, Fie...
 
Transforming Decision Making in Scheduling of Terminal Operations
Transforming Decision Making in Scheduling of Terminal OperationsTransforming Decision Making in Scheduling of Terminal Operations
Transforming Decision Making in Scheduling of Terminal Operations
 
Contributing to the Development and Application of Cybersecurity Standards
Contributing to the Development and Application of Cybersecurity StandardsContributing to the Development and Application of Cybersecurity Standards
Contributing to the Development and Application of Cybersecurity Standards
 
Asia NOC Bridges Business-wide Performance Objectives and KPIs through an Adv...
Asia NOC Bridges Business-wide Performance Objectives and KPIs through an Adv...Asia NOC Bridges Business-wide Performance Objectives and KPIs through an Adv...
Asia NOC Bridges Business-wide Performance Objectives and KPIs through an Adv...
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

PID Control Basics

  • 1. Copyright © Yokogawa Corporation of America 1 PID Control Basics PID Tuning Rob Sink Technical Support Specialist June 14th, 2016
  • 2. Copyright © Yokogawa Corporation of America 2 What will be covered: 1. Common Process Control Techniques 2. Process Dynamics 3. What is PID 4. PID Control Components 5. How to Tune a PID Loop
  • 3. Copyright © Yokogawa Corporation of America 3 Why do I Need to Understand PID  Every process is different  Makes manual tuning easier  Helps companies save money  Helps facilities remain safe
  • 4. Copyright © Yokogawa Corporation of America 4 Common Process Control Techniques ques  Manual Control  ON / OFF Control  Closed Loop Control
  • 5. Copyright © Yokogawa Corporation of America 5 Manual Control  Operator observes the process error and adjusts the control output  PID CONTROL Set Point Measurement (Process Variable) Process
  • 6. Copyright © Yokogawa Corporation of America 6 ON / OFF Control  Simplest form of feed back control  Can be used for processes not requiring extremely tight control
  • 7. Copyright © Yokogawa Corporation of America 7 Closed Loop Control  The PID controller measures the process variable, compares it to the setpoint and then manipulates the output accordingly. Final Control Element  PV Set Point Measurement (Process Variable)
  • 8. Copyright © Yokogawa Corporation of America 8 Process Dynamics: Dead Time  Dead time is defined as the time before the process variable BEGINS to react to a change in the control output Output Process Variable Lag Time Dead Time
  • 9. Copyright © Yokogawa Corporation of America 9 Process Dynamics: Lag Time  Lag is defined as the time required for the process variable to adjust to a steady state after an output change is performed  Lag time affects the control action Output Process Variable Lag Time
  • 10. Copyright © Yokogawa Corporation of America 10 Process Dynamics: Output vs. Process Change
  • 11. Copyright © Yokogawa Corporation of America 11 What is PID?  PID control refers to process control using the coefficients Proportional, Integral and Derivative  It is not P&ID which refers to Piping & Instrumentation Diagram
  • 12. Copyright © Yokogawa Corporation of America 12 PID Control Defined  PID control can be described as a set of rules with which a precise regulation of a closed- loop control system is obtained. Temp (PV) Temp Setpoint (SP)
  • 13. Copyright © Yokogawa Corporation of America 13 PID Control Terms  Proportional Band adjusts output amplitude (reciprocal of Gain)  Integral eliminates offset error (automatic Reset or simply Reset)  Derivative looks at the rate of change of the error (Rate)
  • 14. Copyright © Yokogawa Corporation of America 14 Proportional Band  The Proportional Band (P) is defined as the range over which the control output is adjusted from 0-100%  Proportional does the heavy lifting getting the temperature close to the setpoint  Some manufacturers use Gain instead of Proportional Band
  • 15. Copyright © Yokogawa Corporation of America 15 Proportional with Manual Reset  With proportional only control, an offset will be present between set point and process variable.  Manual Reset allows a user to bias or shift the output to compensate for the steady state offset. 1000º Manual Reset Adjusted Here 500º Set Point Proportional Band Time
  • 16. Copyright © Yokogawa Corporation of America 16 Integral  Integral action is used with proportional to eliminate the inherent offset  The integrating term observes how long the error has existed, summing the error over time  The sum becomes a value added to the output Output Time 200 sec/repeat Integral Action Proportional Action Integral Time Constant Error -10% +10%
  • 17. Copyright © Yokogawa Corporation of America 17 Integral – cont.  Engineering units: Repeats/minute Minutes/repeat Seconds/repeat  The integral action ceases at a no error condition
  • 18. Copyright © Yokogawa Corporation of America 18 Integral at Work I I II Integral started. Setpoint Each time period where the error is not zero, the output is increased (or decreased) by the Integral term.
  • 19. Copyright © Yokogawa Corporation of America 19 A Note About Integral Windup  Integral windup refers to the situation in a PID controller where the integral, or reset action continues to integrate (ramp) indefinitely  This usually occurs when the controller's output can no longer affect the controlled variable, which in turn can be caused by controller saturation  Typical causes of Integral Windup are: The input has been removed from the process, output device has failed, a furnace door has been opened keeping the process from reaching temperature
  • 20. Copyright © Yokogawa Corporation of America 20 Derivative  Engineering units: minutes or seconds  Anticipates the error rate and applies the “brakes”  Derivative has no effect if the error is constant Output Time 50 seconds Derivative Action Integral Action Derivative Time Constant Error -10% +10%
  • 21. Copyright © Yokogawa Corporation of America 21 P, I and D Working Together P only P and I P I D
  • 22. Copyright © Yokogawa Corporation of America 22 How to Tune a PID Loop  Manually tuning the loop  Using the controllers Auto/Self Tune
  • 23. Copyright © Yokogawa Corporation of America 23 Manually Tuning a Loop  These values are good starting points  Change only (1) term at a time  Make small changes observing the result
  • 24. Copyright © Yokogawa Corporation of America 24 Fine-tuning the Proportional Band  Work from larger to smaller numbers (wider to narrower)  If cycling appears, the proportional band is too narrow
  • 25. Copyright © Yokogawa Corporation of America 25 Fine Tuning the Integral Time  The main goal is to reduce the offset  Adjust from longer to shorter time  If an oscillation exists at a longer period then the integral time is too short
  • 26. Copyright © Yokogawa Corporation of America 26 Fine Tuning the Derivative Time  Adjust from shorter to longer time  If short-period oscillations develop, the time is to long.  The larger the Derivative, the stronger the corrective action and the more likely the output will become oscillatory
  • 27. Copyright © Yokogawa Corporation of America 27 Tuning Loops with Dead Time Output Process Variable Lag Time Dead Time Set P to 5% and the I & D to 0% Start the process with a setpoint that will allow the process variable to stabilize
  • 28. Copyright © Yokogawa Corporation of America 28 Tuning Fast Reacting Loops Set P to 100% and the I & D to 0% Start the process with a setpoint that will allow the process variable to stabilize
  • 29. Copyright © Yokogawa Corporation of America 29 Using Auto Tune to Determine PID Values  The output is varied between 0% and 100% three times (these values may be limited).  The process variable must ascend and descend through set point for the output to change state.  The auto tune algorithm observes the PV response to these output changes and installs the appropriate PID terms.
  • 30. Copyright © Yokogawa Corporation of America 30 Ways to Prevent Overshoot  Limit the working output or enable an output ramp rate (if available)  Limit the output range which will have an effect on the time it takes to get to setpoint  Ramp the setpoint at a slow rate  Use fuzzy logic (if available)
  • 31. Copyright © Yokogawa Corporation of America 31 Fuzzy Logic  Fuzzy logic is used to help reduce setpoint overshoot  Used in addition to PID control
  • 32. Copyright © Yokogawa Corporation of America 32 Yokogawa Products that Use PID Control Single loop controller Programmable controller PLC DCSPLC/RTU
  • 33. Copyright © Yokogawa Corporation of America 33 UTAdvanced Line of controllers  1-2 loops of control  Built in ladder sequence control  Software used in Webinar  Nuclear qualified
  • 34. Copyright © Yokogawa Corporation of America 34 YS1000 Family of Controllers  1-2 loops of control  Nuclear qualified  Hard manual backup  Function block programming
  • 35. Copyright © Yokogawa Corporation of America 35 FA-M3 PLC  Modular PLC design  4 control loops per PID module  PID control is not done in ladder logic
  • 36. Copyright © Yokogawa Corporation of America 36 Questions Questions? Feel free to email us with further questions at support@us.yokogawa.com. Please put “PID Webinar” in the subject line.
  • 37. Copyright © Yokogawa Corporation of America 37 Thank you for attending! Feel free to email us with further questions at support@us.yokogawa.com. Please put “PID Webinar” in the subject line.

Notas del editor

  1. In manual control, an operator monitors the difference between the process variable and the setpoint. The operator then makes changes to the control output to reduce or eliminate the error.
  2. ON/Off control is the simplest form of feedback control. In this type of control, the output is driven from fully closed to fully open depending on the relationship of the process variable to the setpoint and hysteresis. Every one listening today has experience with the thermostat in their home which is a common example of simple on off control.
  3. PID control is a form of closed loop control. In closed loop control, the process variable (PV) is measured and compared to the desired value called setpoint (SP). The controller changes it’s output, or manipulated variable (MV), until the measured variable equals the setpoint. Because process dynamics vary greatly and the controllers are made to be universal, controllers muse be TUNED to match the process.
  4. For example, let’s say we have a large tank of liquid for which we are controlling the temperature. When the output comes on, if there is no change in temperature for 10 minutes, then the dead time of the process is 10 minutes.
  5. In a direct acting process, as the PV increase towards the SP, the output also increases. A common direct acting process is chiller being used for air conditioning. In a reverse acting process, as the PV increases towards the SP, the output decreases. Flow control, furnaces, and pressure are all examples of direct acting processes.
  6. The concept of PID control and the terms associated with it will be the same whether we are talking about simple single loop controllers, more advanced programmable controllers, PLC’s and distributed control systems.
  7. Put simply: The proportional band adjusts the output amplitude. The integral reduces or eliminates any error between the setpoint and process variable. And the Derivative monitors the rate of change of the error in an attempt to anticipate process upsets.
  8. Proportional Band is expressed as a % of the full operating span of the controller and is centered around the SP assuming that the manual reset is set to 50%. For example, an operating range of 0-1,000° with a P of 5%, would equal a P of 50° straddled 25° above and below the setpoint. Let’s say that this is a reverse acting process like a furnace with a SP of 500. If the PV drops to 475° or below, the output will go to 100%. Similarly, if the PV rises to 525 or above, the output will go to 0%. The output will stay at these extreme values until the PV re-enters the proportional band between 475 and 525. When the temperature is within the proportional band, the output is PORTIONAL to the error.
  9. Using proportional only control, once the optimum proportional band is set, the process variable will be offset from the setpoint. Manual reset can them be used to shift the control output to compensate for the offset. Manual reset is available on all Yokogawa controllers, with a default to 50%. Using manual reset doesn’t provide very stable control. As parameters in the environment, or process system changes through the day, the process variable can drift. To prevent having to constantly change the setpoint, we need an automatic reset.
  10. The smaller the integral number the more often the proportional action we be repeated. If integral is too small, the process variable will oscillate through the set point and create erratic control action. If the number is too large, the action will be sluggish and unable to compensate for process upsets. The integral number should be approximately 5 times the dead/lag time of the process variable.
  11. The integral term continues to increase or decrease the output until a zero error condition is obtained.
  12. Sometimes referred to as reset windup, integral windup occurs when the integral action continues to add to the control output past the operational range of the valve, variable speed drive, heater, etc. (READ LAST POINT ON SLIDE)
  13. Derivative can simply be thought of as a prediction of the error in the future based on the time set.
  14. Gradually reduce P from a larger value. When the PV begins to oscillate, stop tuning and increase P slightly.
  15. Gradually reduce I from a larger value. When the PV begins to oscillate, as with P, stop tuning and increase I slightly.
  16. Gradually increase D from a smaller value. When the PV begins to oscillate, stop tuning and lower the value slightly.
  17. Temperature loops typically have considerable dead time.
  18. Fast loops are defined as having little or no deadtime or lag. Most fast loops are configured as a PI controller., proportional and integral terms only. This is because the derivative term is an overshoot/undershoot suppression function and naturally contributes to instability in a fast control loop.
  19. Sometimes Auto Tune can’t be used or shouldn’t be used. They include: Fast responding processes such as flow rate and pressure control A process that does not allow the output to be turned on and off even temporarily Processes in which product quality can be adversely affected if the PV values fluctuate beyond their allowable range. Temperature processes where there are adjacent temperature zones that affect each other, for example a plastic extruder. Let’s give Auto Tune a try. Again, I am simulating a furnace application using a Type K thermocouple and 4-20mA control output to simulate a gas valve. The temperature range is set to 100-600°F.
  20. One problem that you will encounter when tuning is SP overshoot. Setpoint Ramp - Some controllers and control systems have a feature called setpoint ramping. This feature allows a change of setpoint to be made in either engineering units/min or hour. Using this feature reduces the size of the error between the SP and the PV at each ramp thus requiring less output to be used. This in turn will help to prevent overshoot.
  21. Fuzzy Logic monitors the deviation for evidence of the danger of overshoot. Once this danger is sensed, the setpoint is temporarily changed to a somewhat lower value (sub-SP). Once the danger of overshoot appears reduced, the function returns the effective SP gradually to the true SP.