Title: Biomedical Signal processing Chapter 2 Discrete-Time Signals and Systems
1Biomedical Signal processingChapter 2
Discrete-Time Signals and Systems
- Zhongguo Liu
- Biomedical Engineering
- School of Control Science and Engineering,
Shandong University
2013-12-27
1
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
2Chapter 2 Discrete-Time Signals and Systems
- 2.0 Introduction
- 2.1 Discrete-Time Signals Sequences
- 2.2 Discrete-Time Systems
- 2.3 Linear Time-Invariant (LTI) Systems
- 2.4 Properties of LTI Systems
- 2.5 Linear Constant-Coefficient Difference
Equations
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
2
12/27/2013
3Chapter 2 Discrete-Time Signals and Systems
- 2.6 Frequency-Domain Representation of
Discrete-Time Signals and systems - 2.7 Representation of Sequences by Fourier
Transforms - 2.8 Symmetry Properties of the Fourier Transform
- 2.9 Fourier Transform Theorems
- 2.10 Discrete-Time Random Signals
- 2.11 Summary
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
3
12/27/2013
42.0 Introduction
- Signal something conveys information
- Signals are represented mathematically as
functions of one or more independent variables. - Continuous-time (analog) signals, discrete-time
signals, digital signals - Signal-processing systems are classified along
the same lines as signals Continuous-time
(analog) systems, discrete-time systems, digital
systems - Discrete-time signal
- Sampling a continuous-time signal
- Generated directly by some discrete-time process
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
4
12/27/2013
52.1 Discrete-Time Signals Sequences
- Discrete-Time signals are represented as
- In sampling,
- 1/T (reciprocal of T) sampling frequency
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
5
12/27/2013
6Figure 2.1 Graphical representation of a
discrete-time signal
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
6
12/27/2013
7Sampling the analog waveform
EXAMPLE
Figure 2.2
8Basic Sequence Operations
- Sum of two sequences
- Product of two sequences
- Multiplication of a sequence by a numbera
- Delay (shift) of a sequence
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
8
12/27/2013
9Basic sequences
- Unit sample sequence (discrete-time impulse,
impulse)
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
9
12/27/2013
10Basic sequences
A sum of scaled, delayed impulses
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
10
12/27/2013
11Basic sequences
First backward difference
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
11
12/27/2013
12Basic Sequences
- A and a are real xn is real
- A is positive and 0ltalt1, xn is positive and
decrease with increasing n - -1ltalt0, xn alternate in sign, but decrease in
magnitude with increasing n - xn grows in magnitude as n increases
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
12
12/27/2013
13EX. 2.1 Combining Basic sequences
- If we want an exponential sequences that is zero
for n lt0, then
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
13
12/27/2013
14Basic sequences
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
14
12/27/2013
15Exponential Sequences
Exponentially weighted sinusoids
Exponentially growing envelope
Exponentially decreasing envelope
is refered to
Complex Exponential Sequences
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
15
12/27/2013
16Frequency difference between continuous-time and
discrete-time complex exponentials or sinusoids
- frequency of the complex sinusoid or
complex exponential - phase
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
16
12/27/2013
17Periodic Sequences
- A periodic sequence with integer period N
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
17
12/27/2013
18EX. 2.2 Examples of Periodic Sequences
- Suppose it is periodic sequence with period N
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
18
12/27/2013
19EX. 2.2 Examples of Periodic Sequences
- Suppose it is periodic sequence with period N
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
19
12/27/2013
20EX. 2.2 Non-Periodic Sequences
- Suppose it is periodic sequence with period N
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
20
12/27/2013
21High and Low Frequencies in Discrete-time signal
(a) w0 0 or 2?
(b) w0 ?/8 or 15?/8
(c) w0 ?/4 or 7?/4
(d) w0 ?
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
21
12/27/2013
222.2 Discrete-Time System
- Discrete-Time System is a trasformation or
operator that maps input sequence xn into a
unique yn - ynTxn, xn, yn discrete-time signal
Discrete-Time System
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
22
12/27/2013
23EX. 2.3 The Ideal Delay System
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
23
12/27/2013
24EX. 2.4 Moving Average
for n7, M10, M25
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
24
12/27/2013
25Properties of Discrete-time systems2.2.1
Memoryless (memory) system
- Memoryless systems
- the output yn at every value of n depends
only on the input xn at the same value of n
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
25
12/27/2013
26Properties of Discrete-time systems2.2.2
Linear Systems
additivity property
homogeneity or scaling ?(?)?? property
- principle of superposition
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
26
12/27/2013
27Example of Linear System
- Ex. 2.6 Accumulator system
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
27
12/27/2013
28Example 2.7 Nonlinear Systems
- Method find one counterexample
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
28
12/27/2013
29Properties of Discrete-time systems2.2.3
Time-Invariant Systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
29
12/27/2013
30Example of Time-Invariant System
- Ex. 2.8 Accumulator system
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
30
12/27/2013
31Example of Time-varying System
- Ex. 2.9 The compressor system
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
31
12/27/2013
32Properties of Discrete-time systems 2.2.4
Causality
- A system is causal if, for every choice of
, the output sequence value at the index
depends only on the input sequence value for
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
32
12/27/2013
33Ex. 2.10 Example for Causal System
- Forward difference system is not Causal
- Backward difference system is Causal
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
33
12/27/2013
34Properties of Discrete-time systems 2.2.5
Stability
- Bounded-Input Bounded-Output (BIBO) Stability
every bounded input sequence produces a bounded
output sequence.
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
34
12/27/2013
35Ex. 2.11 Test for Stability or Instability
is stable
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
35
12/27/2013
36Ex. 2.11 Test for Stability or Instability
- Accumulator system is not stable
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
36
12/27/2013
372.3 Linear Time-Invariant (LTI) Systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
37
12/27/2013
38LTI Systems Convolution
- Representation of general sequence as a linear
combination of delayed impulse
- principle of superposition
An Illustration Example(interpretation 1)
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
38
12/27/2013
39Zhongguo Liu_Biomedical Engineering_Shandong Univ.
39
12/27/2013
40Computation of the Convolution
(interpretation 2)
- reflecting hk about the origion to obtain h-k
- Shifting the origin of the reflected sequence to
kn
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
40
12/27/2013
41Ex. 2.12
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
41
12/27/2013
42- Convolution can be realized by
- Reflecting hk about the origin to obtain h-k.
- Shifting the origin of the reflected sequences to
kn. - Computing the weighted moving average of xk by
using the weights given by hn-k.
43Ex. 2.13 Analytical Evaluation of the Convolution
For system with impulse response
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
43
12/27/2013
44Zhongguo Liu_Biomedical Engineering_Shandong Univ.
44
12/27/2013
45Zhongguo Liu_Biomedical Engineering_Shandong Univ.
45
12/27/2013
46Zhongguo Liu_Biomedical Engineering_Shandong Univ.
46
12/27/2013
47Zhongguo Liu_Biomedical Engineering_Shandong Univ.
47
12/27/2013
482.4 Properties of LTI Systems
- Convolution is commutative(????)
- Convolution is distributed over addition
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
48
12/27/2013
49Cascade connection of systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
49
12/27/2013
50Parallel connection of systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
50
12/27/2013
51Stability of LTI Systems
- LTI system is stable if the impulse response is
absolutely summable .
Causality of LTI systems
HW proof, Problem 2.62
51
12/27/2013
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
52Impulse response of LTI systems
- Impulse response of Ideal Delay systems
- Impulse response of Accumulator
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
52
12/27/2013
53Impulse response of Moving Average systems
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
53
12/27/2013
54- Impulse response of Forward Difference
- Impulse response of Backward Difference
55Finite-duration impulse response (FIR) systems
- The impulse response of the system has only a
finite number of nonzero samples.
such as
- The FIR systems always are stable.
56Infinite-duration impulse response (IIR)
- The impulse response of the system is infinite in
duration.
Stable IIR System
57Equivalent systems
58Inverse system
592.5 Linear Constant-Coefficient Difference
Equations
- An important subclass of linear time-invariant
systems consist of those system for which the
input xn and output yn satisfy an Nth-order
linear constant-coefficient difference equation.
60Ex. 2.14 Difference Equation Representation of
the Accumulator
61Block diagram of a recursive difference equation
representing an accumulator
62Ex. 2.15 Difference Equation Representation of
the Moving-Average System with
representation 1
63(No Transcript)
64Difference Equation Representation of the System
- An unlimited number of distinct difference
equations can be used to represent a given linear
time-invariant input-output relation.
65Solving the difference equation
- Without additional constraints or information, a
linear constant-coefficient difference equation
for discrete-time systems does not provide a
unique specification of the output for a given
input.
66Solving the difference equation
67Solving the difference equation recursively
- If the input and a set of auxiliary value
are specified.
y(n) can be written in a recurrence formula
68Example 2.16 Recursive Computation of Difference
Equation
69Example 2.16 Recursive Computation of Difference
Equation
70Example for Recursive Computation of Difference
Equation
- The system is noncausal.
- The system is not linear.
- The system is not time invariant.
71Difference Equation Representation of the System
- If a system is characterized by a linear
constant-coefficient difference equation and is
further specified to be linear, time invariant,
and causal, the solution is unique. - In this case, the auxiliary conditions are stated
as initial-rest conditions(??????).
72Summary
- The system for which the input and output satisfy
a linear constant-coefficient difference
equation - The output for a given input is not uniquely
specified. Auxiliary conditions are required.
73Summary
- If the auxiliary conditions are in the form of N
sequential values of the output,
- later value can be obtained by rearranging the
difference equation as a recursive relation
running forward in n,
74Summary
- and prior values can be obtained by rearranging
the difference equation as a recursive relation
running backward in n.
75Summary
- Linearity, time invariance, and causality of the
system will depend on the auxiliary conditions. - If an additional condition is that the system is
initially at rest, then the system will be
linear, time invariant, and causal.
76Example 2.16 with initial-rest conditions
77Discussion
- If the input is , with
initial-rest conditions,
782.6 Frequency-Domain Representation of
Discrete-Time Signals and systems
- 2.6.1 Eigenfunction and Eigenvalue for LTI
79Eigenfunction and Eigenvalue
- Complex exponentials is the eigenfunction for
discrete-time systems. For LTI systems
80Frequency response
- is called as frequency response of
the system.
81Example 2.17 Frequency response of the ideal Delay
From defination(2.109)
82Example 2.17 Frequency response of the ideal
Delay
83Linear combination of complex exponential
84Example 2.18 Sinusoidal response of LTI systems
85Sinusoidal response of the ideal Delay
86Periodic Frequency Response
- The frequency response of discrete-time LTI
systems is always a periodic function of the
frequency variable with period
87Periodic Frequency Response
- The low frequencies are frequencies close to
zero - The high frequencies are frequencies close to
88Example 2.19 Ideal Frequency-Selective Filters
Frequency Response of Ideal Low-pass Filter
89Frequency Response of Ideal High-pass Filter
90Frequency Response of Ideal Band-stop Filter
91Frequency Response of Ideal Band-pass Filter
92Example 2.20 Frequency Response of the
Moving-Average System
93(No Transcript)
94Frequency Response of the Moving-Average System
M1 0 and M2 4
952.6.2 Suddenly applied Complex Exponential Inputs
- In practice, we may not apply the complex
exponential inputs ejwn to a system, but the more
practical-appearing inputs of the form - xn ejwn ?
un
- i.e., xn suddenly applied at an arbitrary time,
which for convenience we choose n0. - For causal LTI system
962.6.2 Suddenly applied Complex Exponential Inputs
For causal LTI system
972.6.2 Suddenly applied Complex Exponential Inputs
982.6.2 Suddenly Applied Complex Exponential Inputs
(continue)
- For infinite-duration impulse response (IIR)
- For stable system, transient response must become
increasingly smaller as n ? ?,
Illustration of a real part of suddenly applied
complex exponential Input with IIR
992.6.2 Suddenly Applied Complex Exponential Inputs
(continue)
- If hn 0 except for 0? n ? M (FIR), then the
transient response ytn 0 for n1 gt M. - For n ? M, only the steady-state response exists
Illustration of a real part of suddenly applied
complex exponential Input with FIR
1002.7 Representation of Sequences by Fourier
Transforms
- (Discrete-Time) Fourier Transform, DTFT,
- analyzing
- Inverse Fourier Transform, synthesis
101Fourier Transform
rectangular form
polar form
102Principal Value(??)
103Impulse response and Frequency response
- The frequency response of a LTI system is the
Fourier transform of the impulse response.
104Example 2.21 Absolute Summability
105Discussion of convergence
- Absolute summability is a sufficient condition
for the existence of a Fourier transform
representation, and it also guarantees uniform
convergence. - Some sequences are not absolutely summable, but
are square summable, i.e.,
106Discussion of convergence
- Is called Mean-square Cconvergence
107Discussion of convergence
108Example 2.22 Square-summability for the ideal
Lowpass Filter
109Example 2.22 Square-summability for the ideal
Lowpass Filter
110Gibbs Phenomenon
M3
M1
M19
M7
111Example 2.22 continued
- As M increases, oscillatory behavior at
- is more rapid, but the size of the
ripple does not decrease. (Gibbs Phenomenon)
112Example 2.22 continued
113Example 2.23 Fourier Transform of a constant
- The sequence is neither absolutely summable nor
square summable.
- The impulses are functions of a continuous
variable and therefore are of infinite height,
zero width, and unit area.
114Example 2.23 Fourier Transform of a constant
proof
115Example 2.24 Fourier Transform of Complex
Exponential Sequences
116Example Fourier Transform of Complex Exponential
Sequences
117Example Fourier Transform of unit step sequence
1182.8 Symmetry Properties of the Fourier Transform
- Conjugate-symmetric sequence
- Conjugate-antisymmetric sequence
119Symmetry Properties of real sequence
- even sequence a real sequence that is
Conjugate-symmetric - odd sequence real, Conjugate-antisymmetric
real sequence
120Decomposition of a Fourier transform
Conjugate-symmetric
Conjugate-antisymmetric
121xn is complex
122xn is real
123Ex. 2.25 illustration of Symmetry Properties
124Ex. 2.25 illustration of Symmetry Properties
- a0.75(solid curve) and a0.5(dashed curve)
125Ex. 2.25 illustration of Symmetry Properties
- Its magnitude is an even function, and phase is
odd.
- a0.75(solid curve) and a0.5(dashed curve)
1262.9 Fourier Transform Theorems
127Fourier Transform Theorems
- 2.9.2 Time shifting and frequency shifting
128Fourier Transform Theorems
129Fourier Transform Theorems
- 2.9.4 Differentiation in Frequency
130Fourier Transform Theorems
131Fourier Transform Theorems
- 2.9.6 Convolution Theorem
if
HW proof
132Fourier Transform Theorems
- 2.9.7 Modulation or Windowing Theorem
HW proof
133Fourier transform pairs
134Fourier transform pairs
135Fourier transform pairs
136Ex. 2.26 Determine the Fourier Transform of
sequence
137Ex. 2.27 Determine an inverse Fourier Transform of
138Ex. 2.28 Determine the impulse response from the
frequency respone
139Ex. 2.29 Determine the impulse response for a
difference equation
140Ex. 2.29 Determine the impulse response for a
difference equation
1412.10 Discrete-Time Random Signals
- Deterministic each value of a sequence is
uniquely determined by a mathematically
expression, a table of data, or a rule of some
type. - Stochastic signal a member of an ensemble of
discrete-time signals that is characterized by a
set of probability density function.
1422.10 Discrete-Time Random Signals
- For a particular signal at a particular time, the
amplitude of the signal sample at that time is
assumed to have been determined by an underlying
scheme of probability.
1432.10 Discrete-Time Random Signals
- The collection of random variables is called a
random process. - The stochastic signals do not directly have
Fourier transform, but the Fourier transform of
the autocorrelation and autocovariance sequece
often exist.
144Fourier transform in stochastic signals
- The Fourier transform of autocovariance sequence
has a useful interpretation in terms of the
frequency distribution of the power in the
signal. - The effect of processing stochastic signals with
a discrete-time LTI system can be described in
terms of the effect of the system on the
autocovariance sequence.
145Stochastic signal as input
146Stochastic signal as input
- In our discussion, no necessary to distinguish
between the random variables Xn andYn and their
specific values xn and yn.
- mXn Exn , mYn E(Yn, can be written as
mxn Exn, myn E(yn.
- The mean of output process
147Stochastic signal as input
- The autocorrelation function of output
148Stochastic signal as input
the power spectrum
DTFT of the autocorrelation function of output
149Total average power in output
- provides the motivation for the term power
density spectrum.
150For Ideal bandpass system
Since is a real, even, its FT
is also real and even, i.e.,
so is
- the power density function of a real signal is
real, even, and nonnegative.
151Ex. 2.30 White Noise
- A white-noise signal is a signal for which
- Assume the signal has zero mean. The power
spectrum of a white noise is
- The average power of a white noise is
152Color Noise
- A noise signal whose power spectrum is not
constant with frequency.
- A noise signal with power spectrum
can be assumed to be the output of a LTI system
with white-noise input.
153Color Noise
154Cross-correlation between the input and output
155Cross-correlation between the input and output
- That is, for a zero mean white-noise input, the
cross-correlation between input and output of a
LTI system is proportional to the impulse
response of the system.
156Cross power spectrum between the input and output
- The cross power spectrum is proportional to the
frequency response of the system.
1572.11 Summary
- Define a set of basic sequence.
- Define and represent the LTI systems in terms of
the convolution, stability and causality. - Introduce the linear constant-coefficient
difference equation with initial rest conditions
for LTI , causal system. - Recursive solution of linear constant-coefficient
difference equations.
1582.11 Summary
- Define FIR and IIR systems
- Define frequency response of the LTI system.
- Define Fourier transform.
- Introduce the properties and theorems of Fourier
transform. (Symmetry) - Introduce the discrete-time random signals.
159Chapter 2 HW
- 2.1, 2.2, 2.4, 2.5, 2.7, 2.11, 2.12,2.15, 2.20,
2.62,
Zhongguo Liu_Biomedical Engineering_Shandong Univ.
159
2013-12-27
???
???
? ?