Download presentation
Presentation is loading. Please wait.
Published byBethanie Fleming Modified over 6 years ago
1
CEN352 Dr. Nassim Ammour King Saud University
Chapter 3 Digital Signals and Systems CEN352 Dr. Nassim Ammour King Saud University
2
CEN352 Dr. Nassim Ammour King Saud University
Introduction This chapter introduces notations for digital signals and special digital sequences. The chapter continues to study some properties of linear systems such as time invariance, causality, impulse response, difference equations, and digital convolution. CEN352 Dr. Nassim Ammour King Saud University
3
Graphical representation of a discrete-time signal π(π)
Digital Signals A discrete-time signal π₯(π) is a function of an integer variable π, where πββ€. Graphical representation of a discrete-time signal π(π) For floating point DS processor, the amplitudes can be floating points. CEN352 Dr. Nassim Ammour King Saud University
4
CEN352 Dr. Nassim Ammour King Saud University
Digital Signals Contd. Besides the graphical representation, there are some alternative representations. π₯ π = 1, πππ π=1,3 4, πππ π=2 0, πππ ππ€βπππ 1. Functional representation 2. Tabular representation 3. Sequence representation (bold or arrow for origin n=0) π₯ π = β¦,0 ,π ,1 ,4 ,1, 0, 0,β¦ πππππππ‘πβππ’πππ‘πππ π πππππ π₯ π = 0 ,β2 ,1 ,4 ,β1, πππππ‘πβππ’πππ‘πππ π πππππ CEN352 Dr. Nassim Ammour King Saud University
5
CEN352 Dr. Nassim Ammour King Saud University
Common Digital Sequences 1. Unit-impulse sequence: 2. Unit-step sequence: CEN352 Dr. Nassim Ammour King Saud University
6
CEN352 Dr. Nassim Ammour King Saud University
Shifted Sequences CEN352 Dr. Nassim Ammour King Saud University
7
CEN352 Dr. Nassim Ammour King Saud University
Sinusoidal and Exponential Sequences CEN352 Dr. Nassim Ammour King Saud University
8
CEN352 Dr. Nassim Ammour King Saud University
Example 1 The sum CEN352 Dr. Nassim Ammour King Saud University
9
CEN352 Dr. Nassim Ammour King Saud University
Generation of Digital Signals To generate the digital sequence π₯ π from the analog signal π₯ π‘ : uniformly sampling at the time interval of βπ‘=π π₯ π = π₯(π‘) π‘=ππ =π₯(ππ) Example 2 Convert analog signal π₯ π‘ into digital signal π₯ π , when sampling period is 125 microsecond, also plot sample values. π₯ π‘ =10 π β5000π‘ π’(π‘ Solution: CEN352 Dr. Nassim Ammour King Saud University
10
CEN352 Dr. Nassim Ammour King Saud University
Example 2 (contd.) CEN352 Dr. Nassim Ammour King Saud University
11
CEN352 Dr. Nassim Ammour King Saud University
Classification of Discrete-Time Signals πΈ= π=ββ β π₯ π 2 Energy signals: The energy E of a signal π₯ π Periodic signals and aperiodic signals: A signal π₯ π is periodic with period N (N>0) if π₯ π+π =π₯ π πππ πππ π Symmetric (even) and anti-symmetric (odd) signals Anti-symmetric π₯ βπ =βπ₯ π symmetric π₯ βπ =π₯ π CEN352 Dr. Nassim Ammour King Saud University
12
CEN352 Dr. Nassim Ammour King Saud University
Digital Systems A digital system is a device or an algorithm that performs prescribed operations (or transformation) on a digital signal π₯ π and produces an output signal π¦ π . Digital System Input signal (Excitation) Output signal (Response) π₯ π π¦ π Example 3 π₯ π = π , β3β€πβ€3 0, ππ‘βπππ€ππ π Determine the response of the following system to the input signal πππ π‘βπ π π¦π π‘π π β² π ππ’π‘ππ’π‘ π¦ π = π₯ π+1 +π₯ π +π₯(πβ1 Solution: The output of this system is the mean value of the present, immediate past, and the immediate future samples. For π= π¦ 0 = 1 3 π₯ β1 +π₯ 0 +π₯(1) = = 2 3 π¦ π = β¦, 0,1, 5 3 , 2, 1, 2 3 , 1, 2, 5 3 , 1, 0, β¦ Repeating this computation for every value of π CEN352 Dr. Nassim Ammour King Saud University
13
CEN352 Dr. Nassim Ammour King Saud University
Block Diagram of Discrete-Time Systems Constant multiplier Unit delay element Adder Unit advance element Signal multiplier Example 4 Solution: Sketch the block diagram representation of the discrete-time system described by the input-output relation. π¦ π = 1 4 π¦ πβ π₯ π π₯(πβ1) CEN352 Dr. Nassim Ammour King Saud University
14
Classification of Discrete-Time Systems
Static and dynamic systems π¦ π =π₯ π +3π₯(πβ1 π¦ π =π π₯ π +π π₯ 3 (π Dynamic (have memory) past or future samples of the input Static or memory-less no past or future samples of the input Time-invariant System (Time Shift Invariance) The system input-output characteristics do not change with time (a shifted input signal will produce a shifted output signal, with the same of shifting amount). CEN352 Dr. Nassim Ammour King Saud University
15
CEN352 Dr. Nassim Ammour King Saud University
Linear System A digital system is linear if and only if it satisfy the superposition principle: π π 1 π₯ 1 π + π 2 π₯ 2 π = π 1 π π₯ 1 π + π 2 π π₯ 2 π Homogeneity (deals with amplitude) Additivity Homogeneity & Additivity CEN352 Dr. Nassim Ammour King Saud University
16
CEN352 Dr. Nassim Ammour King Saud University
Example 5 (a) CEN352 Dr. Nassim Ammour King Saud University
17
CEN352 Dr. Nassim Ammour King Saud University
Example 5 (b) System πΏπππππ ??? 4 π¦ 1 π +2 π¦ 2 π π¦(π)β 4 π¦ 1 π +2 π¦ 2 π CEN352 Dr. Nassim Ammour King Saud University
18
CEN352 Dr. Nassim Ammour King Saud University
Example 6 (a) Given the linear system y π =2π₯(πβ5), find whether the system is time invariant or not. Solution: Let the shifted input be: π₯ 2 π = π₯ 1 (πβ π 0 ), Therefore system output: π¦ 2 π =2 π₯ 2 πβ5 =2 π₯ 1 πβ π 0 β5 , Shifting π¦ 1 π =2 π₯ 1 πβ5 by π 0 samples leads to π¦ 1 πβ π 0 =2 π₯ 1 πβ5β π 0 CEN352 Dr. Nassim Ammour King Saud University
19
CEN352 Dr. Nassim Ammour King Saud University
Example 6 (b) Given the linear system y π =π π₯(π), find whether the system is time invariant or not. π¦ 1 π =π π₯ 1 (π) Solution: Let the shifted input be: π₯ 2 π = π₯ 1 (πβ π 0 ) Therefore system output due to the shifted input π¦ 2 π =π π₯ 2 π =π π₯ 1 πβ π 0 Shifting π¦ 1 π =π π₯ 1 π by π 0 samples (replace π by πβπ 0 ) leads to π¦ 1 πβ π 0 =(πβ π 0 ) π₯ 1 πβ π 0 CEN352 Dr. Nassim Ammour King Saud University
20
CEN352 Dr. Nassim Ammour King Saud University
Causality Causal System: Output y(n) at time n depends only on current input π₯ π , at time n or previous inputs, such as π₯ π , π₯ πβ1 , π₯ πβ2 , etc. Example: Non Causal System: Output y(n) at time n depends on future inputs, such as π₯ π+1 , π₯ π+2 , etc. Example: The non causal system cannot be realized in real time. CEN352 Dr. Nassim Ammour King Saud University
21
CEN352 Dr. Nassim Ammour King Saud University
Difference Equation A causal, linear, time-invariant system (LTI) can be described by a difference equation as follow: Outputs Inputs After rearranging: Finally: CEN352 Dr. Nassim Ammour King Saud University
22
CEN352 Dr. Nassim Ammour King Saud University
Example 7 Identify non zero system coefficients of the following difference equations. Solution: CEN352 Dr. Nassim Ammour King Saud University
23
CEN352 Dr. Nassim Ammour King Saud University
System Representation Using Impulse Response A linear time-invariant system (LTI system) can be completely described by its unit-impulse response β(π) due to the impulse input πΏ(π) with zero initial conditions. Impulse input with zero initial conditions Impulse Response π¦ π =β π βπ₯ π Any input Convolution CEN352 Dr. Nassim Ammour King Saud University
24
CEN352 Dr. Nassim Ammour King Saud University
Example 8 (a) Given the linear time-invariant system: Solution: a. let π₯ π =πΏ(π), then Therefore, c. The system output b. The block diagram of the LTI system CEN352 Dr. Nassim Ammour King Saud University
25
CEN352 Dr. Nassim Ammour King Saud University
Example 8 (b) Solution: a. Let π₯ π =πΏ(π), then With the calculated results, we can predict the impulse response as CEN352 Dr. Nassim Ammour King Saud University
26
CEN352 Dr. Nassim Ammour King Saud University
Example 8 (b) β contd. b. The system block diagram c. The output sequence Finite Impulse Response (FIR) system: When the difference equation contains no previous outputs, i.e. βaβ coefficients are zero ( See example 8 (a) ) Infinite Impulse Response (IIR) system: When the difference equation contains previous outputs, i.e. βaβ coefficients are not all zero. ( See example 8 (b) ) CEN352 Dr. Nassim Ammour King Saud University
27
CEN352 Dr. Nassim Ammour King Saud University
BIBO Stability BIBO: Bounded In and Bounded Out A stable system is one for which every bounded input produces a bounded output. We have: Let, in the worst case, every input value reaches to maximum value M. Using absolute values of the impulse responses, If the impulse responses are finite number, then output is also finite. CEN352 Dr. Nassim Ammour King Saud University Stable system.
28
CEN352 Dr. Nassim Ammour King Saud University
BIBO Stability βcontd. To determine whether a system is stable, we apply the following equation: Impulse response is decreasing to zero. CEN352 Dr. Nassim Ammour King Saud University
29
The summation is finite, so the system is stable.
Example 9 Given a linear system given by: Which is described by the unit-impulse response: Determine whether the system is stable or not. Solution: Using definition of step function: For a< 1, we know The summation is finite, so the system is stable. Therefore CEN352 Dr. Nassim Ammour King Saud University
30
CEN352 Dr. Nassim Ammour King Saud University
Digital Convolution A LTI system can be represented using a digital convolution sum. The unit-impulse response β(π) relates the system input and output. Commutative The sequences are interchangeable. Convolution sum requires β(π) to be reversed and shifted. If β(π) is the given sequence, β(βπ) is the reversed sequence. CEN352 Dr. Nassim Ammour King Saud University
31
CEN352 Dr. Nassim Ammour King Saud University
Reversed Sequence Given a sequence Sketch the sequence β(π) and reversed sequence β(βπ). Solution: CEN352 Dr. Nassim Ammour King Saud University
32
Convolution Using Table Method
Example 9 Solution: Length =3 Length =3 CEN352 Dr. Nassim Ammour King Saud University Convolution length = 3 +3 β1 = 5
33
Convolution Using Table Method
Example 10 Solution: Convolution length = β1 = 4 CEN352 Dr. Nassim Ammour King Saud University
34
CEN352 Dr. Nassim Ammour King Saud University
Convolution Properties CEN352 Dr. Nassim Ammour King Saud University
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.