Professional Documents
Culture Documents
Digital Signal Processing Eng'r Rianne Arne S. Reyes
Digital Signal Processing Eng'r Rianne Arne S. Reyes
Digital Signal Processing Eng'r Rianne Arne S. Reyes
Lecture 3
Eng’r Rianne Arne S. Reyes
Discrete Time Systems
Discrete Time Systems
• A device or algorithm that operates on a discrete time signal,
called “input” or “excitation” to produce another discrete time
signal called the “output” or “response” of the system
y(n) = [x(n)]
3
Input-Output Description of Systems
• Defines the relationship between the Input Signal and the
Output Signals
Example:
4
Examples
5
Accumulator
Answers
a.
b.
c.
d.
e.
f.
6
Block Diagram Representation of
Discrete Time Systems
• Adder
> Addition of 2 signal sequences to form another (the sum) sequence
> Memoryless Operation – Does not need to store one of the sequence
7
Block Diagram Representation of
Discrete Time Systems
• Constant Multiplier
> Applying a scale factor to input to form another (the product) sequence
> Multiplication Operation
8
Block Diagram Representation of
Discrete Time Systems
• Signal Multiplier
> Multiplication of 2 signal sequences to form another (the product)
sequence
9
Block Diagram Representation of
Discrete Time Systems
• Unit Delay Element
> Special system that delays the signal passing through by 1 sample
> Stores the same x(n-1) at memory at time n-1, and recalled at time n
> Requires memory
10
Block Diagram Representation of
Discrete Time Systems
• Unit Advance Element
> Moves the input x(n) ahead by one sample in time to yield x(n+1)
11
Example
12
Classification of
Discrete Time Systems
Static vs. Dynamic Systems
• Static or Memoryless
> System output that depends on input sample at the same time (n)
> Not in pass or future samples of the input
Static
Systems
Finite memory
Infinite memory
15
Time Invariant vs Time Variant Systems
• Time Invariant Systems
> Input-output characteristics do not change with time
Shift Invariant
16
Time Invariant vs Time Variant Systems
• Time Variant Systems
> Input-output characteristics changes with time
Time Invariant
Time Variant
Output with input delayed by K Output delayed by K
17
Examples – Time Variant/Invariant
1. y(n) = T[x(n)] = x(n) – x(n-1)
Test 1- Output with Input is delayed by K
x(n) -> T[x(n)] -> y(n) = x(n)-x(n-1)
x(n-k) -> T[x(n-k)] -> y(n,k) = x(n-k) – x(n-k-1)
Test 2- Output delayed by K
y(n-k) = x(n-k)-x(n-k-1)
26
Time Variant / Invariant
27
Time Variant / Invariant
28
Time Variant / Invariant
29
Linear vs Non-Linear Systems
• Linear Systems
> Satisfies the superposition principle
> Response of the system to a weighted sum of signals be equal to the
corresponding weighted sum of the responses of the system to each of
the individual input signals
30
Test Linear Systems – The Law of Superposition
• Law of Additivity
31
Test Linear Systems – The Law of Superposition
• Law of Additivity
x1(t)
+ y(t)
x2(t)
y(t) = y’(t)
x1(t)
+ y’(t)
x2(t)
32
Test Linear Systems – The Law of Superposition
• Law of Homogeneity
x(t) K y(t)
x(t) K y’(t)
y(t) = y’(t)
33
Linear vs Non-Linear Systems
• Non-Linear Systems
> Does not satisfy the superposition principle
34
Linear vs Non-Linear Systems
• Examples Law of Additivity
1. y(n) = x(n2) Test 1
x(n) -> system -> y(n) x1(n) -> system -> y1(n) = x1(n2)
Output = n replaced by n2 x2(n) -> system -> y2(n) = x2(n2)
y(n) = y1(n) + y2(n) = x1(n2) + x2(n2)
Law of Homogeneity
x(n) ->system->’k’ -> kx(n2) = y(n) Test 2
x(n) ->’k’->system -> kx(n2) = y’(n) x1(n) + x2(n) -> System -> y’(n)
y’(n) = x1(n2) + x2(n2)
y(n) = y’(n); Follows LoH
y(n) = y’(n); Follows LoA
35 Linear
Linear vs Non-Linear Systems
• Examples Law of Additivity
2. y(t) = x(log t) Test 1
x(t) -> system -> y(t) x1(t) -> system -> y1(t) = x1(log t)
Output = t replaced by log t x2(t) -> system -> y2(t) = x2(log t)
y(t) = y1(t) + y2(t) = x1(log t) + x2(log t)
Law of Homogeneity
x(t) ->system->’k’ -> kx(log t) = y(t) Test 2
x(t) ->’k’->system -> kx(log t) = y’(t) x1(t) + x2(t) -> System -> y’(t)
y’(t) = x1(log t) + x2(log t)
y(t) = y’(t); Follows LoH
y(t) = y’(t); Follows LoA
36 Linear
Linear vs Non-Linear Systems
• Examples Law of Additivity
3. y(t) = x2(t) Test 1
x(t) -> system -> y(t) x1(t) -> system -> y1(t) = x12(t)
Output = input multiple to itself x2(t) -> system -> y2(t) = x22(t)
y(t) = y1(t) + y2(t) = x12(t) + x22(t)
Law of Homogeneity
x(t) ->system->’k’ -> kx2(t) = y(t) Test 2
x(t) ->’k’->system -> [kx(t)]2 = y’(t) x1(t) + x2(t) -> System -> y’(t)
y’(t) = [x1(t)+ x2(t)]2
y(t) ≠ y’(t); does not follow LoH
y(t) ≠ y’(t); does not follow LoA
37 Non Linear
Linear vs Non-Linear Systems
• Examples Law of Additivity
4. y(t) = sin t x(t) Test 1
x(t) -> system -> y(t) x1(t) -> system -> y1(t) = sin t x1(t)
Output = input multiplied by sin t x2(t) -> system -> y2(t) = sin t x2(t)
y(t) = sin t [x1(t) + sin t x2(t)]
Law of Homogeneity
x(t) ->system->’k’ -> ksin t x(t) = y(t) Test 2
x(t) ->’k’->system -> ksin t x(t) = y’(t) x1(t) + x2(t) -> System -> y’(t)
y’(t) = sin t [x1(t)+ x2(t)]
y(t) = y’(t); Follows LoH
y(t) = y’(t); Follows LoA
38 Linear
Linear vs Non-Linear Systems
• Examples Law of Additivity
5. y(n) = Ax(n) + B Test 1
x(t) -> system -> y(t) x1(t) -> system -> y1(t) = Ax1(t) + B
Output = input multiplied by A and x2(t) -> system -> y2(t) = Ax2(t) + B
added by B y(t) = Ax1(t) + Ax2(t) + 2B
y(t) ≠ y’(t); does not follow LoH y(t) ≠ y’(t); does not follow LoA
39 Non Linear
Linear vs Non-Linear Systems
• Examples Law of Additivity
6. y(n) = e x(n) Test 1
x(t) -> system -> y(t) x1(t) -> system -> y1(t) = e x1(n)
Output = input was raised from e x2(t) -> system -> y2(t) = e x2(n)
y(t) = e x1(n) + e x2(n)
Law of Homogeneity
x(t) ->system->’k’ -> ke x(n)
Test 2
x(t) ->’k’->system -> e kx(n)
x1(t) + x2(t) -> System -> y’(t)
y’(t) = e[x1(n) + x2(n)]
y(t) ≠ y’(t); does not follow LoH
y(t) ≠ y’(t); doe not follow LoA
40 Non Linear
Causal and Non-Causal Systems
• Causal Systems
> Output of the system at any point n is dependent only on present and
past inputs
y(n) = F [x(n), x(n-1), x(n-2)…]
• Non-Causal Systems
> Output of the system that depends not only on present and past
inputs, but also on future inputs
41
Sample Causal and Non-Causal Systems
1. y(n) = x(n) – x(n-1) • Causal
2. y(n) = x(k) + x(k-1) + … x(-inf) • Causal
3. y(n) = ax(n) • Causal
4. y(n) = x(n) + 3x(n+4) • Non-Causal
5. y(n) = x(n2) • Non-Causal
6. y(n) = x(2n) • Non-Causal
7. y(n) = x(-n) • Non-Causal
42
Stable and Unstable Systems
• Stable System
> If Bounded Input produces a Bounded Output (BIBO)
• Unstable
> Bounded Input produces an Unbounded Output
43
Stable and Unstable System
• y(t) = sin [x(t)] Case 2:
• x(t) -> system -> y(t) = sin [x(t)] Assume x(t) – unbounded;
Case 1: Input can be infinite
Assume Input x(t) – bounded; sin = with output of -1 to 1
input always have a finite value
sin = with output of -1 to 1 y(n) is always between -1 to 1
y(n) = 2/t
when t=0; y(t) = infinity
when t is close to 0; y(t) = infinity
y(t) = x(t) / t
UNSTABLE
45
Interconnection of Discrete Time Systems
• Discrete time systems can be interconnected to form larger
systems
y1(n)
• Can be done 2 ways x(n) Ƭ1 ƬƬ2 y(n)
• Output is:
y(n) = Ƭ2[y1(n)]
Ƭc
y(n) = Ƭ2{Ƭ1[x(n)]}
Ƭc = Ƭ2Ƭ1 ; y(n) = Ƭc[x(n)]
Note:
Ƭ2Ƭ1 ≠ Ƭ1Ƭ2
Ƭ2Ƭ1 = Ƭ1Ƭ2 ; only if system is linear and time invariant
47
y1(n)
Parallel Interconnection Ƭ1 y3(n)
x(n) +
y2(n)
• y3(n) = y1(n) + y2(n) ƬƬ2
= Ƭ1[x(n)] + Ƭ2[x(n)]
Ƭp
= (Ƭ1+ Ƭ2) [x(n)]
= ƬP [x(n)]
48