Optimal Control Theory SF 2852

Similar documents
Optimal Control Theory SF 2852

Optimeringslära för F (SF1811) / Optimization (SF1841)

Optimal Control - Homework Exercise 3

MATH4406 (Control Theory) Unit 1: Introduction Prepared by Yoni Nazarathy, July 21, 2012

Calculus of Variations Summer Term 2015

Introduction to Controls

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Spring Department of Mathematics

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

EE C128 / ME C134 Feedback Control Systems

Plane Curves and Parametric Equations

Introduction to Optimal Control Theory and Hamilton-Jacobi equations. Seung Yeal Ha Department of Mathematical Sciences Seoul National University

Practice Problems for Final Exam

MATH 18.01, FALL PROBLEM SET # 8

Smooth Path Generation Based on Bézier Curves for Autonomous Vehicles

CDS 110b: Lecture 2-1 Linear Quadratic Regulators

Math.3336: Discrete Mathematics. Chapter 9 Relations

Calculus and Parametric Equations

Calculus of Variations Summer Term 2016

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

Multiple Choice Answers. MA 114 Calculus II Spring 2013 Final Exam 1 May Question


Lecture 1: Introduction

QUALIFYING EXAM IN SYSTEMS ENGINEERING

Nonlinear and robust MPC with applications in robotics

MA 110 Algebra and Trigonometry for Calculus Spring 2017 Exam 3 Tuesday, 11 April Multiple Choice Answers EXAMPLE A B C D E.

ELEC4631 s Lecture 2: Dynamic Control Systems 7 March Overview of dynamic control systems

1. Type your solutions. This homework is mainly a programming assignment.

Physics 351 Wednesday, April 22, 2015

Nonlinear Optimization for Optimal Control Part 2. Pieter Abbeel UC Berkeley EECS. From linear to nonlinear Model-predictive control (MPC) POMDPs

Formula Sheet for Optimal Control

Problem List MATH 5173 Spring, 2014

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

S12 PHY321: Practice Final

EN Applied Optimal Control Lecture 8: Dynamic Programming October 10, 2018

Physics 141 Course Information

Physics 141 Course Information

MATH4406 (Control Theory) Unit 6: The Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC) Prepared by Yoni Nazarathy, Artem

SOLUTIONS TO SECOND PRACTICE EXAM Math 21a, Spring 2003

Introduction to Computer Control Systems

Autonomous navigation of unicycle robots using MPC

Objective. 1 Specification/modeling of the controlled system. 2 Specification of a performance criterion

11 Chaos in Continuous Dynamical Systems.

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems.

This homework will not be collected or graded. It is intended to help you practice for the final exam. Solutions will be posted.

Math Released Item Algebra 1. Solve the Equation VH046614

Theoretical physics. Deterministic chaos in classical physics. Martin Scholtz

Poincaré Map, Floquet Theory, and Stability of Periodic Orbits

4F3 - Predictive Control

Date: 1 April (1) The only reference material you may use is one 8½x11 crib sheet and a calculator.

Math 331 Homework Assignment Chapter 7 Page 1 of 9

FEL3330/EL2910 Networked and Multi-Agent Control Systems. Spring 2013

Statics - TAM 210 & TAM 211. Spring 2018

EML Spring 2012

EXAM 3 MAT 167 Calculus I Spring is a composite function of two functions y = e u and u = 4 x + x 2. By the. dy dx = dy du = e u x + 2x.

A2 MATHEMATICS HOMEWORK C3

x(t) = t[u(t 1) u(t 2)] + 1[u(t 2) u(t 3)]

Funnel control in mechatronics: An overview

minimize x subject to (x 2)(x 4) u,

ECE 486 Control Systems

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Algebra II Syllabus CHS Mathematics Department

Calculus of Variations

Exam 4 SCORE. MA 114 Exam 4 Spring Section and/or TA:

AM205: Assignment 3 (due 5 PM, October 20)

A2 MATHEMATICS HOMEWORK C3

Course Content (visit for details)

