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

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
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
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
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.pptxRemote DBA Services
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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
 
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
 
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
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Recently uploaded (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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, ...
 
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
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.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)
 
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...
 
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
 
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, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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 ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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