信號與系統 signals & systems 李琳山. a signal a signal is a function of one or more...

59
信信信信信 Signals & Systems

Upload: noel-mcdonald

Post on 23-Dec-2015

255 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

信號與系統Signals & Systems

李琳山

Page 2: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

A SignalA signal is a function of one or more variables,

which conveys information on the nature of some physical phenomena.

Examples– f ( t ) : a voice signal, a music signal– f ( x , y ) : an image signal, a picture– f ( x , y , t ) : a video signal– xn : a sequence of data ( n: integer )

– bn : a bit stream ( b:1 or 0 )

– continuous-time, discrete-time– analog, digital

Human Perceptible/Machine Processed

Page 3: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

A

Signal 𝑓 (𝑡)

𝑡

𝑓 (𝑥 , 𝑦) 𝑓 (𝑥 , 𝑦 ,𝑡)

𝑡𝑥

𝑦 𝑦

𝑥

𝑛

: 1 1 0 1 0 1 0 0 1 0 1 0 0 1 …

Page 4: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

A SystemAn entity that manipulates one or more signals to

accomplish some function, including yielding some new signals.

Examples– an electric circuit– a telephone handset– a PC software receiving pictures from Internet– a TV set– a computer with some software handling some data

inputsignal System

outputsignal

Page 5: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems Concerned

Communication Systems

Transmitter ReceiverChannel

Transmitted signal

noise, lossdistortion,

interference

Received signal

Estimate of message signal

(information)

Message signal

(information) data, text, audio, video

r(t)

s(t)

Page 6: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems Concerned

Computers

Signal Processing Systems– software systems processing the signal by computation/

memory

– examples : audio enhancement systems, picture processing systems, video compression systems, voice recognition/ synthesis systems, array signal processors, equalizers, etc.

Page 7: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Audio

Enhancement

Picture Processing

Page 8: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems Concerned

Networks

user Auser B

Page 9: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems ConcernedInformation Retrieval Systems

The Global Internet Other Information Systems– examples : remote sensing systems, biomedical signal

processing systems, etc.

Search Engine

Internet User

Page 10: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Global Internet

Digital Libraries,

Virtual Museums,

.

.

.

Electronic Commerce,

Network Banking,

.

.

.

Electronic Government

Services,...

Intelligent Offices, Distant Learning,

.

.

.

Electronic Home, Network

Entertainment...

Google, Facebook,YouTube,Amazon

.

.

.

The Global Internet

Page 11: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

The Global Internet

Network Technology Connects Everywhere Globally

Huge Volume of Information Disseminated across

the Globe in Microseconds

Multi-media, Multi-lingual, Multi-functionality

Cross-cultures, Cross-domains, Cross-regions

Integrating All Knowledge Systems and Information related Activities Globally

Page 12: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems Concerned

Control Systems– close-loop/feedback control systems

– example: aircraft landing systems, satellite stabilization systems, robot arm control systems, etc.

plantcontroller

error signal

e(t)

sensor

control signal v(t)

output signal y(t)

input signal x(t)

disturbance z(t)

feedback signal

Page 13: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Typical Examples of Signals/Systems Concerned

Other Systems– manufacturing systems, computer-aided-design systems,

mechanical systems, chemical process systems, etc.

Page 14: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Scope of The CourseThose Signals/Systems Operated by Electricity, in

Particular by Software and Computers, with Extensive Computation and Memory, for Information and Control Primarily

Analytical Framework to Handle Such Signals/Systems

Mathematical Description/Representation of Such Signals/Systems

Page 15: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Scope of The CourseLanguage and Tools to Solve Problems with Such

Signals/Systems

Closely Related to: Communications, Signal Processing, Computers, Networks, Control, Biomedical Engineering, Circuits, Chips, EM Waves, etc.

A Fundamental Course for E.E.

Page 16: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Text/Reference Books and Lecture NotesTextbook:– Oppenheim & Willsky, “Signals & Systems”, 2nd Ed. 1997– Prentice-Hall, 新月

Reference:– S. Haykin & B.Van Veen, “Signals & Systems”, 1999– John Willey & Sons, 歐亞

Lecture Notes:– Available on web before the day of class

Page 17: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Course Outline1. Fundamentals2. Linear Time-invariant Systems3. Fourier Series & Fourier Transform4. Discrete Fourier Transform (DFT)5. Time/Frequency Characterization of

Signals/Systems6. Sampling & Sampling Theorem7. Communication Systems8. Laplace Transform 9. Z-Transform 10.Linear Feedback Systems11. Some Application Examples

