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



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

Signal Processing and Linear Systems I

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

The Transport Equation

RC (Resistor-Capacitor) Circuits. AP Physics C

Differential Equations and Linear Superposition

Stochastic Optimal Control Problem for Life Insurance

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

AP Calculus BC 2010 Scoring Guidelines

AP Calculus AB 2013 Scoring Guidelines

Capacitors and inductors

Equation for a line. Synthetic Impulse Response Time (sec) x(t) m

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

9. Capacitor and Resistor Circuits

Cointegration: The Engle and Granger approach

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

2.5 Life tables, force of mortality and standard life insurance products

Signal Rectification

CHARGE AND DISCHARGE OF A CAPACITOR

Answer, Key Homework 2 David McIntyre Mar 25,

AP Calculus AB 2010 Scoring Guidelines

MTH6121 Introduction to Mathematical Finance Lesson 5

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

Mathematics in Pharmacokinetics What and Why (A second attempt to make it clearer)

A Probability Density Function for Google s stocks

Newton s Laws of Motion

The Fourier Transform

Full-wave rectification, bulk capacitor calculations Chris Basso January 2009

Economics Honors Exam 2008 Solutions Question 5

Lectures # 5 and 6: The Prime Number Theorem.

Analogue and Digital Signal Processing. First Term Third Year CS Engineering By Dr Mukhtiar Ali Unar

Pulse-Width Modulation Inverters

The option pricing framework

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

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

Inductance and Transient Circuits

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

Acceleration Lab Teacher s Guide

Steps for D.C Analysis of MOSFET Circuits

Fourier Series & The Fourier Transform

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

Chapter 8: Regression with Lagged Explanatory Variables

Transient Analysis of First Order RC and RL circuits

1 HALF-LIFE EQUATIONS

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

Chapter 2 Kinematics in One Dimension

The Torsion of Thin, Open Sections

LECTURE 7 Interest Rate Models I: Short Rate Models

Morningstar Investor Return

Technical Appendix to Risk, Return, and Dividends

Module 3. R-L & R-C Transients. Version 2 EE IIT, Kharagpur

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,

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

AP Calculus AB 2007 Scoring Guidelines

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

