Examples from personal experience

Slides:



Advertisements
Similar presentations
IEOR 4004: Introduction to Operations Research Deterministic Models January 22, 2014.
Advertisements

Design of Experiments Lecture I
Intro to modeling April Part of the course: Introduction to biological modeling 1.Intro to modeling 2.Intro to biological modeling (Floor) 3.Modeling.
Linear Programming Problem. Introduction Linear Programming was developed by George B Dantzing in 1947 for solving military logistic operations.
Linear Programming. Introduction: Linear Programming deals with the optimization (max. or min.) of a function of variables, known as ‘objective function’,
Chapter 4: Basic Properties of Feedback
INTRODUCTION TO MODELING
Chapter 1 Introduction to Modeling DECISION MODELING WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall.
2E1242 Project Course Automatic Control - The Helicopter.
Lab 2 Lab 3 Homework Labs 4-6 Final Project Late No Videos Write up
 Econometrics and Programming approaches › Historically these approaches have been at odds, but recent advances have started to close this gap  Advantages.
Visual Recognition Tutorial
Computational Methods for Management and Economics Carla Gomes Module 3 OR Modeling Approach.
Integrated Assessment of Sustainability =Economic analysis +Non-market analysis.
Operations Management
Physics 218: Mechanics Instructor: Dr. Tatiana Erukhimova Lectures
Control Theory (2) Jeremy Wyatt School of Computer Science University of Birmingham.
Mechatronics 1 Week 9 & 10. Learning Outcomes By the end of week 9-10 session, students will understand the control system of industrial robots.
Dynamic Optimization Dr
Feedback Control Systems (FCS)
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
MapleSim and the Advantages of Physical Modeling
Chapter 19 Linear Programming McGraw-Hill/Irwin
Robotics Daniel Vasicek 2012/04/15.
Optimization Models Mathematical optimization models usually contain an objective (what to do) constraints (the rules that must be followed). Also referred.
1 Final Conference, 19th – 23rd January 2015 Geneva, Switzerland RP 15 Force estimation based on proprioceptive sensors for teleoperation in radioactive.
Feedback Control Systems (FCS) Dr. Imtiaz Hussain URL :
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 2 Mathematical Modeling of Chemical Processes Mathematical Model (Eykhoff, 1974) “a representation of the essential aspects of an existing system.
1 MULTIVARIATE OPTIMIZATION CONSIDERING QUALITY AND MANUFACTURING COSTS: A CASE STUDY IN A DRYING PROCESS Carla Schwengber ten Caten PPGEP/UFRGS – BRAZIL.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
Control of Robot Manipulators
CONTROL ENGINEERING IN DRYING TECHNOLOGY FROM 1979 TO 2005: REVIEW AND TRENDS by: Pascal DUFOUR IDS’06, Budapest, 21-23/08/2006.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
© Maplesoft, a division of Waterloo Maple Inc MapleSim and the Advantages of Physical ModelingMapleSim and the Advantages of Physical Modeling.
Instructor: Dr. Tatiana Erukhimova
Unit 1 Linear programming. Define: LINEAR PROGRAMMING – is a method for finding a minimum or maximum value of some quantity, given a set of constraints.
Canonical Equations of Motion -- Hamiltonian Dynamics
DEPARTMENT/SEMESTER ME VII Sem COURSE NAME Operation Research Manav Rachna College of Engg.
Modeling & Simulation of Dynamic Systems (MSDS)
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Characteristics of Life Unit 1. What do living things do? #1: Made of one or more cells  Unicellular: organisms consisting of a single cell  Multicellular:
University of Pisa Project work for Robotics Prof. Antonio Bicchi Students: Sergio Manca Paolo Viccione WALKING ROBOT.
Process Dynamics and Operations Group (DYN) TU-Dortmund
Modeling and Simulation Dr. Mohammad Kilani
2.7 Linear Programming Objectives: Use linear programming procedures to solve applications. Recognize situations where exactly one solution to a linear.
Instructor: Dr. Tatiana Erukhimova
Announcements End of the class – course evaluation
A seminar talk on “SOLVING LINEAR PROGRAMMING PROBLEM BY GRAPHICAL METHOD” By S K Indrajitsingha M.Sc.
OVERVIEW Impact of Modelling and simulation in Mechatronics system
Sizing With Function Points
CS b659: Intelligent Robotics
Introduction to Physical Science
Introduction to Control Systems Objectives
Universal System Model of Technology
Introduction to Instrumentation Engineering
Hidden Markov Models Part 2: Algorithms
Devil physics The baddest class on campus AP Physics
Who am I ? Name: Gerard van Willigenburg Born: 1958
Principles of the Global Positioning System Lecture 11
Who am I ? Name: Gerard van Willigenburg Born: 1958
Signals and Systems Lecture 3
Artificial Intelligence 12. Two Layer ANNs
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
Simplex method (algebraic interpretation)
Joint Optimization of Multiple Behavioral and Implementation Properties of Digital IIR Filter Designs Magesh Valliappan, Brian L. Evans, and Mohamed Gzara.
Kalman Filter: Bayes Interpretation
Chapter 7 Inverse Dynamics Control
Introduction to Decision Sciences
Presentation transcript:

Examples from personal experience Five times exam: course Dynamic Systems including PID control ... Robot control : Still done by PID controllers ... Greenhouse climate control : Still done by PID controllers ... Alternative title : War on PID terror ! First landing on the moon in 1969: What does optimal mean? My wife (who is always right): “Do not fully turn off the heater at night”. Is that optimal? 5, 5 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

