Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
http://www.ee.unlv.edu/~b1morris/ee360
EE360: SIGNALS AND SYSTEMS ICH1: SIGNALS AND SYSTEMS
1
http://www.ee.unlv.edu/~b1morris/ee360
CONTINUOUS-TIME AND DISCRETE-TIME SIGNALSCHAPTER 1.0-1.1
2
Signals are quantitative descriptions of physical phenomena
Represent a pattern of variation
INTRODUCTION
3
Circuit
π£π - voltage signal
π£π - voltage signal
π β current signal
These are continuous-time signals
EXAMPLE SIGNALS I
4
Stock market price
π β closing price signal
Discrete time signal
EXAMPLE SIGNALS II
5
Stock market price
π β closing price signal
Discrete time signal
Tesla stock for fun
Last 3 months
Last 5 years
EXAMPLE SIGNALS II
6
Audio signal
Continuous signal in βrawβ form
Discrete signal when store on a CD/computer
EXAMPLE SIGNALS III
7
In these examples, the signal is a function of one variable, time
π(π‘) β΅ focus of the book
More generally, a signal can be a function of multiple variables and not just time
E.g. an image πΌ(π₯, π¦)
MATHEMATICAL FORMULATION
8
This course deals with two types of signals
Continuous-time (CT) signals
π₯(π‘) with π‘ β β a real-values variable, denoting continuous time
Notice the parenthesis is used to denote a CT signal
Discrete-time (DT) signals
π₯[π] with π β β€ an integer-valued variable, denoting discrete time
Notice the square brackets to denote a DT signal
π₯[1] is defined but π₯[1.5] is not defined
SIGNAL TYPES
9
Note: π₯(π‘) could signify the full signal or a value of the signal at a specific time π‘
May see π₯(π‘0) for a specific value of signal π₯(π‘) when π‘ = π‘0for clarity
GRAPHICALLY
10
This course will often work with complex signals as they are mathematically convenient
π₯ π‘ β β, π₯ π β β
β = π§ π§ = π₯ + ππ¦, π₯, π¦ β β, π = β1
Note the use of π for the imaginary number in electrical engineering rather than π
COMPLEX NUMBER REVIEW
11
Rectangular/Cartesian form
π§ = π₯ + ππ¦
π π π§ = π₯ real-part
πΌπ π§ = π¦ imaginary-part
Polar form
π§ = ππππ
π2 = π₯2 + π¦2
π = arctanπ¦
π₯
π₯ = π cos π
π¦ = π sin π
COMPLEX NUMBER REPRESENTATION
12
πππ = cos π + π sin π
Note:
π = πππ/2 β1 = πππ
βπ = ππ3π/2 1 = ππ2ππ
Know trig functions for common angles
For inverse trig function you must account for the quadrant
EULERβS FORMULA
13
Express in polar form
1 β π
Express in polar form
1 β π 2
EXAMPLES: COMPLEX NUMBERS
14
TRANSFORMATIONS OF THE INDEPENDENT VARIABLECHAPTER 1.2
15
π₯ π‘ β π₯ π‘ β π‘0 π₯ π β π₯[π β π0]
π‘0 > 0 β delay π‘0 < 0 β advance
TIME SHIFT
16
π₯ π‘ β π₯(βπ‘) π₯ π β π₯[βπ]
Flip signal across y-axis (π‘ = 0 axis)
TIME REVERSAL
17
π₯ π‘ β π₯(ππ‘) π > 0
π > 1 β shrink time scale (βspeed-upβ or compress)
0 < π < 1 β expand time scale (βslow-downβ or stretch)
π₯ π β π₯[ππ] π β β€+
TIME SCALING
18
π₯ π‘ β π₯(πΌπ‘ β π½) πΌ < 0 for time reversal
General methodology β shift, then scale
1. Shift: define π£ π‘ = π₯(π‘ β π½)
2. Scale: define π¦ π‘ = π£ πΌπ‘ = π₯ πΌπ‘ β π½
Notice: scaling is only applied to time variable π‘
GENERAL TRANSFORMATION
19
A signal is periodic if a shift of the signals leaves it unchanged
Periodicity constraint
CT: there exists a π > 0 s.t.
π₯ π‘ = π₯(π‘ + π) βπ‘ β β
DT: there exists a π > 0 s.t.
π₯ π = π₯[π + π] βπ β β€
PERIODIC SIGNALS
20
Note: π₯ π‘ = π₯ π‘ + π = π₯ π‘ + 2π = π₯ π‘ + 3π = β―
Periodic with period π or ππ
Fundamental period
π0 is the fundamental period of π₯(π‘) if it is the smallest value of π > 0 to satisfy the periodicity constraint (π0 for DT)
Fundamental frequency β inverse relationship to time
π0 =2π
π0occasionally, Ξ©0 =
2π
π0
Aperiodic signal β signal with no π,π satisfying periodicity constraint
FUNDAMENTAL PERIOD/FREQUENCY
21
π₯ π‘ = ππππ‘/5 π₯[π] = ππππ/5
EXAMPLES: FIND PERIOD
22
Even signal β same flipped across y-axis
π₯ βπ = π₯ π
Odd signal β upside-down when flipped
π₯ βπ = βπ₯ π
Note: must have π₯ π = 0 at π = 0
Decomposition theorem β any signal can be broken into sum of even and odd signals
π₯ π‘ = π¦ π‘ + π§ π‘ , π¦ π‘ even, π§(π‘) odd
π¦ π‘ = πΈπ£ π₯ π‘ =1
2π₯ π‘ + π₯ βπ‘
π§ π‘ = πππ π₯ π‘ =1
2π₯ π‘ β π₯ βπ‘
EVEN/ODD SIGNALS
23
EXPONENTIAL AND SINUSOIDAL SIGNALSCHAPTER 1.3
24
1. Complex exponential - πΆπππ‘, πΆπππ πΆ, π β β
2. Impulse function - πΏ π‘ , πΏ[π]
Will want to represent general signals as linear combination of these special signals
The essence of linear system analysis
Typically,
Impulse functions βΆ time-domain analysis
Complex exponentials βΆ frequency/transform domain analysis
IMPORTANT CLASSES OF SIGNALS
25
π₯ π‘ = πΆπππ‘ πΆ, π β β
π = 0, π₯ π‘ = πΆ : constant function
REAL EXPONENTIAL SIGNALS
π > 0 exponential growth π < 0 exponential decay
26
π₯ π‘ = πΆπππ‘
π = ππ0, πΆ = π΄πππ
π is purely complex
π₯ π‘ is a pair of sinusoidal signals with the same amplitude π΄, frequency π0, and phase shift π
π π π₯ π‘ = π΄ cos π0π‘ + π
Proof
27
PERIODIC COMPLEX EXPONENTIAL
π₯ π‘ = πΆπππ‘
π = π + ππ, πΆ = π΄πππ
Amplitude controlled sinusoid
π΄πππ‘ defines envelope
π > 0
π < 0
28
GENERAL COMPLEX EXPONENTIAL
π₯ π = πΆππ½π or π₯ π = πΆπΌπ
πΌ = ππ½, πΆ, π½ β β
πΌ > 1
πΌ < β1
Real exponential
πΆ, πΌ β β
β1 < πΌ < 0
0 < πΌ < 1
29
DT COMPLEX EXPONENTIAL - REAL
π₯ π = πΆπΌπ, πΆ, πΌ β β
πΆ = πΆ πππ, πΌ = πΌ πππ0
Three cases for |πΌ|
π = 1
Not necessarily periodic
πΌ < 1 - decaying exponential envelope
πΌ > 1 - Growing exponential envelope
30
GENERAL DT COMPLEX EXPONENTIAL
Unlike CT, there are conditions for periodicity
Consider frequency π0 + 2π
ππ π0+2π π = πππ0πππ2ππ = πππ0π
Exponential with freq π0 + 2π is the same as exp. with freq π0
Only need to consider a 2π interval for π0 0 β€ π0 β€ 2π or βπ β€ π0 β€ π
See Fig. 1.27 of book
31
PERIODICITY OF DT COMPLEX EXPONENTIALS
32
DT FREQUENCY RANGE
ππΞ©0π is periodic iff Ξ©0 is a rational multiple of 2π
Fundamental period: π =2ππ
Ξ©0
π
πis in reduced form
gcd(π,π) = 1 greatest common denominator
Table 1.1 is good for highlighting the differences between DT and CT
33
DT PERIODICITY CONSTRAINT
THE UNIT IMPULSE AND UNIT STEP FUNCTIONSCHAPTER 1.4
34
Unit impulse (Kronecker delta)
πΏ π = α1 π = 00 π β 0
πΏ π = π’ π β π’[π β 1]
Unit step
π’ π = α1 π β₯ 00 π < 0
π’ π = Οπ=ββπ πΏ[π]
Running (cumulative) sum
π’ π = Οπ=0β πΏ π β π
= Οπ=βββ π’ π πΏ[π β π]
Sum of delayed impulses
35
DT IMPULSE AND UNIT STEP FUNCTIONS
Sampling Property
π₯ π πΏ π = π₯ 0 πΏ[π]
π₯ π πΏ π β π0 = π₯ π0 πΏ[π β π0]
Product of signals is a signal
Multiply values at corresponding time
Sifting Property
Οπ=βββ π₯ π πΏ π = π₯[0]
Οπ=βββ π₯ π πΏ π β π0 = π₯[π0]
Notice above is summation of values in the sampled signal
More generally, this summation holds for any limits that contain the impulse
36
SAMPLING/SIFTING PROPERTIES
Every DT signal can be represented as a linear combination of shifted impulses
π₯ π = Οπ=βββ π₯ π πΏ[π β π]
π₯[π] β value of signal at time π
A bit complicated but useful for study of LTI systems (Ch2)
37
REPRESENTATION PROPERTY
Unit impulse (dirac delta)
πΏ π‘ = αβ π‘ = 00 π‘ β 0
With βββπΏ π‘ ππ‘ = 1
Unit step
π’(π‘) = α1 π‘ β₯ 00 π‘ < 0
Relationship
π’ π‘ = ββπ‘πΏ π ππ
πΏ π‘ =ππ’ π‘
ππ‘
38
CT IMPULSE AND UNIT STEP FUNCTIONS
limΞβ0
Sampling
π₯ π‘ πΏ π‘ = π₯ 0 πΏ π‘
π₯ π‘ πΏ π‘ β π‘0 = π₯ π‘0 πΏ(π‘ β π‘0)
Product of two signals is a signal
Representation property
π₯ π‘ = βββπ₯ π πΏ π‘ β π ππ
Example
π’ π‘ = βββπ’ π πΏ π‘ β π ππ
Sifting
39
PROPERTIES
CONTINUOUS-TIME AND DISCRETE-TIME SYSTEMSCHAPTER 1.5
40
A system is a quantitative description of a physical process to transform an input signal into an output signal
Systems are a black box β a mathematical abstraction
Shorthand notation
π₯ π‘ βΆ π¦(π‘)
More complex systems
Sampling
MIMO (multi input/multi output
41
SYSTEMS
Series/cascade connection
Parallel interconnection
Feedback connection
Very important in controls
More complex systems can be composed by various series/parallel interconnections
42
SYSTEM INTERCONNECTIONS
BASIC SYSTEM PROPERTIESCHAPTER 1.6
43
Memoryless
Invertibility
Causality
Stability
Linearity
Time-invariance
44
BASIC SYSTEM PROPERTIES
Define an important class of systems called LTI
A system is memoryless if the output at a time π‘depends only on input at the same time π‘
Examples
π¦ π‘ = 2π₯ π‘ β π₯2 π‘2
π¦ π = π₯ π
π¦ π = π₯ π β 1
π¦ π = π₯ π + π¦[π β 1]
45
MEMORYLESS SYSTEMS
A system is invertible if distinct inputs lead to distinct outputs
Rules for proving invertible systems
Show invertible by given the inverse system expression/formula
Show non-invertible by any counter example
46
INVERTIBILITY
π¦ π‘ = (cos π‘ + 2)π₯(π‘)
π₯ π‘ =π¦ π‘
cos π‘+2
Invertible (no divide by zero!)
π¦ π = Οπ=ββπ π₯[π]
β π¦ π = π₯ π + π¦[π β 1]
β π₯ π = π¦ π β π¦ π β 1
Invertible
π¦ π‘ = π₯2(π‘)
π₯1 π‘ = 1 β π¦1 π‘ = 1
π₯2 π‘ = β1 β π¦2 π‘ = 1
Need unique input distinct output
Not invertible
47
EXAMPLES: INVERSE SYSTEMS
A system is causal if the output at any time π‘ depends only on the input at same time π‘ or past times π < π‘
Real systems must be causal because we cannot know future values
Buffering gives the appearance of non-causality
Examples
π¦ π = π₯ π
π¦ π = π₯ π + π₯ π + 1
π¦ π‘ = ββπ‘π₯ π ππ
π¦ π = π₯ βπ
π¦ π‘ = π₯(π‘)(cos(π‘ + 2))
48
CAUSALITY
A system is stable if a bounded input results in a bounded output signal BIBO stable
A signal is bounded if there exists a constant π΅ such that
π₯ π‘ β€ π΅ βπ‘ and π΅ < β
BIBO condition
π₯ π‘ β€ π΅ βΆ π¦ π‘ < β
49
STABILITY
π¦ π‘ = 2π₯2 π‘ β 1 + π₯(3π‘)
50
EXAMPLES: BIBO STABILITY
A system is time-invariant if a time shift in input signal results in an identical time shift in the output signal
Steps to check for TI
Assume π₯(π‘) βΆ π¦(π‘)
1. Check π¦1 π‘ = π¦(π‘ β π‘0) time shift on output
2. Check π¦2 π‘ = π(π₯ π‘ β π‘0 ) operate on time shifted input
3. Verify π¦1 π‘ = π¦2(π‘) for TI
51
TIME INVARIANCE
π¦ π‘ = sin π₯ π‘ π¦ π = ππ₯[π]
52
EXAMPLES: TIME INVARIANT SYSTEMS
A system is linear if it is additive and scalable
If π₯1(π‘) βΆ π¦1(π‘) and π₯2(π‘) βΆ π¦2(π‘)
Additive
π₯1 π‘ + π₯2 π‘ βΆ π¦1 π‘ + π¦2(π‘)
Scalable
ππ₯1(π‘) βΆ ππ¦1(π‘) π β β
Then, ππ₯1 π‘ + ππ₯2 π‘ βΆ ππ¦1 π‘ + ππ¦2(π‘)
53
LINEARITY
π¦ π‘ = π‘π₯(π‘) π¦ π = 2π₯2[π]
54
EXAMPLES: LINEAR SYSTEMS