signals and systems 1

72
Ertem Tuncel EE 110A Signals and Systems Introduction to Signals and Systems

Upload: babi

Post on 13-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 1/72

Ertem Tuncel

EE 110A Signals and Systems

Introduction to

Signals and Systems

Page 2: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 2/72

What is a signal?

• Definition: A signal is a function of one ormore independent variables.

time (t )

space ( x) or ( x, y)

spatiotemporal ( x,t ) or ( x, y,t )

Page 3: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 3/72

Examples

• Speech signal. Time is the independent variable

• Amplitude = acoustic pressure

Page 4: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 4/72

Examples

• Unemployment rate. Also a time signal.

• Amplitude = % of unemployment among people

over 16 years old.

Page 5: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 5/72

Examples

• Image signal. Space variables ( x, y)

 x

 y

• Amplitude = brightness

Page 6: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 6/72

Examples

• Video signal. Space variables ( x, y) and timevariable t 

• Amplitude = brightness of RGB components

Page 7: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 7/72

• We will focus on one-dimensional signals.

In this course

• Time will be the independent variable

• Discrete-time signals (110B)

• Continuous-time signals (110A)

unemployment rate

stock market data

sampled signals

audio signals

voltage/current in a circuit with AC power 

Page 8: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 8/72

What is a system?

• Definition: A system is a relationship betweenits input signal, typically x(t ), and its output

signal, typically y(t ).

SYSTEM  y(t ) x(t )

• Any legitimate relation between x(t ) and y(t )

forms a system.

Page 9: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 9/72

Examples

•  x(t ) = force applied on the car at time t 

•  y(t ) = displacement of the car at time t 

Page 10: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 10/72

•   = voltage applied on the circuit at time t 

Examples

•   = voltage on the capacitor at time t 

Page 11: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 11/72

Examples

•  x(t ) = solar radiation at time t 

•  y(t ) = temperature at a location at time t 

Page 12: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 12/72

• We will study important properties of systems.

In this course

• The focus will be on linear time-invariant (LTI)systems

Linearity

Time-invarianceInvertibility

Memory

Causality

Continuous-time input and output in EE110A

Stability

Discrete-time input and output in EE110B

Page 13: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 13/72

Some important signals

• The unit step signal:

1

A very simple signal.

Page 14: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 14/72

• The impulse signal:

Some important signals

What if we took the derivative of u(t )?

At t = 0, it seems that u(t ) has infinite slope.

Page 15: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 15/72

• The impulse signal:

Some important signals

For consistency, though, we must remember 

What a strange function!!

integrate it from to 0.000000001and you get zero

integrate it from to 0.000000001

and you get one

Page 16: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 16/72

• The impulse signal:

Some important signals

To keep this consistency, one can think of

the impulse function as a limit.

Area =1

Area =1

Area =1

Area =1

Page 17: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 17/72

• The unit ramp signal:

Some important signals

What if we integrate u(t )?

r (t )

Slope =1

Page 18: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 18/72

• The unit ramp signal:

Some important signals

Conversely, we also have

• Summary:

integrate integratedifferentiate differentiate

Page 19: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 19/72

Some important signals

• The exponential signal:

t 1

1

1

• Three cases:

Page 20: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 20/72

Some important signals

• The exponential signal:

• As (positive) changes,

1

 x(t )

increasing

Page 21: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 21/72

Some important signals

• The exponential signal:

• As (negative) changes,

1

 x(t )

increasing

Page 22: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 22/72

Periodic signals

• A signal is said to have a period T  if 

• Example: square wave

• If T  is a period, so are 2T , 3T , 4T , ...

 x(t )

T  2T 0-T 

Page 23: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 23/72

Periodic signals

• An important class of examples is sinusoidals:

• is called the amplitude

• is called the frequency

• is called the phase

• Convention:

Page 24: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 24/72

Periodic signals

• To find T , we need to solve

• Towards that end, we need to use the identity

which is true for any integer k .

• In other words, T  must satisfy forsome k .

• Smallest such T :

Page 25: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 25/72

Periodic signals• Another way to understand this behavior is to

look at complex exponentials

• For this signal to have a period T , we need

implying that

or that

Page 26: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 26/72

Digression: Complex algebra

• In rectangular coordinates,

Real Imaginary

Re 

 Im 

 x

 y z 

Page 27: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 27/72

Digression: Complex algebra

• In polar coordinates,

Re 

 Im 

 z 

Magnitude

Angle

Page 28: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 28/72

Digression: Complex algebra

• In rectangular coordinates,

Page 29: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 29/72

Digression: Complex algebra

• In polar coordinates,

Page 30: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 30/72

Digression: Complex algebra• Two important identities:

• Proof:

• Add and subtract the two to find the desired

result.

Page 31: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 31/72

Simple signal transformations

• Why does this cause a right shift?

• Time shift: Let

for some .

 y(t )

 x(t )

