Optimal Control Formulation using Calculus of Variations



Similar documents
Stochastic Optimal Control Problem for Life Insurance

Cointegration: The Engle and Granger approach

Random Walk in 1-D. 3 possible paths x vs n. -5 For our random walk, we assume the probabilities p,q do not depend on time (n) - stationary

The Transport Equation

Economics Honors Exam 2008 Solutions Question 5

Differential Equations. Solving for Impulse Response. Linear systems are often described using differential equations.

RC (Resistor-Capacitor) Circuits. AP Physics C

Imagine a Source (S) of sound waves that emits waves having frequency f and therefore

MTH6121 Introduction to Mathematical Finance Lesson 5

Steps for D.C Analysis of MOSFET Circuits

Differential Equations and Linear Superposition

Technical Appendix to Risk, Return, and Dividends

ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS

Keldysh Formalism: Non-equilibrium Green s Function

AP Calculus BC 2010 Scoring Guidelines

cooking trajectory boiling water B (t) microwave time t (mins)

Multiprocessor Systems-on-Chips

Chapter 2 Kinematics in One Dimension

Monte Carlo Observer for a Stochastic Model of Bioreactors

Newton s Laws of Motion

A Probability Density Function for Google s stocks

The Application of Multi Shifts and Break Windows in Employees Scheduling

Distributed and Secure Computation of Convex Programs over a Network of Connected Processors

Chapter 7. Response of First-Order RL and RC Circuits

Transient Analysis of First Order RC and RL circuits

Optimal Investment and Consumption Decision of Family with Life Insurance

An Optimal Control Approach to Inventory-Production Systems with Weibull Distributed Deterioration

1. y 5y + 6y = 2e t Solution: Characteristic equation is r 2 5r +6 = 0, therefore r 1 = 2, r 2 = 3, and y 1 (t) = e 2t,

Working Paper On the timing option in a futures contract. SSE/EFI Working Paper Series in Economics and Finance, No. 619

The naive method discussed in Lecture 1 uses the most recent observations to forecast future values. That is, Y ˆ t + 1

2.4 Network flows. Many direct and indirect applications telecommunication transportation (public, freight, railway, air, ) logistics

Pulse-Width Modulation Inverters

11/6/2013. Chapter 14: Dynamic AD-AS. Introduction. Introduction. Keeping track of time. The model s elements

Vector Autoregressions (VARs): Operational Perspectives

17 Laplace transform. Solving linear ODE with piecewise continuous right hand sides

Stock Trading with Recurrent Reinforcement Learning (RRL) CS229 Application Project Gabriel Molina, SUID

Chapter 8: Regression with Lagged Explanatory Variables

9. Capacitor and Resistor Circuits

Answer, Key Homework 2 David McIntyre Mar 25,

Module 4. Single-phase AC circuits. Version 2 EE IIT, Kharagpur

4 Convolution. Recommended Problems. x2[n] 1 2[n]

Task is a schedulable entity, i.e., a thread

A Simple Introduction to Dynamic Programming in Macroeconomic Models

CHARGE AND DISCHARGE OF A CAPACITOR

Name: Algebra II Review for Quiz #13 Exponential and Logarithmic Functions including Modeling

Hedging with Forwards and Futures

PRESSURE BUILDUP. Figure 1: Schematic of an ideal buildup test

Lectures # 5 and 6: The Prime Number Theorem.

Behavior Analysis of a Biscuit Making Plant using Markov Regenerative Modeling

AP Calculus AB 2013 Scoring Guidelines

Supplementary Appendix for Depression Babies: Do Macroeconomic Experiences Affect Risk-Taking?

OCPID-DAE1 Optimal Control and Parameter Identification with Differential-Algebraic Equations of Index 1

Chapter 5. Aggregate Planning

The Torsion of Thin, Open Sections

Optimal Life Insurance, Consumption and Portfolio: A Dynamic Programming Approach

Voltage level shifting

Conceptually calculating what a 110 OTM call option should be worth if the present price of the stock is

DETERMINISTIC INVENTORY MODEL FOR ITEMS WITH TIME VARYING DEMAND, WEIBULL DISTRIBUTION DETERIORATION AND SHORTAGES KUN-SHAN WU

