+ All Categories
Home > Documents > Digital Signal Processing Chap 2. Discrete-Time Signals and...

Digital Signal Processing Chap 2. Discrete-Time Signals and...

Date post: 15-May-2021
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
65
Digital Signal Processing Chap 2. Discrete-Time Signals and Systems Chang-Su Kim
Transcript
Page 1: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Digital Signal Processing

Chap 2.

Discrete-Time Signals and Systems

Chang-Su Kim

Page 2: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Discrete-Time Signals

CTSignal

DTSignal

Page 3: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Representation

• Functional representation

• Tabular representation

• Sequence representation

1, 1,3

[ ] 4, 2

0, otherwise

n

x n n

n ... 0 1 2 3 4 5 ...

x[n] ... 0 1 4 1 0 0 0

( ) {...,0,0,1,4,1,0,0,...}x n

1 2

4

3

1 1

0

Page 4: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Elementary Sequences

• Unit sample sequence (impulse

function, delta function)

𝛿 𝑛 = 0, 𝑛 ≠ 01, 𝑛 = 0

• Unit step sequence

𝑢 𝑛 = 1, 𝑛 ≥ 00, 𝑛 < 0

• Exponential sequence

𝑥 𝑛 = 𝐴𝛼𝑛

• Sinusoidal sequence

𝑥 𝑛 = 𝐴 cos(𝜔0𝑛 + 𝜙)

Page 5: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Impulse and Step

Functions

0

0 0 0

1) [ ] [ ] [ 1]

2) [ ] [ ] [ ]

3) [ ] [ ] [0] [ ]

4) [ ] [ ] [ ] [ ]

5) [ ] [ ] [ ]

n

k k

k

n u n u n

u n k n k

x n n x n

x n n n x n n n

x n x k n k

Page 6: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Exponential and

Sinusoidal Sequences

• Exponential0

0 0

[ ]

(cos sin )

n

j nn

n

x n a

r e

r n j n

Page 7: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of 𝑒𝑗𝜔0𝑛 and cos(𝜔0𝑛)

• 𝜔0 + 2𝜋 = 𝜔0

• They are periodic

only if 𝜔0𝑁 = 2𝜋𝑘

cf) Note the differences

from the CT case

Page 8: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Discrete-Time Systems

𝑦 𝑛 = 𝑇 𝑥 𝑛

• Examples

1. Ideal delay 𝑦 𝑛 = 𝑥[𝑛 − 2]

2. Moving average

𝑦 𝑛 =1

3(𝑥 𝑛 − 1 + 𝑥 𝑛 + 𝑥[𝑛 + 1])

Page 9: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Memoryless Systems

• Memoryless Systems: The output 𝑦[𝑛] at any instance 𝑛 depends only on the input value at the current time 𝑛, i.e. 𝑦[𝑛] is a function of 𝑥[𝑛]

• Systems with Memory: The output 𝑦[𝑛] at an instance 𝑛 depends on the input values at past and/or future time instances as well as the current time instance

• Examples:

– A resistor: 𝑦[𝑛] = 𝑅 𝑥[𝑛]

– A unit delay system: 𝑦[𝑛] = 𝑥[𝑛 − 1]

– An accumulator:

𝑦 𝑛 =

𝑘=−∞

𝑛

𝑥[𝑘]

Page 10: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

• For a system to possess a given property, the property must hold for every possible input signal to the system

• A counter example is sufficient to prove that a system does not possess a property

• To prove that the system has the property, we must prove that the property holds for every possible input signal

Proving or Disproving Mathematical

Statement

Page 11: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Linear Systems

• A system is linear if it satisfies two properties.

– Additivity: 𝑥1 𝑛 + 𝑥2 𝑛 ⇒ 𝑦1[𝑛] + 𝑦2[𝑛]

– Homogeneity: 𝑐𝑥1 𝑛 ⇒ 𝑐𝑦1[𝑛]

• The two properties can be combined into a single

property (linearity).𝑎1𝑥1 𝑛 + 𝑎2𝑥2 𝑛 ⇒ 𝑎1 𝑦1[𝑛] + 𝑎2𝑦2[𝑛]

• Examples

– 𝑦 𝑛 = 𝑥2 𝑛

