Analog LTI system Digital LTI system

Similar documents
Responses of Digital Filters Chapter Intended Learning Outcomes:

EEL3135: Homework #4

Lecture 19 IIR Filters

Stability Condition in Terms of the Pole Locations

Z Transform (Part - II)

Lecture 11 FIR Filters

Digital Signal Processing:

Discrete-time signals and systems

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Digital Signal Processing Lecture 4

Chapter Intended Learning Outcomes: (i) Understanding the relationship between transform and the Fourier transform for discrete-time signals

Filter structures ELEC-E5410

Introduction to Digital Signal Processing

(i) Represent discrete-time signals using transform. (ii) Understand the relationship between transform and discrete-time Fourier transform

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

EE 521: Instrumentation and Measurements

Ch. 7: Z-transform Reading

DISCRETE-TIME SIGNAL PROCESSING

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

Digital Filters Ying Sun

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

Module 4 : Laplace and Z Transform Problem Set 4

Roll No. :... Invigilator s Signature :.. CS/B.Tech (EE-N)/SEM-6/EC-611/ DIGITAL SIGNAL PROCESSING. Time Allotted : 3 Hours Full Marks : 70

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

Recursive, Infinite Impulse Response (IIR) Digital Filters:

ELEG 305: Digital Signal Processing

III. Time Domain Analysis of systems

Digital Signal Processing Lecture 5

Lecture 7 Discrete Systems

Z-Transform. 清大電機系林嘉文 Original PowerPoint slides prepared by S. K. Mitra 4-1-1

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

EE482: Digital Signal Processing Applications

R13 SET - 1

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Implementation of Discrete-Time Systems

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant

8. z-domain Analysis of Discrete-Time Signals and Systems

Discrete Time Systems

The z-transform Part 2

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z).

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular


Computer Engineering 4TL4: Digital Signal Processing

Linear Convolution Using FFT

Digital Filter Structures

VU Signal and Image Processing

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

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

E : Lecture 1 Introduction

Discrete-Time David Johns and Ken Martin University of Toronto

UNIT 1. SIGNALS AND SYSTEM

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

Review of Discrete-Time System

SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

The Z-Transform. Fall 2012, EE123 Digital Signal Processing. Eigen Functions of LTI System. Eigen Functions of LTI System

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

APPLIED SIGNAL PROCESSING

Z-Transform. x (n) Sampler

Chap 2. Discrete-Time Signals and Systems

z-transform Chapter 6

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

Course and Wavelets and Filter Banks. Filter Banks (contd.): perfect reconstruction; halfband filters and possible factorizations.

z-transforms Definition of the z-transform Chapter

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

ECE503: Digital Signal Processing Lecture 6

Lecture 7 - IIR Filters

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

Basic Multi-rate Operations: Decimation and Interpolation

Very useful for designing and analyzing signal processing systems

Digital Signal Processing

Digital Signal Processing

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1)

Signals and Systems. Spring Room 324, Geology Palace, ,

Need for transformation?

ESE 531: Digital Signal Processing

Advanced Digital Signal Processing -Introduction

EECE 301 Signals & Systems Prof. Mark Fowler

DSP-I DSP-I DSP-I DSP-I

Multi-rate Signal Processing 3. The Polyphase Representation

ELEG 305: Digital Signal Processing

QUESTION BANK SIGNALS AND SYSTEMS (4 th SEM ECE)

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Theory and Problems of Signals and Systems

2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal

Lesson 1. Optimal signalbehandling LTH. September Statistical Digital Signal Processing and Modeling, Hayes, M:

Discrete Time Systems

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

2.161 Signal Processing: Continuous and Discrete Fall 2008

Digital Signal Processing, Homework 1, Spring 2013, Prof. C.D. Chung

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

Analog vs. discrete signals

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

Transcription:

Sampling Decimation Seismometer Amplifier AAA filter DAA filter Analog LTI system Digital LTI system

Filtering (Digital Systems) input output filter xn [ ] X ~ [ k] Convolution of Sequences hn [ ] yn [ ] = h[n] *x[n] Discrete Fourier Transform (DFT) T ~ [ k] Y ~ [ k] = T ~ [ k]x ~ [ k] Xz [ ] z-transform T[ z] Y[ z] = T[ z]xz [ ]