• The key is to see that the signal y copies at

time instant t  the "old value" of x at

Page 32: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 32/72

Simple signal transformations

• So this is resulting in the "mirror image"

of the signal around the y-axis.

 x(t )

• Time reversal: Let

 y(t )

Page 33: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 33/72

Simple signal transformations

• Scaling:

for some .

 x(t )

1

 y(t )

 y(t )

Page 34: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 34/72

Transformation combos• What if we have a transformation such as

• Looks like a combo of time shift, time reversal,

and scaling. But with what order?

 x(t )

• Option 1:

TIME

REVERSAL

 x(-t )RIGHT SHIFT

3 UNITS

 x(3-t )SCALE BY 2

 x(3-2t )

• Option 2:

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)TIME

REVERSAL

 x(3-t )SCALE BY 2

 x(3-2t )

?

Page 35: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 35/72

Transformation combos x(t )

TIME

REVERSAL

 x(-t )RIGHT SHIFT

3 UNITS

 x(3-t )SCALE BY 2

 x(3-2t )

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)TIME

REVERSAL

 x(3-t )SCALE BY 2

 x(3-2t )

• Option 3: x(t ) TIME

REVERSAL

 x(-t )SCALE BY 2

 x(-2t ) RIGHT SHIFT

1.5 UNITS

 x(3-2t )

• Option 4: x(t ) LEFT SHIFT

3 UNITS

 x(t+3)SCALE BY 2

 x(3+2t ) TIME

REVERSAL

 x(3-2t )

Page 36: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 36/72

Transformation combos x(t )

TIME

REVERSAL

 x(-t )RIGHT SHIFT

3 UNITS

 x(3-t )SCALE BY 2

 x(3-2t )

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)TIME

REVERSAL

 x(3-t )SCALE BY 2

 x(3-2t )

 x(t ) TIME

REVERSAL

 x(-t )SCALE BY 2

 x(-2t ) RIGHT SHIFT

1.5 UNITS

 x(3-2t )

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)SCALE BY 2

 x(3+2t ) TIME

REVERSAL

 x(3-2t )

• Option 5: x(t )SCALE BY 2

 x(2t ) TIME

REVERSAL

 x(-2t ) RIGHT SHIFT

1.5 UNITS

 x(3-2t )

Page 37: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 37/72

Transformation combos x(t )

TIME

REVERSAL

 x(-t )RIGHT SHIFT

3 UNITS

 x(3-t )SCALE BY 2

 x(3-2t )

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)TIME

REVERSAL

 x(3-t )SCALE BY 2

 x(3-2t )

 x(t ) TIME

REVERSAL

 x(-t )SCALE BY 2

 x(-2t ) RIGHT SHIFT

1.5 UNITS

 x(3-2t )

 x(t ) LEFT SHIFT

3 UNITS

 x(t+3)SCALE BY 2

 x(3+2t ) TIME

REVERSAL

 x(3-2t )

 x(t )SCALE BY 2  x(2t ) TIME

REVERSAL  x(-2t ) RIGHT SHIFT1.5 UNITS

 x(3-2t )

• Option 6: x(t )

SCALE BY 2 x(2t ) LEFT SHIFT

1.5 UNITS

 x(2t+3)TIME

REVERSAL

 x(3-2t )

Page 38: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 38/72

Transformation combos x(t ) LEFT SHIFT

3 UNITS

 x(t+3)SCALE BY 2

 x(3+2t ) TIME

REVERSAL

 x(3-2t )

 x(t )

1

LEFT SHIFT3 UNITS

 x(t +3)

-2-3

SCALE BY 2

 x(3+2t )

-1-1.5

TIMEREVERSAL

 x(3-2t )

1 1.5

Page 39: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 39/72

Transformation combos

 x(t )

1t 

 x(3-2t )

1 1.5

• Could we have computed this without goingthrough the transformations one by one?

3-2t t 

0 1.5

1 1

• Yes. Pick important time instants in the

original signal, and find out what t  needs to be for 3-2t  to correspond to those instants.

Page 40: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 40/72

Linarity

• A system is linear if 

SYSTEM

SYSTEM

and

impliesSYSTEM

for any

Page 41: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 41/72

Linearity

• Problem: Is a linear system?

Page 42: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 42/72

Linearity

• Problem: Is a linear system?

Page 43: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 43/72

Linearity

• Problem: Is a linear system?

Page 44: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 44/72

Linearity

• Problem: Is a linear system?

• But what about the case a = 1 and b = 0?

• Remember that the condition needs to be

satisfied FOR ANY

NONLINEAR 

Page 45: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 45/72

Linearity

• Problem: Is a linear system?

• To see this, just take any a and b NOT

satisfying a+b = 1.

NONLINEAR 

Page 46: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 46/72

Time invariance

• A system is time-invariant if 

implies

SYSTEM  y(t ) x(t )

SYSTEM

for any x(t ) and .

Page 47: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 47/72