– 𝑦 𝑛 = log |𝑥 𝑛 |

– 𝑦 𝑛 = 2𝑥 𝑛 + 3

– 𝑦 𝑛 = 𝑘=−∞𝑛 𝑥[𝑘]

Page 12: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Time-Invariant Systems

• A system is time-invariant if a delay (or a time-shift) in

the input signal causes the same amount of delay in the

output.

𝑥 𝑛 − 𝑛0 ⇒ 𝑦[𝑛 − 𝑛0]

• Examples:

– 𝑦 𝑛 = 𝑥2 𝑛

– 𝑦 𝑛 = sin |𝑥 𝑛 |

– 𝑦 𝑛 = 𝑥 2𝑛

– 𝑦 𝑛 = 𝑘=−∞𝑛 𝑥[𝑘]

Page 13: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Causal Systems

• Causality: A system is causal if the output at any time

instance depends only on the input values at the current

and/or past time instances.

• Examples:

– 𝑦[𝑛] = 𝑥[𝑛] − 𝑥[𝑛 − 1]

– 𝑦 𝑛 = 𝑥 𝑛 + 1

• A memoryless system is always causal.

Page 14: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Stable Systems

• Stability: A system is stable if a bounded input yields a

bounded output (BIBO).

– In other words, if |𝑥[𝑛]| < 𝑘1 then |𝑦[𝑛]| < 𝑘2.

• Examples:

– 𝑦 𝑛 = 𝑥2 𝑛

– 𝑦 𝑛 = sin |𝑥 𝑛 |

– 𝑦 𝑛 = 𝑥 2𝑛

– 𝑦 𝑛 = 𝑘=−∞𝑛 𝑥[𝑘]

Page 15: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Linear Time-Invariant Systems

and Their Properties

Page 16: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Divide and Conquer

• Divide an input signal into a sum of shifted scaled versions of an elementary signal

• If you know the system output in response to the elementary signal, you also know the output in response to the input signal

Ex) An LTI system processes 𝑥1[𝑛] to make 𝑦1[𝑛]. The same system processes another input 𝑥2[𝑛] to make 𝑦2[𝑛]. Plot 𝑦2[𝑛].

Page 17: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Representing Signals in Terms of Impulses

• Sifting property

[ ] [ ] [ ]

[ 2] [ 2]

[ 1] [ 1]

[0] [ ]

[1] [ 1]

[2] [ 2]

k

x n x k n k

x n

x n

x n

x n

x n

0

[ ]x n

[ 2] [ 2]x n

[ 1] [ 1]x n

[0] [ ]x n

[1] [ 1]x n

[2] [ 2]x n

||

+

+

+

+

Page 18: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Impulse Response

• The response of a system 𝐻 to the unit impulse

[𝑛] is called the impulse response, which is

denoted by ℎ[𝑛]

– ℎ[𝑛] = 𝐻{[𝑛]}

System𝐻

[𝑛] ℎ[𝑛]

Page 19: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Sum

• Let ℎ[𝑛] be the impulse response of an LTI system.

• Given ℎ[𝑛], we can compute the response 𝑦[𝑛] of the

system to any input signal 𝑥[𝑛].

[𝑛] ℎ[𝑛]

Page 20: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •
Page 21: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Sum

• Let ℎ[𝑛] be the impulse response of an LTI system.

• Given ℎ[𝑛], we can compute the response 𝑦[𝑛] of the

system to any input signal 𝑥[𝑛].

Page 22: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Sum

• Let ℎ[𝑛] be the impulse response of an LTI system.

• Given ℎ[𝑛], we can compute the response 𝑦[𝑛] of the

system to any input signal 𝑥[𝑛].

[ ] [ ] [ ]k

x n x k n k

[ ] [ [ ]]

[ ] [ ]

[ ] [ ]

[ ] [ ]

[ ] [ ]

k

k

k

k

y n H x n

H x k n k

H x k n k

x k H n k

x k h n k

Page 23: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Sum

• Notation for convolution sum

• The characteristic of an LTI system is completely determined by its impulse response.

LTIsystem

[𝑛] ℎ[𝑛]

𝑥[𝑛] 𝑥[𝑛] ∗ ℎ[𝑛]

[ ] [ ]* [ ] [ ] [ ]k