The z-transform Z{ x[ n] } = xn [ ]z n = n = Xz ( ) Properties x 1 [ n]*x 2 [ n] = x 1 [ m]x 2 [ n m] X 1 ( z) X 2 ( z) x[ n n 0 ] z n m = (convolution theorem) 0 Xz ( ) (shifting theorem) x[ n] X( 1 z) Tz ( ) Transfer Function Z{ y[ n] } = -------------------- = Z{ x[ n] } Y( z) ---------- Xz ( )

Rational Transfer Function Linear Difference Equation Tz ( ) Yz ( ) = ---------- = X( z) M l = 0 N b l z l ----------------------- a k z k k = 0 N a k yn k k = 0 M [ ] = b l xn [ l] l = 0

Recursive/Non-Recursive Filters N M a yn [ k] = k b l x[ n l] k = 0 l = 0 N M a 0 y[ n] + a k y[ n k] = b l xn [ l] k = 1 l = 0 y[ n] = N a M k b ----- l a y[ n k] + 0 -----x[ n l] a 0 k = 1 l = 0 recursive non-recursive ( IIR Filters ) FIR Filters ( ) a 0 = 1 and a k = 0 for k 1 M y[ n] = b x[ n l] l l = 0

Rational Transfer Function Tz ( ) Y( z) = ---------- = X( z) M l = 0 N b l z l ----------------------- a k z k k = 0 Special Case: FIR filter ( a 0 = 1and a k = 0 for k 1) M Tz ( ) = b l z l = b 0 ( 1 c l z 1 ) l = 0 M l = 1 = b 0 ( z c l ) z M M l = 1 Linear Difference Equation M yn [ ] b l xn [ l] = = l = 0 x[ n]*b[l]

FIR filters : + Always stable. - Steep filters need many coefficients. + Both causal and noncausal filters can be implemented. + Filters with given specifications are easy to implement! IIR filters : - Potentially unstable and subject to quantization errors. + Steep filters can easily be implemented with a few coefficients. Speed. - Filters with given specifications are in general, difficult, if not impossible, to implement exactly(!).

-t1 -t2

How can we remove these effects? Recursive/Non-Recursive Filters N M a yn [ k] = k b l x[ n l] k = 0 l = 0 N M a 0 y[ n] + a k y[ n k] = b l xn [ l] k = 1 l = 0 Back to Transfer function: y[ n] = N a M k b ----- l a y[ n k] + 0 -----x[ n l] a 0 k = 1 l = 0 recursive non-recursive ( IIR Filters ) FIR Filters ( ) a 0 = 1 and a k = 0 for k 1 M y[ n] = b x[ n l] l l = 0

Frequency

flip time axis Waveform Properties and Root Positions minimum delay/phase maximum delay/phase mixed delay/phase (zero phase) mixed delay/phase mixed delay/phase

Zero Phase FIR Filter Problem: Two-Sided IR Cure: Change IR into Minimum Phase Methods: 1) Add phase of Minimum Phase Filter to trace spectrum 2) Recursive Filtering of time inverted trace

Removing the acausal response of a Zero Phase FIR Filter Linear Phase and Zero Phase Filter: 0 F( z) time delay lp X( z) Y( z) Linear Phase FIR filter 0 0 0 lp 0 X( z) F( z) Linear Phase FIR filter z lp linear phase shift correction Yz ( ) Linear-phase FIR Filter: Zero-phase FIR Filter: Fz ( ) Fz ( ) = Fz ( ) z lp z lp = Time delay correction by lp samples

General rule: Any filter can be expressed by convolution of its minimum phase and maximum phase component. roots within UC roots outside UC => Linear phase FIR Filter: F z ( ) = F max ( z) F min ( z) maximum phase component -> left-sided (acausal) component minimum phase component -> right-sided (causal) component

Removal of acausal response: Replace maximum phase component F max (z) by its minimum phase equivalent MinPhase{F max (z)}. MinPhase { F max ( z) } = minimum phase maximum phase Answer: flip maximum phase component in time. In terms of z-transform: => MinPhase F max ( z) { } = F max ( 1 z)

z-transform representation of digital seismogram LP FIR LP correction Y ~ ( z) = F( z) z lp X ~ ( z) digital seismogram after FIR filtering but before decimation 0P FIR digital seismogram before FIR filtering x ~ [ n] = unfiltered digital seismogram ~ X( z) = z-transform of the input signal x ~ [ n] F( z) = z-transform of the linear phase FIR filter y ~ [ n] = filtered digital seismic trace before decimation 1 ( ) = z-transform of y ~ n Y ~ z [ ] 1 This is a fictitious signal since decimation is commonly done while filtering.

