2.2 Calculus of Variations Fixed Ends

Embed Size (px)

Citation preview

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    1/25

    FIXED-END TIME AND FIXED-ENDPROBLEM: WITHOUT CONSTRAINTS

    Optimal Control: Calculus of Variations 12

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    2/25

    Fixed-End Time and Fixed-End State Systems

    Initial time

    and state

    are fixed Final time and state are fixed The problem is to find theoptimal function for

    which the below functional is

    optimum.

    Optimal Control: Calculus of Variations 13

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    3/25

    Solution Steps

    Step 1: Assumption of an Optimum

    Step 2: Variations and Increment Step 3: First Variation

    Step 4: Fundamental Theorem

    Step 5: Fundamental Lemma Step 6: Euler-Lagrange Equation

    Optimal Control: Calculus of Variations 14

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    4/25

    Step 1: Assumption of an Optimum

    Let us assume that

    is the

    optimum attained for the function . Take some admissiblefunction close to

    , where

    is the

    variation of . The function should also satisfy theboundary conditions, i.e.

    .

    Optimal Control: Calculus of Variations 15

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    5/25

    Step 2: Variations and Increment

    Optimal Control: Calculus of Variations 16

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    6/25

    Step 2: Variations and Increment

    Using Taylors series expansion ( gets cancelled):

    Optimal Control: Calculus of Variations 17

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    7/25

    Step 3: First variation

    Integration by parts:

    Optimal Control: Calculus of Variations 18

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    8/25

    Step 3: First variation

    Recollect

    Optimal Control: Calculus of Variations 19

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    9/25

    Step 4: Fundamental Theorem,

    Optimal Control: Calculus of Variations 20

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    10/25

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    11/25

    Step 6: Euler-Lagrange Equation

    Euler-Lagrange Equation:

    This is, in general, a nonlinear, time-varying, two-point

    boundary value, second order, ordinary differential equation.

    Optimal Control: Calculus of Variations 22

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    12/25

    Different cases of Euler-Lagrange Equation

    E-L equation:

    Case 1:is independent of but dependent on otherterms. Then

    . Therefore, , which leads to

    =Constant.Case 2: is independent of, but dependent on otherterms. Then

    . Therefore,

    .

    Optimal Control: Calculus of Variations 23

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    13/25

    Example 1

    Find the minimum length between any two points.

    Optimal Control: Calculus of Variations 24

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    14/25

    Example 1 (contd.)

    A small arc length is related by:

    Or Total arc length:

    E-L equation:

    Optimal Control: Calculus of Variations 25

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    15/25

    Example 1 (contd.)

    E-L equation:

    Therefore, and may be solved from boundary conditions.

    Optimal Control: Calculus of Variations 26

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    16/25

    Example 2Find the optimum of

    with boundary conditions

    E-L equation:

    Using boundary conditions:

    Optimal Control: Calculus of Variations 27

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    17/25

    The Second Variation

    Approach 1:

    Consider the last term:

    Integration by parts:

    and

    Optimal Control: Calculus of Variations 28

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    18/25

    The Second Variation (contd

    ) Approach 1:

    Consider the last term: Integration by parts: and

    Optimal Control: Calculus of Variations 29

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    19/25

    The Second Variation (contd

    ) Approach 1:

    From boundary conditions: =0.

    Optimal Control: Calculus of Variations 30

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    20/25

    The Second Variation (contd

    ) Approach 1:

    =

    Optimal Control: Calculus of Variations 31

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    21/25

    The Second Variation (contd

    ) Approach 1:

    =

    Optimal Control: Calculus of Variations 32

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    22/25

    The Second Variation (contd

    ) Approach 1:

    From Fundamental Theorem:

    For maximum: and For minimum:

    and

    Optimal Control: Calculus of Variations 33

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    23/25

    The Second Variation (contd

    ) Approach 2Approach 2:

    Optimal Control: Calculus of Variations 34

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    24/25

    The Second Variation (contd

    ) Approach 2Approach 2: ,

    where

    From Fundamental Theorem:

    For maximum: For minimum:

    Optimal Control: Calculus of Variations 35

  • 8/11/2019 2.2 Calculus of Variations Fixed Ends

    25/25