1. Is the set {f a,b (x) = ax + b a Q and b Q} of all linear functions with rational coefficients countable or uncountable?

Automatic Control (TSRT15): Lecture 1

2.10 Saddles, Nodes, Foci and Centers

Modeling and Experimentation: Compound Pendulum

Continuous Curvature Path Generation Based on Bézier Curves for Autonomous Vehicles

Physics Course Syllabus CHS Science Department

Exam in Automatic Control II Reglerteknik II 5hp (1RT495)

Announcements - Homework

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Physics Exam Category A Practice Paper

Nonlinear Control Systems 1. - Introduction to Nonlinear Systems

MATH4406 (Control Theory) Unit 1: Introduction to Control Prepared by Yoni Nazarathy, August 11, 2014

Analytical Mechanics - Extra Problems

MA 126 CALCULUS II Wednesday, December 14, 2016 FINAL EXAM. Closed book - Calculators and One Index Card are allowed! PART I

Numerical Optimal Control Overview. Moritz Diehl

On the optimality of Dubins paths across heterogeneous terrain

Nonlinear Programming Models: A Survey

Math 124 Final Examination Winter 2014 !!! READ...INSTRUCTIONS...READ!!!

AS MATHEMATICS HOMEWORK C1

MATH 215/255 Solutions to Additional Practice Problems April dy dt

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

AP Calculus (BC) Chapter 10 Test No Calculator Section. Name: Date: Period:

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

Math 241, Exam 1 Information.

MATHEMATICAL MODELLING, MECHANICS AND MOD- ELLING MTHA4004Y

Question: Total. Points:

Energy-based Swing-up of the Acrobot and Time-optimal Motion

Linearize a non-linear system at an appropriately chosen point to derive an LTI system with A, B,C, D matrices

DSCC TIME-OPTIMAL TRAJECTORIES FOR STEERED AGENT WITH CONSTRAINTS ON SPEED AND TURNING RATE

Physics 351 Friday, April 24, 2015

OPTIMAL CONTROL CHAPTER INTRODUCTION

Examiner: D. Burbulla. Aids permitted: Formula Sheet, and Casio FX-991 or Sharp EL-520 calculator.

LMI Methods in Optimal and Robust Control

Transcription:

Optimal Control Theory SF 2852 Johan Karlsson Optimization and Systems Theory, Department of Mathematics Royal Institute of Technology (KTH) Spring 2017

Optimal Control Theory SF 2852 1 Course information and course logistics 2 Course overview and application examples

Course Information and Course Logistics This is a course on optimal control Optimization problems involving difference or differential equations Many engineering problems are naturally posed as optimal control problems Economics and logistics Aerospace systems Automotive industry Autonomous systems and robotics Bio-engineering Process control Power systems

Course Contents Optimal control is an important branch of mathematics Roots in the calculus of variations Dynamic programming Pontryagin minimum principle (PMP) Linear quadratic control Model predictive control (MPC)

Teachers Johan Karlsson (Email: johan.karlsson@math.kth.se) Silun Zheng, (Email: silunz@math.kth.se) (Yuecheng Yang)

Course Material Optimal Control: Lecture notes Exercise notes on optimal control theory Some complementary material will be handed out. It will also be posted on the course homepage.

Four optional homework sets Homework HW0 Some basics on linear systems and get started on convex optimization solvers. (No bonus points). Due April 3, at 13.14 HW1 Discrete dynamic programming and model predictive control. Due on April 20, at 13.14. HW2 Computational methods (Project): Final version (as pdf) May 9, at 10.14 Discussion/Feedback May 11, at 8.15 (mandatory to get bonus points). HW3 PMP and related topics. Due on May 16, at 10.14. Each homework has 3-5 problems. Grading: Each homework may give maximum 2 bonus credits for the exam.

Final Written Exam The final exam takes place on Wednesday May 31, 2017 at 8.00-13.00. You must register for the exam during 18 Apr - 15 May. Use "My Pages". Grade A B C D E FX Total credit (points) 45-56 39-44 33-38 28-32 25-27 23-24 Total credit = exam score + homework score. The maximum exam score = 50. Maximum bonus from the homework sets = 6. You may use Mathematics Handbook and a formula sheet found on the course homepage.

