• No results found

MECH466 L3 ODESolution

N/A
N/A
Protected

Academic year: 2020

Share "MECH466 L3 ODESolution"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

2008/09 MECH466 : Automatic Control 1

MECH466: Automatic Control

MECH466: Automatic Control

Dr. Ryozo Nagamune

Dr. Ryozo Nagamune

Department of Mechanical Engineering

Department of Mechanical Engineering

University of British Columbia

University of British Columbia Lecture 3

Lecture 3

Solution to

Solution to ODEsODEsvia Laplace transformvia Laplace transform

2008/09 MECH466 : Automatic Control 2

About laboratory

About laboratory

ƒ

ƒ Each Lab group consists of about 4 students.Each Lab group consists of about 4 students. ƒ

ƒ By Jan. 12 (Mon)By Jan. 12 (Mon): The instructor will decide the : The instructor will decide the groups, and post tentative groups on Vista. groups, and post tentative groups on Vista. ƒ

ƒ By Jan. 13 (Tue):By Jan. 13 (Tue):Contact the instructor in case of Contact the instructor in case of inconvenience.

inconvenience.

ƒ

ƒ By Jan. 16 (Fri):By Jan. 16 (Fri):Lab groups will be finalized and Lab groups will be finalized and

posted on Vista.

posted on Vista.

ƒ

ƒ Lab groups can be modified during this week. Lab groups can be modified during this week.

Please check it regularly.

Please check it regularly. ƒ

ƒ Jan. 19 (Mon):Jan. 19 (Mon):Lab starts. See the files Lab starts. See the files MECH466_LabInfo_0809.pdf MECH466_LabInfo_0809.pdf MECH466_LabSchedule_0809.pdf MECH466_LabSchedule_0809.pdf

Course roadmap

Course roadmap

Laplace transform Laplace transform Transfer function Transfer function

Models for systems

Models for systems

•electricalelectrical

•mechanicalmechanical

•electromechanicalelectromechanical

Linearization

Linearization Modeling

Modeling AnalysisAnalysis DesignDesign

Time response

Time response

•TransientTransient

•Steady stateSteady state

Frequency response

Frequency response

•Bode plotBode plot

Stability

Stability

•RouthRouth--HurwitzHurwitz •

•NyquistNyquist

Design specs Design specs Root locus Root locus Frequency domain Frequency domain

PID & Lead

PID & Lead--laglag

Design examples

Design examples

Matlab

Matlabsimulations & laboratoriessimulations & laboratories

Laplace transform (review)

Laplace transform (review)

ƒ

ƒ One of most important math tools in the course!One of most important math tools in the course! ƒ

ƒ Definition: For a function f(tDefinition: For a function f(t) () (f(tf(t)=0 for t<0),)=0 for t<0),

ƒ

ƒ We denote Laplace transform of f(tWe denote Laplace transform of f(t) by ) by F(sF(s).).

f(t

f(t))

t t 0

0 F(sF(s))

(2)

2008/09 MECH466 : Automatic Control 5

Laplace transform table (review)

Laplace transform table (review)

Inverse Laplace Inverse Laplace Transform Transform

(

(u(tu(t) is often omitted.)) is often omitted.)

2008/09 MECH466 : Automatic Control 6

Advantages of s

Advantages of s

-

-

domain (review)

domain (review)

ƒ

ƒ We can transform an ordinary differential We can transform an ordinary differential equation into an algebraic equation which is equation into an algebraic equation which is easy to solve.

easy to solve. (This lecture)(This lecture)

ƒ

ƒ It is easy to analyze and design interconnected It is easy to analyze and design interconnected (series, feedback etc.) systems. (Throughout the (series, feedback etc.) systems. (Throughout the course)

course) ƒ

ƒ Frequency domain information of signals can be Frequency domain information of signals can be dealt with. (Lectures for frequency responses: dealt with. (Lectures for frequency responses: after midterm)

after midterm)

An advantage of Laplace transform

An advantage of Laplace transform

ƒ

ƒ We can transform an ordinary differential We can transform an ordinary differential equation (ODE) into an algebraic equation (AE). equation (ODE) into an algebraic equation (AE).

ODE

ODE AEAE

Partial fraction

Partial fraction

expansion

expansion

Solution to ODE

Solution to ODE

t

t--domaindomain ss--domaindomain

1 1

2 2

3 3

Example 1 (distinct roots)

Example 1 (distinct roots)

ODE with initial conditions (ICs) ODE with initial conditions (ICs)

1.

1. Laplace transformLaplace transform

distinct roots

(3)

2008/09 MECH466 : Automatic Control 9

Properties of Laplace transform

Properties of Laplace transform

Differentiation (review)

Differentiation (review)

t

t--domaindomain

s

s--domaindomain

2008/09 MECH466 : Automatic Control 10

2.

2. Partial fraction expansionPartial fraction expansion

Multiply both sides by s & let s go to zero: Multiply both sides by s & let s go to zero:

Similarly, Similarly,

unknowns

unknowns

Example 1 (cont

Example 1 (cont

d)

d)

3.

3. Inverse Laplace transformInverse Laplace transform

Example 1 (cont

Example 1 (cont

d)

d)

If we are interested in only the final value of

If we are interested in only the final value of y(ty(t), apply ), apply Final Value Theorem:

Final Value Theorem:

Example 2 (repeated roots)

Example 2 (repeated roots)

