euler-lagrange method - aalborg universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2...

21
11/6/2008 1 Euler-lagrange method

Upload: letruc

Post on 09-May-2019

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 1

Euler-lagrange method

Page 2: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 2

PrefaceMotivationEL Method

Generalized coordinateLagrangianEuler-Lagrange equation

Illustrative ExamplesConclusion

Page 3: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 3

PrefaceWhat’re Models for systems and signals?

Basic conceptsTypes of models

How to build a model for a given system?Physical modelingExperimental modeling

How to simulate a system? Matlab/Simulink tools

Case studies Text-book: Modeling of dynamic systems Lennart Ljung and Torkel Glad

Page 4: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 4

Preface - Systems and models

Part one – Models, p13-78 System is defined as an object or a collection of objectswhose properties we want to study

A model of a system is a tool we use to answerquestions about the system without having to do an experiment

Mental model Verbal model Physical model

Mathematical model

Page 5: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 5

Preface - physical modeling

Conservation lawsMass balanceEnergy balance Electronics (Kirchhoff’s laws)

Constitutive relationships

m a = ∑ F

J dω/dt = ∑ τ

Page 6: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 66

DC motor with Permanent Magnet

Page 7: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 7

Euler-lagrange method

???Energy perspective…

Motivation (1)

Page 8: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 8

Motivation (2)

The mathematical model can be obtained from variationalprinciples applied to energy functions!

There exists a well established common terminology for all type ofsystems, whether electrical, mechanical, magnetic, etc., by defining energy functions in terms of the generalized coordinates

There are a number of different energy functions (e.g. theLagrangian, the total energy) which can be used as a energyfunction

The variational approach is quite formal analytically and insightinto physical processes may be lost. Nevertheless, if the method is properly understood, physical insight can be gained due to thegenerality of the method.

Page 9: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 9

PrefaceMotivationEL Method

Generalized coordinateLagrangianEuler-Lagrange equation

Illustrative ExamplesConclusion

Page 10: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 10

EL Method – Generalized coordinate(1)

For instance, for the specification of a rigid body, we need six coordinates, three for thereference point and three for the orientationA certain minimum number n of coordinates, called the degrees of freedom, is required to specify the configuration. Usually, these coordinates are denoted by qiand are called generalized coordinates. Thecoordinate vector

Page 11: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 11

EL Method – Generalized coordinate(2)

The choice of the generalized coordinates is usuallysomewhat arbitrary, but in general each individualenergy storage element of the system have a set ofgeneralized coordinates.For a dynamic system the generalized coordinates do not completely specify the system and an additional set of dynamic variables equal in number to thegeneralized coordinates must be used. These dynamic variables can be the first time derivatives of the generalized coordinates, thevelocities, or can be a second set variables (e.g. thegeneralized momenta).

Page 12: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 12

EL Method – Energy

The kinetic energy T in terms of Cartesiancoordinates is given by

The Potential energy V, e.g., V=mgh, 1/2kx^2

Lagrangian function: L=T-V

Page 13: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 13

EL Method – Euler Lagrange eq.

Q_j^e are generalized forces acting along the jth generalized axis

Page 14: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 14

EL Method – Summary

The general procedure : Select a suitable set of coordinates to represent theconfiguration of the system.

Obtain the kinetic energy T as a function of thesecoordinates and their time derivatives.

If the system is conservative, find the potential energyV as a function of the coordinates, or, if the system is not conservative, find the generalized forces Qje.

The differential equations of motion are then given by EL equations

Page 15: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 15

Example (1)

a set of generalized coordinates x_a and x_band their associated velocities va and vb.

Page 16: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 16

Example (2)

Page 17: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 17

Example (3)

Page 18: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 18

Page 19: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 19

Page 20: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 20

Page 21: Euler-lagrange method - Aalborg Universitethomes.et.aau.dk/yang/de5/ms/mm1.pdf · 11/6/2008 2 Preface Motivation EL Method Generalized coordinate Lagrangian Euler-Lagrange equation

11/6/2008 21

Conclusion

The application of the Lagrangian formulation is not restricted to mechanical systems.

The Lagrangian depends on the generalizedcoordinates q, the associated velocities , and thetime t.