Page 18: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

History of the AreaIndependently Developed by People Working on

Different Problems in Different AreasFast Development after Computers Become

Available and PowerfulRe-organized into an Integrated Framework

Page 19: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Background Required2nd semester of 2nd year of EEMathematicsPre-requisite : No

GradingMidterm 40%Final 40%MATLAB Problems 20%

Page 20: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

• 每週準時上課認真聽講,不遲到缺席• 每週自行閱讀課本,跟上上課進度• 課本中上課未能提到之處,自行仔細研讀 ( 含例題、習題 )

學習要領

控制系統

訊號處理 網路導論

通訊原理

線性代數

微分方程電路學

電子學

Page 21: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

1.0 Fundamentals

1.1 Signals

Continuous/Discrete-time Signals

x(t), x[n]

Signal Energy/Power

)1/(,)/(

|][|,|)(|

1212

222

1

2

1

nnEPttEP

nxEdttxEn

nn

t

t

Page 22: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Continuous/Discrete-

time x(t) x[n]

nt

Page 23: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Transformation of A SignalTime Shift

Time Reversal

Time Scaling

Combination

][][,)()( nxnxtxtx

][][,)()( 00 nnxnxttxtx

?][,)()( nxatxtx

?][,)()( nxbatxtx

Page 24: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Time

Scaling x(t)

x(at), a<1

x(at), a>1

x[n]

?

?

Page 25: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Periodic Signal

T0 : Fundamental period : the smallest positive value of T

aperiodic : NOT periodic

periodTTtxtx :,)()(

integer:,)()( mmTtxtx

0,][][][ NmNnxNnxnx

Page 26: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Even/Odd Signals

Even

Odd

Any signal can be discomposed into a sum of an even and an odd

])()([2

1)(,)]()([

2

1)( 21 txtxtxtxtxtx

][][,)()( nxnxtxtx

][][,)()( nxnxtxtx

Page 27: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Even/Odd

Even Odd

x(-t)=x(t)

x(-t)=-x(t)

Page 28: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsBasic Building Blocks from which one can construct

many different signals and define frameworks for analyzing many different signals efficiently

,)( 0tjetx ||ω

πT

00

2fundamental period

fundamental frequency0

0

2

T

sec/:0 rad

Page 29: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal Signals

𝑥 (𝑡 )=𝑒 𝑗 𝜔0 𝑡

𝑅𝑒

𝑅𝑒 {𝑒 𝑗𝜔 0 𝑡 }=cos𝜔0𝑡

𝐼𝑚 {𝑒 𝑗𝜔 0 𝑡 }=sin𝜔0 𝑡

𝑒 𝑗𝑥=cos𝑥+ 𝑗 sin𝑥

𝐼𝑚

Page 30: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Vector Space

3-dim Vector Space

Page 31: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

N-dim Vector Space

( 合成 )( 分析 )

�̂�𝑘

𝑎𝑘

Page 32: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Signal Analysis

𝑅𝑒{ }=cos𝜔𝑘 𝑡

Page 33: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsHarmonically related signal sets

,....}2,1,0,)({ 0 ket tjkk

||kω0fundamental frequency

||kω

πTk

0

2fundamental period

||ω

πT

01

2all with common period

Page 34: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsSinusoidal signal

General format

Discrete-Time

)()( 00 ||||)( tjrttjrjat eeCeeCCetx

}Re{)cos()( )(0

0 tjAetAtx

n

nj

eCnx

nAnx

radenx

][

)(cos][

:,][

0

00

Page 35: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsImportant Differences Between Continuous-time and

Discrete-time Exponential/Sinusoidal Signals

– For discrete-time, signals with frequencies ω0 and ω0 +m . 2π are identical. This is Not true for continuous-time.

see : Fig.1.27, p.27 of text

tjtj

njnmj

ee

ee)()(

)2(

00

00

Page 36: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Continuous/Discrete Sinusoidals

Page 37: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena
Page 38: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Fig. 1.27

𝑒 𝑗 𝜔0𝑛≠𝑒 𝑗 (2𝜋−𝜔0 )𝑛

but

Note:

𝐼𝑚 {𝑒 𝑗𝜔 0𝑛}≠ 𝐼𝑚{𝑒 𝑗 (2 𝜋−𝜔 0 )𝑛}

Page 39: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsImportant Differences Between Continuous-time and

Discrete-time Exponential/Sinusoidal Signals

– For discrete-time, ω0 is usually defined only for [-π, π] or [0, 2π]. For continuous-time, ω0 is defined for (-∞, ∞)

– For discrete-time, the signal is periodic only when

ω0N=2πm,

see : Fig.1.25, p.24 of text

)(2)2

(0 N

mm

N

Page 40: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena
Page 41: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Harmonically Related Signal Sets

Page 42: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Exponential/Sinusoidal SignalsHarmonically related discrete-time signal sets

all with common period N

This is different from continuous case. Only N distinct signals in this set.

}2,........1,0,k , ][{)

2(

n

Njk

k en

][][ nn kNk

Page 43: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Unit Impulse and Unit Step FunctionsContinuous-time

– First Derivative

see: Fig1.33, Fig1.34, P,33 of text

– Running Integral

– Sampling property

)(,)( tut

dt

tdut

)()(

t

dtu )()(

)()()()( 000 tttxtttx

Page 44: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena
Page 45: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Unit Impulse and Unit Step FunctionsDiscrete-time

– First difference

– Running Sum

– Sampling property

0,1

0,0][

0,1

0,0][

n

nnu

n

nn

)] )()(

[lim(]1[][][

txtxnunun

0

][][

][][

k

n

m

knnu

mnu

][][][][ 000 nnnxnnnx

Page 46: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Unit Impulse & Unit StepDiscrete-time

δ [n]

n

u [n]

n

n

u [n – 1]

δ [n] = u[n] – u[n – 1]

Page 47: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Vector Space Representation of Discrete-time Signalsn-dim

)

)

0)

)