Course Overview and Application Examples 1 Discrete time optimal control theory 2 Continuous time optimal control theory

Discrete Time Optimal Control N 1 min φ(x N ) + f 0 (k, x k, u k ) k=0 subj. to x k+1 = f (k, x k, u k ) x 0 given, x k X k u k U(k, x k ) The variables x 1,, x N (states) and u 0,, u N 1 (controls) are the ones we optimize over. The functions φ and f 0 determine the terminal and running costs. The function f and sets X k and U determine feasible states and controls. Sequential decision problem which contain as special cases Graph search problems Combinatorial optimization Discrete time optimal control

Shortest Path problem Initial node 1 5 4 1 1 1 1 1 3 1 2 2 2 2 1 3 4 3 0 0 0 0 0 0 3 3 3 2 3 2 Terminal node 4 2 1-1 5-1 1-1 5-1 4 Stage 0 Stage 1 Stage 2 Stage 3 Stage 4 Stage 5 Find the shortest path from the initial node at stage 0 to the terminal node at stage 5

The Knapsack Problem n max p j x j j=1 subject to n w j x j c, x j = 0 or 1, j = 1,..., n. j=1

Discrete Optimal Control Theory Discrete optimal control problem Dynamic programming Optimization theory Global theory Feedback solutions Local theory Open loop control Model predictive control Feedback solution Online optimization

Continuous Time Optimal Control t1 min Φ(t 1, x(t 1 ))+ f 0 (t, x(t), u(t))dt subj. to t 0 ẋ(t) = f (t, x(t), u(t)) x(t 0 ) S 0, x(t 1 ) S 1 u U(x) The variables are the functions x(t) (state trajectory) and u(t) (control signal) that we optimize over. Sometimes we let also t 1 be a variable. The functions φ and f 0 determine the terminal and running costs. The function f and sets S 0, S 1 and U(x) determine feasible states and controls.

Continuous Time Optimal Control The feasible solutions should satisfy ẋ(t) = f (t, x(t), u(t)) x(t 0 ) S 0, x(t 1 ) S 1 u U(x) The trajectories x(t) should start in S 0 and end in S 1, i.e., S 0 and S 1 are manifolds (intersection of surfaces).

Optimal Control of Car Problem: Shortest time. (= shortest path when constant speed v) ẋ(t) = v cos(θ(t)), x(0) = 0, x(t ) = x min T ẏ(t) = v sin(θ(t)), y(0), y(t ) = ȳ subj. to ω,t θ(t) = ω(t), θ(0) = 0, θ(t ) = θ ω(t) v/r, T 0

Orbit Transfer of Satellite Problem: Orbit transfer thrust speed ξ3 u ξ1 ξ2 gravitational center

Orbit Transfer of Satellite Problem: max x 1 (T ) u s.t. ẋ 1 = c3 2x 2 ẋ 2 = x 3 2 x 1 1 + sin u x1 2 1/c 1 c 2 c 3 t ẋ 3 = c2 3 x 2x 3 x 1 + c 3 cos u 1/c 1 c 2 c 3 t x(0) = (1 0 1) T S f = {x R 3 x 2 = 0, x 3 1 x = 0} 1

Resource Allocation max u( ) T 0 subj. to (1 u(t))x(t)dt + x(t ) ẋ(t) = αu(t)x(t), (0 < α < 1) x(0) = x 0 > 0 u(t) [0, 1], t A portion u(t) of the production rate x(t) is invested in the factory (and increases the production capacity) The rest (1 u(t))x(t) is stored in a warehouse. Maximimize the sum of the total amount of goods stored in the warehouse and the final capacity of the factory.

Optimal Control Theory Optimal control problem Dynamic programming Pontryagin minimum principle Global theory Feedback solutions Local theory Open loop control Feedback control u(t) = ψ(t, x(t)) (depends on state) Open loop control u(t) = ψ(t)