SlideShare a Scribd company logo
Feedback Control for System
Tuning
Cody Rioux - @codyrioux
Real-Time Analytics - Insight Engineering
Overview
● Feedback Control
○ Definition
○ Conceptual Model
● Concepts
○ Math
○ Rules of Thumb
● Case Study
○ Controlling Chris’ Effective Hours
● Recap
Controlling dynamic systems through continuous feedback.
Feedback Control
What is Feedback Control?
A form of Process Control for
controlling the behavior of black
box systems.
Example:
Driving a Car
Photo Credit @dinkyhim
Cody Engine
Accelerator Speed
Whats a
setpoint?
If you drive like me...
No regard for the speed limit, you’re just a feed-forward automaton.
You (Driver) Engine (V8)
Accelerator Speed
Speedometer
Speed Limit
Driving A Car
Cruise Control Engine (V8)
Accelerator Speed
Speed Reading
Speed Limit
What if we got a machine to do it?
System
Input Output
A Conceptual Model
Controller System
Input OutputSetpoint
A Conceptual Model
This happens to be a feed-forward system.
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
Feedback Principle
Continuously compare the actual
output to its desired reference value;
then apply a change to the system
inputs that counteracts any deviation of
the actual output from the reference.
You’ll need an advanced math degree for these...
Concepts
Controller System
Input Output
Feedback / Error
Setpoint
A Conceptual Model
error = setpoint - output
input = gain * error
Things to keep in mind...
Gain controls the
magnitude of our
adjustments. This is
important.
Feedback control for system tuning
Univariate feedback is
inherently simple,
multivariate feedback
inherently complex.
Prefer small and
frequent adjustments to
large infrequent
adjustments.
Feedback control for system tuning
Oscillation creates
instability. We don’t like
that.
Feedback control for system tuning
End-to-end control system for maximum analytics productivity.
Case Study: Controlling Chris’
Caffeine Intake
Feedback control for system tuning
Feedback control for system tuning
Feedback control for system tuning
Feedback control for system tuning
What if this were...
● … a timeout value?
● … a queue size?
● … a server cluster size?
We can keep Chris rolling at 8 hours a day 365 if we wanted to.
Recap
Benefits of Feedback Control
● Automatic - No Need for Analytical Model
● Dynamic - System responds to change
● Real Time - Change Happens Fast
● Self-Correcting - Mistakes are Quickly Corrected
Feedback control is a viable
solution for configuring
systems under dynamic
conditions.
Only Scratching the Surface
● Integral Controllers
● Derivative Controllers
● PID Controllers
● Statistical Process Control
Literature
Feedback Control for Computer
Systems (Janert, 2013)
Questions and Discussion
crioux@netflix.com
@codyrioux
linkedin.com/in/codyrioux

More Related Content

PPTX
Real time analytics @ netflix
PDF
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
PDF
Model monitoring & alerting
PPTX
Simulink Based Projects Research Topics
PPTX
Zsolt Várnai, Principal Software Engineer at Skyscanner - "The advantages of...
PPTX
Machine Learning Impact on IoT - Part 2
PPTX
Automation Isn't Enough: You Need Robotics or AI
PPTX
Big Data Berlin v8.0 Stream Processing with Apache Apex
Real time analytics @ netflix
DN18 | Technical Debt in Machine Learning | Jaroslaw Szymczak | OLX
Model monitoring & alerting
Simulink Based Projects Research Topics
Zsolt Várnai, Principal Software Engineer at Skyscanner - "The advantages of...
Machine Learning Impact on IoT - Part 2
Automation Isn't Enough: You Need Robotics or AI
Big Data Berlin v8.0 Stream Processing with Apache Apex

What's hot (17)

PDF
Detecting Anomalous Behavior with Surveillance​ Analytics​
PPTX
Migrating Monitoring to Observability – How to Transform DevOps from being Re...
PDF
Data Warehouse Automation Conference - Tom Breur: Cycle time & Automation 201...
PPTX
Do My MATLAB Assignment Research Guidance
PDF
Monitoring Models in Production
PDF
Open Data Science Conference Agile Data
PDF
Tom Breur - Agile Business Intelligence - accounting for progress - keynote d...
PDF
Debugging AI
PDF
Planning a data solution - "By Failing to prepare, you are preparing to fail"
PDF
Claw | data centric expert system
PPTX
partsSourceFinal_edit
PPTX
H2O World - Self Guiding Applications with Venkatesh Yadav
PPTX
PPTX
Using druid for interactive count distinct queries at scale @ nmc
PPTX
Video Processing Projects Research Guidance
PDF
Au cœur du Machine Learning
PPTX
Quality engineering in a world with AI and IoT
Detecting Anomalous Behavior with Surveillance​ Analytics​
Migrating Monitoring to Observability – How to Transform DevOps from being Re...
Data Warehouse Automation Conference - Tom Breur: Cycle time & Automation 201...
Do My MATLAB Assignment Research Guidance
Monitoring Models in Production
Open Data Science Conference Agile Data
Tom Breur - Agile Business Intelligence - accounting for progress - keynote d...
Debugging AI
Planning a data solution - "By Failing to prepare, you are preparing to fail"
Claw | data centric expert system
partsSourceFinal_edit
H2O World - Self Guiding Applications with Venkatesh Yadav
Using druid for interactive count distinct queries at scale @ nmc
Video Processing Projects Research Guidance
Au cœur du Machine Learning
Quality engineering in a world with AI and IoT
Ad

Similar to Feedback control for system tuning (20)

PPT
Lecture2(introduction)
PPTX
power electronics_semiconductor swtiches.pptx
PPTX
CONTROL SYSTEMS.pptx
PPTX
Chapter 1 basic components of control system
PPTX
Introduction to Automatic Control Systems
PDF
Ece4510 notes01
PPTX
control systems template -ppt--pptx Control systems
PPTX
1. Basic concepts of control system.pptx
DOCX
Control systems
PDF
Ch1 introduction to control
PDF
Introduction to control system
PDF
Control systemengineering notes.pdf
PDF
lecture1423904331 (1).pdf
PDF
lecture1423904331 (1).pdf
PPTX
Control System Modeling case study with complete explanation
PDF
Control engineering module wise notes ppt
PPT
In Apc Training Presentation
PDF
Modern Control - Lec 01 - Introduction to Control System
PDF
Some important tips for control systems
PPTX
biocontrolsystemslecture1SYSTEMS & THEIR REPRESENTATIONS.pptx
Lecture2(introduction)
power electronics_semiconductor swtiches.pptx
CONTROL SYSTEMS.pptx
Chapter 1 basic components of control system
Introduction to Automatic Control Systems
Ece4510 notes01
control systems template -ppt--pptx Control systems
1. Basic concepts of control system.pptx
Control systems
Ch1 introduction to control
Introduction to control system
Control systemengineering notes.pdf
lecture1423904331 (1).pdf
lecture1423904331 (1).pdf
Control System Modeling case study with complete explanation
Control engineering module wise notes ppt
In Apc Training Presentation
Modern Control - Lec 01 - Introduction to Control System
Some important tips for control systems
biocontrolsystemslecture1SYSTEMS & THEIR REPRESENTATIONS.pptx
Ad

Feedback control for system tuning

Editor's Notes

  • #18: We don’t have to know anything about the behaviour of the system.