y n x n h n x k h n k

Page 24: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Sum

• To compute the convolution sum

Step 1 Plot 𝑥 and ℎ vs 𝑘 since the convolution sum is on 𝑘.

Step 2 Flip ℎ[𝑘] around the vertical axis to obtain ℎ[−𝑘].

Step 3 Shift ℎ[−𝑘] by 𝑛 to obtain ℎ[𝑛 − 𝑘].

Step 4 Multiply to obtain 𝑥[𝑘]ℎ[𝑛 − 𝑘].

Step 5 Sum on 𝑘 to compute 𝑥[𝑘]ℎ[𝑛 − 𝑘].

Step 6 Change 𝑛 and repeat Steps 3-6.

[ ] [ ]* [ ] [ ] [ ]k

y n x n h n x k h n k

Page 25: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Example• Consider an LTI system that has an

impulse response ℎ[𝑛] = 𝑢[𝑛]

• What is the response when an input

signal is given by

𝑥[𝑛] = 𝑎𝑛𝑢[𝑛]

where 0 < 𝑎 < 1?

• For 𝑛0,

• Therefore,

0

1

[ ]

1

1

nk

k

n

y n

11[ ] [ ]

1

n

y n u n

Page 26: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Example• Consider an LTI system that has an

impulse response

ℎ[𝑛] = 𝑢[𝑛] − 𝑢[𝑛 − 𝑁]

• What is the response when an input

signal is given by

𝑥[𝑛] = 𝑎𝑛𝑢[𝑛]

where 0 < 𝑎 < 1?

Page 27: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Convolution

• Identity property

𝑥[𝑛] ∗ 𝛿[𝑛] = 𝑥[𝑛]

• Shifting property

𝑥[𝑛] ∗ 𝛿[𝑛 − 𝑘] = 𝑥[𝑛 − 𝑘]

Page 28: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Convolution

• Commutative property

𝑥[𝑛] ∗ ℎ[𝑛] = ℎ[𝑛] ∗ 𝑥[𝑛]

Page 29: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Convolution

• Associative property{𝑥[𝑛] ∗ ℎ1[𝑛]} ∗ ℎ2[𝑛] = 𝑥[𝑛] ∗ {ℎ1[𝑛] ∗ ℎ2[𝑛]}

Page 30: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Properties of Convolution

• Distributive property𝑥[𝑛] ∗ [ℎ1[𝑛] + ℎ2[𝑛]] = 𝑥[𝑛] ∗ ℎ1[𝑛] + 𝑥[𝑛] ∗ ℎ2[𝑛]

Page 31: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Causality of LTI Systems

• A system is causal if its output depends only on the past

and present values of the input signal.

• Consider the following for a causal LTI system:

– Because of causality h[n-k] must be zero for 𝑘 > 𝑛.

– In other words, ℎ[𝑛] = 0 for 𝑛 < 0.

[ ] [ ] [ ]k

y n x k h n k

Page 32: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Causality of LTI Systems

• So the convolution sum for a causal LTI system becomes

• So, if a given system is causal, one can infer that its

impulse response is zero for negative time values, and

use the above simpler convolution formulas.

0

[ ] [ ] [ ] [ ] [ ]n

k k

y n x k h n k h k x n k

Page 33: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Stability of LTI Systems

• A system is stable if a bounded input yields a bounded

output (BIBO). In other words, if |𝑥[𝑛]| < 𝑀𝑥 then

|𝑦[𝑛]| < 𝑀𝑦.

• Note that

• Therefore, a system is stable if

[ ] [ ] [ ] [ ] [ ] [ ]x

k k k

y n x n k h k x n k h k M h k

[ ]k

h k

Page 34: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

System Impulse response Causal Stable

𝑦 𝑛 = 𝑥[𝑛 − 𝑛𝑑]

𝑦 𝑛 =1

𝑀1 +𝑀2 + 1

𝑘=−𝑀1

𝑀2

𝑥[𝑛 − 𝑘]

𝑦 𝑛 =

𝑘=−∞

𝑛

𝑥[𝑘]

𝑦 𝑛 = 𝑥 𝑛 + 1 − 𝑥[𝑛]

𝑦 𝑛 = 𝑥 𝑛 − 𝑥[𝑛 − 1]

