Time Series Analysis

Similar documents
Time Series Analysis

Grades will be determined by the correctness of your answers (explanations are not required).

Grades will be determined by the correctness of your answers (explanations are not required).

Chapter 1 Fundamental Concepts

Review of Discrete-Time System

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

A.1 THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM. 0 δ(t)dt = 1, (A.1) δ(t)dt =

221B Lecture Notes on Resonances in Classical Mechanics

EC Signals and Systems

Module 4. Related web links and videos. 1. FT and ZT

Lecture 9 Infinite Impulse Response Filters

ESS Finite Impulse Response Filters and the Z-transform

Lecture 5 - Assembly Programming(II), Intro to Digital Filters

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Spatial Statistics with Image Analysis. Lecture L08. Computer exercise 3. Lecture 8. Johan Lindström. November 25, 2016

Lecture 1 January 5, 2016

Homework 4. May An LTI system has an input, x(t) and output y(t) related through the equation y(t) = t e (t t ) x(t 2)dt

Discrete Time Systems

Wave Phenomena Physics 15c. Lecture 11 Dispersion

Question Paper Code : AEC11T02

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Time Series Analysis. Solutions to problems in Chapter 5 IMM

LTI Systems (Continuous & Discrete) - Basics

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Chapter 3 Data Acquisition and Manipulation

Review of Frequency Domain Fourier Series: Continuous periodic frequency components

Solutions. Number of Problems: 10

6.003 (Fall 2011) Quiz #3 November 16, 2011

Final Exam 14 May LAST Name FIRST Name Lab Time

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

Communication Systems Lecture 21, 22. Dong In Kim School of Information & Comm. Eng. Sungkyunkwan University

2A1H Time-Frequency Analysis II

How many initial conditions are required to fully determine the general solution to a 2nd order linear differential equation?

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Linear Filters. L[e iωt ] = 2π ĥ(ω)eiωt. Proof: Let L[e iωt ] = ẽ ω (t). Because L is time-invariant, we have that. L[e iω(t a) ] = ẽ ω (t a).

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

EECS 20N: Midterm 2 Solutions

Time Series Analysis

Linear second-order differential equations with constant coefficients and nonzero right-hand side

ELEG 305: Digital Signal Processing

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

2A1H Time-Frequency Analysis II Bugs/queries to HT 2011 For hints and answers visit dwm/courses/2tf

Therefore the new Fourier coefficients are. Module 2 : Signals in Frequency Domain Problem Set 2. Problem 1

Recursive Gaussian filters

Analytical Mechanics ( AM )

Chapter 1 Fundamental Concepts

Systems & Signals 315

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

Periodic functions: simple harmonic oscillator

ENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University

Identification Methods for Structural Systems

Problem Set 2: Solution Due on Wed. 25th Sept. Fall 2013

Math Fall Linear Filters

Lecture 8 - IIR Filters (II)

Discrete-Time David Johns and Ken Martin University of Toronto

Phasor Young Won Lim 05/19/2015

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

Digital Signal Processing

EE482: Digital Signal Processing Applications

Section 4.9; Section 5.6. June 30, Free Mechanical Vibrations/Couple Mass-Spring System

6.003 (Fall 2007) 17 December Final exam. Name: Please circle your section number:

Lecture 38: Equations of Rigid-Body Motion

Systems Analysis and Control

Physics 141, Lecture 7. Outline. Course Information. Course information: Homework set # 3 Exam # 1. Quiz. Continuation of the discussion of Chapter 4.

Time Series Analysis

SAMPLE EXAMINATION PAPER (with numerical answers)

Linear and Nonlinear Oscillators (Lecture 2)

Exam III Physics 101: Lecture 19 Elasticity and Oscillations

Massachusetts Institute of Technology

Module 4 : Laplace and Z Transform Problem Set 4

Outline. Classical Control. Lecture 2

SIGNAL PROCESSING. B14 Option 4 lectures. Stephen Roberts

LECTURE 12 Sections Introduction to the Fourier series of periodic signals

FROM ANALOGUE TO DIGITAL

21.4. Engineering Applications of z-transforms. Introduction. Prerequisites. Learning Outcomes

06/12/ rws/jMc- modif SuFY10 (MPF) - Textbook Section IX 1

EE 380. Linear Control Systems. Lecture 10

Shift Property of z-transform. Lecture 16. More z-transform (Lathi 5.2, ) More Properties of z-transform. Convolution property of z-transform

Aspects of Continuous- and Discrete-Time Signals and Systems

CMPT 318: Lecture 5 Complex Exponentials, Spectrum Representation

Poles and Zeros in z-plane

