SlideShare a Scribd company logo
1 of 16
Download to read offline
Proportional-Integral-Derivative
          Controller
       Presented by: Sancho McCann
Simple Control Loop


Control       Plant    Feedback
Examples

     Control             Plant            Feedback

     Throttle         Auto-engine       Wheel speed

    Air temp          Room temp        Thermostat temp

Steering direction        Car         Distance from path

     Voltage         Electric motor       Fan speed

   Fan speed          CPU temp        CPU temp sensor
Speed control: lookup table
    10 kph      3% Throttle

    20 kph      6% Throttle

    40 kph      20% Throttle

    80 kph      50% Throttle

   140 kph     100% Throttle
What to do?




         Goal (set-point): 21 kph

How much should you change your throttle?
What to do?




            Set-point: 80 kph

How much should you change your throttle?
Proportional Controller
• Far from set point? Change throttle more
• Close to set point? Change throttle less


 quot;control = (setpoint # currentState) • pGain
Example
Proportional-Derivative Control
    • Approaching set point quickly? Ease off
      throttle.


       pTerm = (setPoint quot; currState) • pGain
       dTerm = (prevState quot; currState) • dGain
       #control = pTerm + dTerm



!
Example
Problem with Derivative Term



      Enhances noise
Integral Term
• Helps state average around the set point

• Accumulate historic error
• Allow this integral to inform the control
  decision
Examples
Extremes
• What if
  –   P term is too low?
  –   P term is too high?
  –   D term is too low?
  –   D term is too high?
  –   I term is too low?
  –   I term is too high?
Tuning (one manual method)
• Start with low pGain (< 1)
• Set dGain ~ 100x pGain
• Increase dGain until oscillation
  – Halve until no oscillation reduced
• Increase pGain until oscillation
  – Halve that value
• Set iGain very low and increase until a
  small overshoot is noticeable
Can be complex: Autopilot


Heading       Roll        Aileron

More Related Content

What's hot

P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERkaran sati
 
Pid controllers
Pid controllersPid controllers
Pid controllersmilind1076
 
Pid control
Pid controlPid control
Pid controlAB Rizvi
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllersMahmoud Hussein
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systemskhalaf Gaeid
 
ISA Effective Use of PID Controllers 3-7-2013
ISA Effective Use of PID Controllers 3-7-2013ISA Effective Use of PID Controllers 3-7-2013
ISA Effective Use of PID Controllers 3-7-2013Sarod Paichayonrittha
 
Controller ppt
Controller pptController ppt
Controller pptgourav0077
 
Industrial process control
Industrial process controlIndustrial process control
Industrial process controlMohamed A Hakim
 
Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Mostafa Ragab
 
10 Tips for Tuning of Pid Looops
10 Tips for Tuning of Pid Looops10 Tips for Tuning of Pid Looops
10 Tips for Tuning of Pid LooopsLiving Online
 
Types of Controllers PID PD I PD
Types of Controllers PID PD I PDTypes of Controllers PID PD I PD
Types of Controllers PID PD I PDAnaseem Hanini
 

What's hot (19)

P, PI AND PID CONTROLLER
P, PI AND PID CONTROLLERP, PI AND PID CONTROLLER
P, PI AND PID CONTROLLER
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
Pid control
Pid controlPid control
Pid control
 
08 pid.controller
08 pid.controller08 pid.controller
08 pid.controller
 
05 tuning.pid.controllers
05 tuning.pid.controllers05 tuning.pid.controllers
05 tuning.pid.controllers
 
Pid controller
Pid controllerPid controller
Pid controller
 
PID controller in control systems
PID controller in control systemsPID controller in control systems
PID controller in control systems
 
ISA Effective Use of PID Controllers 3-7-2013
ISA Effective Use of PID Controllers 3-7-2013ISA Effective Use of PID Controllers 3-7-2013
ISA Effective Use of PID Controllers 3-7-2013
 
Controller Tuning Method for Non-Linear Conical Tank System
Controller Tuning Method for Non-Linear Conical Tank SystemController Tuning Method for Non-Linear Conical Tank System
Controller Tuning Method for Non-Linear Conical Tank System
 
Pid controller
Pid controllerPid controller
Pid controller
 
Pid controller
Pid controllerPid controller
Pid controller
 
PID controller
PID controllerPID controller
PID controller
 
pid controller
 pid controller pid controller
pid controller
 
Controller ppt
Controller pptController ppt
Controller ppt
 
Industrial process control
Industrial process controlIndustrial process control
Industrial process control
 
Proportional integral and derivative PID controller
Proportional integral and derivative PID controller Proportional integral and derivative PID controller
Proportional integral and derivative PID controller
 
Pid controller
Pid controllerPid controller
Pid controller
 
10 Tips for Tuning of Pid Looops
10 Tips for Tuning of Pid Looops10 Tips for Tuning of Pid Looops
10 Tips for Tuning of Pid Looops
 
Types of Controllers PID PD I PD
Types of Controllers PID PD I PDTypes of Controllers PID PD I PD
Types of Controllers PID PD I PD
 

Similar to Proportional-Derivative-Integral (PID) Control

PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...Waqas Afzal
 
Refinery stream modeling walkthrough
Refinery stream modeling walkthroughRefinery stream modeling walkthrough
Refinery stream modeling walkthroughmorinsteve_capstone
 
Regulator-and-Control-Valve-Sizing (2).pdf
Regulator-and-Control-Valve-Sizing (2).pdfRegulator-and-Control-Valve-Sizing (2).pdf
Regulator-and-Control-Valve-Sizing (2).pdfscehmha83
 
Process simulation introduction 2018
Process simulation introduction 2018Process simulation introduction 2018
Process simulation introduction 2018DJHPIDesign
 
Microprocessor and Controller
Microprocessor and ControllerMicroprocessor and Controller
Microprocessor and ControllerBHAVYA DOSHI
 
Watanabe panel meter_wpmz-3_strain_gauge_measurement
Watanabe panel meter_wpmz-3_strain_gauge_measurementWatanabe panel meter_wpmz-3_strain_gauge_measurement
Watanabe panel meter_wpmz-3_strain_gauge_measurementNIHON DENKEI SINGAPORE
 
POWER TRANSFORMER UDAIPUR 29022012.ppt
POWER TRANSFORMER UDAIPUR 29022012.pptPOWER TRANSFORMER UDAIPUR 29022012.ppt
POWER TRANSFORMER UDAIPUR 29022012.pptPOOJAOHRI2
 
18 OBDG04 ECM Summary Tables
18 OBDG04 ECM Summary Tables18 OBDG04 ECM Summary Tables
18 OBDG04 ECM Summary TablesOBD Codex
 
Transmission diagnosis
Transmission diagnosisTransmission diagnosis
Transmission diagnosisRob Holt
 
In Apc Training Presentation
In  Apc Training PresentationIn  Apc Training Presentation
In Apc Training Presentationahmad bassiouny
 
Product: UPS: FirstLine P
Product: UPS: FirstLine PProduct: UPS: FirstLine P
Product: UPS: FirstLine PStaco Energy
 

Similar to Proportional-Derivative-Integral (PID) Control (20)

1 a1
1 a11 a1
1 a1
 
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
PID controller, P, I and D control Comparison PI, PD and PID Controller P, I,...
 
Control.pdf
Control.pdfControl.pdf
Control.pdf
 
Selaidechou
SelaidechouSelaidechou
Selaidechou
 
Ashok Leyland EDC - 17.pdf
Ashok Leyland EDC - 17.pdfAshok Leyland EDC - 17.pdf
Ashok Leyland EDC - 17.pdf
 
Refinery stream modeling walkthrough
Refinery stream modeling walkthroughRefinery stream modeling walkthrough
Refinery stream modeling walkthrough
 
Regulator-and-Control-Valve-Sizing (2).pdf
Regulator-and-Control-Valve-Sizing (2).pdfRegulator-and-Control-Valve-Sizing (2).pdf
Regulator-and-Control-Valve-Sizing (2).pdf
 
Process simulation introduction 2018
Process simulation introduction 2018Process simulation introduction 2018
Process simulation introduction 2018
 
4470838.ppt
4470838.ppt4470838.ppt
4470838.ppt
 
Microprocessor and Controller
Microprocessor and ControllerMicroprocessor and Controller
Microprocessor and Controller
 
36809944-Gas-Turbine-Control.ppt
36809944-Gas-Turbine-Control.ppt36809944-Gas-Turbine-Control.ppt
36809944-Gas-Turbine-Control.ppt
 
Watanabe panel meter_wpmz-3_strain_gauge_measurement
Watanabe panel meter_wpmz-3_strain_gauge_measurementWatanabe panel meter_wpmz-3_strain_gauge_measurement
Watanabe panel meter_wpmz-3_strain_gauge_measurement
 
Snap on training
Snap on   trainingSnap on   training
Snap on training
 
POWER TRANSFORMER UDAIPUR 29022012.ppt
POWER TRANSFORMER UDAIPUR 29022012.pptPOWER TRANSFORMER UDAIPUR 29022012.ppt
POWER TRANSFORMER UDAIPUR 29022012.ppt
 
18 OBDG04 ECM Summary Tables
18 OBDG04 ECM Summary Tables18 OBDG04 ECM Summary Tables
18 OBDG04 ECM Summary Tables
 
Refrigeration Design Technologies
Refrigeration Design TechnologiesRefrigeration Design Technologies
Refrigeration Design Technologies
 
Transmission diagnosis
Transmission diagnosisTransmission diagnosis
Transmission diagnosis
 
In Apc Training Presentation
In  Apc Training PresentationIn  Apc Training Presentation
In Apc Training Presentation
 
Diesel Fire Pump Controllers
Diesel Fire Pump ControllersDiesel Fire Pump Controllers
Diesel Fire Pump Controllers
 
Product: UPS: FirstLine P
Product: UPS: FirstLine PProduct: UPS: FirstLine P
Product: UPS: FirstLine P
 

More from guest9006ab

A Brief History of Cryptography
A Brief History of CryptographyA Brief History of Cryptography
A Brief History of Cryptographyguest9006ab
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshellguest9006ab
 
SMART Goals and Feedback (Project Management)
SMART Goals and Feedback (Project Management)SMART Goals and Feedback (Project Management)
SMART Goals and Feedback (Project Management)guest9006ab
 
C Code and the Art of Obfuscation
C Code and the Art of ObfuscationC Code and the Art of Obfuscation
C Code and the Art of Obfuscationguest9006ab
 
Top Super-models of Computer Graphics
Top Super-models of Computer GraphicsTop Super-models of Computer Graphics
Top Super-models of Computer Graphicsguest9006ab
 
Human Nature and its Consequences
Human Nature and its ConsequencesHuman Nature and its Consequences
Human Nature and its Consequencesguest9006ab
 
Slipping the Surly Bonds
Slipping the Surly BondsSlipping the Surly Bonds
Slipping the Surly Bondsguest9006ab
 
Communication with Extraterrestrial Intelligence
Communication with Extraterrestrial IntelligenceCommunication with Extraterrestrial Intelligence
Communication with Extraterrestrial Intelligenceguest9006ab
 
Canada vs. Germany: Une réflection
Canada vs. Germany: Une réflectionCanada vs. Germany: Une réflection
Canada vs. Germany: Une réflectionguest9006ab
 
Signal Compression and JPEG
Signal Compression and JPEGSignal Compression and JPEG
Signal Compression and JPEGguest9006ab
 
Brain-Computer Interfaces
Brain-Computer InterfacesBrain-Computer Interfaces
Brain-Computer Interfacesguest9006ab
 
The ABC's of the Bible
The ABC's of the BibleThe ABC's of the Bible
The ABC's of the Bibleguest9006ab
 

More from guest9006ab (14)

A Brief History of Cryptography
A Brief History of CryptographyA Brief History of Cryptography
A Brief History of Cryptography
 
Eigenvalues in a Nutshell
Eigenvalues in a NutshellEigenvalues in a Nutshell
Eigenvalues in a Nutshell
 
SMART Goals and Feedback (Project Management)
SMART Goals and Feedback (Project Management)SMART Goals and Feedback (Project Management)
SMART Goals and Feedback (Project Management)
 
C Code and the Art of Obfuscation
C Code and the Art of ObfuscationC Code and the Art of Obfuscation
C Code and the Art of Obfuscation
 
OS Mélange
OS MélangeOS Mélange
OS Mélange
 
Top Super-models of Computer Graphics
Top Super-models of Computer GraphicsTop Super-models of Computer Graphics
Top Super-models of Computer Graphics
 
Human Nature and its Consequences
Human Nature and its ConsequencesHuman Nature and its Consequences
Human Nature and its Consequences
 
Slipping the Surly Bonds
Slipping the Surly BondsSlipping the Surly Bonds
Slipping the Surly Bonds
 
Communication with Extraterrestrial Intelligence
Communication with Extraterrestrial IntelligenceCommunication with Extraterrestrial Intelligence
Communication with Extraterrestrial Intelligence
 
Canada vs. Germany: Une réflection
Canada vs. Germany: Une réflectionCanada vs. Germany: Une réflection
Canada vs. Germany: Une réflection
 
Signal Compression and JPEG
Signal Compression and JPEGSignal Compression and JPEG
Signal Compression and JPEG
 
Clouds
CloudsClouds
Clouds
 
Brain-Computer Interfaces
Brain-Computer InterfacesBrain-Computer Interfaces
Brain-Computer Interfaces
 
The ABC's of the Bible
The ABC's of the BibleThe ABC's of the Bible
The ABC's of the Bible
 

Recently uploaded

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​Bhuvaneswari Subramani
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
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...Orbitshub
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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)Zilliz
 
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 ModelDeepika Singh
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
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 TerraformAndrey Devyatkin
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
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 challengesrafiqahmad00786416
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
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 FresherRemote DBA Services
 
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.pdfOrbitshub
 