Time invariance

• Problem: Is a time-invariantsystem?

 x(t )

Page 48: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 48/72

Time invariance

• Problem: Is a time-invariantsystem?

 x(t )

TIME VARIANT

Page 49: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 49/72

Time invariance

• Problem: Is a time-invariant system?

 x(t )

i i i

Page 50: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 50/72

Time invariance

• Problem: Is a time-invariantsystem?

 x(t )

TIME VARIANT

If i d b hi

Page 51: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 51/72

If in doubt, try this out• You can try to find an example to prove non-

linearity or time-variance

• For the last example, , try this:

 x(t )

1t 

1/2

 x(t -1)

1 2

SYSTEM

SYSTEM

t 1/2 1

M d C li

Page 52: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 52/72

Memory and Causality

• A system is memoryless if at time instant t ,the value of y(t ) depends only on the current  

value of x(t ), and not on any past  or future 

value of it.

• A system is causal if at time instant t , the

value of y(t ) depends only on the current  and

 past  value of x(t ), and not on any future valueof it.

• Obviously, memorylessness implies causality,

 but not vice versa.

M d C li

Page 53: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 53/72

Memory and Causality

• Problem: Is a memorylesssystem? If not memoryless, is it causal?

• Solution:

MEMORYLESS

CAUSAL

M d C lit

Page 54: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 54/72

Memory and Causality

• Problem: Is amemoryless system? If not memoryless, is it

causal?

• Solution:

HAS MEMORY

CAUSAL

M d C lit

Page 55: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 55/72

Memory and Causality

• Problem: Is a memorylesssystem? If not memoryless, is it causal?

• Solution:

HAS MEMORY

NON-CAUSAL

M d C lit

Page 56: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 56/72

Memory and Causality• Problem: Is

a memoryless system? If not memoryless, is it

causal?

• Solution:  y(t ) clearly depends on all values of

 x() between the time instants and t .

HAS MEMORY CAUSAL

I tibilit

Page 57: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 57/72

Invertibility

• A system is invertible if there exists anothersystem which outputs x(t ) when its input is

 y(t ).

SYSTEM x(t )  y(t ) INVERSE

SYSTEM x(t )

• This should be true for ALL x(t ).

I tibilit

Page 58: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 58/72

Invertibility

• But this definition seems to require that youactually find  the inverse system.

• Alternative definition: A system is invertible 

if no two distinct input signals yield the sameoutput.

NOT

INVERTIBLE

SYSTEM

 y(t )

SYSTEM  y(t )

I tibilit

Page 59: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 59/72

Invertibility

• Problem: Is an invertible system?

NOT

INVERTIBLE

I tibilit

Page 60: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 60/72

Invertibility

• Problem: Is an invertible system?• Solution: Yes, because you can reverse the

operation by

INVERTIBLE

I tibilit

Page 61: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 61/72

Invertibility• Problem: Is an

invertible system?

NOT

INVERTIBLE

SYSTEM

SYSTEM

t 1 2-1

I tibilit

Page 62: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 62/72

Invertibility• Problem: Is

an invertible system?

• Solution: Yes, because you can reverse the

operation by

INVERTIBLE

I tibilit

Page 63: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 63/72

Invertibility

and

• Alternatively, if the system were not

invertible, there would exist two inputsand yielding the same output.

• But that would mean that for all t and , 

I tibilit

Page 64: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 64/72

Invertibility

• Letting , this is the same as

• Contradiction! No such can exist.

INVERTIBLE

St bilit

Page 65: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 65/72

Stability

• A system is stable if bounded inputs yield bounded outputs.

• Mathematically speaking, a system is stable if 

for some B implies

for some C.

• This should be true for ALL x(t ).

Stabilit

Page 66: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 66/72

Stability• A familiar example of a stable system:

• Obviously no bounded source can create an

infinite voltage on the capacitor.

Stability

Page 67: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 67/72

Stability• A familiar example of an unstable system:

 L

• If with , theoutput will blow up.

Stability

Page 68: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 68/72

Stability• A frightening  example of an unstable system:

http://youtu.be/j-zczJXSxnw

Stability

Page 69: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 69/72

Stability• Here is another unstable system:

OBJECT OF

UNIT MASS

 F (t )

Stability

Page 70: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 70/72

Stability• Here is another unstable system:

OBJECT OF

UNIT MASS

 F (t )

 x(t )

•  Newton's Law:

• This implies that even with a very small force,

you can obtain infinite displacement.

Stability

Page 71: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 71/72

Stability

• Problem: Is a stable system?

• Taking C  = B in the definition then leads to

the conclusion that the system is...

STABLE

• Solution: If , then certainly

Stability

Page 72: Signals and Systems 1

7/23/2019 Signals and Systems 1

http://slidepdf.com/reader/full/signals-and-systems-1 72/72

Stability• Problem: Is a stable

system?

STABLE

• Solution: If , then

• Take