1.1 SPECIAL FUNCTIONS USED IN SIGNAL PROCESSING. δ(t) = for t = 0, = 0 for t 0. δ(t)dt = 1. (1.1)

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides.

A1 Time-Frequency Analysis

6.003: Signals and Systems

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

ENSC327 Communications Systems 2: Fourier Representations. School of Engineering Science Simon Fraser University

Lecture 38: Equations of Rigid-Body Motion

3.1 MODELING PHYSICAL AND BIOLOGICAL SYSTEMS. K m

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Transform Representation of Signals

Damped Oscillators (revisited)

LINEAR SYSTEMS. J. Elder PSYC 6256 Principles of Neural Coding

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

24 Butterworth Filters

Down-Sampling (4B) Young Won Lim 11/15/12

Discrete Time Systems

Transcription:

Time Series Analysis Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby 1

Outline of todays lecture Descriptions of (deterministic) linear systems. Chapter 4: Linear Systems Linear (Input-Output) systems Linear systems, Chap. 4, except Sec. 4.7 Cursory material: Sec. 4.6 2

Linear Dynamic Systems Input Linear System Output We are going to study the case where we measure the input and the and the output to/from a system Here we will discuss some theory and descriptions for such systems Later on (in the next lecture) we will consider how we can model the system based on measurements of input and output. 3

Dynamic response What would happen to the temperature inside a hollow, insulated, concrete block, which you place it in a controlled temperature environment, wait until everything is settled (all temperatures are equal), and then suddenly raise the temperature by 100 o C outside the block? Sketch the temporal development of the temperature outside and inside the block 4

Dynamic response characteristics from data An important aspect of what we aim at later on is to identify the characteristics of the dynamic response based on measurements of input and output signals 2 1 0 1 2 3 4 Input (x) Output (y) 0 20 40 60 80 100 5

Dyn. response characteristics from data (cont nd) Estimated (black) and true (red) step repsponse Response 0.0 0.4 0.8 0 10 20 30 Lag 6

Linear Dynamic Systems notation Input x F[ ] y Linear System Output x(t) Differential eq., h(u) y(t) x t Difference eq., h k, h(b) y t X(ω) H(ω) Y (ω) X(z) H(z) Y (z) (X(s) H(s) Y (s)) 7

Dynamic Systems Some characteristics Def. Linear system: F [ λ 1 x 1 (t) + λ 2 x 2 (t) ] = λ 1 F [ x 1 (t) ] + λ 2 F [ x 2 (t) ] Def. Time invariant system: y(t) = F [ x(t) ] y(t τ) = F [ x(t τ) ] Def. Stable system: A system is said to be stable if any constrained input implies a constrained output. Def. Causal system: A systems is said to be physically feasible or causal, if the output at time t does not depend on future values of the input. 8