A Note on Using the Svensson procedure to estimate the risk free rate in corporate valuation

Network Effects, Pricing Strategies, and Optimal Upgrade Time in Software Provision.

Optimal Life Insurance Purchase and Consumption/Investment under Uncertain Lifetime

A Curriculum Module for AP Calculus BC Curriculum Module

Part II Converter Dynamics and Control

Strategic Optimization of a Transportation Distribution Network

Module 3 Design for Strength. Version 2 ME, IIT Kharagpur

Appendix A: Area. 1 Find the radius of a circle that has circumference 12 inches.

Applied Intertemporal Optimization

THE FIRM'S INVESTMENT DECISION UNDER CERTAINTY: CAPITAL BUDGETING AND RANKING OF NEW INVESTMENT PROJECTS

Signal Processing and Linear Systems I

Quality Assurance in Software Development

Option Pricing Under Stochastic Interest Rates

On alternative methods of determining Radius of Curvature using Newton s Rings set up

Principal components of stock market dynamics. Methodology and applications in brief (to be updated ) Andrei Bouzaev, bouzaev@ya.

TIME SERIES DATA MINING: IDENTIFYING TEMPORAL PATTERNS FOR CHARACTERIZATION AND PREDICTION OF TIME SERIES EVENTS

Analysis of tax effects on consolidated household/government debts of a nation in a monetary union under classical dichotomy

FIXED INCOME ATTRIBUTION

Why Did the Demand for Cash Decrease Recently in Korea?

Forecasting Sales: A Model and Some Evidence from the Retail Industry. Russell Lundholm Sarah McVay Taylor Randall

Term Structure of Prices of Asian Options

Optimal Consumption and Insurance: A Continuous-Time Markov Chain Approach

Time Series Analysis Using SAS R Part I The Augmented Dickey-Fuller (ADF) Test

Signal Rectification

Option Put-Call Parity Relations When the Underlying Security Pays Dividends

Improper Integrals. Dr. Philippe B. laval Kennesaw State University. September 19, f (x) dx over a finite interval [a, b].

Acceleration Lab Teacher s Guide

Volume Weighted Average Price Optimal Execution

Differential Equations in Finance and Life Insurance

Transcription:

Lecure 5 Opimal Conrol Formulaion using Calculus o Variaions Dr. Radhakan Padhi Ass. Proessor Dep. o Aerospace Engineering Indian Insiue o Science - Bangalore

opics Opimal Conrol Formulaion Objecive & Selecion o Perormance Index Necessary Condiions o Opimaliy and wo- Poin Boundary Value Problem (PBVP) Formulaion Boundary/ransversaliy Condiions Numerical Examples Dr. Radhakan Padhi, AE Dep., IISc-Bangalore

Opimal Conrol Formulaion: Objecive & Selecion o Perormance Index Dr. Radhakan Padhi Ass. Proessor Dep. o Aerospace Engineering Indian Insiue o Science - Bangalore

Objecive o ind an "admissible" ime hisory o conrol variable U,, which: 1) Causes he sysem giverned by X =, X, U o ollow an admissible rajecory ) Opimizes (minimizes/maximizes) (, ) (,, ) J = ϕ X + L X U d a "meanigul" perormance index 3) Forces he sysem o saisy "proper boundary condiions". [ our ocus: X = X (given), : ixed ] Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 4

Meaningul Perormance Index 1) Minimize he operaional ime ) Minimize he conrol eor ( ) 1 [ ϕ, 1] J = = d = L = 1 1 J =,, U RU d R > ϕ = L = U RU 3) Minimize deviaion o sae rom a ixed value C wih minimum conrol eor 1 J = ( X C) Q( X C) + U RU d, Q, R > Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 5

Meaningul Perormance Index 4) Minimize deviaion o sae rom origin wih minimum conrol eor 1 J = X QX + U RU d, Q, R > 5) Minimize he conrol eor, while he inal sae reaches close o a consan C 1 1 ( J = X ) C S X C + U RU d, S, R > X Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 6