1 A B C D E F G H I J K L M N O P Q R S { U V W X Y Z 1 A B C D E F G H I J K L M N O P Q R S { U V W X Y Z

Chapter 6 Interest Rates and Bond Valuation

On the degrees of irreducible factors of higher order Bernoulli polynomials

ANALYSIS AND COMPARISONS OF SOME SOLUTION CONCEPTS FOR STOCHASTIC PROGRAMMING PROBLEMS

Keldysh Formalism: Non-equilibrium Green s Function

I. Basic Concepts (Ch. 1-4)

µ r of the ferrite amounts to It should be noted that the magnetic length of the + δ

Lecture 2: Telegrapher Equations For Transmission Lines. Power Flow.

Distributions of Residence Times for Chemical Reactors

SOLID MECHANICS TUTORIAL GEAR SYSTEMS. This work covers elements of the syllabus for the Edexcel module 21722P HNC/D Mechanical Principles OUTCOME 3.

= r t dt + σ S,t db S t (19.1) with interest rates given by a mean reverting Ornstein-Uhlenbeck or Vasicek process,

Term Structure of Prices of Asian Options

Astable multivibrator using the 555 IC.(10)

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

4. International Parity Conditions

Fourier Series and Fourier Transform

Why Did the Demand for Cash Decrease Recently in Korea?

INSTRUMENTS OF MONETARY POLICY*

Longevity 11 Lyon 7-9 September 2015

Second Order Linear Differential Equations

Return Calculation of U.S. Treasury Constant Maturity Indices

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

DYNAMIC MODELS FOR VALUATION OF WRONGFUL DEATH PAYMENTS

Chapter 4: Exponential and Logarithmic Functions

Forecasting, Ordering and Stock- Holding for Erratic Demand

Permutations and Combinations

Present Value Methodology

Behavior Analysis of a Biscuit Making Plant using Markov Regenerative Modeling

Stability. Coefficients may change over time. Evolution of the economy Policy changes

Multiprocessor Systems-on-Chips

Valuing Long-Lived Assets

PROFIT TEST MODELLING IN LIFE ASSURANCE USING SPREADSHEETS PART ONE

Optimal Control Formulation using Calculus of Variations

CLASSICAL TIME SERIES DECOMPOSITION

Introduction to Option Pricing with Fourier Transform: Option Pricing with Exponential Lévy Models

A Simple Introduction to Dynamic Programming in Macroeconomic Models

Performance Center Overview. Performance Center Overview 1

Journal Of Business & Economics Research September 2005 Volume 3, Number 9

HFCC Math Lab Intermediate Algebra - 13 SOLVING RATE-TIME-DISTANCE PROBLEMS

Transcription:

Differenial Equaions Linear sysems are ofen described using differenial equaions. For example: d 2 y d 2 + 5dy + 6y f() d where f() is he inpu o he sysem and y() is he oupu. We know how o solve for y given a specific inpu f. We now cover an alernaive approach: Differenial Equaion solve Solving for Impulse Response We canno solve for he impulse response direcly so we solve for he sep response and hen differeniae i o ge he impulse response. Differenial Equaion solve Sep response differeniae Impulse response Any inpu Impulse response convoluion Corresponding Oupu Any inpu convoluion Corresponding Oupu 17 18

Moivaion: Convoluion Solving for Sep Response If we know he response of a linear sysem o a sep inpu, we can calculae he impulse response and hence we can find he response o any inpu by convoluion. If we wan o find he sep response of dy d + 5y f() where f is he inpu and y is he oupu. I would be nice if we could pu f() H() and solve. Unforunaely we don know of a way o do his direcly. So we Suppose we wan o know how a car s suspension responds o los of differen ypes of road surface. We measure how he suspension responds o a sep inpu (or calculae he sep response from a heoreical model of he sysem). We can hen find he impulse response and use convoluion o find he car s behaviour for any road surface profile. 19 1. se f() 1, and solve for jus 0 2. se he boundary condiion y(0) 0 (also ẏ(0) 0 for second order equaions) o imply ha f() was zero for all < 0. We hus have a complee soluion because y 0 for < 0, and we have found y for all 0. 20

Boundary Condiion Jusificaion Prove ha y 0 a 0 by conradicion. We know ha y() 0 for all < 0. Therefore he only way for y o equal somehing oher han zero a 0 is if here is a sep disconinuiy in y a 0. Assume ha y has a sep of heigh h a 0. If y has a sep disconinuiy a 0 hen dy d mus have a dela funcion a 0. So we have: f() is a sep funcion so f() 1 for all. y h a 0. dy a 0. d Which violaes he original equaion a 0. dy f() 5y d As he RHS is finie bu he LHS is infinie. Therefore y mus be coninuous a 0, and we can use he iniial condiion y(0) 0. 21 Sep Response Example Sep 1: se f() 1, and solve for jus 0. dy d + 5y 1 Complimenary funcion: ẏ + 5y 0 y Ae 5 Paricular Inegral: ry y λ (a cons) y 1 5 General Soluion: y Ae 5 + 1 5 Sep 2: se he boundary condiion y 0 a 0 y(0) 0 A + 1 5 0 A 1 5 So sep response is y() 1 5 ( 1 e 5 ) for 0. 22

Find he Impulse Response Sep Impulse Response Impulse Response g() inegrae differeniae Sep Response Sep response is y() 1 5 ( 1 e 5 ) for 0. Impulse response g() is given by: 0, < 0 g() [ d 1 ( 1 e 5 )] e 5, 0 d 5 23 d 2 y d 2 + 13dy d + 12y f() 1. Find he General Soluion wih f() 1 Complimenary funcion is y Ae 12 + Be Paricular inegral is y 1 12 General soluion is y 1 12 + Ae 12 + Be 2. Se boundary condiions y(0) ẏ(0) 0 o ge he sep response. 1 12 + A + B 0 12A B 0 A 1 132 and B 1 11 Thus Sep Response is y 12 1 + e 12 132 e 11 3. Differeniae he sep response o ge he impulse response. g() dy d e e 12 11, ( > 0) 24

Using he Impulse Response If we have a sysem inpu composed of impulses, f() 3δ( 1) + 4δ( 2) we can find he corresponding sysem oupu using superposiion. y() 3g( 1) + 4g( 2) 3 e ( 1) e 12( 1) 11 +4 e ( 2) e 12( 2) 11 More General Inpu Suppose our inpu is composed of los of dela funcions: f() n p n δ( q n ) Then he corresponding sysem oupu will be y() n p n g( q n ) 25 26

Secion 2: Summary Differenial Equaion ay + by + cy + d f() solve ay + by + cy + d 1 wih boundary condiions y(0) 0 and y(0) 0 Secion 3 Convoluion Sep response differeniae In his secion we derive he convoluion inegral and show is use in some examples. Impulse response Any inpu convoluion Corresponding Oupu 27 28

Convoluion Our goal is o calculae he oupu, y() of a linear sysem using he inpu, f(), and he impulse response of he sysem, g(). An impulse a ime 0 produces he impulse response. δ() Linear Sysem g() An impulse delayed o ime τ produces a delayed impulse response saring a ime τ. A scaled impulse a ime 0 produces a scaled impulse response. k δ() Linear Sysem k g() An impulse ha has been scaled by k and delayed o ime τ produces an impulse response scaled by k and saring a ime τ. k δ( τ ) Linear Sysem k g( τ ) δ( τ ) Linear Sysem g( τ ) τ τ τ τ 29 30

Consider he inpu, f() o be made up of a sequence of srips of widh τ. Each of hese srips is similar o a dela funcion and hus leads o a sysem oupu of an appropriaely scaled and delayed impulse response. f() δ( τ ) f( τ) τ leads o response g( τ ) f( τ ) τ y() g( τ)f(τ)dτ τ τ The response of he sysem, y() is hus he sum of hese delayed, scaled impulse responses. (Provided g() 0 for < 0.) y() g( τ)f(τ) τ All slices Trea as a consan when evaluaing he inegral. The inegraion variable is τ. is ime as i relaes o he oupu of he sysem y(). τ is ime as i relaes o he inpu of he sysem f(τ). Le he widh of he slices end o zero. The sum urns ino an inegral called he convoluion inegral. y() g( τ)f(τ)dτ 31 32

Convoluion Example 1 Consider a sysem wih impulse response { 0, < 0 g() e 5, 0 Find he oupu for inpu f() H() (sep funcion). Convoluion Example 2 For he same sysem (g() e 5, 0), find he oupu for inpu 0, < 0 f() v, 0 < < k 0, > k v f() k Using he convoluion inegral, he answer is given by y() 1 5 g( τ)f(τ)dτ e 5( τ) H(τ)dτ 0 e 5( τ) dτ [ ] 1 5 e 5( τ) 0 ( 1 e 5 ) y() g( τ)f(τ)dτ g( τ) 0 dτ, < 0 0 g( τ) 0 dτ + 0 g( τ) v dτ, 0 < < k 0 g( τ) 0 dτ + k 0 g( τ) v dτ + k g( τ) 0 dτ, > k 33 34

Case (a): < 0 g( τ) 0 dτ 0 so y() 0 for all < 0. Case (b): 0 < < k y() g( τ) v dτ 0 0 e 5( τ) v dτ Case (c): > k [ e 5( τ) ] v 5 v ( 1 e 5 ) 5 k k y() g( τ) v dτ 0 0 e 5( τ) v dτ y() 0 [ e 5( τ) ] k v 5 0 v ( e 5k 1 ) e 5 5 Convoluion Example 3 For he same sysem (g() e 5, 0), find he oupu for inpu f() { 0, < 0 sin(ω), > 0 f() Using he convoluion inegral, he answer is given by y() g( τ)f(τ)dτ g( τ) 0 dτ, < 0 0 g( τ) 0 dτ + 0 g( τ) sin(ωτ) dτ, 0 < (a) (b) k (c) 35 36

Convoluion Summary Case (a): < 0 Differenial Equaion ay + by + cy + d f() g( τ) 0 dτ 0 so y() 0 for all < 0. Case (b): 0 < y() g( τ)sin(ωτ) dτ 0 0 e 5( τ) sin(ωτ) dτ { } Im 0 e 5( τ) e iωτ dτ Im e 5 e(5+iω)τ 5 + iω 0 { e iω e 5 } Im 5 + iω 5sin(ω) ω cos(ω) + ωe 5 25 + ω 2 Any Inpu: f() solve ay + by + cy + d 1 wih boundary condiions y(0) 0 and y(0) 0 Sep response differeniae Impulse response: g() convoluion Corresponding Oupu: y() y() g( τ) f(τ) dτ 38 37

Complee Example Find he impulse response of d 2 y d 2 + 3dy d + 2y f() hence find he oupu when he inpu f() H()e. 3. Differeniae he sep response o ge he impulse response. g() dy d e e 2 1. Find he General Soluion wih f() 1 Complimenary funcion is y Ae + Be 2 Paricular inegral is y 1 2 General soluion is y 1 2 + Ae + Be 2 2. Se boundary condiions y(0) ẏ(0) 0 o ge he sep response. 1 2 + A + B 0 A 2B 0 A 1 and B 1 2 Thus Sep Response is y 1 2 e + e 2 2 39 4. Use he convoluion inegral o find he oupu for he required inpu. The required inpu is f() e, > 0. y() g( τ)f(τ)dτ 0 ( e ( τ) e 2( τ) ) e τ dτ 0 e e τ 2 dτ [ τe e τ 2] 0 ( 1) e + e 2 40

Secion 3: Summary Convoluion inegral (memorise his): f() inpu g() impulse response y() oupu y() g( τ) f(τ) dτ Way o find he oupu of a linear sysem, described by a differenial equaion, for an arbirary inpu: Find general soluion o equaion for inpu 1. Se boundary condiions y(0) ẏ(0) 0 o ge he sep response. Differeniae o ge he impulse response. Use convoluion inegral ogeher wih he impulse response o find he oupu for any desired inpu. Secion 4 Evaluaing Convoluion Inegrals A way of rearranging he convoluion inegral is described and illusraed. The differences beween convoluion in ime and space are discussed and he concep of causaliy is inroduced. The secion ends wih an example of spaial convoluion. 41 42