Example System: y t ay t 1 = bx t Can be written: y t = bx t + ay t 1 = bx t + a(bx t 1 + ay t 2 ) or y t = b(x t + ax t 1 + a 2 x t 2 + a 3 x t 3 +...) = b a k x t k The system is seen to be linear and time invariant k=0 The impulse response is h k = ba k, k 0 (0 otherwise) and the system is seen to be causal Since k= h k = b a k = k=0 { b /(1 a ) ; a < 1 ; a 1 the system is stable for a < 1 (stability does not depend on b) 9

Description in the time domain For linear time invariant systems: Continuous time: Discrete time: y(t) = y t = h(u)x(t u)du (1) k= h(u) or h k is called the impulse response h k x t k (2) S k = k j= h j is called the step response (similar def. in continuous time) The impulse response can be determined by sending a 1 trough the system 10

Example: Calculation of the impulse response fct. The impulse can be determined by sending a 1 trough the system. Consider the linear, time invariant system y t 0.8y t 1 = 2x t x t 1 (3) By putting x = δ we see that y k = h k = 0 for k < 0. For k = 0 we get y 0 = 0.8y 1 + 2δ 0 δ 1 = 0.8 0 + 2 1 0 = 2 i.e. h 0 = 2. 11

Example - Cont. Going on we get y 1 = 0.8y 0 + 2δ 1 δ 0 = 0.8 2 + 2 0 1 = 0.6 y 2 = 0.8y 1 = 0.48. y k = 0.8 k 1 0.6 (k > 0) Hence, the impulse response function is h k = 0 for k < 0 2 for k = 0 0.8 k 1 0.6 for k > 0 which clearly represents a causal system. Furthermore, the system is stable since 0 h k = 2 + 0.6(1 + 0.8 + 0.8 2 + ) = 5 < 12

Description in the frequency domain The Fourier transform is a way of representing a signal y(t) or y t by it s distribution over frequencies: Y (ω) = y(t)e iωt dt or Y (ω) = t= y t e iωt If the time unit is seconds, ω is the angular frequency in radians per second. In discrete time π ω < π For a linear time invariant system it holds that Y (ω) = H(ω)X(ω) where H(ω) is the Fourier transform of the impulse response function. H(ω) = H(ω) e i arg{h(ω)} = G(ω)e iφ(ω) 13

Description in the frequency domain (cont.) The function H(ω) is called the Frequency response function, and it is the Fourier transformation of the impulse response function, ie. H(ω) = k= h k e iωk ( π ω < π) (4) The frequency response function is complex. Thus, it is possible to split H(ω) into a real and a complex part: H(ω) = H(ω) e i arg{h(ω)} = G(ω)e iφ(ω) (5) where G(ω) is the amplitude (amplitude function) and φ(ω) is the phase (phase function). 14

Single harmonic input Lets consider the a single harmonic signal as input: x(t) = Ae iωt = Acos ωt + iasin ωt (6) Then the output becomes also single harmonic, cf.: y(t) = = = Ae iωt h(u)x(t u)du h(u)ae iω(t u) du h(u)e iωu du ( ) = H(ω)Ae iωt = G(ω)Ae i ωt+φ(ω) (7) 15

Single harmonic input (cont.) A single harmonic input to a linear, time invariant system will give an output having the same frequency ω. The amplitude of the output signal equals the amplitude of the input signal multiplied by G(ω). The change in phase from input to output is φ(ω). 16

Sampling From continuous time to discrete time what is lost? x(t) T x t T is the sampling time ω 0 = 2π/T is the sampling frequency 17

Sampling (cont nd) If we work out the mathematical theory of sampling it turns out that the Fourier transform of the sampled signal X s (ω) is composed by the Fourier transform of the original signal X(ω) at the correct frequency ω and at the frequencies ω ± ω 0, ω ± 2ω 0, ω ± 3ω 0,... If X(ω) is zero outside the interval [ ω 0 /2,ω 0 /2] = [ π/t,π/t] then X s (ω) = X(ω) If not the values outside the interval cannot be distinguished from values inside the interval (aliasing) 18

Sampling (cont nd) T = 1, w0 = 6.2832 w0/2 w0/2 G(w) 0.0 0.6 3.1416 0.0 3.1416 w T = 0.6, w0 = 10.472 w0/2 w0/2 G(w) 0.0 0.6 5.2360 0.0 5.2360 w 19

The z-transform A way to describe dynamical systems in discrete time Z({x t }) = X(z) = t= x t z t (z complex) The z-transform of a time delay: Z({x t τ }) = z τ X(z) The transfer function of the system is called H(z) = h t z t t= y t = k= h k x t k Y (z) = H(z)X(z) Relation to the frequency response function: H(ω) = H(e iω ) 20

Linear Difference Equation y t + a 1 y t 1 + + a p y t p = b 0 x t τ + b 1 x t τ 1 + + b q x t τ q (1 + a 1 z 1 + + a p z p )Y (z) = z τ (b 0 + b 1 z 1 + + b q z q )X(z) Transfer function: H(z) = z τ (b 0 + b 1 z 1 + + b q z q ) (1 + a 1 z 1 + + a p z p ) = z τ (1 n 1 z 1 )(1 n 2 z 1 ) (1 n q z 1 )b 0 (1 λ 1 z 1 )(1 λ 2 z 1 ) (1 λ p z 1 ) Where the roots n 1,n 2,...,n q is called the zeros of the system and λ 1,λ 2,...,λ p is called the poles of the system The system is stable if all poles lie within the unit circle 21

Relation to the backshift operator y t + a 1 y t 1 + + a p y t p = b 0 x t τ + b 1 x t τ 1 + + b q x t τ q (1 + a 1 z 1 + + a p z p )Y (z) = z τ (b 0 + b 1 z 1 + + b q z q )X(z) (1 + a 1 B 1 + + a p B p )y t = B τ (b 0 + b 1 B 1 + + b q B q )x t ϕ(b)y t = ω(b)b τ x t The output can be written: y t = ϕ 1 (B)ω(B)B τ x t = h(b)x t = [ h i B ]x i t = i=0 h i x t i i=0 h(b) is also called the transfer function. Using h(b) the system is assumed to be causal; compare with H(z) = t= h tz t 22

Estimating the impulse response The poles and zeros characterize the impulse response (Appendix A and Chapter 8) If we can estimate the impulse response from recordings of input an output we can get information that allows us to suggest a structure for the transfer function True Impulse Response 0.0 0.04 0.08 0 10 20 30 Lag SCCF 0.0 0.2 0.4 0.6 0 10 20 30 Lag SCCF after pre whitening 0.0 0.1 0.2 0.3 0.4 0 10 20 30 Lag 23