ODE with initial conditions (ICs) ODE with initial conditions (ICs)

1.

1. Laplace transformLaplace transform

Repeated roots

(4)

2008/09 MECH466 : Automatic Control 13

2.

2. Partial fraction expansionPartial fraction expansion

To obtain A: To obtain A:

To obtain B: To obtain B:

unknowns

unknowns

Example 2 (cont

Example 2 (cont

d)

d)

2008/09 MECH466 : Automatic Control 14

2.

2. Partial fraction expansionPartial fraction expansion

To obtain C: To obtain C:

unknowns

unknowns

Example 2 (cont

Example 2 (cont

d)

d)

Take derivative

Take derivative

Let s go to

Let s go to --2.2.

3.

3. Inverse Laplace transformInverse Laplace transform

Example 2 (cont

Example 2 (cont

d)

d)

If we are interested in only the final value of

If we are interested in only the final value of y(ty(t), apply ), apply Final Value Theorem:

Final Value Theorem:

Properties of Laplace transform

Properties of Laplace transform

8.

8.

Frequency shift theorem (review)

Frequency shift theorem (review)

Ex. Ex. Proof. Proof.

t

t--domaindomain

s

(5)

2008/09 MECH466 : Automatic Control 17

Example 3 (complex roots)

Example 3 (complex roots)

ODE with zero initial conditions (ICs) ODE with zero initial conditions (ICs)

1.

1. Laplace transformLaplace transform

Complex roots

Complex roots

2008/09 MECH466 : Automatic Control 18

2.

2. Partial fraction expansionPartial fraction expansion

To obtain A, B & C: To obtain A, B & C:

unknowns

unknowns

Example 3 (cont

Example 3 (cont

d)

d)

3.

3. Inverse Laplace transformInverse Laplace transform

Example 3 (cont

Example 3 (cont

d)

d)

Example: Newton

Example: Newton

s law

s law

We want to know the trajectory of

We want to know the trajectory of x(tx(t). By Laplace transform,). By Laplace transform,

M

M

(Total response)

(6)

2008/09 MECH466 : Automatic Control 21

Ex: Mechanical accelerometer

Ex: Mechanical accelerometer

ƒ

ƒ Taken from Taken from DorfDorf& Bishop book& Bishop book

2008/09 MECH466 : Automatic Control 22

Ex: Accelerometer (cont

Ex: Accelerometer (cont

d)

d)

ƒ

ƒ We would like to know how y(tWe would like to know how y(t) moves) moveswhen unit when unit step

step f(tf(t) is applied with zero ICs.) is applied with zero ICs. ƒ

ƒ By Newton’By Newton’s laws law

Ex: Mechanical accelerometer (cont

Ex: Mechanical accelerometer (cont’

’d)

d)

ƒ

ƒ Suppose that b/M=3, k/M=2 and Ms=1.Suppose that b/M=3, k/M=2 and Ms=1. ƒ

ƒ Partial fraction expansionPartial fraction expansion

ƒ

ƒ Inverse Laplace transformInverse Laplace transform

-0.4 -0.3 -0.2 -0.1 0

A

m

pl

it

ude

Summary & Exercises

Summary & Exercises

ƒ

ƒ Solution procedure to Solution procedure to ODEsODEs 1.

1. Laplace transformLaplace transform 2.

2. Partial fraction expansionPartial fraction expansion 3.

3. Inverse Laplace transformInverse Laplace transform ƒ

ƒ Next, modeling of physical systems using Next, modeling of physical systems using Laplace transform

Laplace transform ƒ

ƒ ExercisesExercises ƒ

ƒ Read Sections 2Read Sections 2--2 up to page 42.2 up to page 42.

ƒ

References

Related documents

120 rpm as well as strawberry fruit to products extruded at 80 rpm had a negligible effect on the value of crispness. Results of the bulk density of snacks supplemented with fruits

The study of the effect of 14-day introduction of melatonin on the intensity of peroxide lipid oxi- dation and oxidative modification of mitochondria of the muscle tissue of

The problem then requires the solution of Equations (3), (5), and (7) which results in nine simultaneous ordinary differential equations and two explicit algebraic equation for the

(Model in body 220, Korea) هزاﺪﻧا يﺮﻴﮔ ﺪﺷ. ﻲﻧدﻮﻣزآ ﺎﻫ 3 ﻪﺴﻠﺟ رد ﻪﺘﻔﻫ ﻦﻳﺮﻤﺗ ﻲﻣ ﺪﻧدﺮﻛ. ﻪﻧزو يﺎﻫ ﻲﻨﻳﺮﻤﺗ رد لﻮـﻃ 8 ﻪــﺘﻔﻫ ﺖـﺑﺎﺛ دﻮــﺑ و داﺪـﻌﺗ هرود ﺎــﻫ

Thus, by the time the alfalfa fields were harvested (9-16 July), thrips movement into cabbage fields was declining. The peak catch the.. Means and species composition of thrips

Frequency of the monitoring activity Group/commi ttee/forum which will receive the findings/moni toring report Committee/in dividual responsible for ensuring that the

This rapid increase in demand for electricity led to the construction of larger power plants using, electricity from thermal energy by burning fossil fuels, using

Access the website stored in the Oki Data device (http://(Oki Data device IP address)), and check [Administrator Login]-[View Information]-[Network]-[Google Cloud Print]-[Using