PID control: I do not understand ! Questions A temperature error is needed to heat the room? Tm(t) is always late compared to Td(t)? Why do I need to measure the room temperature? If I know the heater and room I can compute H(t), or not? 3, 8 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

PID control of greenhouse Questions Window opening, Heater or a combination? How to get Td(t), Hd(t)? Is realizing Td(t), Hd(t) the real goal? 2, 10 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

The “full” greenhouse control problem 3, 13 What is the control challenge/objective? HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Verbal optimal control problem formulation Find the heating, CO2 supply and ventilation patterns that produce maximum profit. Patterns: time functions. Profit: Benefit – Costs. Benefit is obtained from selling crops. Costs are associated with heating (energy supply), CO2 supply, ventilation and other investments. Simplifications: ignore ventilation and humidity and consider perfectly isolated greenhouse. 2, 15 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Quantitative mathematical formulation What do the mathematical symbols represent? What other information is needed to solve the mathematical problem? 5, 20 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Mathematical model of the greenhouse (1) 3, 23 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Mathematical model of the greenhouse (2) 3, 26 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Mathematical model of the greenhouse (3) The mathematical model consists of (first-order) differential equations recognisable by presence of rates of change dx/dt. Models containing differential equations are called dynamic models. Dynamic models are obtained from knowledge of the system, often scientific knowledge (first-principles models / white box models). Using scientific knowledge allows us to understand and interpret the model! Black box models do not allow for this. 3, 29 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Halfway summary (1) Optimal control problem: Given a mathematical dynamic model of the system find the control patterns (time-functions/trajectories/histories) that maximize (minimize) a cost function (performance measure/cost criterion/penalty function). Problem formulation is still missing one thing ... We also have to know “where the system starts” We have to know the initial state : values of W(0), T(0), CO2(0). 3, 32 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Halfway summary (2) Control problem has been turned into a mathematical computational problem. No need for measurements or errors! General control objectives (profitability, sustainability) can be quantitatively expressed in the cost function! General non-linear, multivariable systems can be handled! Have a break ... of no more than 15 minutes! 2, 34 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Three optimal control examples Heating of living room at night Simplified greenhouse Robot control Examples included in Tomlab Propt optimal control toolbox for Matlab. Tomlab is commercially available. A free demo license is easily obtained: http://tomopt.com/tomlab/products/propt See also http://gvw007.yolasite.com 3, 3 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Heating of living room at night (1) Control objectives Minimize heat energy supply. Room temperature at least 20 [oC] at 7.00 AM. Cost function: Dynamic model: Initial state: 2, 5 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Heating of living room at night (2) Constraints (equalities or inequalities that have to be satisfied exactly): External input: Demo! My wife is almost always right ... 1 + 10, 16 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Simplified greenhouse (1) Control objectives: maximize profit. Dynamic model: Cost function = profit: Initial state: Constraints: demo! 4 + 10, 30 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Simplified greenhouse (2) http://www.amazon.com/Optimal-Control-Greenhouse-Cultivation-Straten/dp/1420059610 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

MK2 Robot Control objectives Constraints Dynamic Model Result Minimum time pick and place; pick and place locations specified Constraints Limited DC motor currents proportional to motor torque Dynamic Model Generated automatically from CAD drawing or a language specifying the robot topology, the associated link masses and moments of inertia Result Optimal DC motor currents & optimal robot motion = optimal path planning! Demo! 3 + 5, 38 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Theory & Practice Theory: optimal controls computed off-line (in advance) using the dynamic systems model: Practice: Apply control to the real system: 2, 40 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Measurements (1) Second control objective: limit magnitude How? Is known in advance? Perturbation state feedback: 2, 42 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Measurements (2) Is it necessary to measure all states ? Suppose we measure Then Perturbation output feedback: How to get ? 2, 44 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Perturbation state estimator: Kalman filter How to get ? Kalman Filter: 2, 46 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Output feedback part HAN 7/19/2019 2, 48 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Optimal Control System 2, 50 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Summary (1) With optimal control: This requires: All types of systems can be handled. All types of control objectives can be considered. All types of constraints can be handled. This requires: A quantitative mathematical dynamic model of the system obtained by exploiting scientific knowledge. A quantitative mathematical description of the control objectives. A quantitative mathematical description of the constraints. What you get: The best control & performance! 2, 52 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Summary (2) Measurements: are only required to realize feedback to counteract model and other types of uncertainty. If the model (including the initial state and external inputs) is known perfectly optimal control: Is errorless, as opposed to PID control. Shows no latency, as opposed to PID control. Takes into account all system-interactions, as opposed to PID control. Is optimal, as opposed to PID control. 2, 54 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Summary (3) The Future? or Not? Society increasingly wants to control everything (health, environment, food, economy) and quantify and optimize everything (costs, emissions, footprints, energy, weights). Systems become larger, more complicated and interactive. or Not? Robots, greenhouses & most industrial processes are mostly still controlled by PID controllers ... Neils Armstrong & George Aldrin landed manually ... ! Optimal is only optimal with respect to the model! If the model is poor, if the process contains highly uncertain parts, the benefits of optimal control vanish. 2, 56 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Messages Design Modelling (when being a scientist) Get rid of uncertainty! Use optimal control as a design tool to investigate the influence of system (design) parameters on optimal performance. Modelling (when being a scientist) Use scientific knowledge (first principles, white box modelling) not black box approaches. Work hard and you will be rewarded : a white box model needs to be developed only once and not over and over again when the system is changed or extended. You will be able to interpret and understand results and errors. 2, 58 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com

Final message If you do not understand you may be wright! Questions ? 1, 59 HAN 7/19/2019 Gerard van Willigenburg, Wageningen University, http://gvw007.yolasite.com