Page 35: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

Page 36: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient

Difference Equations (CCDE)

Page 37: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Discrete-Time Systems• Block diagram representation

adder

unit delay

constant multiplier

Page 38: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Recursive Systems

• If an impulse response has a finite duration, the

system is an FIR system. Otherwise, an IIR system.

• An FIR system can be implemented directly using

a finite number of adders, multipliers and delays.

– e.g.) Implement the system with ℎ[𝑛]

1 2

4

3

1 1

0

Page 39: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Recursive Systems

• Can you directly implement the cumulative averaging

system?

• It can be implemented in a recursive manner with a

feedback loop

– Past output values are used to compute a current output value

0

1( ) ( ), 0,1,...

1

n

k

y n x k nn

Page 40: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

0 0

[ ] [ ]N M

k k

k k

a y n k b x n k

• The equation defines a recursive system, which

processes an input 𝑥[𝑛] to make the output 𝑦[𝑛]

• 𝑁 is the order of the equation or the

corresponding system

Page 41: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

• Example 1: Accumulator 𝑦 𝑛 = 𝑘=−∞𝑛 𝑥[𝑘]

0 0

[ ] [ ]N M

k k

k k

a y n k b x n k

Page 42: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

• Example 1: MA System 𝑦 𝑛 =1

𝑀2+1 𝑘=0𝑀2 𝑥[𝑛 − 𝑘]

0 0

[ ] [ ]N M

k k

k k

a y n k b x n k

Page 43: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

• Suppose that 𝑥[𝑛] is given, and we want to get

𝑦[𝑛] for 𝑛 ≥ 0. Which information do we need

further?

0 0

[ ] [ ]N M

k k

k k

a y n k b x n k

Page 44: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

• Initial rest condition

• If 𝑥[𝑛] starts at 𝑛 = 𝑛0, i.e., 𝑥[𝑛] = 0 when 𝑛 < 𝑛0, then

𝑦[𝑛] = 0 when 𝑛 < 𝑛0.

• Alternatively, the initial values are

𝑦[𝑛0 − 1] = 𝑦[𝑛0 − 2] = ⋯ = 𝑦[𝑛0 − 𝑁] = 0.

• If we assume the initial rest condition, then the system

described by the equation is LTI.

0 0

[ ] [ ]N M

k k

k k

a y n k b x n k

Page 45: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Constant-Coefficient Difference

Equations (CCDE)

• More details will be studied later, especially in

Chap 6.

Page 46: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Frequency Domain

Representation of Discrete-

Time Signals and Systems

Page 47: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Eigenfunctions for LTI Systems

LTIℎ[𝑛]

𝑦 𝑛 = 𝑥 𝑛 ∗ ℎ 𝑛𝐻(𝑒𝑗𝜔)𝑒𝑗𝜔𝑛

𝛿[𝑛]

𝑥[𝑛]

𝑒𝑗𝜔𝑛

• 𝑒𝑗𝜔𝑛 is an eigenfunction of LTI systems

• Its eigenvalue is given by the Fourier transform of impulse response, 𝐻(𝑒𝑗𝜔), which is called frequency response

𝐻 𝑒𝑗𝜔 =

𝑘=−∞

ℎ 𝑘 𝑒−𝑗𝜔𝑘

Page 48: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Eigenfunctions for LTI Systems

LTI𝑥 𝑛

=

𝑘

𝛼𝑘 𝑒𝑗𝜔𝑘𝑛

𝑦 𝑛

=

𝑘

𝛼𝑘 𝐻(𝑒𝑗𝜔𝑘)𝑒𝑗𝜔𝑘𝑛

Page 49: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Frequency Response

• Ex) Determine the output sequence of the system with

impulse response

ℎ 𝑛 =1

2𝑛𝑢[𝑛]

when the input is a complex exponential

𝑥[𝑛] = 𝐴𝑒𝑗𝜋2𝑛

Page 50: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Frequency Response

• Ex) Determine the magnitude and phase of 𝐻(𝑒𝑗𝜔) for

the three-point moving average (MA) system

𝑦[𝑛] =1

3{𝑥 𝑛 + 1 + 𝑥 𝑛 + 𝑥 𝑛 − 1 }.

