Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant...

23
Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/1 Digital signal processing: Lecture 2 Linear and Time Invariant Systems - I

Transcript of Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant...

Page 1: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/1

Digital signal processing: Lecture 2

Linear and Time Invariant Systems - I

Page 2: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Topics of last lecture• Signals: Speech, audio, light, radio, TV, radar, etc.• Signal processing: Enhancement, restoration,

reconstruction, synthesis, estimation, etc.• Signal representation: Continues, discrete, and digital• Fundamental signals: Unit sample, unit step,

exponential, sinusoid• System representation: A functional module between

an input signal and an output signal

Produced by Qiangfu Zhao (sine1995), All rights reserved © DSP-Lec02/2

Page 3: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/3

Topics of this lecture• Linear and time-

invariant system• Impulse response• Convolution sum• Connection methods• Causal system• Stable system

• 線形時不変システム

• インパルス応答

• 畳み込み和

• システムの接続

• 因果的システム

• 安定的システム

Chapter 5, start from page 66 of textbook

Page 4: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/4

Linear system (線形システム)

S[ ]x1(n) y1(n)

S[ ]x2(n) y2(n)

S[ ]x(n)=ax1(n)+bx2(n) y(n)=ay1(n)+by2(n)

The output y(n) is found using the same linear combination as that used for finding the input x(n). This is called superposition principle (重ね合わせの原理)

Page 5: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/5

Time-invariant system (時不変システム)

S[ ]0 0

n0 n0

)]([)()]([)(

00 nnxSnnynxSny

−=− =

Page 6: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/6

(ただし、T=1とする)

例題Example: Digital filter is a kind of system for signal processing. Suppose that the LTI digital filter is defined by (a) or (b), try to discuss its linearity (T=1).

Taken from the reference book

Page 7: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/7

例題Example: For the system given by (a) or (b), try to discuss if the system is time-invariant or not.

Taken from the reference book

Page 8: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/8

Impulse response (インパルス応答)

0

0

1

0{)(=

≠=

n

nnδ

This function is called the impulse signal, unit sample signal, delta signal, and others (see pp. 13-14 in the text).

The output (response) of a system to the impulse signal is called the impulse response (インパルス応答).

Page 9: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/9

Response of an LTI system(線形時不変システムの応答)

follows. asoutput thefind can weequations, thesewith)()]([ )()]([

invariant,- timeis system theSince ).( is response impulse that thesuppose

)(

where

)()()(

{1

0

knhknSnhnS

nh

kn

knkxnx

kn

kn

k

−=−→=

=−

−=

=

−∞=∑

δδ

δ

δ

Page 10: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/10

Convolution sum (畳み込み和)

−∞=

−∞=

−∞=

−=

−=

−=

=

k

k

k

knhkx

knSkx

knkxS

nxSny

)()(

)]([)(

])()([

)]([)(

δ

δ

)()()()()( nhnxknhkxnyk

∗=−= ∑∞

−∞=

linearity of the system

Time-invariance of the system

)(nh)(nx )(*)()( nhnxny =

Page 11: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/11

Importance of impulse response• The impulse response h(n) can determine the

characteristics of an LTI system completely.• For any input x(n), the output y(n) is the convolution sum

of x(n) and h(n).• Convolution sum is commutative (可換 ), that is

)()()()(

)()()()()(

nxnhknxkh

nhnxknhkxny

k

k

∗=−=

∗=−=

∑∞

−∞=

−∞=

プレゼンター
プレゼンテーションのノート
畳み込みを信号領域での演算子と考えると、デルタ関数は1と同じ役割を演じる。
Page 12: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/12

Classification of systems based on the impulse response• Digital filters can be divided into two categories

based on the length (duration) of the impulse response.

• If the impulse response is finite length, the system is called an FIR (Finite Impulse Response) system or FIR filter.

• If the length of the impulse response if infinite, it is an IIR (Infinite Impulse Response) system, or IIR filter.

Page 13: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Example 5.2 pp. 70-71

• Suppose that the impulse response of a digital filter is given below:

Represent the input-output relation using convolution sum;

Find the response of the filter for the unit step signal u0(n).

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/13

)()( 0 nunh n ⋅= α ≥

=otherwise

nnu

001

)(0

Page 14: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Example 5.2

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/14

Page 15: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/15

Cascade connection of LTI systems(線形時不変システムの縦続接続)

)(1 nh )(2 nh)(nx )(ny

)(1 nh)(2 nh)(nx )(ny

)(*)( 21 nhnh)(nx )(ny

Page 16: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/16

)(nx )(ny)(1 nh

)(2 nh

)()( 21 nhnh +)(nx )(ny

Parallel connection of LTI systems(線形時不変システムの並列接続)

Page 17: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/17

Stable systems (安定的システム)

• A system is stable iff

• This is the so called bounded-input-bounded output (BIBO) stability condition (有界入力有界出力).

• The system can give meaningful output only if it is stable.

∑∞

−∞=

∞<k

kh |)(|

Page 18: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Example 5.3

• Try to discuss the stability of the system given in Example 5.2.

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/18

p. 74

Page 19: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/19

Causal systems (因果的システム)

• A causal system is a physically realizable (物理的に実現可能な)system (not for off-line processing).

• An LTI system is causal if and only if(iff: 必要十分条件))

• A signal is called causal iff x(n)=0 for n<0.

0for 0)( <= nnh

Page 20: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/20

Causal systems• A system is causal iff the current output y(n) is

calculated based only on already observed data x(n), x(n-1), x(n-2), …

∑∑

∑∞

=

−∞=

−∞=

−=−=

−=

0)()( )()(

)()()(

kk

k

khknxkhknx

knhkxny

Page 21: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Homework-1

• Suppose that the impulse response of a digital filter is given by

• Discuss the stability and causality of the filter.

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/21

)()( 0 nuanh n=

Page 22: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Homework-2

• Suppose that the impulse response of a digital filter is given by

• find the output y(n) of the filter using convolution sum when the input x(n) is defined by x(0)=1, x(1)=1, x(2)=1, x(3)=1, and x(n)=0, for n>3.

Produced by Qiangfu Zhao (since 1995), All rights reserved © DSP-Lec02/22

)()( 0 nuenh nα=

Page 23: Linear and Time Invariant Systems - Iqf-zhao/TEACHING/DSP/lec02.pdf•Linear and time-invariant system •Impulse response •Convolution sum •Connection methods •Causal system

Quiz and self-evaluation• For the system given in

homework-2, tell if it is causal or not.

• For the same system, give the condition for the system to be stable.

0

0.2

0.4

0.6

0.8

1

1.2T1

T2

T3

T4

T5

T6

Name: Student ID: .