Recently uploaded (20)

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​
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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)
 
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
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
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
 

Proportional-Derivative-Integral (PID) Control

  • 1. Proportional-Integral-Derivative Controller Presented by: Sancho McCann
  • 3. Examples Control Plant Feedback Throttle Auto-engine Wheel speed Air temp Room temp Thermostat temp Steering direction Car Distance from path Voltage Electric motor Fan speed Fan speed CPU temp CPU temp sensor
  • 4. Speed control: lookup table 10 kph 3% Throttle 20 kph 6% Throttle 40 kph 20% Throttle 80 kph 50% Throttle 140 kph 100% Throttle
  • 5. What to do? Goal (set-point): 21 kph How much should you change your throttle?
  • 6. What to do? Set-point: 80 kph How much should you change your throttle?
  • 7. Proportional Controller • Far from set point? Change throttle more • Close to set point? Change throttle less quot;control = (setpoint # currentState) • pGain
  • 9. Proportional-Derivative Control • Approaching set point quickly? Ease off throttle. pTerm = (setPoint quot; currState) • pGain dTerm = (prevState quot; currState) • dGain #control = pTerm + dTerm !
  • 11. Problem with Derivative Term Enhances noise
  • 12. Integral Term • Helps state average around the set point • Accumulate historic error • Allow this integral to inform the control decision
  • 14. Extremes • What if – P term is too low? – P term is too high? – D term is too low? – D term is too high? – I term is too low? – I term is too high?
  • 15. Tuning (one manual method) • Start with low pGain (< 1) • Set dGain ~ 100x pGain • Increase dGain until oscillation – Halve until no oscillation reduced • Increase pGain until oscillation – Halve that value • Set iGain very low and increase until a small overshoot is noticeable
  • 16. Can be complex: Autopilot Heading Roll Aileron