Page 51: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Sinusoidal Input

• Assuming that ℎ[𝑛] is real, we have the

input-output relationship

1. The amplitude is multiplied by 𝐻 𝑒𝑗𝜔

2. The output has a phase lag relative to the

input by an amount 𝜃 𝜔 = ∠𝐻(𝑒𝑗𝜔)

LTI𝐴 cos(𝜔0𝑛 + 𝜙) 𝐴 |𝐻 𝑒𝑗𝜔 |cos(𝜔0𝑛 + 𝜙 + 𝜃)

𝐻 𝑒𝑗𝜔 = 𝐻 𝑒𝑗𝜔 𝑒𝑗𝜃 𝜔

Page 52: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Ideal Filters

𝐻 𝑒𝑗𝜔 = 𝐻 𝑒𝑗(𝜔+2𝜋𝑟)

Page 53: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Representation of Sequences

by Fourier Transforms

Page 54: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Discrete-Time Fourier Transform

• DTFT can be derived from DTFS (discrete-time

Fourier series)

• Frequency response is the DTFT of impulse response

• The existence of 𝑋 𝑒𝑗𝜔

– A sufficient condition: 𝑥 𝑛 is absolutely summable

– We avoid rigorous conditions/proofs and use well-known

Fourier transform pairs

2

1[ ] ( )

2

( ) [ ]

j j n

j j n

n

x n X e e d

X e x n e

Page 55: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Fourier Transform Pairs

Page 56: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Symmetry Property

Page 57: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Symmetry Property

Figure 2.22 Frequency response for a system with impulse response h[n] = anu[n].

a > 0; a = 0.75 (solid curve) and a = 0.5 (dashed curve). (a) Real part. (b) Imaginary

part. (c) Magnitude. (d) Phase.

Page 58: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Fourier Transform Theorems

Page 59: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Theorem

• 𝑦 𝑛 = 𝑥 𝑛 ∗ ℎ 𝑛 ⇒ 𝑌 𝑒𝑗𝜔 = 𝑋 𝑒𝑗𝜔 𝐻 𝑒𝑗𝜔

Page 60: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Convolution Theorem: Another Perspective

LTI𝑥 𝑛

=

𝑘

𝛼𝑘 𝑒𝑗𝜔𝑘𝑛

𝑦 𝑛

=

𝑘

𝛼𝑘 𝐻(𝑒𝑗𝜔𝑘)𝑒𝑗𝜔𝑘𝑛

𝑥 𝑛

=1

2𝜋 2𝜋

𝑋(𝑒𝑗𝜔)𝑒𝑗𝜔𝑛𝑑𝜔

𝑦 𝑛

=1

2𝜋 2𝜋

𝑋(𝑒𝑗𝜔)𝐻(𝑒𝑗𝜔)𝑒𝑗𝜔𝑛𝑑𝜔

Page 61: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

• 𝑥 𝑛 = 𝑎𝑛𝑢 𝑛 − 5 . What is 𝑋(𝑒𝑗𝜔)?

Page 62: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

• 𝑋 𝑒𝑗𝜔 =1

(1−𝑎𝑒−𝑗𝜔)(1−𝑎𝑒−𝑗𝜔). What is 𝑥 𝑛 ?

Page 63: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

• 𝑋 𝑒𝑗𝜔 =1

(1−𝑎𝑒−𝑗𝜔)(1−𝑏𝑒−𝑗𝜔). What is 𝑥 𝑛 ?

Page 64: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

• Determine the impulse response ℎ[𝑛] of a

highpass filter with frequency response

𝐻 𝑒𝑗𝜔 = 𝑒−𝑗𝜔𝑛𝑑 , 𝜔𝑐 < 𝜔 < 𝜋,

0, 𝜔 < 𝜔𝑐 .

Page 65: Digital Signal Processing Chap 2. Discrete-Time Signals and …mcl.korea.ac.kr/.../02_Discrete-Time-Signals-and-Systems.pdf · 2013. 9. 9. · Discrete-Time Fourier Transform •

Examples

• Determine the frequency response and the impulse response of a system described by a CCDE

𝑦 𝑛 −1

2𝑦 𝑛 − 1 = 𝑥 𝑛 −

1

4𝑥 𝑛 − 1 .


Recommended