Opimal Conrol Using Calculus o Variaions: Hamilonian Formulaion Dr. Radhakan Padhi Ass. Proessor Dep. o Aerospace Engineering Indian Insiue o Science - Bangalore

Opimal Conrol Problem Perormance Index (o minimize / maximize): Pah Consrain: J, X L, X, U d X = ϕ + =, X, U Boundary Condiions: X = X :Speciied :Fixed, X :Free Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 8

Necessary Condiions o Opimaliy Augmened PI Hamilonian = + + J ϕ L λ X d ( + λ ) H L Firs Variaion δj = δϕ+ δ H λ X d ( ) = δϕ + δ H λ X d ( ) Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 9

Necessary Condiions o Opimaliy Firs Variaion Individual erms δϕ (, ) X δ X ( δj = δϕ+ δh δλ X λ δx ) d ϕ = X δ H H H H(, X, U, λ ) ( δ X) ( U) X δ U δλ = + + λ Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 1

Necessary Condiions o Opimaliy ( λ δ ) d( X) X δ d = λ d d, δ X = λ δx, δ X d ( ) X ( ) X d Dr. Radhakan Padhi, AE Dep., IISc-Bangalore δx d = λ δx λ δx δx λ d = λ δ δ λ dλ 11

Necessary Condiions o Opimaliy Firs Variaion ϕ J = X X X δ δ δ λ H H H + δx + δu + δλ d X U λ + δx λ d δλ X d Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 1

Necessary Condiions o Opimaliy Firs Variaion ϕ δj = δx λ X H H + ( δx ) + λ d + ( δu ) d X U H + ( δλ ) X d λ = Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 13

Necessary Condiions o Opimaliy: Summary Sae Equaion Cosae Equaion X H = = λ H λ = X (,, ) X U Opimal Conrol Equaion H U = Boundary Condiion λ ϕ = X ( ) X = X :Fixed Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 14

Necessary Condiions o Opimaliy: Some Commens Sae and Cosae equaions are dynamic equaions Opimal conrol equaion is a saionary equaion Boundary condiions are spli: i leads o wo-poin- Boundary-Value Problem (PBVP) Sae equaion develops orward whereas Cosae equaion develops backwards radiionally, PBVPs demand compuaionallyinensive ieraive numerical procedures hese ieraive numerical procedures lead o openloop conrol soluions Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 15

An Useul heorem heorem: I he Hamilonian H is no an explici uncion o ime, hen H is consan along he opimal pah. Proo: dh H H H H = + X + U + λ d X U λ H H H H = + X + λ + U = X and λ X = X λ X U λ dh H = ( on opimal pah) d = i H is no an explici uncion o. Hence, he resul! Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 16

General Boundary/ransversaliy Condiion General condiion: ( X ) wih, ixed Special Cases: Φ Φ λ δx + + H δ = X 1) : ixed, X : ree Φ X λ δx = λ = Φ (, X ) X ) : ree, X : ixed Φ ( ) + H δ = H = Φ Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 17

Example 1: A oy Problem Dr. Radhakan Padhi Ass. Proessor Dep. o Aerospace Engineering Indian Insiue o Science - Bangalore

Example Problem: Soluion: Cosae Eq. x 1 x = x x + u 1 1 1 J = x + x + u d 1 5 =, =, x = x = 1 ( /) λ1 λ( ) H = u + x + x + u ( H x1 ) ( H / x ) λ / 1 = = λ λ + λ 1 Opimal conrol Eq. u+ λ = u = λ Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 19

Example Boundary Condiions Deine Soluion x1 λ1 x1 5 =, x = λ x [ ] Z x x λ λ Z = AZ Z 1 1 = e C A 1 1 1 A = 1 1 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore

Example Use he boundary condiion a c = 1 c Use he boundary condiion a 1 = = x 1.86 1.63.76 x.14.76 3.63 A = e = x1 5 c 3 1 c 3 x c4 6.39 7.39 c4 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 1

Example Four equaions and our unknowns: 1 1.63.76 x1 1.76 3.63 x = 1 1 c 3 5 1 6.39 7.39 c4 x1 1 1.63.76.3 x 1.76 3.63 1.33 = = c 3 1 1 5.7 c4 1 6.39 7.39.4 1 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore

Example Soluion or Sae and Cosae () () () x1 x A = e λ 1.7 λ.4 Soluion or Opimal Conrol where A 1 1 1 = 1 1 u = λ Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 3

Example : Double Inegraor Problem (Relevance: Saellie Aiude Conrol Problem) x = u Dr. Radhakan Padhi Ass. Proessor Dep. o Aerospace Engineering Indian Insiue o Science - Bangalore

Double Inegraor Problem u = x x = x 1 x1 = Consider a double inegraor problem as shown in he above igure. y [ ] Find such u ha he sysem iniial values X = 1 are driven o he origin by minimizing 1 J = + u d Noe : (1) : unspeciied () Conrol variable u is unconsrained Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 5

Double Inegraor Problem Soluion : Sysem dynamics x 1 1 x1 U AX BU x = + = + x 1 C A Boundary Condiion 1 = = ( ), X ( ) X x1 y = [ 1 ] CX (no required) = x X B Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 6

Double Inegraor Problem Conrollabiliy Check : Conrollabiliy Marix 1 1 M = [ B AB] = 1 = 1 1 M = 1 Hence, he sysem is conrollable. Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 7

Necessary Condiions o Opimaliy 1 (1) Sae Eq: H = u + λ AX + Bu X = AX + Bu H () Opimal Conrol Eq: = u u+ B λ = (3) Cosae Eq: u B H λ = = A λ X = λ = λ Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 8

Opimal Conrol Soluion λ 1 1 λ = A λ = = λ 1 λ λ 1 λ = λ = c λ = λ = c 1 1 1 1 1 λ = c+ c 1 u = λ = c c 1 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 9

Opimal Sae Soluion However, x 1 x x = = x u c c 1 Hence x = c1 c + c3 3 x = xd= c c + c+ c 6 1 1 3 4 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 3

Opimal Sae Soluion Using he B.C. a = : x1 c4 1 = x = c 3 () () x c1 3 c + 1 6 1 = x c1 c Using he B.C a = : c1 3 c x1 ( ) 1 + 6 = = x ( ) c 1 c Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 31

ransversaliy Condiions ( : ree) ϕ = H u = + λ AX + Bu u = + [ λ λ ] 1 ( c 1 c) x u = + λ (B.C.) 1 = ( c 1 c) 4 = c cc + c 1 1 ( ) x ( ) ( c c ) 1 1 Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 3

ransversaliy Condiions ( : ree) In summary, we have o solve or c, c and rom: c 3c + 6= 3 1 c c = 1 ( ) c cc + 4 + c = 1 1 1 1 A his poin, one can solve c, c rom irs wo equaions in erms o and subiue hem in he hird equaion. hen he resuling nonlinear equaion in can be solved (preerably in closed orm). However, one mus discard unrealisic soluions (e.g. is unrealisic). Noe : One may use numerical ehniques (like Newon-Raphson echnique) Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 33

ransversaliy Condiions ( : ree) c 1.5 Finally, c = 3.95 1 c /4 Hence, he opimal soluion is given by: u = c c =.5 3.95 ( 3.95) [ ] [ ] and i will ake = = 3.91 ime unis o reach X =, 4 saring rom X = 1 Noe: (1) I is an open-loop conrol law () he applicaion o conrol has o be erminaed a Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 34

Reerences on Opimal Conrol Design. F. Elber, Esimaion and Conrol Sysems, Von Nosard Reinhold, 1984. A. E. Bryson and Y-C Ho, Applied Opimal Conrol, aylor and Francis, 1975. R. F. Sengel, Opimal Conrol and Esimaion, Dover Publicaions, 1994. D. S. Naidu, Opimal Conrol Sysems, CRC Press,. A. P. Sage and C. C. Whie III, Opimum Sysems Conrol (nd Ed.), Prenice Hall, 1977. D. E. Kirk, Opimal Conrol heory: An Inroducion, Prenice Hall, 197. Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 35

Dr. Radhakan Padhi, AE Dep., IISc-Bangalore 36