分析

Page 48: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

(⋯, 0, 0, 1, 0, 0, 0, ⋯ )=δ [ ] (⋯, 0, 0, 0, 1, 0, 0, ⋯ )=δ [ – 1 ] (⋯, 0, 0, 0, ⋯, 0, 1, ⋯ )=δ [ – k ]

分析

Vector Space Representation of Discrete-time Signalsn extended to

Page 49: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

1.2 SystemsContinuous/Discrete-time Systems

Interconnections of Systems– Series

– Parallel

x(t) y(t) x[n] y[n]

1S 2S

+1S

2S

Page 50: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Interconnections of Systems– Feedback

– Combinations

+ 1S

2S

Page 51: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Stability– stable : bounded inputs lead to bounded outputs

Time Invariance– time invariant : behavior and characteristic of the

system are fixed over time

Page 52: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Time Invariance

Stability

Examples of unstable systems

x(t) x(t-T0)

y(t) y(t-T0)

Page 53: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Linearity– linear : superposition property

– scaling or homogeneity property

– additive property

kkk

kkk

kk

nyanxa

nynx

][][

][][

][][

][][

naynax

nynx

][][][][

][][

2121 nynynxnx

nynx ii

Page 54: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Memoryless/With Memory– Memoryless : output at a given time depends only on

the input at the same time

eg.

– With Memory

eg.

22 ])[][(][ nxnaxny

n

k

kxny ][][

Page 55: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Invertibility– invertible : distinct inputs lead to distinct outputs, i.e.

an inverse system exits

eg.

Causality– causal : output at any time depends on input at the

same time and in the past

eg.

]1[][][

][][

nynynz

kxnyn

k

n

k

kxny ][][

Page 56: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Causality

𝑥 [𝑛 ]

𝑛 𝑛

𝑦 [𝑛 ]

𝑦 [𝑛 ]=∑𝑘=− ∞

𝑛+𝑚

𝑥 [𝑘]

Page 57: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Examples

• Example 1.12, p.47 of text

• Example 1.13, p.49 of text

1cos

][][

ttxty

nxny “NOT” causal causal

txety

ttxty

unstable stable

Page 58: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Examples

• Example 1.20, p.55 of text

− zero input leads to zero output for linear systems

− incrementally linear: difference between the responses to any two inputs is a linear function of the difference between the two inputs

3][2][ nxny “NOT” linear

Page 59: 信號與系統 Signals & Systems 李琳山. A Signal A signal is a function of one or more variables, which conveys information on the nature of some physical phenomena

Problem 1.35, p.64 of text

• .

− a has to divide N for N0 being an integer and N0 ≤ N

− a has to divide k for m being an integer

a=gcd(k, N), N0 =N/gcd(k, N)

example: N=12, k=3, N0 =4, m=1

N=12, k=9, N0 =4, m=3

• Selected problems for chap1: 4, 9, 14, 16, 18, 19, 27, 30, 35, 37, 47

nN

jk

enx

2

][ fundamental period=?

mNN

k 2

20

N

a

N

mk

NN

/0,

a

a