F( z) z lp corresponds to a zero phase filter in which the linear phase component of F(z) is corrected. In practice: Treat time shift z lp separately from F(z)

Removing the maximum phase component of a FIR filter Principle: F max ( z) -> MinPhase{ F max ( z) } Corrected seismogram Y(z): Yz ( ) = 1 ------------------- F F max ( z) max ( 1 z) Y ~ ( z) Problem: Since F max (z) has only zeros outside the unit circle, 1/ F max (z) will have poles outside the unit circle.

Solution: Flip time axis. Y( 1 z) = -------------------------- 1 F max ( 1 z) F ( z ) Y ~ ( 1 z) max Impulse response corresponding to 1/ F max (z) becomes a stable causal sequence in nominal time and the deconvolution of the maximum phase component F max (z) poses no stability problems.

The difference equation F ( max 1 z) Y ( 1 z) = F ( max z) Y ~ ( 1 z ) Rewrite to A' ( z) Y' ( z) = B' ( z) X' ( z) A' ( z) <=> F max ( 1 z) Y' ( z) <=> Y( 1 z) B' ( z) <=> F max ( z) X' ( z) Y ~ ( 1 z) <=> Written as convolution sum: k = a' [ k] y' [ i k] = l = b' [] l x' [ i l]

Assumption: F(z) contains mx zeros outside the unit circle => wavelets a [k] and b [k] will be of length mx + 1. mx k = 0 Rearrange to a' [ k] y' [ i k] = mx l = 0 b' [] l x' [ i l] y' [] i a' [ 0] mx + a' [ k] y' [ i k] = b' [] l x' [ i l] k = 1 mx l = 0 which is equivalent to y' [] i = mx k = 1 a' [ k] ----------- y' [ i k] a' [ 0] + mx l = 0 b' [] l ----------- x' [ i l] a' [ 0]

This is ak [ ] a' [ k] = ----------- = a' [ 0] f max [ mx k] ------------------------------- f max [ mx] for k = 1 to mx and bl [] b' [] l = ----------- = a' [ 0] f max [ l] ---------------------- f max [ mx] for l = 0 to mx The convolution sum mx y' [] i = ak [ ] y' [ i k] k = 1 + mx l = 0 b[] l x' [ i l] y' []= i the time reversed corrected sequence. To obtain y[i] flip y [i] back in time.

Corrected seismogram: Y( z) = F ~ ( z) Y ~ ( z) 0 lp 0 lp Y ~ F ~ ( z) ( z) Yz ( ) Correction filter F ~ ( z) = changes the linear phase filter F(z) into a minimum phase filter => onset of output signal is advanced by lp samples.

To account for this time shift in the corrected seismogram: a) change time tag of corrected trace or b) delay corrected trace by lp samples.

What is needed for correction? mx + 1 coefficients of the maximum phase portion of the a linear phase FIR filter How to get maximum phase component? ( ) = b l z l = b 0 ( 1 c l z l ) F z m l = 0 m l = 1 mn zeros inside UC (c i min ) <=> F min (z) mx zeros outside UC (c i max ) <=> F max (z) F max z mx max ( ) f i z i max = = b 0 ( 1 c i z i ) i = 0 mx i = 1 From zeros ouside UC -> polynomial F max (z). f max [l]for l = 0 to mx: coefficients of polynomial F max (z).

.... initial sampling frequency F s Correction Procedure Decimation stages intermediate data streams final sampling frequency f n yn [ ] digital signal Stage 1 F s :f 1 f 1 f Stage 2 2 f 1 :f 2... decimation while filtering Stage n f n 1 :f n xn [ ] decimated digital signal Full Correction (not always necessary): interpolation -> f n 1 -> correction for FIR filter stage n interpolation -> f n 2 -> correction for FIR filter stage n-1 interpolation -> f 1 -> correction for FIR filter stage 2 interpolation -> F s -> correction for FIR filter stage 1 finally: decimation back to f n

a) b)

a) b)

7 8 10 9 13 11 6 7 8 10 13 11 2 12 9 1 4 3 6 16 1715 5 1 2 14 12 4 3 16 17 5 14 15

Conclusions FIR filter generated precursory artefacts: can become impossible to be identified visually can have similar scaling properties as nucleation phases Zero - phase FIR filters in general affect the determination of all onset properties (onset times, onset polar ities) For the interpretation of onset properties (onset times, onset po larities, nucleation phases, etc.) the acausal response of the zero-phase FIR filter has to be removed but not for waveform analysis. Consequence